. Updated Daily. Editions SDA India   SDA Indonesia
BUSINESS ENTERPRISE SOLUTIONS ARCHITECTURE INFORMATION SECURITY WIRELESS & MOBILITY DATA & STORAGE DEVELOPMENT HARDWARE













News

Friday, 11 May 2007

Learn to Migrate Web-Based PHP Applications to Ajax

 

 

Bill Lubanovic in O'Reilly tells you how to migrate web-based PHP applications to Ajax. This article describes a makeover of a typical database backed web form. It plays with some old code—a mixture of HTML, JavaScript, PHP and rebuild it with modern web techniques like Ajax, and modern tools like jQuery.

The benefits he lists will include:

  • Separating dynamic content from static content
  • Separating content, style, and processing
  • Web client-server communication via function calls
  • Partial page updates instead of flash-bang page reloads
  • Faster development and more maintainable code
  • Faster load times and improved caching


The purpose of the article is to show you how jQuery and Ajax techniques can improve an old script. For production use, you would check function error returns, untaint input data, and follow the other rules of good web hygiene. With the new Ajax methods, an error in the client or server code can cause a silent failure. With relevant code examples, he shows how to work on the examples.

 

Read the Post

 
 
print save email comment

print

save

email

comment

 
 

Search SDA Asia

Free eNewsletter

SDA Asia Magazine Free Download
 
 
 
Copyright @ 2009 SDA Asia Magazine - All Right Reserved Privacy Policy | Terms of Use