DrupalGap allows developers to create mobile applications that connect to Drupal websites via web services. It uses PhoneGap and Apache Cordova to package HTML, CSS, and JavaScript into native iOS and Android apps. DrupalGap inherits Drupal concepts like modules, blocks, menus, pages, and views, and it can be extended with contrib modules and custom functionality through services and plugins. Developers need knowledge of JavaScript, Drupal modules, and mobile app development to use DrupalGap.
8. Site
Drupal Bootstrap
Receive response as
markup
Load CSS files
Load JS files
Load theme
files(images, fonts)
Load content images
Show content to user
Mobile application
Drupal Bootstrap
Receive response as
JSON
Load content images
Show content to user
9. HOW MOBILE APPLICATION
DIFFERENT FROM RESPONSIVE SITE?
Our mobile phone have
features which don't
have our regular devices!
It’s handy!
11. • Created by Tyler Frankenstein
• First release Feb 25, 2012 ~100 lines
• Currently ~10,000 lines
12. DRUPALGAP
Drupal module
hosted on d.org
It's connection
between mobile
applications and
Drupal websites via
web Services.
Development Kit hosted
on GitHub
Developers can create
custom multi-platform
mobile applications that
communicate with their
Drupal websites.
13. DRUPALGAP FEATURES
You don't need a Objective-C and Java
developers.
!
If you know how to build Drupal modules
and know JavaScript - Welcome to
DrupalGap developers.
16. HOW IT WORKS?
PhoneGap generates HTML, CSS
and JavaScript and make application
iOS and Android mobile
devices.
Apache Cordova provides access
via JavaScript to device
features such as the
Camera, GPS, File System,
Contacts, Compass, etc.
17. TYPES OF SITES WHICH CAN USE
MOBILE APPLICATION
Any sites that you can imagine.
35. #D8CX
All that we need - update
DrupalGap SDK according
to the changes in Drupal 8.
#D8CX: I pledge that DrupalGap will have a full Drupal 8
release on the day that Drupal 8 is released (c) Tyler
41. VIEWS
1. Need to create page with JSON data document
format (views_json module)
2. Implement hook_menu
3. Implement page_callback
4. Implement row_callback(function to process
and render each row)
46. ANDROID
Devices
Android 2.1 (Deprecated May 2013)
Android 2.2
Android 2.3
Android 3.x (Deprecated May 2013)
Android 4.x
Development
Any OS
JDK 6+ and Apache Ant
Developer license: $25 one time
47. IOS
Devices
iOS Device with at least iOS 5.x+
Development
Intel-based Computer with Mac OS X Lion or
greater (10.7.4+)
Xcode Command Line Tools
Xcode 4.5+ and iOS 6 SDK
Developer license: $99 per year
48. CONCLUSION
• DrupalGap is growing
• Needs support from a community
• We have incredible tool that allows
us to build mobile application from
scratch