Your SlideShare is downloading. ×
0
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
Building RIAs with CodeIgniter and JavaScript
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

Building RIAs with CodeIgniter and JavaScript

4,627

Published on

Code available under Github at http://github.com/funkatron

Code available under Github at http://github.com/funkatron

Published in: Technology
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,627
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
120
Comments
0
Likes
2
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. Building RIAs with JavaScript and CodeIgniter Ed Finkler #eeci2010 HiiDef.com / Goodsie.com #riacijs @funkatron coj@funkatron.com http://funkatron.com
  • 2. RIAs Buzzword alert! 2 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 3. I prefer "rich front-end app" 3 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 4. A smart-ish client 4 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 5. Can be built various ways 5 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 6. Browser old hat! 6 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 7. Browser plugins Ol' Proprietary Faithful 7 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 8. Web Runtime Platforms New hotness (will be passé in 6 months) 8 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 9. Desktop Titanium, AIR, XULRunner 9 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 10. Mobile Titanium, PhoneGap, Palm webOS 10 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 11. How does CI fit into this? 11 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 12. PHP is a great "glue language" mmmm, glue 12 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 13. CI gets us up and running quickly superglue 13 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 14. Instead of HTML, we output data JSON, XML, etc 14 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 15. My typical approach 15 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 16. Toss out views With extreme prejudice 16 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 17. All work done by model Almost 17 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 18. Models can return various formats PHP objects, Serialized PHP, JSON, etc 18 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 19. Avoid heavy controllers Makes reuse easier 19 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 20. Avoid heavy controllers Makes reuse easier 20 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 21. Keep API in separate controller 21 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 22. CODE TYME 22 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 23. Client side 23 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 24. AIR NOT FLASH/FLEX, DAMMIT 24 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 25. Cobbled-together MVC structure 25 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 26. jQuery for the fun stuff DOM API == not fun 26 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 27. Use XHR (AJAX) to talk to server 27 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 28. CODE TYME 28 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
  • 29. Resources • Server code http://github.com/funkatron/eeci2010-ria-server • Client code - AIR http://github.com/funkatron/eeci2010-ria-client • Client Code - Titanium Desktop http://github.com/funkatron/eeci2010-ria-client-titanium 29 RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010

×