Who am I?Author of Appcelerator Titanium CookbookAuthor of Titanium Best PracticesRun a Digital Agency in NorwichFormer .N...
What is Deployd?In a nutshell…Deployd allows you to design, build and scaleAPI’s for web and mobile apps in minutes.It’s f...
It even comes with a full dashboard system toallow you to create and manage your collectionAPI’s, create Events and insert...
Create RESTful API’sthrough design…Deployd is built around a series of REST callsthat let’s you create “CRUD” collections(...
The Deployd Dashboard
Scripted Logic throughEvents…It uses “Events” for each of the REST methodsto allow you to intercept calls and inject youro...
Events Logic Screen
Access OtherCollections & JoinResults…You can use the built-in DPD library to accessother collections in your Deployd data...
Accessing Collections viaDPD
Full User login, logoutand creation support outof the box…You can use the built-in “user” collection type toautomatically ...
You can restrict accessto certain REST calls bythrowing “cancel”…
As well as throwingerrors, determining if aproperty has changed &more…protect() = don’t allow updates for this propertypre...
Use Modules to performtasks that Deployddoesn’t already do…..There’s a number of Deployd modules alreadyavailable for send...
So, what is it good for?A Case StudySmarter Learn – Education Portal & Analytics Enginewww.smarterlearn.com
Smarter Learn
The BriefBuild a system that was:Able to create API’s “on – the – fly”Highly scalable with high availabilityCould easily b...
How we did it…Cloud servers are amazing.Built on top of Linux Cloud servers via RackspaceExternal MongoDB connectionWe can...
Overcoming obstaclesNothing is perfect.We built a custom token-based authentication system,We extended “Forever” scripts t...
The end result…Thousands of API calls per hourEasily built into a Responsive Website and an appto come using Deployd’sAppc...
The end result…
The end result…
Even if it’s not your firstchoice for production…It is an amazing quick and easy way to build outAPI’s for websites, mobil...
There’s a tonne ofexamples atDeployd.comThere’s plenty of sample apps at Deployd.com thatshow what you can do with the sys...
Super Awesome FastPrototype Time
REST Easy with Deployd
Upcoming SlideShare
Loading in …5
×

REST Easy with Deployd

9,556 views

Published on

Deployd is an open source platform, built on NodeJS and MongoDB, that allows you to create custom JSON API's in minutes, not days. In this brief talk, Boydlee will explain what the Deployd platform is and show you how it really is the simplest way to design, build and manage a REST API. We'll create our collections and API interfaces in real time, extending them with custom JavaScript events and explain how you can further customise your Deployd installation using standard NodeJS modules.

Published in: Technology
  • Giang--
    Deployd was built using NodeJS and MongoDB; it's very scalable. As for security... I would consider that 'business logic' which the Deployd Team has left up to 'us' to handle. (http://docs.deployd.com/docs/getting-started/what-is-deployd.md#s-Logic should be code-1472)
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • No information about scalable and security
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Great news. Thanks a lot.

    online job
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

REST Easy with Deployd

  1. Who am I?Author of Appcelerator Titanium CookbookAuthor of Titanium Best PracticesRun a Digital Agency in NorwichFormer .NET Developer (don’t hate me)Run tiConf – a Titanium & JavaScript MobileConference in the EU, US and Australia
  2. What is Deployd?In a nutshell…Deployd allows you to design, build and scaleAPI’s for web and mobile apps in minutes.It’s free, and open source.
  3. It even comes with a full dashboard system toallow you to create and manage your collectionAPI’s, create Events and insert/edit datarecords.It’s built on top of Node.JS and MongoDB soyou know it’s going to be fast, and scalable.
  4. Create RESTful API’sthrough design…Deployd is built around a series of REST callsthat let’s you create “CRUD” collections(GET, DEL, PUT, POST).
  5. The Deployd Dashboard
  6. Scripted Logic throughEvents…It uses “Events” for each of the REST methodsto allow you to intercept calls and inject yourown business logic code.
  7. Events Logic Screen
  8. Access OtherCollections & JoinResults…You can use the built-in DPD library to accessother collections in your Deployd database andscript business logic based on those queries…
  9. Accessing Collections viaDPD
  10. Full User login, logoutand creation support outof the box…You can use the built-in “user” collection type toautomatically manage your systemlogins, logouts and user creations.
  11. You can restrict accessto certain REST calls bythrowing “cancel”…
  12. As well as throwingerrors, determining if aproperty has changed &more…protect() = don’t allow updates for this propertyprevious() = object containing previous item valueschanged() = informs if a property item was updatedhide() = hides a property in your REST responseerror() / errorif() = adds an error message to theresponse
  13. Use Modules to performtasks that Deployddoesn’t already do…..There’s a number of Deployd modules alreadyavailable for sending e-mail and get files fromAmazon S3, amongst other things.They’re based on Node Packages, so you can re-use any Node.JS package with NPM!
  14. So, what is it good for?A Case StudySmarter Learn – Education Portal & Analytics Enginewww.smarterlearn.com
  15. Smarter Learn
  16. The BriefBuild a system that was:Able to create API’s “on – the – fly”Highly scalable with high availabilityCould easily be integrated into both web and mobileAnd above all, cheap!
  17. How we did it…Cloud servers are amazing.Built on top of Linux Cloud servers via RackspaceExternal MongoDB connectionWe can scale as required (e.g. on launch of a newgame)Allows us to easily install Load BalancingAnalytics get stored long term into a MySQL Cloudserver
  18. Overcoming obstaclesNothing is perfect.We built a custom token-based authentication system,We extended “Forever” scripts to ensure better up-time,Long running API calls can use significant temporarymemory – don’t run Deployd without at least 1GB+ RAM.IE 8.Node modules allow you to easily overcome any obstacles!
  19. The end result…Thousands of API calls per hourEasily built into a Responsive Website and an appto come using Deployd’sAppcelerator Titanium Module
  20. The end result…
  21. The end result…
  22. Even if it’s not your firstchoice for production…It is an amazing quick and easy way to build outAPI’s for websites, mobile apps or justprototyping ideas.
  23. There’s a tonne ofexamples atDeployd.comThere’s plenty of sample apps at Deployd.com thatshow what you can do with the system, includingintegration with AngularJS and other Node.JS basedsystems.GitHub Sourcehttp://github.com/deployd
  24. Super Awesome FastPrototype Time

×