Your SlideShare is downloading. ×
0
Revisiting Asynchronous Processing
Revisiting Asynchronous Processing
Revisiting Asynchronous Processing
Revisiting Asynchronous Processing
Revisiting Asynchronous Processing
Revisiting Asynchronous Processing
Revisiting Asynchronous Processing
Revisiting Asynchronous Processing
Revisiting Asynchronous Processing
Revisiting Asynchronous Processing
Revisiting Asynchronous Processing
Revisiting Asynchronous Processing
Revisiting Asynchronous Processing
Revisiting Asynchronous Processing
Revisiting Asynchronous Processing
Revisiting Asynchronous Processing
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Revisiting Asynchronous Processing

246

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
246
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Revisiting Asynchronous Processing Presented to KC PUG: Kansas City's PHP User Group 2006-05-20 Daniel Holmes 1
  • 2. Asynchronous Processing ● Yes, that's right...more fun with AJAX – Update on how things are going – New drop-in examples for your existing code ● Table Editor – The possible future of Asynchronous Apps ● Restrictions Already? – Application Proxying 2
  • 3. Status of the Area A lot going on this year – AJAX, JSON and even Serialized PHP from Y! – More AJAX toolkits – More ideas and websites using (google, Y!) Yes, it's still cool. Yes, you should still be careful with it. 3
  • 4. The Three Types ● AJAX – Uses XHTMLRequest to pass XML – Very well known and understood – Big, bloated files 4
  • 5. ● AJAX ● JSON – JavaScript Object Notation – var myObj = eval( '(' + jsontext + ')' ); – Or, safer: http://www.json.org/json.js – Compact, but still becoming popular It wouldn't surprise me to see this be standard next year. 5
  • 6. The Three Types ● AJAX ● JSON ● PHP? 6
  • 7. The Three Types ● AJAX ● JSON ● PHP – Yep, that's right: ● $text=unserialize($textFromService); – Yahoo's web services (output=php) – Not really for Async, but more for PHP to WebService communication 7
  • 8. The Three Four Types ● AJAX ● JSON ● PHP ● Google's GWT RPC – More on this later...I don't think we can use it at the moment anyway. 8
  • 9. Some AJAX Toolkits Last year we were creating XMLHttpRequest objects our selves This year, we get lots of help! - There are a ton of PHP AJAX toolkits out there now. Just Google: PHP AJAX Toolkit 9
  • 10. Some Cool AJAX-Capable Development Frameworks ● Symfony http://symfony-project.com ● CakePHP – http://cakephp.org ● Zend Framework (Uses JSON) - http://framework.zend.com 10
  • 11. Some Great AJAX Tutorials ● Nearly every download has a demo ● xml.com, SitePoint.com, etc ● Max Kiesler's 60 new Tutorials 11
  • 12. Let KCPUG.org know what you like ● I'm sure there are other great Tutorials, Toolkits and Frameworks out there. ● Feel free to add your favorites to the links section of http://kcpug.org 12
  • 13. Playing Hack-a-SACK ● SACK - One in the crowd ● Perfect for this presentation – Very Simple to use – Interesting Tutorial – Supports “sending” and “receiving” notification ● http://twilightuniverse.com/resources/code/sack/ 13
  • 14. Paying Hack-a-SACK ● Documentation (yes, 1 page) at: – http://twilightuniverse.com/projects/sack/docs.php ● Good for general AJAX work ● Great for “Plunking in your results” 14
  • 15. Demo Demo Time... 15
  • 16. Questions? Daniel Holmes daniel.holmes@gmail.com 16

×