Drupal and mobile devices                Konstantin Komelin                konstantin@komelin.com
Спонсоры     Организатор      Генеральный спонсор Серебряный спонсор   Серебряный спонсор Бронзовый спонсор     Бронзовый ...
Drupal + “mobiles” = ?
Mobile Site Device detection   Switch a context   Switch a themeTools                                       Switch a domai...
HTML5 and Responsive DesignResponsive techniques•HTML5 markup•Fluid grid•CSS3 Media QueriesFor «other» browsers    Drupal ...
Mobile ApplicationStandard Way• iOS – Objective-C• Android – Java• Windows Phone 7 – C#/VBAlternative                 JS F...
What should I choose?   Mobile Site                           Mobile Application         Centralized update   Access to ha...
Server-side API• RSS  – Read only, XML• hook_menu  – Custom operations, Custom response format• hook_xmlrpc  – XMLRPC, Cus...
Services ModuleProtocols                 Operations• REST                    •CRUD• XML-RPC                 •Actions      ...
REST ServerRequest format (Content-type)• application/x-www-form-urlencoded• application/xml• application/jsonResponse for...
Working with RESTOperation         RequestCreate            POST /endpoint/node + body dataRetrieve          GET /endpoint...
Windows Phone 7 Platform•   Manufacturer: Microsoft•   Release year: 2010•   Minimal requirements: 800 MHz, 256 MB,    GPS...
Demo
Useful Resources•   Drupal.org http://drupal.org/•   HTML5 http://slides.html5rocks.com•   Responsive Web Design    http:/...
Thanks for your attention!              Konstantin Komelin              konstantin@komelin.com
Спонсоры     Организатор      Генеральный спонсор Серебряный спонсор   Серебряный спонсор Бронзовый спонсор     Бронзовый ...
Upcoming SlideShare
Loading in …5
×

Drupal and mobile devices komelin konstanin (eng)

562 views
519 views

Published on

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
562
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Drupal and mobile devices komelin konstanin (eng)

  1. 1. Drupal and mobile devices Konstantin Komelin konstantin@komelin.com
  2. 2. Спонсоры Организатор Генеральный спонсор Серебряный спонсор Серебряный спонсор Бронзовый спонсор Бронзовый спонсор
  3. 3. Drupal + “mobiles” = ?
  4. 4. Mobile Site Device detection Switch a context Switch a themeTools Switch a domain•Browscap•Mobile Tools•Mobile Theme, Switchtheme,ThemeKey•Persistent URL•Context
  5. 5. HTML5 and Responsive DesignResponsive techniques•HTML5 markup•Fluid grid•CSS3 Media QueriesFor «other» browsers Drupal base themes•HTML5 Shiv • AdaptiveTheme•Respond.js • Omega•Modernizr • Fusion
  6. 6. Mobile ApplicationStandard Way• iOS – Objective-C• Android – Java• Windows Phone 7 – C#/VBAlternative JS Frameworks• HTML5 + JavaScript • jQuery Mobile • Sencha Touch
  7. 7. What should I choose? Mobile Site Mobile Application Centralized update Access to hardware device capabilities Centralized maintenance Selling and promotion and development via Market
  8. 8. Server-side API• RSS – Read only, XML• hook_menu – Custom operations, Custom response format• hook_xmlrpc – XMLRPC, Custom operations, XML• Services Module – Custom protocol, Custom operations, Custom response format
  9. 9. Services ModuleProtocols Operations• REST •CRUD• XML-RPC •Actions •Targeted Actions• SOAPAuthentication• Cookie• OAuthDevelopmenthook_services_resources
  10. 10. REST ServerRequest format (Content-type)• application/x-www-form-urlencoded• application/xml• application/jsonResponse format (Accept)• application/xml• application/json
  11. 11. Working with RESTOperation RequestCreate POST /endpoint/node + body dataRetrieve GET /endpoint/node/123Update PUT /endpoint/node/123 + body dataDelete DELETE /endpoint/node/123Index GET /endpoint/nodeAction POST /endpoint/apachesolr/reindexTargeted Action POST /endpoint/node/123/publish
  12. 12. Windows Phone 7 Platform• Manufacturer: Microsoft• Release year: 2010• Minimal requirements: 800 MHz, 256 MB, GPS, Accelerometer, 3 MP• Technologies: .NETCF, Silverlight / XNA• IDE: Visual Studio 2010 Express• User Interface Design: Metro• Developer Resource: App Hub• Application Store: Windows Phone Marketplace• User Guide: Zune• Price: from 10,000 Rubles
  13. 13. Demo
  14. 14. Useful Resources• Drupal.org http://drupal.org/• HTML5 http://slides.html5rocks.com• Responsive Web Design http://msdn.microsoft.com/magazine/hh653584.aspx• PhoneGap http://phonegap.com/• Titanium http://www.appcelerator.com/• jQuery Mobile http://jquerymobile.com/• Sencha Touch http://www.sencha.com• Services 3.x Documentation http://drupal.org/node/736522• Poster for Firefox https://addons.mozilla.org/firefox/addon/poster/• Microsoft App Hub http://create.msdn.com• Source codes of Catch a Smile demo app https://github.com/konstantin-komelin
  15. 15. Thanks for your attention! Konstantin Komelin konstantin@komelin.com
  16. 16. Спонсоры Организатор Генеральный спонсор Серебряный спонсор Серебряный спонсор Бронзовый спонсор Бронзовый спонсор

×