4. Mobile Site
Device detection Switch a context Switch a theme
Tools
Switch a domain
•Browscap
•Mobile Tools
•Mobile Theme, Switchtheme,
ThemeKey
•Persistent URL
•Context
5. HTML5 and Responsive Design
Responsive techniques
•HTML5 markup
•Fluid grid
•CSS3 Media Queries
For «other» browsers Drupal base themes
•HTML5 Shiv • AdaptiveTheme
•Respond.js • Omega
•Modernizr • Fusion
6. Mobile Application
Standard Way
• iOS – Objective-C
• Android – Java
• Windows Phone 7 – C#/VB
Alternative JS Frameworks
• HTML5 + JavaScript • jQuery Mobile
• Sencha Touch
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. 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
10. REST Server
Request format (Content-type)
• application/x-www-form-urlencoded
• application/xml
• application/json
Response format (Accept)
• application/xml
• application/json
11. Working with REST
Operation Request
Create POST /endpoint/node + body data
Retrieve GET /endpoint/node/123
Update PUT /endpoint/node/123 + body data
Delete DELETE /endpoint/node/123
Index GET /endpoint/node
Action POST /endpoint/apachesolr/reindex
Targeted Action POST /endpoint/node/123/publish
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