{ DreamFactory: 'Blog' }

Using Event Scripts to Filter Related Data

Posted by Drew Pearce

Tue, Sep 12, 2017

One of DreamFactory's most popular features is the ability to pull in foreign key related records in an API call, and even to create your own virtual relationships between disparate data sets. This make compiling all the data you need in one place a matter of asking the API for the related items. You can use filters and ordering to select the exact records you want to display, and their related items come along for the ride. Simple. Easy.

API Tutorials APIs API management

Join our live weekly demo

Posted by Matthew Schaer

Mon, Jan 23, 2017

 

DreamFactory Tutorials Events

Database Table Endpoint Obfuscation Through Custom Scripting

Posted by Drew Pearce

Wed, Dec 21, 2016

DreamFactory’s power lies in the automatic generation of API endpoints and its standardization. There are times however, where you need something a little more custom, and that’s why we have scripting engines included. Let’s look at a specific use case for custom scripting that we have users ask about a lot.

API Custom Scripting JavaScript Tutorials

GET this! 7 simple REST client examples for retrieving API data.

Posted by Matthew Schaer

Thu, Dec 8, 2016

So you’ve installed DreamFactory and connected to your database, maybe you’ve tried a few API calls in API docs but what’s next? Certainly not writing the server-side code since DreamFactory graciously autogenerated your API endpoints. How about a REST client, perhaps we’ll start with a simple GET? Yeah! That sounds like a safe bet!

Simply put a GET request is a request for a representation of a resource, resource being the URL and the representation being the data. GET is considered safe since it won’t change the state of the resource.

Tutorials Python Ruby RESTClient NodeJS

Tutorial: Using MQTT for IoT communication with DreamFactory and Raspberry Pi devices

Posted by Janakiram MSV

Thu, Nov 3, 2016

Last week we announced the DreamFactory integration of MQTT communication for IoT applications. It's a powerful new addition to the capabilities of our robust REST API platform.

For this demo we're going to use DreamFactory as an MQTT broker for two Raspberry Pi computers acting as publisher and subscriber. We'll go over three scenarios covering key aspects of IoT deployments. Though the tutorials are based on Raspberry Pi, any microcontroller or SOC board can be used for exploring the features. A video walkthrough is also available, recorded from a webinar presentation in October.

IoT Tutorials Product Updates

Logstash integration enhances DreamFactory logging capabilities

Posted by Arif Islam

Wed, Oct 26, 2016

The Log service now supports integration with Logstash. Easily connect your DreamFactory instance to a Logstash service listening for input on UDP, TCP, or HTTP protocol. Once you create a DreamFactory Logstash service, you can utilize a unified REST API and start logging activities directly from your application or from DreamFactory using scripting services. Logstash is a native DreamFactory service and is supported by features such as role-service-access, lookup usage, live API documentation, and caching.

Tutorials Product Updates

New GitHub integration offers direct import into DreamFactory

Posted by Carsten Jacobsen

Wed, Oct 19, 2016

One of my favorite features in DreamFactory is server-side scripting. Both event scripts and script services can really extend the DreamFactory platform, and customize it to your needs. If you are not familiar with DreamFactory server-side scripting, I recommend visiting the scripting documentation.

Custom Scripting Tutorials Product Updates

Ionic sample app for DreamFactory

Posted by Andy Rai

Fri, Oct 14, 2016

We now have a sample application to help you get started using DreamFactory as the backend for your Ionic apps. This app is a simple address book that shows how to handle user authentication and registration, plus CRUD operations on SQL tables with related data. Ionic2 is used to create hybrid mobile apps. It's the latest framework built on top of Angular2 by Google. 

Sample Apps Tutorials

Adding location to your app with the MapQuest API

Posted by Ben Busse

Thu, Sep 22, 2016

DreamFactory and Verizon recently hosted a hackathon where developers built location-aware apps with DreamFactory, MapQuest, and Verizon Cloud. Adding MapQuest as an API in DreamFactory takes less than five minutes. In this short tutorial, we'll show you how to securely store your MapQuest API in DreamFactory, call the MapQuest Geocoding API from a DreamFactory session, and easily add role-based access control to any MapQuest Geocoding API endpoint. Let's get started!

Sample Apps Tutorials Product Updates

How to integrate the Twilio API with DreamFactory to enable SMS for your app

Posted by Ben Busse

Thu, Sep 15, 2016

Twilio has a superb API for integrating SMS messages into your applications. It's easy to add Twilio as a remote HTTP service to any application you're building with DreamFactory. DreamFactory lets you securely store your Twilio authentication credentials, call the Twilio API directly from a DreamFactory session, and easily add role-based access control to any Twilio API endpoint. This brief tutorial shows you how to add Twilio to DreamFactory in five minutes.

Sample Apps Tutorials Product Updates

New DreamFactory cache service supports Redis, memcached, and local storage

Posted by Joshua Curry

Tue, Sep 6, 2016

One of the most powerful features of DreamFactory is the ability to write server-side script in pre- and post-process events and use as a custom scripting service. This provides the ultimate flexibility and allows the platform to support all sorts of complex backend business logics. However, DreamFactory server-side scripts are stateless and their scope is gone once the original process is completed.

Tutorials Product Updates

Generating DreamFactory client SDKs based on Swagger API definitions

Posted by Alex Bowen

Tue, Aug 23, 2016

We are pleased to introduce another DreamFactory community member, Phil Schuler. You may have read one of his blog posts about DreamFactory. In this tutorial, he will be demonstrating how to generate SDK’s based on API service Swagger definitions in DreamFactory.

Sample Apps Swagger Tutorials

Installing DreamFactory from source on Ubuntu 14.0.4 LTS

Posted by Matthew Schaer

Wed, Aug 17, 2016

Dreamfactory can be installed several different ways and in many different environments. In this tutorial we are going to focus on installing from source on Ubuntu 14.0.4 LTS using ‘apt’ package manager and ‘git’ for source control.

DreamFactory Tutorials

Building a healthcare app with auto-generated APIs from legacy and modern databases

Posted by Carsten Jacobsen

Wed, Aug 3, 2016

DreamFactory can be used to turn an existing database into a REST API, as well as for a new project with fresh database. But, you can also use it to integrate multiple database types, in tandem.

NoSQL API SQL JavaScript Tutorials

Exploring the new options for stored procedures

Posted by Lee Hicks

Fri, Jul 15, 2016

The ability to discover and execute stored procedures and functions has been available in DreamFactory's REST API for a while now. With the 2.2.1 release, we have enhanced the usability of these resources quite a bit, adding the ability to retrieve their parameter information, as well as, simplifying the way you call them.

DreamFactory Tutorials

Data wrangling with Angular 2 and DreamFactory

Posted by Andy Rai

Thu, Jun 23, 2016

A few days I posted about using angular2-auth-component for managing logins with Angular 2 and Dreamfactory. Now we're going to focus on the new angular2-data-component, which handles data.

AngularJS Tutorials

Using the new auth component for Angular 2

Posted by Andy Rai

Tue, Jun 21, 2016

I’ve been working on DreamFactory's Angular SDK, sample app, and documentation. It's now available in Github with some good examples and details. There are some important things to consider when using Dreamfactory authentication with a custom Angular 2 component.

AngularJS Tutorials

Video Tutorial: Writing Node.js Scripts

Posted by Ben Busse

Thu, May 26, 2016

DreamFactory now supports four ways to write server-side scripts: Javascript (with DreamFactory's built-in Javascript V8 engine), Node.js, PHP, and Python.

This short video demonstrates how to set up your DreamFactory instance to work with Node.js and how to write event scripts and custom APIs with Node.js.

DreamFactory API Custom Scripting JavaScript Node.js Tutorials

Server-side scripting with Node.js and DreamFactory

Posted by Todd Appleton

Thu, May 5, 2016

DreamFactory supports V8js, Node.js, PHP, and Python for server-side scripting. In a previous blog post I showed how to create a custom scripting service using V8js. Below, I'll show you the steps to enable and use Node.js scripting in your DreamFactory environment. It's recommended that you use DreamFactory 2.1.2 (or greater) where Node.js is fully supported. We also have a detailed wiki tutorial you can use as a technical reference.

DreamFactory Silver JavaScript Node.js Tutorials

Crafting an Angular 2 application using auto-generated APIs

Posted by Andy Rai

Thu, Mar 10, 2016

The new Angular 2 address book app is a great way to get started with Angular 2 and learn how easy it is to call DreamFactory’s REST API. In this post, I'll go over some important things to know about the Angular 2 example app.

AngularJS DreamFactory Silver Tutorials

Building an AngularJS application using the DreamFactory REST API backend

Posted by Andy Rai

Tue, Jan 5, 2016

Now that DreamFactory 2.0 is live on Bitnami, our team has been busy building example apps to show how easy it is to use DreamFactory as your REST API backend. I’ve been working on DreamFactory’s AngularJS sample address book app and tutorial. This blog summarizes a few important things to know about getting started with the DreamFactory Angular sample app.

AngularJS DreamFactory Silver Tutorials

How to connect to a MySQL database with JavaScript

Posted by Carsten Jacobsen

Tue, Oct 27, 2015

The DreamFactory REST API enables database connections using a wide variety of front end scenarios. This simple sample app demonstrates how DreamFactory 2.0 easily can be used as a backend for a JavaScript application. It's a simple address book, where contacts can be created, shown, updated, deleted and grouped, basically CRUD operations.

SQL Sample Apps JavaScript Tutorials

Android SDK

Posted by Connor Foody

Fri, Aug 7, 2015

During my summer internship I worked on DreamFactory’s mobile SDKs. One cool thing (of many) about DreamFactory is they provide a range of client SDKs complete with great documentation and samples. My last blog post was about the work I’ve done with the DreamFactory iOS SDK. I also worked on improving the Android SDK, building a sample app, and enhancing the documentation. You can now find the the new and improved SDK on GitHub. Here are some important things to know when getting started with the Android SDK.

Sample Apps Tutorials

SOA is Not a Mobile Backend

Posted by Bill Appleton

Mon, Jun 22, 2015

The rise of mobile devices finally pushed the adoption of RESTful web services into the mainstream of application development. But years before this, companies used web services to build sophisticated service-oriented architectures for application development and integration. Some of the enterprise service bus (ESB) and API management vendors have even tried to adapt SOA systems to the brave new world of mobile devices—with limited effectiveness. I'd like to examine some of the similarities and differences between SOA and mobile backend integration platforms.

REST API DreamFactory Mobile Apps API Enterprise Applications Enterprise Architecture Tutorials

Creating a Data Manager with AngularJS + DreamFactory

Posted by Michael Mandato

Thu, Sep 18, 2014

team-michael

Many people need an app just to perform CRUD on data. Usually they resort to using one of the many Grid or Table plugins that exist such as JTables or ngGrid. I’ve found that while these are valid solutions they generally lack the ability to enforce business rules on data entry, sometimes require additional plugins, and/or require specific formatting of data to populate the UI. The dfTable component for AngularJS attempts to be an easy to implement solution that plugs right into your AngularJS app and can work with your data right out of the box.

DreamFactory AngularJS Tutorials

The Authenticated App With AngularJS + DreamFactory User Management Part Two

Posted by Michael Mandato

Tue, Apr 15, 2014

When we last left off our application had a few routes, corresponding controllers, and templates. All we learned how to do was wire up the DreamFactory User Management module to the app and respond to its events. Not exactly earth shattering stuff. But that's all about to change in this tutorial. We're going to go over some strategies to deal with data, capture and use data from the module, and protect routes in our app.

DreamFactory Authentication Tutorials

The Authenticated App With AngularJS + DreamFactory User Management

Posted by Michael Mandato

Wed, Apr 9, 2014

This is part one of a three part tutorial. In this tutorial we will setup an AngularJS application on our local machine, install the DreamFactory AngularJS User Management Module, and connect to a DSP that lives on the DreamFactory Hosted System. Then we'll show you how to implement Authentication using the DreamFactory User Management Module. All the files for this tutorial can be downloaded from here. Let's get started!

Development HTML5 DreamFactory Mobile Apps Authentication Tutorials

Demo Screencast – Connect an AngularJS App to the DreamFactory backend

Posted by Ben Busse

Thu, Jul 11, 2013

BenBusseIn this short screencast we’ll show you how to connect a simple To Do app written in Angular JS to the DreamFactory backend using our REST API with cross-origin resource sharing (CORS) enabled. CORs enables you to develop and test apps in your own local environment that points directly to the DreamFactory backend.

Tutorials

jQuery App Tutorial with the DreamFactory REST API

Posted by Todd Appleton

Mon, Jun 24, 2013

ToddAppletonThis blog post is about building a to do list app using the DreamFactory Services Platform (DSP) for the backend. We provide a comprehensive REST API and an easy-to-use JavaScript SDK for making API calls. This example will show you how to authenticate to your DSP and then make simple CRUD calls using the SDK.

DreamFactory Tutorials

Mobile App Development with CORs and Pub/Sub

Posted by Jason Sykes

Mon, Jun 10, 2013

JasonSykesThe ability to build apps from your desktop or local server is a huge plus for developers using their own debug tools, test suites, etc. With our latest Version 1.0.4 release, we now support these use cases plus the ability to run apps from outside of your DSP and still enjoy the flexibility of our REST API.

DreamFactory Tutorials

Build an app using DreamFactory Services Platform

Posted by Ben Busse

Wed, Apr 24, 2013

BenBusseThe best way to start learning about how to use DreamFactory is to jump right in and build an application! Before you get going, it’s really helpful to have an example app as a concrete starting point.

DreamFactory Tutorials

Weekly Digest