Mobile Interface to Content Management System Based On HTML5 and Drupal: A Case Study By Hima Javvadi Email: himamurthy11@yahoo.com
More Devices Economic Realities High Consumers Expectations Platform Independent S O L U T I O N ?
AIM • Integrating Native Mobile Application - Drupal Site. • Develop a Mobile Application – Client Side Scripting Languages (HTML5,CSS,JS) • Using PhoneGap
   Front End HTML5 ,JavaScript & CSS (Phonegap) Back End Database (MySQL) Coding Language HTML5,CSS,JSON,PHP Software Tools Drupal, Android SDK, Eclipse IDE, Wamp Server Technology We Need
Developed - Web Hypertext Application Technology Working Group. -It Build Cross-browser app for web and mobile. HTML5 -Fifth major revision of the WWW
Richness of HTML5      Highly Structured       Browser Compatible       Support  API           -      Web sockets      -      Geolocation       -       SVG - Scalable Vector Graphics DTD – Simplified -   <!DOCTYPE HTML>      ENCODING -  <Meta Charset=“UTF-8”/>    Tools   Modernizer, Validation, OnlineEditor,       CodeBuilder etc. Used Standard Algorithm
Platform Independent -Same Every Were -All API – Build Blocks -Programing Platform
 Open source platform  Create cross-platform  HTML, JavaScript, and CSS  Support Native application  Phonegap apps just web pages that access device function.  Image loads from the device AP PhoneGap
PhoneGap API Support Most of the Devices
 Compatible All Major Mobile Platforms  Provides uniform UI  Touch-optimized web framework (JS Lib)  Compatible with Mobile App Frame Work  Its lightweight code to built jQuery mobile
• JSON- Java Script Object Notation • lightweight data-Interchange format • JSON -language independent • Uses conventions that are familiar to programmers of the C-family of languages. JSON- Ideal Data-Interchange Language.
PhoneGap Build Tool
Drupal CMS Benefits Drupal is often one of the first choices when building a new website. •Administer •Build Content •Collaborate •Connect •Create •Design & Display •Extend •Organize & Find http://www.whitehouse.gov/ -US www.ubuntu.com
To Process Data from Mobile Device to Drupal Site •DrupalGap - tyler.frankenstein •View •Services •REST Service-NODE •Fire Fox Debugging Connect to the mobile device. What to do in Drupal CMS?
Enable Service MODULE -REST Server • Download SPYC: Services sub module -'REST Server’ sites/all/modules/services • REST - Integrate External Application - Drupal. • Service callbacks used multiple interfaces like REST, XMLRPC, JSON, JSON-RPC,SOAP,AMF, etc. • Edit the Resources – Enable Section Authentication in Service .
Select Server: REST Server Service > Resources & Select the required Fields REST Server Setting
• It will test our 'System -> Connect' resource. Open up the Poster plugin for Firefox:  URL: http://localhost/my_drupal_site/? q=my_services/system/connect.json  Content Type: application/x-www-form-urlencoded  Actions: POST  Once you fill out the 'URL' and 'Content Type' fields, click the 'POST' button in the 'Actions' section. A Response window with a status of '200 OK' should show up if everything worked correctly. You should get a JSON response POSTER plugin in Firefox
Schools / University / Institutions User can (Staff/Admin) – -View -Edit -Update -Retrieve Mobile Application Drupal Site Update Content from Mobile and View It on Site to
PROPOSED SYSTEM Database Site
http://drupal.org/node/1423558 http://www.tylerfrankenstein.com/code/android-app-with-drupal-7-services- phonegap-and-jquery-mobile http://www.tylerfrankenstein.com/code/android-app-with-drupal-7-services- phonegap-and-jquery- mobilehttp://wiki.phonegap.com/w/page/30862722/phonegap-android- eclipse-quickstart http://api.drupal.org/api/drupal/includes!database! database.inc/function/db_select/7 http://stackoverflow.com/questions/2727763/communication-between- android-java-and-phonegap-javascript http://drupal.org/documentation http://www.socialtechnologyreview.com/articles/drupal-advantages-and- disadvantages-choosing-drupal-your-cms-solution http://www.w3schools.com/html5/default.asp http://jquerymobile.com/demos/1.1.0-rc.1/ http://drupal.org/node/1423558 S Reference Links
NCES T.K.Hema Priya 1 –hemabe26@gmail.com & J. Hima 2 - himamurthy11@yahoo.com B.E. Computer Science and Engineering (2008-2012) R.M.K. Engineering College M. Somasundaram 3 - mss.cse@rmkec.ac.in Professor, Department of Computer Science and Engineering , R.M.K. Engineering College, Kavaraipettai, India. S.P.Karthikeyan 4 - Scientist-E / Technical Director, Open Technology Centre, National Informatics Centre, Chennai, India karthy@nic.in The Authors Team

Mobile Interface to CMS Based On HTML5 and Drupal: A Case Study

Editor's Notes

  • #4 scripting languages (HTML5, JavaScript &amp; CSS). Integrating the native mobile application with Drupal Site to provide easy access to the users in retrieving the information and to upload/view the contents in the Drupal site.
  • #5 Take a time Heart of the project
  • #6 Compatible Browser: Firefox version 3.5 Chrome, Safari, Microsoft’s ,IE 8 also Support .
  • #8 Responsive Design -Ethan marcotte a web designer &amp; developer, a speaker and author.
  • #9 PhoneGap-compatible Javascript frameworks Dashcode - Framework from Apple (only for iPhone)  NS Basic/App Studio - Full IDE, drag and drop designer including jQuery Mobile, program using Visual BASIC or JavaScript.  The Dojo Toolkit - Flexible and extensible JavaScript framework  WebApp.Net   xUI - slimmed down jQuery work-alike
  • #10 Support thousands of API PhoneGap™ Build API allows programmatic access to creating, building, updating and downloading PhoneGap apps, using the PhoneGap Build web service. It is designed for easy integration into IDEs, shell scripts, app builders, and anywhere else.
  • #11 We developed native application using phonegap library files for android to integrate it with Drupal.
  • #13 High Flexiable Native App – talk to your and Web Server
  • #16 &amp;apos;REST Server&amp;apos; needs SPYC (a PHP YAML loader/dumper - &amp;quot;YAML is a human friendly data serialization standard for all programming languages&amp;quot;).
  • #19 Drawback: -Only contents can be updated. -No database usage.