Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Introducing Liferay Standalone Applications

Eduardo Lundgren
November 06, 2014
500

Introducing Liferay Standalone Applications

Eduardo Lundgren

November 06, 2014
Tweet

Transcript

  1. “Teams with a better distribution of skills, not segmented by

    roles, produce better results” Jared Spool User Interface Engineering
  2. !

  3. Datastore API Clients A B Cross domain requests Promises Error

    handling Batch Real time Liferay HTTP JavaScript Java ObjectiveC
  4. Your clients can talk directly to the back end services

    without needing to go through your server side code
  5. App id = 7 Sharded id = 46 id =

    wat? DB 1) Random 2) Ordered 3) Unique 4) Distributed 5) Human
 Readable DB DB
  6. POST https://api.example.com/v1/users PUT https://api.example.com/v1/users ! { "about": "Start simple. Dream

    big. Do good. Be well.", "city": "Recife", "country": "BR" } ! HTTP 1.1/201 Created HTTP 1.1/202 Accepted (pending) Create
  7. GET https://api.example.com/v1/users ! HTTP/1.1 200 OK Content-Type: application/json ! {

    "users": [ { "about": "Start simple. Dream big. Do good. Be well.", "city": "Recife", "country": "BR" } ]} GET
  8. GET https://api.example.com/v1/users.json ! HTTP/1.1 200 OK Content-Type: application/json ! {

    "users": [ { "about": "Start simple. Dream big. Do good. Be well.", "city": "Recife", "country": "BR" } ]} GET JSON output
  9. GET https://api.example.com/v1/users.xml ! HTTP/1.1 200 OK Content-Type: text/xml ! <?xml

    version="1.0" encoding="UTF-8" ?> <users> <about>Start simple. Dream big. Do good. Be well.</aboutMe> <city>Recife</city> <country>BR</country> </users> GET XML output
  10. Service Builder RESTful Web Services JSON Web Services Database Real-time

    Datastore MongoDB Elasticsearch RID Generator Auth Permissions Portlet Portlet Portlet