Documente Academic
Documente Profesional
Documente Cultură
0 and AJAX
Abhishek Nagar
nagar.ksp@gmail.com
Agenda
• Definitions: Web 2.0 , AJAX
• AJAX : Real Life Examples
• Why AJAX?
• Technologies used in AJAX
– XMLHttpRequest
• Steps of AJAX Operation
• AJAX Security
A little Web History
• CGI / Perl & C
• Servlets
• JSP / ASP / PHP
• Java Based frameworks
– Struts, JSF & many others
• Other Scripting
– Python, Ruby
• But all these kept the same (1.0) UI
Web 2.0 by examples
Web 1.0 Web 2.0
• Double Click • Google Adsense
• Ofoto • Flickr
• Britannica Online • Wikipedia
• Personal Websites • Blogging
• Directories • Social Web
Web 2.0 by definitions
• Not just a technology
• Web as a platform
• Collective Intelligence
• Data is key and should be shared
• Lightweight Programming Models
• The network is the computer
• Rich User Experience
• Largely driven by hobbyists
So what is WEB 2.0
• Technologies
– Blogging, Wikis
– AJAX, Rich Internet clients
• Attitudes
– Sharing, Connected, Participatory
– Services, Users Engaged
• Services
– Flickr, BitTorrent
– Maps, Wikipedia
– Google, Yahoo etc
• Drivers
– Faster Connectivity
– More available connectivity
– More powerful machines
– Customers More Comfortable with Technology
– Browser wars (almost) over
AJAX
Asynchronous Javascript + XML
• DHTML plus Asynchronous communication
capability through XMLHttpRequest
• Pros
– Most viable technology so far
– Tremendous industry momentum
– Several toolkits and frameworks are emerging
– No plug-in required
• Cons
– Still browser incompatibility
– JavaScript is hard to maintain and debug
• DOM
• CSS
• XMLHttpRequest
XMLHttpRequest
• Javascript
Abhishek Nagar