REST API for Joomla

46 downloads 264 Views 313KB Size Report
www.techjoomla.com. ○ Joomla Extensions. ○ Joomla Training. ○ Launched in . January 2009. ○ 18 Extensions. ○ 12000 + Users. Techjoomla.
REST API for Joomla Presented By Ashwin Date CTO, TechJoomla @ashwindate [email protected]

Parth Lawate CEO, TechJoomla @parthlawate [email protected]

www.techjoomla.com

Tekdi Web Solutions tekdi.net | @tekdinet







CMS Solutions in Joomla, Drupal, Wordpress Magento based development



Working with Joomla since Mambo times



40,000 + users



25 extensions

Custom Application Development www.techjoomla.com

Techjoomla Techjoomla.com | @techjoomla ●

Joomla Extensions



Joomla Training



Launched in January 2009



18 Extensions



12000 + Users

www.techjoomla.com

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.

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' Web Page Resource Web Service www.techjoomla.com

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

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

www.techjoomla.com

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

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 www.techjoomla.com

REST for Joomla - Demo

Thank You Feel free to contact us ! ●

Ashwin Date



Parth Lawate

[email protected]

[email protected]

@ashwindate

@parthlawate

www.techjoomla.com