download Joomla REST API

If you can't read please download the document

  • date post

  • Category


  • view

  • download


Embed Size (px)

Transcript of Joomla REST API


CTO, TechjoomlaDirector, Tekdi Web Solutions@coolbung |

My Joomla! connection

5-star personality on the Joomla Forum

Started using Joomla since Mambo days

Using Joomla since 1.0

Webservices working group co-ordinator

Did you check-in ?

How did it happen ?

ScanQR CodeExtractTicket IDValidateTicket IDSendWelcome EmailShow Message

You buy a ticket!

REST What ?

Representational State Transfer

A web page is a human readable representation

A webservice is a machine readable representation

REST piggybacks on HTTP

Hidden workhorse to integrate with external applications

Human Readable Web Page

Machine Readable Web Service


What is a REST API?Machine readable data

A way to interact with data over HTTPPOST = CreateGET= ReadPUT= UpdateDELETE= Delete

Why do I need REST APIs ?

INSERT INTO jos_users (name, username, email, password, block)VALUES ('James Bond', '', '', MD5(007), 0)

INSERT INTO jos_user_usergroup_map VALUES(62, 8)

My JAVA app

My Joomla! website

What do I do then ?


[POST]name= Ashwin Dateusername= coolbung@gmail.comemail= coolbung@gmail.compassword= supersecretkey= 4358a6fc7470713c79f31b163558a2639b3036ed

Cool! What else can I do ?

Tell me more.. who else uses it ?

Who else ?

News apps Look at

Reportoise Sales Reports

Zoo Image browser


Did anyone say Enterprise ?

A fortune 500 semiconductor company, for a HTML5 based Desktop app.Managing a repository of 100,000 micro products

Product approval workflow

Mobile LMS Using Joomla
Another upcoming app from Techjoomla..
Already in use by Enterprise in Healthcare, Marketing & more !

Take a course on iPad

Go through a few lessons

Go meet your girlfriend

Come back and start the course on your PC

Fortunately the iPad spoke REST

Uploaded your progress to the Web LMS

You can resume where you left off

Content Synchronization

Subordinate creates articles in Joomla on staging server

Manager saves and views article on staging server

Manager then 'pushes' an approved article over to production

The staging & production site speak REST

Preventive Maintenance


New machine provisioningMaintenanceannouncements

Electronic monitoring of machines - like a drill

'Vital stats' like temperature, vibrations monitored

Deviations send alerts to engineers & management

Causes discussed on private forum and conclusion archived for future reference

Preventive Maintenance

Current Drawbacks

Need to write plugins

Small amount of code rewrite

Components not using Joomla MVC may need a lot of plugin code

What's Available


Joomla Articles & Categories

Some of AEC

Few Ideas




Next Steps

Discussion on integrating Framework on Framework (FOF) into Joomla core

FOF gives access to RESTful json data

Build on top of it to implement all of POST/GET/PUT/DELETE and various HTTP codes

Re-use existing 'models' to fetch data objects

Please join in!

Webservices working group

Code on github

Joomla! General Development Google Group!forum/joomla-dev-general

Thank You

Ashwin DateTwitter : @coolbung / @techjoomlaEmail : ashwin@techjoomla.com