SlideShare une entreprise Scribd logo
1  sur  29
Télécharger pour lire hors ligne
Building RIAs with
JavaScript and CodeIgniter
Ed Finkler                 #eeci2010
HiiDef.com / Goodsie.com   #riacijs
@funkatron
coj@funkatron.com
http://funkatron.com
RIAs

                                                      Buzzword alert!




2   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
I prefer "rich front-end app"




3   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
A smart-ish client




4   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
Can be built various ways




5   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
Browser

                                                            old hat!




6   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
Browser plugins

                                                 Ol' Proprietary Faithful




7   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
Web Runtime Platforms

                                    New hotness (will be passé in 6 months)




8   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
Desktop

                                              Titanium, AIR, XULRunner




9   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
Mobile

                                         Titanium, PhoneGap, Palm webOS




10   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
How does CI fit into this?




11   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
PHP is a great "glue language"

                                                         mmmm, glue




12   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
CI gets us up and running quickly

                                                           superglue




13   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
Instead of HTML, we output data

                                                       JSON, XML, etc




14   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
My typical approach




15   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
Toss out views

                                                  With extreme prejudice




16   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
All work done by model

                                                              Almost




17   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
Models can return various formats

                                     PHP objects, Serialized PHP, JSON, etc




18   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
Avoid heavy controllers

                                                    Makes reuse easier




19   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
Avoid heavy controllers

                                                    Makes reuse easier




20   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
Keep API in separate controller




21   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
CODE TYME



22   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
Client side




23   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
AIR

                                             NOT FLASH/FLEX, DAMMIT




24   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
Cobbled-together MVC structure




25   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
jQuery for the fun stuff

                                                    DOM API == not fun




26   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
Use XHR (AJAX) to talk to server




27   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
CODE TYME



28   RIAs with CodeIgniter and JavaScript - Ed Finkler - EECI 2010 - June 1, 2010
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

Contenu connexe

Similaire à Building RIAs with CodeIgniter and JavaScript

Flutter beers and pizza
Flutter beers and pizzaFlutter beers and pizza
Flutter beers and pizzaJon Durán
 
SthlmWebRTC #1 :: OpenWEBRTC introduction
SthlmWebRTC #1 :: OpenWEBRTC introductionSthlmWebRTC #1 :: OpenWEBRTC introduction
SthlmWebRTC #1 :: OpenWEBRTC introductionEdvina AB
 
Android Development with Kotlin, Part 1 - Introduction
Android Development with Kotlin, Part 1 - IntroductionAndroid Development with Kotlin, Part 1 - Introduction
Android Development with Kotlin, Part 1 - IntroductionAndreas Jakl
 
MicroProfile and Jakarta EE - What's Next?
MicroProfile and Jakarta EE - What's Next?MicroProfile and Jakarta EE - What's Next?
MicroProfile and Jakarta EE - What's Next?Ian Robinson
 
Industry trend of HTML5 in 2012 (2012년 HTML5 총정리)
Industry trend of HTML5 in 2012 (2012년 HTML5 총정리)Industry trend of HTML5 in 2012 (2012년 HTML5 총정리)
Industry trend of HTML5 in 2012 (2012년 HTML5 총정리)Wonsuk Lee
 
What's new in Android, Igor Malytsky ( Google Post I|O Tour)
What's new in Android, Igor Malytsky ( Google Post I|O Tour)What's new in Android, Igor Malytsky ( Google Post I|O Tour)
What's new in Android, Igor Malytsky ( Google Post I|O Tour)DataArt
 
Angular 2 - SSD 2016 London
Angular 2 - SSD 2016 LondonAngular 2 - SSD 2016 London
Angular 2 - SSD 2016 LondonManfred Steyer
 
Educate 2017: Evolving APIs & audio with the changing web
Educate 2017: Evolving APIs & audio with the changing webEducate 2017: Evolving APIs & audio with the changing web
Educate 2017: Evolving APIs & audio with the changing webLearnosity
 
AndroidMakers2023.pdf
AndroidMakers2023.pdfAndroidMakers2023.pdf
AndroidMakers2023.pdfConfetti3
 
Jakarta EE 11 Status Update​
Jakarta EE 11 Status Update​Jakarta EE 11 Status Update​
Jakarta EE 11 Status Update​Edward Burns
 
Standards and Open Source for Big Data, Cloud, and IoT
Standards and Open Source for Big Data, Cloud, and IoTStandards and Open Source for Big Data, Cloud, and IoT
Standards and Open Source for Big Data, Cloud, and IoTBob Marcus
 
Dev Wars - iOS vs Android vs Titanium
Dev Wars - iOS vs Android vs TitaniumDev Wars - iOS vs Android vs Titanium
Dev Wars - iOS vs Android vs TitaniumVivochaLabs
 
Docker opens the Doors for IoT
Docker opens the Doors for IoTDocker opens the Doors for IoT
Docker opens the Doors for IoTDieter Reuter
 
IPTC News Exchange Formats Working Party Autumn 2012
IPTC News Exchange Formats Working Party Autumn 2012IPTC News Exchange Formats Working Party Autumn 2012
IPTC News Exchange Formats Working Party Autumn 2012Stuart Myles
 
Ionic - Hybrid Mobile Application Framework
Ionic - Hybrid Mobile Application FrameworkIonic - Hybrid Mobile Application Framework
Ionic - Hybrid Mobile Application FrameworkSanjay Kumar
 
20180227 international elevator & escalator expo 2018 mumbai fujitec tomooka ...
20180227 international elevator & escalator expo 2018 mumbai fujitec tomooka ...20180227 international elevator & escalator expo 2018 mumbai fujitec tomooka ...
20180227 international elevator & escalator expo 2018 mumbai fujitec tomooka ...Kenji Tomooka
 
Presentation Xplore
Presentation XplorePresentation Xplore
Presentation XploreXcode
 
IoT Developer Survey 2017
IoT Developer Survey 2017IoT Developer Survey 2017
IoT Developer Survey 2017Ian Skerrett
 

Similaire à Building RIAs with CodeIgniter and JavaScript (20)

Flutter beers and pizza
Flutter beers and pizzaFlutter beers and pizza
Flutter beers and pizza
 
SthlmWebRTC #1 :: OpenWEBRTC introduction
SthlmWebRTC #1 :: OpenWEBRTC introductionSthlmWebRTC #1 :: OpenWEBRTC introduction
SthlmWebRTC #1 :: OpenWEBRTC introduction
 
Android Development with Kotlin, Part 1 - Introduction
Android Development with Kotlin, Part 1 - IntroductionAndroid Development with Kotlin, Part 1 - Introduction
Android Development with Kotlin, Part 1 - Introduction
 
MicroProfile and Jakarta EE - What's Next?
MicroProfile and Jakarta EE - What's Next?MicroProfile and Jakarta EE - What's Next?
MicroProfile and Jakarta EE - What's Next?
 
Industry trend of HTML5 in 2012 (2012년 HTML5 총정리)
Industry trend of HTML5 in 2012 (2012년 HTML5 총정리)Industry trend of HTML5 in 2012 (2012년 HTML5 총정리)
Industry trend of HTML5 in 2012 (2012년 HTML5 총정리)
 
What's new in Android, Igor Malytsky ( Google Post I|O Tour)
What's new in Android, Igor Malytsky ( Google Post I|O Tour)What's new in Android, Igor Malytsky ( Google Post I|O Tour)
What's new in Android, Igor Malytsky ( Google Post I|O Tour)
 
Angular 2 - SSD 2016 London
Angular 2 - SSD 2016 LondonAngular 2 - SSD 2016 London
Angular 2 - SSD 2016 London
 
Educate 2017: Evolving APIs & audio with the changing web
Educate 2017: Evolving APIs & audio with the changing webEducate 2017: Evolving APIs & audio with the changing web
Educate 2017: Evolving APIs & audio with the changing web
 
PI UK Seminar (Nov 2021) - PROFINET of Things
PI UK Seminar (Nov 2021) - PROFINET of ThingsPI UK Seminar (Nov 2021) - PROFINET of Things
PI UK Seminar (Nov 2021) - PROFINET of Things
 
AndroidMakers2023.pdf
AndroidMakers2023.pdfAndroidMakers2023.pdf
AndroidMakers2023.pdf
 
Jakarta EE 11 Status Update​
Jakarta EE 11 Status Update​Jakarta EE 11 Status Update​
Jakarta EE 11 Status Update​
 
Standards and Open Source for Big Data, Cloud, and IoT
Standards and Open Source for Big Data, Cloud, and IoTStandards and Open Source for Big Data, Cloud, and IoT
Standards and Open Source for Big Data, Cloud, and IoT
 
Dev Wars - iOS vs Android vs Titanium
Dev Wars - iOS vs Android vs TitaniumDev Wars - iOS vs Android vs Titanium
Dev Wars - iOS vs Android vs Titanium
 
Docker opens the Doors for IoT
Docker opens the Doors for IoTDocker opens the Doors for IoT
Docker opens the Doors for IoT
 
IPTC News Exchange Formats Working Party Autumn 2012
IPTC News Exchange Formats Working Party Autumn 2012IPTC News Exchange Formats Working Party Autumn 2012
IPTC News Exchange Formats Working Party Autumn 2012
 
Ionic - Hybrid Mobile Application Framework
Ionic - Hybrid Mobile Application FrameworkIonic - Hybrid Mobile Application Framework
Ionic - Hybrid Mobile Application Framework
 
20180227 international elevator & escalator expo 2018 mumbai fujitec tomooka ...
20180227 international elevator & escalator expo 2018 mumbai fujitec tomooka ...20180227 international elevator & escalator expo 2018 mumbai fujitec tomooka ...
20180227 international elevator & escalator expo 2018 mumbai fujitec tomooka ...
 
WebRTC - a History Lesson
WebRTC - a History LessonWebRTC - a History Lesson
WebRTC - a History Lesson
 
Presentation Xplore
Presentation XplorePresentation Xplore
Presentation Xplore
 
IoT Developer Survey 2017
IoT Developer Survey 2017IoT Developer Survey 2017
IoT Developer Survey 2017
 

Plus de funkatron

Building mobile apps with JavaScript and PHP
Building mobile apps with JavaScript and PHPBuilding mobile apps with JavaScript and PHP
Building mobile apps with JavaScript and PHPfunkatron
 
Secure PHP Development with Inspekt
Secure PHP Development with InspektSecure PHP Development with Inspekt
Secure PHP Development with Inspektfunkatron
 
Building Desktop RIAs With PHP And JavaScript
Building Desktop RIAs With PHP And JavaScriptBuilding Desktop RIAs With PHP And JavaScript
Building Desktop RIAs With PHP And JavaScriptfunkatron
 
Intro To Mvc Development In Php
Intro To Mvc Development In PhpIntro To Mvc Development In Php
Intro To Mvc Development In Phpfunkatron
 
Building Desktop RIAs with PHP, HTML & Javascript in AIR
Building Desktop RIAs with  PHP, HTML & Javascript  in AIRBuilding Desktop RIAs with  PHP, HTML & Javascript  in AIR
Building Desktop RIAs with PHP, HTML & Javascript in AIRfunkatron
 
Securing the PHP Environment with PHPSecInfo - OSCON 2008
Securing the PHP Environment with PHPSecInfo - OSCON 2008Securing the PHP Environment with PHPSecInfo - OSCON 2008
Securing the PHP Environment with PHPSecInfo - OSCON 2008funkatron
 
Building Desktop RIAs with PHP, HTML & Javascript in AIR
Building Desktop RIAs with PHP, HTML & Javascript in AIRBuilding Desktop RIAs with PHP, HTML & Javascript in AIR
Building Desktop RIAs with PHP, HTML & Javascript in AIRfunkatron
 
Securing the PHP Environment with PHPSecInfo
Securing the PHP Environment with PHPSecInfoSecuring the PHP Environment with PHPSecInfo
Securing the PHP Environment with PHPSecInfofunkatron
 

Plus de funkatron (8)

Building mobile apps with JavaScript and PHP
Building mobile apps with JavaScript and PHPBuilding mobile apps with JavaScript and PHP
Building mobile apps with JavaScript and PHP
 
Secure PHP Development with Inspekt
Secure PHP Development with InspektSecure PHP Development with Inspekt
Secure PHP Development with Inspekt
 
Building Desktop RIAs With PHP And JavaScript
Building Desktop RIAs With PHP And JavaScriptBuilding Desktop RIAs With PHP And JavaScript
Building Desktop RIAs With PHP And JavaScript
 
Intro To Mvc Development In Php
Intro To Mvc Development In PhpIntro To Mvc Development In Php
Intro To Mvc Development In Php
 
Building Desktop RIAs with PHP, HTML & Javascript in AIR
Building Desktop RIAs with  PHP, HTML & Javascript  in AIRBuilding Desktop RIAs with  PHP, HTML & Javascript  in AIR
Building Desktop RIAs with PHP, HTML & Javascript in AIR
 
Securing the PHP Environment with PHPSecInfo - OSCON 2008
Securing the PHP Environment with PHPSecInfo - OSCON 2008Securing the PHP Environment with PHPSecInfo - OSCON 2008
Securing the PHP Environment with PHPSecInfo - OSCON 2008
 
Building Desktop RIAs with PHP, HTML & Javascript in AIR
Building Desktop RIAs with PHP, HTML & Javascript in AIRBuilding Desktop RIAs with PHP, HTML & Javascript in AIR
Building Desktop RIAs with PHP, HTML & Javascript in AIR
 
Securing the PHP Environment with PHPSecInfo
Securing the PHP Environment with PHPSecInfoSecuring the PHP Environment with PHPSecInfo
Securing the PHP Environment with PHPSecInfo
 

Dernier

Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024SynarionITSolutions
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century educationjfdjdjcjdnsjd
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 

Dernier (20)

Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

Building RIAs with CodeIgniter and JavaScript

  • 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