Archive for June, 2010

AJAX controller also released as a class

June 20, 2010 at 11:54

For phpclasses.org purposes I also converted the Smart AJAX Controller into a class, it is available here. While there aren’t big differences between the two, class structure makes the backend script more seamless and easy to use. Another improvement is the ability to return the result from the server compressed with GZip, thus making the whole communication very lightweight.


Tags:

Smart AJAX/JSON/PHP solution with jQuery

June 1, 2010 at 23:45

I have seen a number of complicated solutions for front-end AJAX development and it has become quite clear such solutions are difficult thing to grasp for someone not that experienced with AJAX. Today I am offering a very simple and easy to extend solution that not only is less than two hundred lines of code in total – together with detailed comments – but also gives the ropes to jQuery AJAX development and using JSON as the preferred type of returned data from the server. Fear not, this is actually easier than it sounds.

Read the rest of this entry »


Tags: ,