Ajax Presentation

10
Jon Doane

description

Ajax presentation for Web Programming at Plymouth State University.

Transcript of Ajax Presentation

Page 1: Ajax Presentation

Jon Doane

Page 2: Ajax Presentation

What is Ajax [AJAX]? Original Acronym of

AJAX:Asynchronous JavaScript and XML.

Currently known as Ajax which doesn’t require XML or JavaScript. Ajax code is typically called and run on the

client-side.

Page 3: Ajax Presentation

Why Use Ajax? (Pros)

Functionality for the client.

Can reduce bandwidth usage.

Dynamic Content. Security and

Validation.

Page 4: Ajax Presentation

Why not to use Ajax. (Cons) Fetched content does

not register with browser history.

Have fun bookmarking.

Can bring a server to its knees.

No viable reason to need to use it.

Page 5: Ajax Presentation

Good uses of Ajax. =D

Gmail (Google Mail) – Link Zimbra (Email @ PSU) – Link

Advanced Ajax Usages iGoogle (Customizable Home Page) Backbase AJAX RSS Reader

Page 6: Ajax Presentation

Bad Uses of Ajax. t.t

Form Submission Requiring Ajax for required functionality. Authentication Having it do everything under the sun.

Page 7: Ajax Presentation

Ajax: When JavaScript Fails.

What if JavaScript or other technologies fail due to client-side restrictions?

Ajax is no longer limited to use of JavaScript and XML.

Ajax is a method, not something you should rely on. “Program defensively.”

Page 8: Ajax Presentation

Ajax Intensive Web Applications and Web 2.0 We have the technology to (insert here). Google Maps Forums with “Quick Reply” Meebo – Web-Based Instant Messaging

Client (Requires the use of JS and Ajax) YouTube Facebook

Page 9: Ajax Presentation

Ajax: Conclusion

Very powerful when used appropriately. It is a method not a necessity. Do not rely on it if at all possible. Have

an alternate method if it fails.

Page 10: Ajax Presentation

Citations

http://en.wikipedia.org/wiki/Ajax http://it.toolbox.com/blogs/beyond-the-

enterprise/using-ajax-in-real-life-10982 http://sixrevisions.com/ajax/

ajax_techniques/ http://www.adaptivepath.com/ideas/

essays/archives/000385.php