Php xperts 2010-masnun

2,368 views
2,239 views

Published on

My talks on the phpXperts seminar 2010 :)

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

No Downloads
Views
Total views
2,368
On SlideShare
0
From Embeds
0
Number of Embeds
1,350
Actions
Shares
0
Downloads
16
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Php xperts 2010-masnun

  1. 1. Desktop Apps with Web Techs Abu Ashraf Masnun Businessstudent,WebDeveloper,Tech addict!
  2. 2. So, what’s it all about? Use Web technologies Develop Cross OS Apps Use Existing Skill set
  3. 3. Desktop Apps Netbeans Firefox VLC MS Office Photoshop Winzip
  4. 4. Web Apps Gmail Facebook Twitter Miproapps WordPress Bing
  5. 5. Common Web Technologies HTML CSS Javascript 960.gs jQuery And Others…. PHP
  6. 6. Available Tool Kits Tool Operating System Winbinder Windows Only PHP-GTK Cross OS TitaniumApp Accelerator Cross OS Adobe AIR Cross OS
  7. 7. Available Tool Kits Tool Technology Winbinder PHP Only PHP-GTK PHP Only TitaniumApp Accelerator Python, PHP & HTML+ CSS + JS Adobe AIR HTML + CSS + JS, Flex
  8. 8. Available Tool Kits •Access to Win32APIs •Goodfor Windows Apps Winbinder:
  9. 9. Available Tool Kits •Looks Badon Mac •Projectis almost dead PHP-GTK:
  10. 10. Available Tool Kits •BuggyonLinux •Complex Packaging Titanium:
  11. 11. Available Tool Kits •Easy to pick up •Runs fine on All OS Adobe AIR:
  12. 12. Adobe AIR Hall of Fame!
  13. 13. What do we need? AIR SDK AIR Runtime Basic Knowledge in web dev. Let’s get started…
  14. 14. What do we build?
  15. 15. The Workflow Setup the environment Design the UI with HTML and CSS Add Interaction with Javascript Pack it up!  Yes, it’s that simple!
  16. 16. Setting Up The Environment Download the SDK Extract the ZIP file Add the “bin” directory to System Path Windows Linux Mac Create a project directory
  17. 17. <body align="center"> <input type="button" onClick="javascript:alert('he llo experts!')“ value="Click me!" style="margin-top:150px;"> </body> The HTML! Index.html
  18. 18. <?xml version="1.0" encoding="UTF-8"?> <application xmlns="http://ns.adobe.com/air/application/1.5"> <id>phpXperts.air.demo</id> <version>0.1</version> <filename>AIR Demo</filename> <initialWindow> <content>index.html</content> <title>AIR Demo</title> <visible>true</visible> <width>350</width> <height>450</height> </initialWindow> </application> The Descriptor! Descriptor.xml
  19. 19. <?xml version="1.0" encoding="UTF-8"?> <application xmlns="http://ns.adobe.com/air/application/1.5"> <id>phpXperts.air.demo</id> <version>0.1</version> <filename>AIR Demo - phpXperts</filename> <initialWindow> <content>index.html</content> <title>AIR Demo - GTN</title> <visible>true</visible> <width>350</width> <height>450</height> </initialWindow> </application> The Descriptor! Descriptor.xml <application xmlns="http://ns.adobe.com/air /application/1.5">
  20. 20. <?xml version="1.0" encoding="UTF-8"?> <application xmlns="http://ns.adobe.com/air/application/1.5"> <id>phpXperts.air.demo</id> <version>0.1</version> <filename>AIR Demo - phpXperts</filename> <initialWindow> <content>index.html</content> <title>AIR Demo - GTN</title> <visible>true</visible> <width>350</width> <height>450</height> </initialWindow> </application> The Descriptor! Descriptor.xml <id>phpXperts.air.demo</id> <version>0.1</version> <filename>AIR Demo</filename>
  21. 21. <?xml version="1.0" encoding="UTF-8"?> <application xmlns="http://ns.adobe.com/air/application/1.5"> <id>phpXperts.air.demo</id> <version>0.1</version> <filename>AIR Demo - phpXperts</filename> <initialWindow> <content>index.html</content> <title>AIR Demo - GTN</title> <visible>true</visible> <width>350</width> <height>450</height> </initialWindow> </application> The Descriptor! Descriptor.xml <initialWindow> <content>index.html</content>
  22. 22. <?xml version="1.0" encoding="UTF-8"?> <application xmlns="http://ns.adobe.com/air/application/1.5"> <id>phpXperts.air.demo</id> <version>0.1</version> <filename>AIR Demo - phpXperts</filename> <initialWindow> <content>index.html</content> <title>AIR Demo - GTN</title> <visible>true</visible> <width>350</width> <height>450</height> </initialWindow> </application> The Descriptor! Descriptor.xml <title>AIR Demo</title> <visible>true</visible> <width>350</width>
  23. 23. <?xml version="1.0" encoding="UTF-8"?> <application xmlns="http://ns.adobe.com/air/application/1.5"> <id>phpXperts.air.demo</id> <version>0.1</version> <filename>AIR Demo - phpXperts</filename> <initialWindow> <content>index.html</content> <title>AIR Demo - GTN</title> <visible>true</visible> <width>350</width> <height>450</height> </initialWindow> </application> The Descriptor! Descriptor.xml <height>450</height> </initialWindow> </application>
  24. 24. Pack it up! adt -certificate -cn SelfSigned 1024- RSA sampleCert.pfx samplePassword Generate Key
  25. 25. Pack it up! adt -package -storetype pkcs12 -keystore demo.air descriptor.xml index.html Bundle it!
  26. 26. Say Hello!
  27. 27. Hall of Fame!
  28. 28. ?!? What’s on your mind ?

×