SEO Tips - SEO Blog - Internet Marketing - Search Engine Optimization

» AJAX Tutorials

  • Full List Open Source CMS
    By on February 23rd, 2009 | 17 Comments17 Comments Comments
    Full List Open Source CMS
    There are tons of Open Source Content Management Systems (CMS) available today. So it is hard to find what CMS is the best to use. This list of 15 Open Source CMS will help you in your quest to find a Content Management system thats right for you. This list is in no particular order.– Textpattern is an easy to use open source cms. Textpattern is written in PHP and uses mysql for the database. Textpattern is very flexible to use. Also you can view some websites powered by Textpattern. – Drupal is an open source content management platform. Drupal has all the basic features of a ...
  • AJAX Basics
    By on January 9th, 2009 | 3 Comments3 Comments Comments
    AJAX Basics
    In this article I don’t want to show you the history of AJAX and discuss its pros and cons, but only focus on how to create a basic working AJAX – PHP communication. The only important thing at the moment is that AJAX uses JavaScript so it need to be enabled in your browser to successfully complete this tutorial. To demonstrate the AJAX PHP connection we will create a very simple form with 2 input fields. In the first field you can type any text and we will send this text to our PHP script which will convert it to uppercase and sends it back to us. At the end we will put the result...
  • Synchronous Requests == BAD
    By on December 15th, 2008 | No Comments Comments
    Synchronous Requests == BAD
    This is one point where I agree strongly with the name AJAX – remember what that first letter stands for To grasp why, its worth seeing some examples and discussing which Ive attmpted before here. In essence, when you make a synchronous call with XMLHttpRequest, everything else stops and waits for the request to complete. And that means everything – even any intervals youve set. You cant even abort() the request via the readyStateChange property (dont believe me? try and watch a [browser dependent] crash). In other words submitting a synchronous request puts you at the mercy of the...
  • Async Requests over an Unreliable Network
    By on December 15th, 2008 | No Comments Comments
    Async Requests over an Unreliable Network
    The biggest void in the AJAX discussion, IMO, is how network and server availability affects XMLHttpRequests. I can only guess this void is a result of skill set – if youre hot with CSS is issues relating to UI design, chances are youre less fluent in the fine print of HTTP or used to thinking in terms of writing fault tolerant clients to remote services. That gets further compounded by developing on localhost where you dont get to see the impact of synchronous requests, for example, when the network or remote server is taking a break. Question Time Good news is theres more discussion of...
  • Javascript static variables
    By on December 15th, 2008 | No Comments Comments
    Javascript static variables
    Something I find strange about Javascript; [code lang=javascript] function Foo(){}; Foo.prototype = { bar: [], // or new Array() or new Object() set: function(val) {; }, displayBar: function() { alert (; } } var foo = new Foo(); foo.set(1); foo.set(2); // Alert displays 1,2 foo.displayBar(); // Destoy the object foo = null; // Create a new one var x = new Foo(); // What does this display? x.displayBar(); [/code] By declaring the bar property to be an Array, it seems to make it static to values assigned to the array are in effect updating the class definition –...
  • AJAX Proxy 0.1
    By on December 15th, 2008 | No Comments Comments
    AJAX Proxy 0.1
    If youve read any of the posts Ive been dumping here, youll know Im critical of the way AJAX is frequently being used on the grounds that the network / server (and their inherant instability) arent being considered. Specifically have the feeling alot of AJAX development is happening @localhost so these problems simply arent showing up. Enter AJAX Proxy, which is meant as a tool to simulate network / server delays by sitting between your browser and your web server and delaying things. The first version is up here and currently in very hacky form. Its based on HTTP Debugging Proxy which in turn...
  • Hiding a div
    By on December 15th, 2008 | No Comments Comments
    Hiding a div
    I think there are a lot of people like you work a lot in code instead of design mode, for those in my situation, following a little tip to hide our big div that we create. It will allow us to see the code a little clear and more easy to work, and of course, it can display the div again if you wish, here the code to add between . function hide(link){ var objet = document.getElementById(popup); // entre les deux tu mes le nom du div que tu veux faire apparatre ! if( == none || !{ objet.innerHTML = Ici le text que tu veux faire apparatre !;
  • Mixing Get and Post
    By on December 15th, 2008 | No Comments Comments
    Mixing Get and Post
    Over the past several days, Ive been working on an in-page contact form that uses sajax (not that it really needs it, but mostly to play around with it, and get familiar with this sort of stuff) and I came upon whats most likely a rather common occurence. Theres a verify function that only needs to send short strings back and forth, and then a submit function which sends all of the fields (and in theory is much closer to bumping into the character limit for GET); in short I want to use both GET and POST for different functions in the same page. The nifty part is, I was able to hack it together...
  • A Grumpier Ajaxian
    By on December 15th, 2008 | No Comments Comments
    A Grumpier Ajaxian
    Figured Id jump in on this blog, as Ive got itches to scratch. A toolkit for hooking up PHP and Javascript via XMLHttpRequest. The ideas behind JPSpan were originally conceived back in April 2004, as blogged here and the first release announced in September 2004, albeit under a different name. So while I dont have the same stomping rights as Brent Ashley, author or JSRS, figure Im a pre-Ajaxian, with mixed feelings about the hype surrounding the term, although JPSpan itself more or less fits into Jesse Rudermans definition or AJAX. Thats not to say Im going to get stuck on whether the term or ...
  • What is a session
    By on December 15th, 2008 | No Comments Comments
    What is a session
    As I mentioned here, my concern about the buzz surrounding AJAX is not whats being said but what isnt being said. One question Ive got nagging me, which Ive yet to see serious discussion of, is the that of AJAX and sessions / state. I guess either no one is thinking about it or its got brushed under the carpet of implementation detail. The furthest Ive seen seen the discussion go in this direction is Diego blogging on ajax. That said Joshua Eichorn did a great job of hinting at the issues with his memento demo – move the pictures around then hit your browsers reload. From where I stand A...