Sei sulla pagina 1di 18

dreamfactory

Ben Busse
Todd Appleton

DreamFactory Essentials
Mobilize Your Data

Install Connect Develop

+ =
Install DreamFactory DreamFactory Build apps for phone,
on cloud or server provides REST API tablet, desktop or
Services to your data device
SQL NoSQL Files

PostgreSQL, SQL MongoDB, CouchDB S3, Cloud Files,


Server, MySQL DynamoDB, Azure Azure Blob, Local
Tables

Hook up any
backend system

• User Management
• Roles & Permissions
• Enterprise Security
DSP • Application Hosting

HTML5 SDKs Native SDKs

Automatically
provide REST API
Simple Development Paradigm

DSP

Client Side
REST JSON
Step 1 – Get DreamFactory

A few options…

1. DreamFactory Hosted Account (Free)


2. Bitnami Hosted Account
3. Bitnami Installers (Server, VM, or Cloud)
4. GitHub Package (Mac, Linux, Windows)

Details at
https://github.com/dreamfactorysoftware/dsp-
core/wiki/Usage-Options
Step 2 – Register Your App

A few options…

1. App code resides in your DreamFactory


instance
2. App code resides on desktop or mobile
device
3. App code resides on your own server

Note: App name is your API key


Step 3 – Connect to SQL

Securely connect…

• Select vendor (MySQL, Postgres, SQL


Server)
• Specify database connection string
• Specify database credentials

Note 1: You can also connect to NoSQL, files,


and external REST APIs

Note 2: Oracle and DB2 on 2014 roadmap


Step 4 – Set up Roles

Specify role permissions…

• Which users belong to this role


• Which apps can this role access
• Which data can this role access

Note: Users and roles have a REST API (e.g.


self-register users from your app)
Step 5 – Use REST API for SQL

Browse the live Swagger API docs…

• REST API for both SQL records and schema


• CRUD operations on single or multiple
records
• API returns SQL data in JSON or XML
format
• API supports query filters, limits, order by,
related data, and more
Step 6 – Make API Calls with SDKs

REST API is conveniently exposed with SDKs

• Follow directions in Quickstart tab


• Download SDKs in the Apps tab
• SDKs for: iOS, Android, Windows, Titanium,
Javascript, AngularJS

Note: SDKs are not mandatory, but should


make your life easier
Demo Time!
Install On Any Server

Available in many cloud marketplaces


Support for Macintosh, Windows, and Linux
Connect To Any Database

Connect to any local or remote data source


SQL, NoSQL, and BLOB Storage
Develop For Any Device

Client SDK for HTML5 / JavaScript


Code library for native mobile
Learn More

Blog Posts
https://github.com/dreamfactorysoftware/dsp-core/wiki/Blogs
http://blog.dreamfactory.com/add-a-rest-api-to-any-sql-db-in-minutes
http://blog.dreamfactory.com/sql-and-rest-working-with-related-data
http://blog.dreamfactory.com/blog/bid/316052/Demo-How-to-Make-Relationship-
Queries-with-DreamFactory-s-REST-API

Screencasts
https://github.com/dreamfactorysoftware/dsp-core/wiki/Screencasts

Docs
https://github.com/dreamfactorysoftware/dsp-core/wiki

Developer Forum
http://community.dreamfactory.com/
DreamFactory Support Plans
Q&A
Thank You!

QUESTIONS

benbusse@dreamfactory.com
toddappleton@dreamfactory.com

Potrebbero piacerti anche