SlideShare a Scribd company logo
Building a mobile app connected to WordPress with WP-AppKit
WP AppKit
A WordPress plugin to create mobile applications connected to WordPress
WP AppKit
• A crazy idea born at WordCamp Paris 2014
• A tool to use WordPress as a back office for mobile apps
• Done by the Uncategorized Creations collective (3)
• Version 0.1: June 2014
• http://getwpappkit.com
• Twitter: @WP-AppKit
• Facebook: @getwpappkit
Intro
WP AppKit
How it works
WP AppKit
A WordPress plugin that:
• Allows to configure and export application sources ready to be
compiled
• Provide a theme engine to build mobile applications with
JavaScript, HTML and CSS
• Provide dedicated web services used by applications to retrieve
content, authenticate users…
WP AppKit
Compiled?
WP AppKit
website workflow != application workflow
WP AppKit
Creating the application
WP AppKit
Components
Menu
Icons and
splashscreens
Theme
Project Archive App Installation File
WP AppKit
Components
Menu
Icons and
splashscreens
Theme
Project Archive App Installation File
It all happens in WordPress
WP AppKit
Components
Menu
Icons and
splashscreens
Theme
Project Archive App Installation File
Bundled as a .zip
WP AppKit
Components
Menu
Icons and
splashscreens
Theme
Project Archive App Installation File
Compilation
here
WP AppKit
Components
Menu
Icons and
splashscreens
Theme
Project Archive App Installation File
There’s several ways to do that.
We’ll see later that we can
compile online
WP AppKit
Components
Menu
Icons and
splashscreens
Theme
Project Archive App Installation File
You’ve got an .apk or .ipa ready
to be installed
WP AppKit
When you’re finished
WP AppKit
App Installation File
Phone
Installed App
WordPress
Web Services
3rd Party Services
WP AppKit
App Installation File
Uploaded to app stores
Phone
Installed App
WordPress
Web Services
3rd Party Services
WP AppKit
App Installation File
Downloaded and
installed
Phone
Installed App
WordPress
Web Services
3rd Party Services
WP AppKit
App Installation File
Provided by WP-AppKit
Phone
Installed App
WordPress
Web Services
3rd Party Services
WP AppKit
App Installation File
e.g. accessing camera,
network status…Phone
Installed App
WordPress
Web Services
3rd Party Services
WP AppKit
App Installation File
Think of Google
Analytics, push
notifications…
Phone
Installed App
WordPress
Web Services
3rd Party Services
WP AppKit
Enough theory 
WP AppKit
WP-AppKit plugin is available on
GitHub
https://github.com/uncatcrea/wp-appkit
After installation, you’ll see a new WP-AppKit
item in the WordPress menu
Click on Applications and create your first
application project
WP AppKit
WP AppKit
• Title is only used in WordPress
• 1 application per platform (iOS/Android)
• 1 application per version (⚠ a new version doesn’t replace
automatically the previous one, users have to install it)
WP AppKit
The My Project metabox guides you through the configuration
process highlighting which steps you finished before being able to
export the app’s sources
WP AppKit
Help me links in each metabox show help texts
WP AppKit
Components
WP AppKit
• You put together components to assemble your app
• Typical component: data source (e.g. posts from a specific
category)
• You can add your own components
Components
WP AppKit
Theme
WP AppKit
• WP-AppKit themes play for apps the same role WordPress
themes play for websites
• You can create your own theme
• 1 version = 1 theme (⚠ a new version doesn’t replace
automatically the previous one, users have to install it)
• A very important difference: no PHP in WP-AppKit themes
• PHP is “replaced” by JavaScript in a WP-AppKit theme
Theme
WP AppKit
menu
WP AppKit
• The application’s menu is based on components (post list,
page…)
• The menu is “live”, meaning if you change it, it will be
updated for all installed apps (without the need to create a
new version of the app)
menu
WP AppKit
Preview
WP AppKit
• As applications are based on web technologies, you can
preview in the browser, using Chrome’s mobile emulation
mode
• ⚠ Features relying on phone are not available in the
browser (e.g. camera)
Preview
WP AppKit
Phonegap build
WP AppKit
WP AppKit
• With PhoneGap Build, you compile in the cloud
• PhoneGap/Cordova is the technology that allows to build
mobile applications using JavaScript, HTML and CSS (called
hybrid applications)
• PhoneGap is an Adobe commercial product based on
Cordova (which is open source)
Phonegap build
WP AppKit
BTW WP-AppKit also supports classic Cordova CLI 
WP AppKit
export project sources
WP AppKit
• When done with configuration, you export app’s sources
as a .zip file
• This archive is used to compile your app for a specific
platform (Android or iOS)
• The compiled file is uploaded to app stores, ready to be
downloaded and installed by users
export project sources
WP AppKit
You can also export with WP-CLI 
WP AppKit
Compilation
WP AppKit
Upload your .zip
Compilation
WP AppKit
When compilation’s
done, flash to test
the app on your
phone
Compilation
WP AppKit
Compilation
Or download the compiled app
to release it in app stores
WP AppKit
• Testing requires to prepare test phones
• For Android: allowing installs from unknown sources
• For iOS: create a certificate with allowed iPhones
Testing on phones
WP AppKit
http://uncatcrea.com/wp-appkit/doc/getting-started/
WP AppKit
Cordova plugins?
WP AppKit
• Cordova plugins can be added to your
project
• They extend the Cordova JavaScript
API to provide new functionalities
(e.g. access to native phone’s sharing
center)
Cordova plugins
Android’s sharing center
WP AppKit
• Cordova plugins are hosted on NPM repository
• To include a plugin in your project, you reference it in your
config.xml file
• They will be included at compilation time
Cordova plugins
WP AppKit
Cordova plugins
WP AppKit
Anatomy of a WP-AppKit’s theme
WP AppKit
WP AppKit
• The Themes panel lets you manage your themes
• WP-AppKit comes with 2 default themes :
• Q for iOS (demo)
• Q for Android (demo)
WP AppKit
WP AppKit
• Themes are stored in the /wp-content/themes-wp-appkit
• themes-wp-appkit folder is created when you installed
WP-AppKit
• You can upload new themes as you’d do with WordPress
themes
WP AppKit
Themes are composed of:
• HTML files
• CSS files
• JavaScript files
• Resources (images, fonts)
WP AppKit
• HTML files are used for templates
• WP-AppKit’s apps are Single Page Applications (SPA)
• All HTML files are combined into one page
• Screens are physically <div> elements
• e.g. single.html corresponds to a post detail
• Strongly inspired by WordPress templates (but not the
same)
WP AppKit
WP AppKit
• head.html = <head> section
• This is where you’ll reference .css files
• Layout.html = encloses all other <div> elements
• menu.html = menu element
• archive.html = post lists
• single.html = post details
WP AppKit
Comes from layout.html
WP AppKit
Comes from menu.html
WP AppKit
Comes from archive.html or
single.html
WP AppKit
• You can use template tags in .html files
• Template tags are <%= %> UnderscoreJS template tags
WP AppKit
WP AppKit
You can add your own templates
WP AppKit
Rule n°1: No JavaScript in HTML templates
WP AppKit
• JavaScript is primarily handled in js/functions.js
WP AppKit
• JavaScript dependencies (ie. other required .js files) are
handled with RequireJS
WP AppKit
• functions.js is where you bind (touch) events
WP AppKit
• hook into application’s events
WP AppKit
• and bring screen transitions to life (among other
marvelous things)
WP AppKit
“Master, I see a php subfolder in the theme’s folder!”
WP AppKit
• The theme’s php subfolder is used to extend and hook
into web services
• It remains on the server (ie. it is not installed on the
user’s phone)
WP AppKit
WP AppKit
CSS, Images and Animations
WP AppKit
• Apart from rare specific selector (e.g. momentum
scrolling rules), you can use standard CSS
• CSS transitions and animations are super useful (e.g.
spinners)
WP AppKit
• SVG image format is great to support any screen densities
• You can edit SVG file with Inkscape open source editor
WP AppKit
• You can animate with CSS
• For more control, you can use JS libraries such as
VelocityJS or GSAP
WP AppKit
• I am Benjamin LUPU, Chief Digital Officer for Jeune Afrique press
group and part of the Uncategorized Creations collective
• Twitter: @benjaminlupu
WP AppKit
Thank you

More Related Content

What's hot (20)

PPTX
Wikipedia Mobile App with PhoneGap
Ted Chien
 
PDF
The Ultimate Getting Started with Angular Workshop - Devoxx UK 2017
Matt Raible
 
PDF
Cross Platform Mobile Development
Software Infrastructure
 
PPTX
Build run first web application using flutter for web
Concetto Labs
 
PDF
Introduction to PhoneGap
RameshNair6
 
PPTX
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
Mihai Corlan
 
PPTX
Ecommerce Mini Project / Group Project Coding
Hemant Sarthak
 
PPTX
Phone gap
caviare
 
PPTX
PhoneGap Session at Multi-Mania.be 2013
Mihai Corlan
 
PDF
Cordova, Angularjs & Ionic @ Codeaholics
Eddie Lau
 
PDF
Hybrid Apps with Ionic Framework
Bramus Van Damme
 
PDF
C# Powered Robots, C# Powered Mobile Apps
James Montemagno
 
PPTX
Slides of webinar Kendo UI and Knockout.js
Dhananjay Kumar
 
PPTX
Universal Windows Platform
Software Infrastructure
 
ODP
Apache Cordova, Hybrid Application Development
thedumbterminal
 
PDF
Ionic Framework
Cristián Cortéz
 
PPTX
Asp.net mvc - Better User Experience with Kendo UI
Lohith Goudagere Nagaraj
 
KEY
Intro to PhoneGap
Ryan Stewart
 
PPTX
Introduction to Adobe Brackets
Mihai Corlan
 
PPTX
Intro to Ionic for Building Hybrid Mobile Applications
Sasha dos Santos
 
Wikipedia Mobile App with PhoneGap
Ted Chien
 
The Ultimate Getting Started with Angular Workshop - Devoxx UK 2017
Matt Raible
 
Cross Platform Mobile Development
Software Infrastructure
 
Build run first web application using flutter for web
Concetto Labs
 
Introduction to PhoneGap
RameshNair6
 
PhoneGap/PhoneGap Build - Amsterdam Adobe Camp
Mihai Corlan
 
Ecommerce Mini Project / Group Project Coding
Hemant Sarthak
 
Phone gap
caviare
 
PhoneGap Session at Multi-Mania.be 2013
Mihai Corlan
 
Cordova, Angularjs & Ionic @ Codeaholics
Eddie Lau
 
Hybrid Apps with Ionic Framework
Bramus Van Damme
 
C# Powered Robots, C# Powered Mobile Apps
James Montemagno
 
Slides of webinar Kendo UI and Knockout.js
Dhananjay Kumar
 
Universal Windows Platform
Software Infrastructure
 
Apache Cordova, Hybrid Application Development
thedumbterminal
 
Ionic Framework
Cristián Cortéz
 
Asp.net mvc - Better User Experience with Kendo UI
Lohith Goudagere Nagaraj
 
Intro to PhoneGap
Ryan Stewart
 
Introduction to Adobe Brackets
Mihai Corlan
 
Intro to Ionic for Building Hybrid Mobile Applications
Sasha dos Santos
 

Similar to Building a mobile app connected to WordPress with WP-AppKit (20)

PPTX
Using and extending Alfresco Content Application
Denys Vuika
 
PPT
Google app engine
shreyashsrs66
 
PPTX
Microsoft hackathon presentation 2013.02.15
Andrew Smith
 
PDF
iOS extension
Pin Shih Wang
 
PDF
REST In Action: The Live Coverage Platform at the New York Times
Scott Taylor
 
PDF
Apps for SharePoint 2013
Alex Pop
 
PPTX
Logic Apps – Deployments
BizTalk360
 
PPT
Native Mobile Application Using Open Source
Axway Appcelerator
 
PPT
OSCON Titanium Tutorial
Kevin Whinnery
 
PPTX
(WPF + WinForms) * .NET Core = Modern Desktop
Claire Novotny
 
PDF
Drupal8 for Symfony developers - Dutch PHP
Antonio Peric-Mazar
 
PPTX
Developing Apps for SharePoint Store
Kashif Imran
 
PDF
Cross Platform Mobile Development using Flutter by Wei Meng Lee at Mobile foc...
DevClub_lv
 
PPTX
Office 365 Developer Bootcamp: Microsoft Teams
David Schneider
 
PDF
Angular - Chapter 1 - Introduction
WebStackAcademy
 
PPT
Apache Cordova phonegap plugins for mobile app development
webprogr.com
 
PPT
ASP.net web api Power Point Presentation
BefastMeetingMinutes
 
PPTX
Web application development process
John Smith
 
PPTX
Biwug 20180410 - I developed a SharePoint Framework solution, what to do next...
Yannick Borghmans
 
PDF
SPS Dakar 2018 - I developed a SharePoint framework solution, what to do next...
aOS Community
 
Using and extending Alfresco Content Application
Denys Vuika
 
Google app engine
shreyashsrs66
 
Microsoft hackathon presentation 2013.02.15
Andrew Smith
 
iOS extension
Pin Shih Wang
 
REST In Action: The Live Coverage Platform at the New York Times
Scott Taylor
 
Apps for SharePoint 2013
Alex Pop
 
Logic Apps – Deployments
BizTalk360
 
Native Mobile Application Using Open Source
Axway Appcelerator
 
OSCON Titanium Tutorial
Kevin Whinnery
 
(WPF + WinForms) * .NET Core = Modern Desktop
Claire Novotny
 
Drupal8 for Symfony developers - Dutch PHP
Antonio Peric-Mazar
 
Developing Apps for SharePoint Store
Kashif Imran
 
Cross Platform Mobile Development using Flutter by Wei Meng Lee at Mobile foc...
DevClub_lv
 
Office 365 Developer Bootcamp: Microsoft Teams
David Schneider
 
Angular - Chapter 1 - Introduction
WebStackAcademy
 
Apache Cordova phonegap plugins for mobile app development
webprogr.com
 
ASP.net web api Power Point Presentation
BefastMeetingMinutes
 
Web application development process
John Smith
 
Biwug 20180410 - I developed a SharePoint Framework solution, what to do next...
Yannick Borghmans
 
SPS Dakar 2018 - I developed a SharePoint framework solution, what to do next...
aOS Community
 
Ad

More from Benjamin LUPU (7)

PDF
Construire une PWA connectée à WordPress
Benjamin LUPU
 
PPTX
Devenir un utilisateur actif de Google Analytics
Benjamin LUPU
 
PDF
Architecture de l'information pour WordPress
Benjamin LUPU
 
PPTX
WordPress comme back office d'applications mobiles
Benjamin LUPU
 
PDF
Réaliser une application mobile pour un groupe de presse avec PhoneGap
Benjamin LUPU
 
PPTX
L'analytics au service de vos contenus ?
Benjamin LUPU
 
PPTX
Construire un site de presse avec Wordpress ?
Benjamin LUPU
 
Construire une PWA connectée à WordPress
Benjamin LUPU
 
Devenir un utilisateur actif de Google Analytics
Benjamin LUPU
 
Architecture de l'information pour WordPress
Benjamin LUPU
 
WordPress comme back office d'applications mobiles
Benjamin LUPU
 
Réaliser une application mobile pour un groupe de presse avec PhoneGap
Benjamin LUPU
 
L'analytics au service de vos contenus ?
Benjamin LUPU
 
Construire un site de presse avec Wordpress ?
Benjamin LUPU
 
Ad

Recently uploaded (20)

PDF
Alexander Marshalov - How to use AI Assistants with your Monitoring system Q2...
VictoriaMetrics
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PDF
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
PPTX
Java Native Memory Leaks: The Hidden Villain Behind JVM Performance Issues
Tier1 app
 
PDF
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
PDF
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
PPTX
Equipment Management Software BIS Safety UK.pptx
BIS Safety Software
 
PPTX
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
PDF
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
PDF
GetOnCRM Speeds Up Agentforce 3 Deployment for Enterprise AI Wins.pdf
GetOnCRM Solutions
 
PPTX
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
PDF
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
PDF
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
PPTX
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
PDF
Salesforce CRM Services.VALiNTRY360
VALiNTRY360
 
PDF
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
PPTX
3uTools Full Crack Free Version Download [Latest] 2025
muhammadgurbazkhan
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PPTX
The Role of a PHP Development Company in Modern Web Development
SEO Company for School in Delhi NCR
 
Alexander Marshalov - How to use AI Assistants with your Monitoring system Q2...
VictoriaMetrics
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
Powering GIS with FME and VertiGIS - Peak of Data & AI 2025
Safe Software
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
Java Native Memory Leaks: The Hidden Villain Behind JVM Performance Issues
Tier1 app
 
Build It, Buy It, or Already Got It? Make Smarter Martech Decisions
bbedford2
 
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
Equipment Management Software BIS Safety UK.pptx
BIS Safety Software
 
A Complete Guide to Salesforce SMS Integrations Build Scalable Messaging With...
360 SMS APP
 
Capcut Pro Crack For PC Latest Version {Fully Unlocked} 2025
hashhshs786
 
GetOnCRM Speeds Up Agentforce 3 Deployment for Enterprise AI Wins.pdf
GetOnCRM Solutions
 
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
Efficient, Automated Claims Processing Software for Insurers
Insurance Tech Services
 
Beyond Binaries: Understanding Diversity and Allyship in a Global Workplace -...
Imma Valls Bernaus
 
Fundamentals_of_Microservices_Architecture.pptx
MuhammadUzair504018
 
Salesforce CRM Services.VALiNTRY360
VALiNTRY360
 
Alarm in Android-Scheduling Timed Tasks Using AlarmManager in Android.pdf
Nabin Dhakal
 
3uTools Full Crack Free Version Download [Latest] 2025
muhammadgurbazkhan
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
The Role of a PHP Development Company in Modern Web Development
SEO Company for School in Delhi NCR
 

Building a mobile app connected to WordPress with WP-AppKit