1 of 29

Mobile apps development for Joomla

Learn | Connect | Share

Anibal Sánchez @anibal_sanchez

@extly

@joomgap

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

2 of 29

Extly leading developer

  • 15+ years dev experience
  • Integrating Joomla since 2007��
  • Marketing Manager at Extensions Directory (JED)
  • Contributor at Joomla! StackExchange (5000+)
  • Contributor at Bug Squad

Aníbal Sánchez

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

3 of 29

Abstract

Mobile web-based applications are the best choice for individual, small and large businesses developers to provide a way to continue a website experience. This alternative allows you to work directly in the mobile environment with nothing but JavaScript and HTML / CSS, using technologies such as PhoneGap, Ionic and AngularJS Framework. Thus, it is possible to implement the technology stack most used and known in the world to launch apps, simultaneously, on all major platforms, from day one, with the same source code. In Joomla! context, web-based mobile apps can be integrated with the content management system to query or execute operations safely. In this session, we will discuss the main topic , solutions, challenges and a case to introduce how to combine available technologies for mobile development integrated with Joomla.

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

4 of 29

Agenda

Welcome

Today’s stats

Definitions

JED Starter App

Talking to Joomla!

Conclusions

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

5 of 29

Welcome to Joomorrowland

http://www.tomorrowland.com

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

6 of 29

Welcome to Joomorrowland

  • Joomla 4
  • PHP 7
  • Bootstrap 4
  • Javascript ECMAScript 6
  • AngularJS 2 (Typescript)

http://www.tomorrowland.com

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

7 of 29

… and we develop apps for Joomla!

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

8 of 29

WAIT….

WHAT ?

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

9 of 29

Wait … what?

  • Content navigation
  • Search and browse
  • Site management
  • E-commerce apps
  • Enterprise apps (MEAP)

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

10 of 29

Today’s Stats

The days of desktop dominance are over. Mobile has swiftly risen to become the leading digital platform, with total activity on smartphones and tablets accounting for an astounding 60 percent of digital media time spent in the U.S. The fuel driving mobile’s relentless growth is primarily app usage...

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

11 of 29

Today’s Stats

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

12 of 29

Definitions

Joomla! is a platform to built websites

  • A content management system.�
  • Evolving from desktop usage.

  • Supports responsive design.�
  • And, already supports mobile apps.�

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

13 of 29

JED Starter App - Objectives

A prototype to show content navigation (smallest app, 2MB).

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

14 of 29

JED Starter App - A prototype

  • Fork JGJEDStarter repo
  • Create an account (or log in) in PhoneGap build
  • Connect your github account and create a new App
  • Pull JGJEDStarter source code and build
  • Download the new App and test it!

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

15 of 29

A mobile web-based boilerplate

  • Fork JGBoilerplate repo
  • Create an account (or log in) in PhoneGap build
  • Connect your github account and create a new App
  • Pull JGBoilerplate source code and build
  • Download the new App and test it!

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

16 of 29

JED Starter App

  • Mobile web-based app

  • HTML, CSS and JavaScript

  • Cordova - PhoneGap

  • AngularJS Framework (optional)�
  • Ionic Framework (optional)

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

17 of 29

Cordova - PhoneGap

Easily create apps using the web technologies you know and love: HTML, CSS and JavaScript. (+Plugins)

Target multiple platforms with one code base.

Free and open source.

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

18 of 29

AngularJS / Ionic Framework

HTML enhanced for web apps!

Create mobile apps with the web technologies you love. Free and open source, Ionic offers a library of mobile-optimized HTML, CSS and JS components, gestures and tools for building highly interactive apps. Built with Sass and optimized for AngularJS.

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

19 of 29

A new utility belt for developers

  • HTML / CSS / JS Editor
  • Local Debugging
    • Chrome DevTools
    • FireBug
  • Remote Debugging
    • Chrome DevTools
    • GapDebug
  • Device simulation

… a Javascript world ruled by Node.js, npm, Grunt, Bower, etc, etc

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

20 of 29

Local vs Remote Development

  • Local Packaging
    • Android
    • Apple iOS *
  • Remote Packaging
    • PhoneGap Build
    • AppGyver, trigger.io, etc.
  • Other services
    • Firebase
    • AWS Mobile Hub

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

21 of 29

Talking to Joomla!

Application Program Interface (API)

HTML (JED App) vs Structured Data

Atoms?

Molecules?

Particles?

Cubes?

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

22 of 29

Talking to Joomla!

  • Joomla Ajax Interface
  • Custom APIs
  • Joomla 3.6 - REST API
  • Joomla 4 will be a mobile first CMS

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

23 of 29

… and we develop apps for Joomla!

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

24 of 29

Talking to Joomla! - Joocial App

AutoTweetNG and Joocial are our extensions for social content management. Composer App is our new tool for social auto-publishing and content scheduling.

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

25 of 29

2-legged OAuth authentication

(No remote password)

Talking to Joomla! - Joocial App

OAuth API

OAuth API

Token

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

26 of 29

Conclusions

  • Mobile web-apps are ready for prime time

  • Joomla offers a sound content model and a mature framework

  • Responsive web design is only a part of the solution

  • Mobile apps for Joomla offer a new “relentless growth”

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

27 of 29

Make It Happen

Are you interested Mobile Apps? Join to Mobile Apps Team�https://volunteers.joomla.org/working-groups/mobile-apps-team�The Mobile Apps working group is dedicated to people contributing to support mobile web-enabled and native applications for Joomla that will be the best "mobile-first" CMS.

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

28 of 29

Questions and Feedback

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8

29 of 29

JoomGap

Create amazing apps for Joomla!

http://www.joomgap.com

#JWC15

Joomla! World Conference 2015

Bangalore, India Sheraton Hotel�November 6-8