REST API for Joomla

engineachooInternet and Web Development

Dec 4, 2013 (3 years and 14 days ago)

77 views


www.techjoomla.com
REST API for Joomla
Presented By
Ashwin Date
CTO, TechJoomla
@ashwindate
Ashwin.date@techjoomla.com
Parth Lawate
CEO, TechJoomla
@parthlawate
Parth.lawate@techjoomla.com

www.techjoomla.com

CMS Solutions in
Joomla, Drupal,
Wordpress

Magento based
development

Custom Application
Development

Working with
Joomla since
Mambo times

40,000 + users

25 extensions
Tekdi Web Solutions
tekdi.net | @tekdinet

www.techjoomla.com

Joomla Extensions

Joomla Training

Launched in
January 2009

18 Extensions


12000 + Users
Techjoomla
Techjoomla.com |
@techjoomla
Some Products
Social Ads
Demographically targetted ads, similar to facebook ads for
CB & JomSocial
JBolo!
Facebook & Gmail like chat for Joomla
J!MailAlerts
CMS delivered via Email. Periodic content alerts,
extendible via plugins with full user control.

www.techjoomla.com
Whats REST Anyway ?

REST = Representative State Transfer

The World wide web is built on REST

Various resources are made available on the
internet in various types of representations

www.techjoomla.com
Whats REST Anyway ?

A Web page is the example of a representation
thats human readable

A representation that can be used for machine/
application level data exchange are called as
'Web Services'
Resource
Web Page
Web Service
REST webservice basics

Each method has it's own URL

Is a http based comminucation channel

Output can be JSON, XML or any other format

Requests are sent via POST/GET/PUT/DELETE
POST = Create
GET = Retrieve
PUT= Update
Delete = Remove

www.techjoomla.com
Who is using REST APIs ?

www.techjoomla.com
Joomla! Too has it now

www.techjoomla.com
REST Server
Architechture

Server Core -
Separate application (like xmlrpc)

Uses Joomla plugin architecture

Only Super Admins can use API

Authentication

Output formats – JSON / XML

www.techjoomla.com
REST Server
Architechture

1 plugin per method
(1 plugin each for user create, delete & update)

Extendability using Joomla Plugins

www.techjoomla.com
Flow Diagram
Whats there now ...

User Create/Update/Delete
(Supports Jomsocial)

Jomsocial Groups
Assign group members
Create wall posts, discussions &
announcements

List content categories

Create content
Plugins in development

K2 content creation

Jomsocial photos, events & activity stream

Jomsocial points
Coming Soon

Implement PUT & DELETE

Multiple methods per plugin

Extend Joomla search to REST

www.techjoomla.com
Implementation Scenarios

Google Apps integration to create Joomla user
when one is created in Google Apps

Selling access to Joomla via non Joomla
shopping cart

Mobile application interaction with Joomla

POS application development for Joomla
shops like Tienda & Virtuemart
REST for Joomla - Demo

www.techjoomla.com
Thank You

Ashwin Date
ashwin.date@techjoomla.com
@ashwindate

Parth Lawate
parth.lawate@techjoomla.com
@parthlawate
Feel free to contact us !