DA with Wa - Desktop Apps With Web Apps

2,006 views
1,874 views

Published on

phptechtalk 2010, MIMOS PHP COE

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

  • Be the first to like this

No Downloads
Views
Total views
2,006
On SlideShare
0
From Embeds
0
Number of Embeds
17
Actions
Shares
0
Downloads
38
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

DA with Wa - Desktop Apps With Web Apps

  1. 1. DA with WA Desktop Apps with Web Apps Technology Errazudin Ishak Software Development Lab, Software Development & Central Engineering www.mimos.my © 2009 MIMOS Berhad. All Rights Reserved.
  2. 2. Agenda • Introduction • Enterprise PHP • Desktop Application • PHP Desktop Development • Comparison • Titanium www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  3. 3. Me • Senior Engineer at MIMOS Berhad • Software Dev. Lab, Software Development & Central Engineering • 2009 :  FOSS.my  MyGOSSCON www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  4. 4. “Enterprise == ?” www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  5. 5. Enterprise PHP TEAM DBA Tester PHP Geek Designer Sys. Ad Project Lead PM BA www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  6. 6. Enterprise PHP TEAM Requirement •Customer need this … •User want that … •My boss add this … •My BA... more headache … www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  7. 7. Enterprise PHP TEAM Requirement Architecture •Design Diagrams (Technical ) •HLD •Blueprint www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  8. 8. Enterprise PHP TEAM Requirement Architecture Tools •Planning •Development •Deployment www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  9. 9. Enterprise PHP TEAM Requirement Architecture Tools Foundation •Stable? •Framework vs No-Framework •On Your Own Frame to-do work www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  10. 10. Enterprise PHP TEAM Requirement Architecture Tools Foundation Design patterns •Best practice of solving probs. •MVC? www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  11. 11. Enterprise PHP TEAM Requirement Architecture Tools Foundation Design patterns Testing •Developer, Unit, Functional, Performance, Integration, Usability www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  12. 12. Enterprise PHP TEAM Requirement Architecture Tools Foundation Design patterns Testing Optimization •They want it fast •We need •Accelerator (eAccelerator, Alternative PHP Cache, ionCube PHP Accelerator,Turck MMCache,XCache,Nusphere PhpExpress,Zend Optimizer+,Zend Platform •Cache (Smarty, Zend_Cache, Memcached) www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  13. 13. Enterprise PHP TEAM Requirement Architecture Tools Foundation Design patterns Testing Optimization Security •Prevention of harmful event(s) •Real Risk •Severe consequences www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  14. 14. Enterprise PHP TEAM Requirement Architecture Tools Foundation Design patterns Testing Optimization Security Deployment •Develop, Test, Deploy (Test, Live) •Simple XAMPP to HA, Scalable architecture www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  15. 15. Enterprise PHP TEAM Requirement Architecture Tools Foundation Design patterns Testing Optimization Security Deployment Operation •Helpdesk •Monitoring •Root cause analysis •Change management www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  16. 16. Introduction : Enterprise PHP TEAM Requirement Architecture Tools Foundation Design patterns Testing Optimization Security Deployment Operation www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  17. 17. Desktop Application www.mimos.my © 2009 MIMOS Berhad. All Rights Reserved.
  18. 18. Introduction • Why DA using WA? • WA : one of world’s most popular client application technology solutions  Openness (standards)  Cross platform  Develop, Deploy and Maintain (Easy) www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  19. 19. Desktop Application • Why DA using WA? • DA  More responsive feel  Complete access to local sys  Offline functionality  Multimedia www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  20. 20. Desktop Application • To build web applications : People, tools, skills, and technology • To build desktop applications : Existing resources? • Faster deployment to production • Maintain existing codebase (Platform) • Proprietary tools and specialized skills www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  21. 21. DA With WA. Possible? • Native apps using web technologies that already mastered • Cross platform apps from a shared codebase • Open source, open standards www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  22. 22. PHP Desktop Development www.mimos.my © 2009 MIMOS Berhad. All Rights Reserved.
  23. 23. PHP Desktop Development PHP-GTK • PHP extension that implements language bindings for GTK+. • Provides an OO interface to GTK+ classes & functions • Simplifies writing client-side cross-platform GUI applications. www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  24. 24. PHP Desktop Development Winbinder • Open source extension for PHP • Allows PHP programmers to easily build native Windows applications. www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  25. 25. PHP Desktop Development Phalenger • PHP implementation on the PHP language into the family of compiled .NET languages. • Provides PHP applications an execution environment, compatible with array of existing PHP code. • Benefit from both the ease-of-use and effectiveness of the PHP language and the power and richness of the .NET platform www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  26. 26. PHP Desktop Development Adobe AIR (Adobe Integrated Runtime) • Cross-operating system runtime that enables usage of existing HTML/Ajax, Flex, or Flash web development skills and tools to build and deploy rich Internet applications to the desktop. • Adobe AIR applications support native desktop integration :  clipboard  drag-and-drop support  local file IO  system notification …more. www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  27. 27. PHP Desktop Development Appcelerator Titanium • Open source platform for building desktop & mobile applications using web technologies • Build applications using standard HTML, CSS and JavaScript—as well as server-side technologies www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  28. 28. Comparison : PHP Desktop Development www.mimos.my © 2009 MIMOS Berhad. All Rights Reserved.
  29. 29. PHP Desktop Development Head-2-Head Language PHP-GTK WinBinder Phalenger AIR Titanium / env. Platforms Linux, Unix, Windows Windows Linux, Win32, Linux, Win32, BeOS, OSX, Mac OS X Mac OS X Windows Native No Yes Yes Yes Yes Programming Object-oriented Procedural and Object-oriented Object-oriented Object-oriented models object-oriented Footprint 1.8-6.5 MB 130kB 12MB 15MB 6MB License LGPL BSD Custom License Proprietary Apache 2.0 Current Mature, stable Under Stable, No Mature, stable Rapidly moving, status development updates since stable 2008 www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  30. 30. PHP Desktop Development Head-2-Head Language PHP-GTK WinBinder Phalenger AIR Titanium / env. Platforms Linux, Unix, Windows Windows Linux, Win32, Linux, Win32, BeOS, OSX, Mac OS X Mac OS X Windows Native No Yes Yes Yes Yes Programming Object-oriented Procedural and Object-oriented Object-oriented Object-oriented models object-oriented Footprint 1.8-6.5 MB 130kB 12MB 15MB 6MB License LGPL BSD Custom License Proprietary Apache 2.0 Current Mature, stable Under Stable, No Mature, stable Mature, stable status development updates since 2008 www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  31. 31. Titanium www.mimos.my © 2009 MIMOS Berhad. All Rights Reserved.
  32. 32. Titanium • Future of Open Source RIA? • Build applications that have :  Better performance  Full control over OS-specific UI, database access  Offline functionality, notifications, and multimedia.  Deploy as Linux applications, Windows, OSX, or all those three from one code base  1/10th the memory of Adobe AIR apps  VVIP access to the local system.  Cloud services www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  33. 33. Titanium • Apache 2.0 License • Open source SDK • Mobile: iPhone OS, Android www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  34. 34. Titanium • Desktop: Linux, Win32, Mac OS X (Intel) • No knowledge of Objective-C, Java, .NET or other structured programming languages is required. www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  35. 35. Titanium : Destination • Enterprise applications • Data-driven web service clients • Web service mash-ups • Social utilities • Casual games • * Cross-platform www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  36. 36. Titanium Platform Titanium Developer 0.8.2 www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  37. 37. Titanium Desktop : Architecture www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  38. 38. Titanium Desktop : API  Analytics  PHP  App  Platform  Blob  Process  Codec  Python  Database  Ruby  Desktop  UI  Filesystem  UpdateManager  JSON  Worker  Media  Network  Notification www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  39. 39. Titanium Mobile : Architecture www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  40. 40. Titanium Mobile: API  API  Geolocation  Accelerometer  Gesture  Analytics  Media  Database  Network  Facebook  Platform  Filesystem  UI  Yahoo www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  41. 41. Titanium Developer (Studio) • Is a Titanium Application • Create and manage project(s) • Deploys code to simulators • Developer also helps with testing and packaging for devices www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  42. 42. Titanium Developer www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  43. 43. Resources • http://www.appcelerator.com • http://github.com/appcelerator • http://www.codestrong.com/titanium www.mimos.my © 2010 MIMOS Berhad. All Rights Reserved.
  44. 44. THANK YOU www.mimos.my © 2009 MIMOS Berhad. All Rights Reserved.

×