Ajax for Dynamic Web Development
AJAX, or Asynchronous JavaScript and XML, is a critical technology for modern web development, enabling seamless communication between web servers and clients. It allows developers to create "desktop-like" applications that do not require page refreshes, offering a smoother user experience. Widely used by platforms like Google Maps and ESPN, AJAX reduces server load and bandwidth usage, incorporating built-in security features. However, it does face challenges, including dependencies on browsers and security model changes. Explore its benefits, problems, and practical code samples to elevate your web applications.
Ajax for Dynamic Web Development
E N D
Presentation Transcript
Ajax for Dynamic Web Development Gregory McChesney
What Is Ajax • Ajax stands for Asynchronous JavaScript and XML • Method of communicating between web server and client • Requires • JavaScript • XML • HTML • CSS
Applications • Create “desktop” like applications • No refresh required • Used by • Google Maps • ESPN • Microsoft Outlook Web Access • Google Suggest
Ajax Benefits • Robust Web Applications • Reduced Server Load • Reduced Bandwidth Usage • Ajax has some built in security • Can be used without user interaction
Ajax Problems/Issues • Ajax depends on the browser to make requests • Change in security model • Can be used without user interaction
Code Sample’s • HTML Script • JavaScript • Server Side • No Ajax
Demo’s • Name Suggestion • Name Suggestion (No Ajax) • Google Suggest • ESPN