Ria Applications And PHP

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    1 Favorite

    Ria Applications And PHP - Presentation Transcript

    1. Building RIA Applications in PHP John Coggeshall
    2. Introductions
      • Welcome!
      • About me
        • CTO of Automotive Computer Services (ACS)
        • Core PHP 5 Dev
        • Author, Speaker
      John Coggeshall Presentation Title
    3. Agenda
      • Building RIA Applications! (Duh)
      • Specifically…
        • A bit of history of the project
        • Building RIA applications using Adobe Flex/AIR with Zend Framework
        • Challenges in creating RIA applications that reflect client-side applications
        • Demos, Technical Discussions, etc.
    4. History
      • ACS has a single product called a DMS (Dealer Management System)
      • Originally Built in DOS-based Foxpro (1992)
      • Migrated to Visual Foxpro (2004)
    5. History
      • Software runs off of a Samba share on a slackware server
        • Every modifies the same “local” database file
        • Cross-location interaction via Remote Desktop
    6. We’re Doomed!
      • Besides the obvious technical limitations of the system, our product had problems that hold up our business:
        • No data sharing
        • No ability to sell to large mega-dealerships that require data sharing
        • No data analytics
        • Data… Data… data… data…. problems
    7. Our Solution..
      • The solution: An internet-based DMS
        • PHP / Zend Framework to the rescue!
      • One problem: Our Customers
        • Very fickle about technology
        • Were largely very happy with DOS applications
        • Our solution needs to really feel like a desktop application, without being one
      • We’re still doomed!
    8. We’re Saved!
      • Adobe AIR / Flex to the Rescue!
      • With Flex / AIR for the user-interface and PHP/ZF on the backend we are able to accomplish all of our goals
        • Flex/AIR provides the user-experience demanded by our users
        • PHP / ZF provide the server-side magic
    9. Our Development Stack
      • Zend Studio for Eclipse
        • PHP / ZF development
      • Adobe FlexBuilder 3 plugin for Eclipse
        • Front-end Development
      • VMWare development server
        • To host PHP application – when VMware behaves
      • Compile/Run Flex Front-end Locally
    10. Server Setup
      • MySQL Database
        • Some stored procedures for complex manipulations
      • Multi-Protocol architecture
        • Supports RPC calls via “REST-ish” XML services as well as the Adobe AMF format via the Zend_Amf component of Zend Framework
    11. Frontend Setup
      • Adobe Flex and AIR runtime (duh)
        • Fundamentally a PureMVC-based architecture
          • (slowly moving away from that)
        • A fair amount of custom code for data-transfer over the AMF protocol
          • We can’t use the standard Flex RemoteObject facilities (only works with something like BlazeDS)
    12. Code!
    13. Not without problems
      • Flex and AIR work pretty well with PHP, but there are a lot of problems
        • Lack of Server-push technology available on the PHP side makes saving data pretty painful
          • Have to devise your own saving mechanisms and keep them consistent
          • Lack of Server-push makes collaboration painful across clients
    14. Hardware == Painful
      • As powerful as AIR is a platform, it has a serious flaw
        • NO support for hardware on any level means all of those bar-code scanners, driver’s license scanners, custom printers we use suddenly can’t be used
        • … Okay, now we’re really doomed.
    15. PHP^H^H^H Java !!
      • Of all things, Java comes to the rescue!
      • The Merapi project
        • http://www.merapiproject.net
        • Provides a Java “server” that runs alongside the AIR application
        • AIR can communicate with Merapi through a socket, serializing objects back and forth and making RPC calls
        • Merapi can communicate with hardware for us
    16. Deployment
      • New Problem: Deployment
        • AIR has great facilities for this
        • ANT-based build system builds AIR packages, deploys codebase on server(s)
        • Future: CruiseControl for CI / Testing
    17. Final Thoughts..
      • Flex/AIR is the right tool for our job
        • Even though it’s NOT the right tool for our job (yet)
        • Offers a much more compelling user experience than we could produce with JS/HTML/CSS
        • Definitely not the right tool for every job
      • Of course, the PHP side just works™ for the most part
      • Questions?
    18. We’re Hiring!
      • Thank you!
        • Interested in working on a project like this? We’re hiring!
        • See our full-page ad in the conference program and visit us at the Job Fair!

    + John CoggeshallJohn Coggeshall, 8 months ago

    custom

    961 views, 1 favs, 0 embeds more stats

    My talk on building rich internet applications usin more

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 961
      • 961 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 1
    • Downloads 0
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories