{ DreamFactory: 'Blog' }

Deploying apps with DreamFactory packages

Posted by Arif Islam

Wed, May 11, 2016

Developers often find themselves creating same services and resources across all their DreamFactory instances multiple times. For example, in a simple three-stage software development lifecycle (dev, test, production), developers typically need to copy a set of apps, roles, users, services, lookups and other resources across all or some of their environments. This becomes a tedious and counter-productive task as the number of resources and instances goes up.

Deployment

Reducing complexity with serverless API architecture

Posted by Alex Bowen

Fri, May 6, 2016

DreamFactory was recently featured in a Medium post from APIdays, penned by Mark Boyd and Mehdi Medjaoui. First in a series, it does a great job of detailing the challenges enterprise companies face when building APIs.

DreamFactory Gold

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

Introducing Alex Bowen, DreamFactory’s New Community and Developer Relations Team Member

Posted by Alex Bowen

Tue, May 3, 2016

 


Hey DreamFactory folks, I’m Alex.

DreamFactory 2.1.2 released, includes app packages

Posted by Ben Busse

Mon, May 2, 2016

df212.png

DreamFactory version 2.1.2 just shipped. The big news in this release is application packages. The packages features makes it easy to bundle and deploy your apps, services, scripts, schema, and user roles between different DreamFactory instances. We also added virtual foreign key joins between SQL databases and MongoDB. That means you can join data between a SQL database and MongoDB with a few configuration clicks :-)

NoSQL DreamFactory API SQL

Modus Create is newest DreamFactory Velocity partner

Posted by Joshua Curry

Thu, Apr 21, 2016

We're excited to announce the latest addition to our Velocity partner program, Modus Create. As a DreamFactory Velocity partner, the Modus development team employs DreamFactory Enterprise to automatically generate backend APIs that can are transportable between development and production phases. DreamFactory empowers Modus to offer a non-disruptive way of mobilizing enterprise data.

Velocity Partnerships

Introducing Tracy Osborn, DreamFactory’s New Developer Relations Team Member

Posted by Tracy Osborn

Wed, Apr 13, 2016


Tracy speaking at Fluent Conference 2016

Hi everyone, I’m Tracy!

I’m the new team member on the developer relations team here at DreamFactory. I’m super excited to be here!

A little bit of background on me — I’ve been involved with the Python and Django communities over the last few years and I also wrote Hello Web App, a book series teaching introductory web app development with Django. 

DreamFactory

DreamFactory partners with prog metal powerhouse Dream Theater to release new Pro Grok API™

Posted by Joshua Curry

Fri, Apr 1, 2016

progrok.png

Music fans and API developers worlwide are cheering at the new alliance of technology and arppegiation that has produced one of the most powerful prog rock APIs in history. With deep access to scale and modal manipulation patterns going back to before Peter Gabriel left Genesis, modern shredders can deploy harmonic endpoints (using DataMesh) to build songs lasting over 20 minutes!

DreamFactory 2.1.1 released, includes Angular 2 and React apps

Posted by Ben Busse

Fri, Mar 25, 2016

DreamFactory version 2.1.1 has shipped with a bunch of enhancements and new example apps for Angular 2 and React.

DreamFactory API

Tutorial: Building a React.js app with DreamFactory

Posted by Carsten Jacobsen

Fri, Mar 25, 2016

ReactJS is getting more and more popular among frontend developers. There are some appealing benefits of ReactJS: It's a lot simpler to work with than larger frameworks like AngularJS, the use of UI components and the Virtual DOM idea is compelling, and it scales well.

DreamFactory Silver React

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

Sponsoring Rails Girls Summer of Code

Posted by Jessica Rose

Thu, Mar 3, 2016

At DreamFactory we’re passionate about open source, APIs, and about the technologist communities we work in. As part of our drive to help make technology more diverse and accessible, we’re proud to be sponsoring the 2016 Rails Girls Summer of Code.

Events and Community

REST enable your SOAP services with DreamFactory

Posted by Todd Appleton

Wed, Mar 2, 2016

DreamFactory allows you to REST enable databases, file storage, remote web services, and more. Now you can also access XML based SOAP services using the DreamFactory REST API. Request and response payloads between your app and DreamFactory are in JSON format. DreamFactory takes care of converting the JSON request to a SOAP request and the SOAP response to a JSON response. We auto-generate a Swagger service definition from the service's WSDL so you can use the API Docs tab in the admin console to test your service, then use the generated URLs to call the service from your own app.

DreamFactory Silver XML JSON SOAP

DreamFactory at PHP UK

Posted by Jessica Rose

Mon, Feb 29, 2016

For the second year running DreamFactory was proud to sponsor PHP UK. Jennifer, Jill and Ben attended last year and had so much fun that we had to let some other members of the team attend the 2016 event. Tom and Drew packed up and left Atlanta to join Jess on their first trip to the UK. Jess gave a short keynote during the event, talking about how cognitive biases like impostor syndrome impact our abilities.

DreamFactory PHP

DreamFactory 2.1 released, includes OpenAPI spec upgrade

Posted by Ben Busse

Thu, Feb 25, 2016

DreamFactory version 2.1 has shipped with some great new features. You can install DreamFactory 2.1 from Bitnami, get it on GitHub, or sign up for a free developer sandbox to try it out before installing. 

DreamFactory API

DreamFactory 2.1 lets you put some Swagger in your custom scripting services

Posted by Todd Appleton

Thu, Feb 18, 2016

DreamFactory provides the ability to create custom scripting services that can be invoked from the REST API. These can be written in JavaScript (V8js or Node.js) or PHP. You can use these services to implement business logic or combine multiple API calls into a single call. For example, if you have several databases you could access each one from the script and then combine the results as JSON or XML for return to the client.

DreamFactory Silver Swagger OpenAPI

Parse Server lacks depth, DreamFactory digs much deeper

Posted by Bill Appleton

Wed, Feb 10, 2016

Parse had some initial success among native game designers. If you were writing an iOS or Android app and you weren't quite sure how to code OAuth or Push Notifications, then Parse was an easy fix for the problem. They also provided help with User Management and a place to store the information on your High Scores Screen.

Virtual Relationships Between Database Tables

Posted by Lee Hicks

Thu, Feb 4, 2016

A few years ago, we wrote a blog post about working with related data using the DreamFactory REST API platform. The SQL DB service can return a table along with any number of related tables in a single API call. You can POST the JSON document back to the API in order to create, update, or delete the related data. DreamFactory automatically maintains all of the links and junction objects for you. This is possible because we use the schema information stored in the database to learn about the various relationships between the tables.

But what if you have tables that are related in some way, and those relationships are not detailed in the schema? What if the related tables exist on different databases, or even on different servers? Previously, the only solution was to make multiple calls from the client-side and assemble the information as needed. Or you could create a custom service or write a server-side script to combine unrelated tables of data. Here is a recent blog post about how to do this.

But now, with the introduction of DreamFactory 2.0, developers can specify virtual relationships between any two tables. The tables can be located on different databases, and the databases can be located on different servers. This is a game changing capability because now a developer can create, read, update, and delete related data across multiple servers with a single REST API call!

These virtual relationships are imposed from outside by the DreamFactory platform. There is no need to change the actual configuration of your database. What's more, once DreamFactory knows about the virtual relationships, you can work with related data of any kind without the need for server-side scripting. This feature packs even more capability into the request URL string itself, further reducing the need to build custom REST APIs.

New DreamFactory 2.0 Tutorial Videos

Posted by Ben Busse

Wed, Jan 27, 2016

A lot of people like watching quick screencasts to get up to speed on the basics of a product. We just made a bunch of videos on DreamFactory 2.0 Admin Console that introduce the basics of the product. We've also made some new videos on how to use DreamFactory 2.0 for common use cases, including how to use the REST API for MySQL, SQLite, MongoDB, and remote web services. Stay tuned for more videos over the coming weeks, including how to add custom services, use event scripts, connect multiple databases with our new "data mesh" feature, connect to any SOAP service with REST, and more!

NoSQL DreamFactory API SQL

Wordpress integration with the DreamFactory REST API platform for user management

Posted by Jessica Rose

Thu, Jan 21, 2016

Noggle CEO Lars von Thienen has been indulging in a little island hopping lately. There aren’t many palm trees on these islands, but getting between them is a lot faster and safer now.

Benchmarking DreamFactory 2.0

Posted by Ben Busse

Mon, Jan 18, 2016

One of the main design goals for DreamFactory 2.0 was to increase speed and scalability. The entire platform was rewritten in the Laravel framework and we adopted JSON Web Tokens (JWT) for better security and completely stateless operation. This post presents some benchmarking results designed to help enterprise customers scale their DreamFactory installation to any desired level of performance. The sections below talk about vertical and horizontal scalability and then we look at the effect of increasing concurrent users.

DreamFactory Silver

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

Connecting data, connecting families

Posted by Joshua Curry

Wed, Dec 30, 2015

When Brazilian dev shop Serrabits was challenged to come up with an online platform to preserve and connect the histories of 4,000 families in 40 cities, they chose DreamFactory. But, this audacious project had humble beginnings.

Three years ago, the core devs worked for a group of Brazilian furniture companies, building bespoke SPA apps with AngularJS and Ruby. They experimented with a variety of tools to abstract their backend layer, but found the security lacking.

“We tested Firebase, Mongolab, CouchDB and ArrestDB, but the lack of security policies in all of them made the implementation in our private datacenter unfeasible,” laments Serrabits CIO Junior Conte.

In late 2014, they saw a presentation by DreamFactory Product Manager Ben Busse on using AngularJS with DreamFactory. They’ve been avid users ever since.

Events and Community DreamFactory Silver

Milestones and Moon Pies: The Year in Review

Posted by Joshua Curry

Tue, Dec 22, 2015

“It’s been an exciting year for DreamFactory and the thriving DreamFactory community. We released DreamFactory 2.0 and followed up with DreamFactory Enterprise. We launched new professional support plans, and we got new partnerships with Intel, Verizon, AppGyver, and more, all of which help you build and deploy your mobile, web, and IoT apps faster. We've got lots more coming in 2016, so thanks, stay tuned, and spread the word.” 

DreamFactory Silver DreamFactory Gold Silly

Gartner Gets It Right with MASP (Almost)

Posted by Bill Appleton

Tue, Dec 22, 2015

We have been a Gartner subscriber here at DreamFactory Software for quite a few years, and they provide a great service to help companies understand technology trends and customer needs. I have watched with interest as they have refined their recommendations for mobile application development in the enterprise. They started out with vertically integrated stacks and moved to loosely coupled client-server configurations thereafter. Along the way, they changed the name of the platform a few times, including a Mobile Application Development Platform (MADP), a Mobile Enterprise Application Platform (MEAP) and then finally a Mobile Application Integration Platform (MAIP). They produced quite a few different architectural diagrams as well.

REST API DreamFactory Silver DreamFactory Gold

AppGyver upgrades Composer 2 with DreamFactory to build apps from any data source

Posted by Joshua Curry

Thu, Dec 17, 2015

App development platform AppGyver now includes the DreamFactory REST API platform right out of the box. AppGyver's newest drag-and-drop app builder, Composer 2, provides a visual development tool that now empowers businesses to build apps with an instant, secure connection to existing backend data sources -- in just minutes.

REST API Mobile Apps DreamFactory Silver

DreamFactory 2.0 Support For SQLite

Posted by Bill Appleton

Wed, Dec 16, 2015

I have been blogging extensively about the highly scalable and enterprise class features in DreamFactory 2.0. We’ve benchmarked huge server installations and explored exciting new possibilities with Big Data. But now in a complete change of course, I want to talk about what may be the coolest new feature we have: DreamFactory 2.0 now supports SQLite. It may not be massively scalable, but SQLite is an extremely convenient way to create a database on the fly for development and testing. Production applications can also benefit from this nifty new feature.

REST API SQL DreamFactory Silver

Combining Multiple Data Sources In One API With DreamFactory

Posted by Ben Busse

Wed, Dec 9, 2015

DreamFactory 2.0 allows you to hook up any number of SQL or NoSQL databases, and then you instantly get a complete REST API for each one. This information can be combined in any way that you need on the client. But sometimes you might want to combine multiple data sources on the server and return the information in a single REST API call.

This is really easy to do with DreamFactory 2.0.

NoSQL SQL DreamFactory Silver

DreamFactory Enterprise: DreamFactory Management Made Easy

Posted by Bill Appleton

Tue, Dec 1, 2015

We’re thrilled to announce that DreamFactory Enterprise is officially available to the fast-growing worldwide DreamFactory community.

DreamFactory Silver DreamFactory Gold

DreamFactory Proud to Sponsor HackKings

Posted by Jessica Rose

Mon, Nov 9, 2015

Based around open source technology, the DreamFactory team has a lot of love for spaces where passionate people are building the interesting and unexpected. So being involved with hackathons seemed like an incredible way to get involved with amazing events, communities and to see what kinds of interesting things sleep-deprived technologists could build on the DreamFactory platform in 24 hours. We're going to be sponsoring our first hackathon in December, the esteemed HackKings student hackathon at King's College London on December 12-13th.

Events and Community DreamFactory Silver

DreamFactory 2.0 Bundled With MongoDB

Posted by Ben Busse

Fri, Nov 6, 2015

All of the new Bitnami packages for DreamFactory 2.0 have MongoDB built into the installation. Just run the installer, open up the admin console, and MongoDB is right there as one of the available services. This blog post discusses why we bundled MongoDB in the latest version of DreamFactory and how you can to use this great NoSQL database.

NoSQL SQL DreamFactory Silver

DreamFactory 2.0 released into the wild

Posted by Bill Appleton

Thu, Oct 29, 2015

We are thrilled to announce that DreamFactory 2.0 has been released and is available for immediate download. This second generation of DreamFactory provides major enhancements to API security, customizability, modularity, and performance.

NoSQL DreamFactory

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

DreamFactory Enterprise Beta Now Available

Posted by Ben Busse

Tue, Oct 20, 2015

We’re pleased to announce that DreamFactory Enterprise beta is ready to download and evaluate in your own environment.

DreamFactory Enterprise is a new commercial software package that helps you provision, govern, and report on multiple DreamFactory instances. It also helps you run DreamFactory more efficiently on shared computing infrastructure. Simply put, it’s the easiest way to manage multiple DreamFactory instances across your development lifecycle. 

DreamFactory DreamFactory Gold

DreamFactory Active Directory authentication over LDAP

Posted by Arif Islam

Tue, Oct 13, 2015

DreamFactory 2.0 has built-in support for Active Directory authentication over LDAP. Developers can now provide the ability for their users to sign in using their enterprise/corporate login credentials. In other words, you can now easily set up an enterprise app to allow users to sign in using their corporate username and password, eliminating the need for creating and remembering yet another set username and password for their app.

AD/LDAP in DreamFactory 2.0 works just like other services in DreamFactory. It starts with provisioning an AD/LDAP service using the Services tab in the DreamFactory 2.0 admin console. While provisioning the service, simply specify your Active Directory server details such as hostname, base DN etc., as well as a default role. This role will be used for any users authenticating using your AD/LDAP service. You can easily create a role in DreamFactory 2.0 using the admin console. Here is a short how-to on setting up an AD/LDAP service with DreamFactory 2.0. We will start with setting up a role for our AD/LDAP service.

Authentication DreamFactory Silver AD/LDAP

DreamFactory at Interface Open Source / API Events

Posted by Jessica Rose

Fri, Oct 9, 2015

We are delighted to be attending two API-focused events serving the open source community. Interface is a series of Meetups developed by the Age of Peers team focused on the intersection of open source and APIs. We’ll be attending the London Interface on October 21st at Dragon Hall and Amsterdam Interface on October 23rd.

DreamFactory Events and Community

Using DreamFactory 2.0 with OAuth services

Posted by Arif Islam

Tue, Oct 6, 2015

DreamFactory 2.0 supports authentication using OAuth services. Developers can now allow end users to login with credentials from sites like Facebook, Twitter (yes, OAuth 1.0 is supported!), Google, and GitHub.

DreamFactory 2.0 makes it super easy to add OAuth services to your apps without any server-side coding or token handling. The currently supported OAuth service providers are Facebook, Twitter, Google, and GitHub. We’ll be adding more OAuth providers in the future.

Authentication OAuth

DreamFactory 2.0 Beta Now Available

Posted by Ben Busse

Fri, Sep 18, 2015

After many months of hard work, we’re announcing offical beta availability of DreamFactory 2.0. We appreciate all your feedback on DreamFactory 1.x and have integrated tons of your suggestions and ideas into the 2.0 release. We think you’ll like the many new features and performance enhancements. 

NoSQL DreamFactory OAuth Nginx Security PHP

DreamFactory and Verizon partner to provide a cloud-first development portal

Posted by Eric Rubin

Wed, Aug 12, 2015

Today,we’re pleased to announce an innovative alliance with Verizon. It’s a partnership that combines DreamFactory’s REST API platform with Verizon’s secure cloud services to deliver a turnkey cloud-first development environment tuned for mobile, web, and IoT developers. Check out the free DreamFactory-Verizon Partner Solutions portal, available now at verizon.dreamfactory.com.

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

iOS SDK 101

Posted by Connor Foody

Thu, Aug 6, 2015

For my internship this summer, I’ve been working on DreamFactory’s iOS SDK, sample app, and documentation. I’m excited to announce that the new and improved iOS SDK, as well as more detailed documentation, is now available on GitHub. This blog summarizes some important things to know about getting started with the DreamFactory iOS SDK. 

iOS Sample Apps

Scaling DreamFactory for High-Volume Deployments

Posted by Bill Appleton

Wed, Jul 15, 2015

Here at DreamFactory, we frequently get inquires about the scalabilty and security of the DreamFactory platform. We're not surprised. There are many thousands of users running DreamFactory as a REST API backend for important real-world web, mobile, and IoT applications. To help answer the security question, I blogged about DreamFactory security a couple weeks ago. Today, I want to address questions regarding DreamFactory scalability.  

DreamFactory External File Storage Performance Nginx

How To Securely Mobilize Data Using a REST API Backend

Posted by Bill Appleton

Thu, Jul 2, 2015

We get lots of inquiries about how the DreamFactory REST API platform helps secure data access, particularly from larger enterprise and government users. It's a valid concern: a growing number of web and mobile apps need to access sensitive data, and proper controls must be implemented in the services used to access that data from an expanding number of apps.

REST API DreamFactory API Authentication Enterprise Architecture Security PHP

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

Running DreamFactory as a Docker Container

Posted by Todd Appleton

Thu, Jun 11, 2015

 

Note: This blog post has been updated for DreamFactory 2.x, and now shows how to use Redis for cache.

DreamFactory can be run as a Docker container, which makes it easier than ever to get the backend for your apps up and running. The DreamFactory Docker image is available on Docker Hub, or you can build your own image from the GitHub repo. Using these two methods, I'll show you how to use Docker to fire up your own DreamFactory instance in just a few steps. This setup uses MySQL for the system database and Redis for the system cache. The basic idea is that you first start the containers for MySQL and Redis, then a container for DreamFactory which links to the others. 

Docker

REST and DreamFactory in the Internet of Things: A winning combination.

Posted by Jan Liband

Wed, Jun 10, 2015

There is no shortage of talk about the Internet of Things (IoT). Regardless of how you feel about all the buzz surrounding the IoT, there’s no doubt an enormous and growing number of devices are getting connected to the Internet to enable or deliver new functionality and services.

REST API DreamFactory IoT

Why DreamFactory Embraces Open Source

Posted by Bill Appleton

Tue, Jun 2, 2015

 

The engineering team here at DreamFactory Software designed and built some of the very first rich applications that use web services. We learned the hard way that building apps for demanding enterprise customers can be daunting. Server-side page generation doesn’t work. Delivering a high performance experience on network-limited, performance-constrained devices is non-trivial. Managing security is especially challenging. And you have to build your own API to access the backend.

We thought: “there must be a better way!” So in 2012 we set out to perfect the design and implementation of a mobile backend platform that would meet the needs of our development team. These efforts led us to develop the DreamFactory Services Platform — a RESTful backend integration platform that allows mobile, web, and IoT developers to connect any data source and expose it with a secure, comprehensive palette of REST APIs for use by any client device.

DreamFactory Mobile Apps

.NET SDK for DreamFactory API

Posted by Todd Appleton

Tue, May 19, 2015

Hey, .NET fans! We're pleased to announce the immediate availability of a new SDK interface for connecting your .NET apps to databases or other services via the DreamFactory Services Platform (DSP). Like all of our SDKs (we also offer ones for iOS, Android, and JavaScript), this one offers user-friendly wrapper functions for commonly-used API calls. You don't have to spend days learning the details of the API - the SDK takes care of that for you. While recommended, there's no requirement to use the SDK for your .NET apps. All you need is a way to make the HTTP calls to your DSP.

The SDK is available from GitHub or it can be installed from nuget.org. The README on GitHub offers lots of details about installing or building from source code. The SDK is built with .NET 4.5 but you can easily build with .NET 4.0 if needed. It comes with a unirest-net implementation of IHttpFacade - the UnirestHttpFacade class. You can also define your own implementation to use with the DreamFactory API by providing a custom IHttpFacade.

Let's look at a few examples of how to authenticate to your DSP and make some CRUD calls to its default MySQL database. There's demo code available in the GitHub repo for all of these functions.

DreamFactory Enterprise Applications Sample Apps .NET

Why We Chose Laravel for Building DreamFactory 2.0

Posted by Lee Hicks

Thu, Apr 30, 2015

A couple of years ago, the DreamFactory engineering team took our ideas and prototypes for a RESTful services backend integration platform. We started looking for a good base framework to build on, and to determine how much we would need to write on our own. To some degree, we did a little of both, settling with a hybrid based on the Yii 1.1 framework. That served us well for getting the DreamFactory Services Platform off the ground and to its current state.

DreamFactory

A REST API Is Not Enough for Enterprise Mobile App Integration (Part 4 of 4)

Posted by Bill Appleton

Tue, Apr 21, 2015

My first three blogs in this series discussed the perils of building your own REST API, looked at some ineffective solutions that companies use to battle backend API complexity, and surveyed the advantages of a more comprehensive and reusable API strategy. Now in Part 4, I want to consider some of the additional issues that companies will need to consider if they want to build a complete backend platform for enterprise mobile, web, and IoT applications.

REST API DreamFactory API Enterprise Applications Enterprise Architecture

Preparing for GIDS

Posted by Sathyamoorthy Sridhar

Fri, Apr 17, 2015

International trips can be a big hassle. Just think about the amount of prep you must go through before you leave: tickets, Visa, demo prep, booth prep, making sure the wife and kids are going to be comfortable, and finally, if your trip is actually heading back to your original home (like I am, to India), you need to think of what to buy for the people back home. God forbid you forgot a trinket for your grandmother! 

Events and Community

Building Reusable REST API Services (Part 3 of 4)

Posted by Bill Appleton

Wed, Apr 8, 2015

My first post in this series of four discussed the problems and pitfalls of creating your own REST APIs. After that we looked at some of the ineffective ways that companies try to deal with the API complexity problem. Now, I want to talk about the advantages of reusable web services for general-purpose application development.

REST API DreamFactory Enterprise Applications Enterprise Architecture

Band Aids Don’t Solve REST API Complexity (Part 2 of 4)

Posted by Bill Appleton

Thu, Apr 2, 2015

In my previous blog post, I examined the problem of REST API complexity in the enterprise. In short, as a company builds more and more web services, the situation server-side becomes increasingly complex, which can reduce portability, scalability, efficiency, and security. It also slows down development, just at a time when enterprises are scaling up development of mobile applications. In this blog post, I discuss some of the solutions that companies use to address this problem, and assess their effectiveness.

REST API Mobile Apps API Enterprise Applications Enterprise Architecture

Don't Build Your Own REST APIs (Part 1 of 4)

Posted by Bill Appleton

Fri, Mar 27, 2015

The engineering team at DreamFactory designed and built some of the very first applications that use web services. Over the years, we made many mistakes trying to create the perfect API backend for these applications.

In our experience working with customers, we’ve learned that many companies face the same challenges we had to think about and tackle over the years. One of the biggest challenges is figuring out a winning API strategy. This blog post lays out some of the traps and pitfalls that companies often experience when they decide to build their own REST APIs.

REST API Mobile Apps API Enterprise Applications

#PHPUK15: Innovation is alive and well within the PHP community

Posted by Ben Busse

Mon, Mar 2, 2015

DreamFactory recently participated in the excellent PHP UK Conference in London. The conference was attended by 750 developers who stayed very busy over two days of simultaneous talk tracks given by excellent speakers from all over the world. With a strong emphasis on back-end development and scripting, we were eager to engage with PHP developers and better understand how the DreamFactory Services Platform could help them leverage back-end services such as MySQL databases and other data stores. And we stayed extremely busy at our booth!

Events and Community

DreamFactory 1.9.0 Supports Amazon SNS Push Notifications

Posted by Todd Appleton

Tue, Feb 10, 2015

We're excited to announce that DreamFactory now supports push notifications using Amazon’s Simple Notification Service (SNS). Notifications can be sent to any endpoint supported by SNS. This includes mobile, email, and HTTP endpoints. 

REST API AWS

DreamFactory 1.9.0 Has Shipped!

Posted by Todd Appleton

Thu, Feb 5, 2015

Hi folks, we've been busy cranking on the DreamFactory 1.9.0 release and after many long nights we're happy to announce....drumroll please....1.9.0 is live! Here's a quick round up of new features in the 1.9.0 release. Head on over to Bitnami to install DreamFactory 1.9.0 on your server of choice or grab it from GitHub.

DreamFactory Authentication SQL

Componentized services come to the foreground at Gartner’s AADI conference

Posted by Bryan Stewart

Wed, Feb 4, 2015

I recently attended Gartner’s Application Architecture, Development & Integration (AADI) Summit in Las Vegas. It was an excellent event, attended by more than one thousand IT and application development leaders and enterprise architects, who had gathered to learn, network with peers, and prepare for what’s next. 

REST API Mobile Apps Enterprise Applications IoT

Add a REST API to Your IBM DB2 Database in Four Easy Steps

Posted by Ben Busse

Tue, Jan 27, 2015

Got a DB2 database that needs a REST API? Now you can connect to your IBM DB2 with DreamFactory in just a few minutes. In this short blog post I'll explain how to connect to DB2 and use DreamFactory's auto-generated REST API for DB2.

REST API DreamFactory Enterprise Applications SQL

Case Study - How Senske Services Mobilizes their Business with DreamFactory and AngularJS

Posted by Ben Busse

Tue, Jan 13, 2015

In this blog post, Senske Services explains how they’ve used DreamFactory to quickly mobilize their business and stay ahead of the competition. They describe their experience building a mobile ticketing app for teams in the field that connects directly to their existing Microsoft SQL Server database.

REST API DreamFactory Enterprise Applications AngularJS

New Feature - Remote Web Service Caching

Posted by Todd Appleton

Fri, Nov 21, 2014

The DreamFactory Services Platform (DSP) supports adding any number of services to each DSP instance. These services are then accessible from the REST API that's built in to every DSP. Often these services are either a database or file storage but there's another service type called 'Remote Web Service'. This could be any service that has a REST API supporting JSON or XML document exchange. See this blog post for an overview of how remote web services are configured and called.

A Technology Giant Delivers Fast Results with DreamFactory's REST API Platform

Posted by Ben Busse

Thu, Nov 13, 2014

Working in one of the world’s largest and most established technology giants, product manager Edo Williams used DreamFactory to make a significant impact on a multi-million dollar project: migrating the company's primary internal reporting systems from Microstrategy to a new SAP Business Objects solution.

REST API DreamFactory Enterprise Applications AngularJS

How to REST-enable your Oracle database in Ten Minutes

Posted by Todd Appleton

Fri, Oct 24, 2014

Talking to developers over the last few months, one of the most common requests we received was to support Oracle as one of our native database types. We've just released version 1.8.0 of our DreamFactory Services Platform (DSP) which does exactly that. With some simple configuration you can create a service on the DSP for your Oracle database and access it via our REST API, either from your app or from the API Docs in the DSP admin console. By adding Oracle as a service on your DSP, you can easily control which users and apps have access to the database and what level of access they should have.

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

DreamFactory Now Supported on Microsoft Windows

Posted by Todd Appleton

Tue, Sep 16, 2014

DreamFactory's open source REST API platform for mobile enterprise applications is now supported on Microsoft Windows environments. In this blog post we'll describe installation options and highlight some of the benefits DreamFactory can bring to your Microsoft projects.

Build Your Own Web Services Using DreamFactory Custom Scripts

Posted by Todd Appleton

Thu, Sep 4, 2014

A while back we introduced event scripts to the DreamFactory Services Platform (DSP). These scripts are triggered by events on specific resources such as a GET on a database table.  Starting with version 1.7.8 DreamFactory supports a second type of script called custom script.  Custom scripts are a little more flexible than event scripts because you can write custom scripts to implement any functionality you want and the client can invoke them directly via the REST API.  

Installing DreamFactory On Nginx Server

Posted by Jerry Ablan

Tue, Sep 2, 2014


Turning It Up To Eleven!

DreamFactory can be configured to use any web server. The core package ships with configuration examples for Apache as well as nginx. This guide will show you how to transform your ordinary, default Apache/pre-fork DSP into a shiny new nginx/FPM DSP! Sound cool? Read on!

Performance Nginx

Case Study: The Binary Workshop

Posted by Ben Busse

Tue, Aug 26, 2014

 The Binary Workshop is a technology agency in Chennai, India that offers consulting, training, and management services for cloud-based solutions. With expertise in product development and project management, particularly with startup companies, the firm recently shifted its focus to building its own software platform for managing startup coworking spaces, called TheWorks@pp. The need for the platform arose from requirements to manage their own coworking initiative in India, TheWorks@ (http://theworks.at).

Four Big Mistakes In Your REST API Strategy

Posted by Bill Appleton

Mon, Aug 4, 2014

I am starting to see a familiar pattern of big mistakes that companies make when developing a REST API strategy. This blog covers four myths and  misconceptions that every enterprise architect should be aware of before creating their own RESTful services. I spend a lot of time talking to customers, and unfortunately the conversation often goes something like this... 

Avoid Cloud Lock-In With Service Virtualization

Posted by Bill Appleton

Fri, Jul 18, 2014

My previous blog covered the new trend of cloud platform vendors creating developer facing services in an attempt to lock customers into proprietary interfaces. The danger for enterprise customers is that switching costs will rise, and this will reduce the flexibility and increase the cost of application deployments. Proprietary interfaces will reduce the compatibility between public, private, and hybrid cloud installations as well. But there is a great solution to this problem: a service platform like DreamFactory can abstract all of the connections to backend data sources and provide a virtualization layer at the service level. This allows applications to migrate between clouds, servers, and databases with ease. 

Get Ready For The Cloud API War

Posted by Bill Appleton

Wed, Jul 16, 2014

Get ready for a big strategic shift in the web services provided by Infrastructure as a Service (IaaS) and Platform as a Service (PaaS) vendors. This blog discusses these changes among public and private clouds from an Application Programmer Interface (API) perspective. By looking at the current way that services are offered, and analyzing some recent product announcements, we can begin to trace the future of where cloud computing is headed.

Case Study: A Mobile App for Ski Patrollers

Posted by Ben Busse

Wed, Jun 25, 2014

Gary Meyer is a professional software architect and volunteer ski patroller at a major ski resort in Colorado. He loves the outdoors and he loves to code too. Looking for ways to fuse technical innovation with volunteer interests, Meyer couldn’t help but wonder how mobile technologies could bring innovation to ski patrolling. He looked for what was available in the app stores, but couldn’t find a good mobile app targeted to the unique needs of the men and women who keep the slopes safe. There are about twenty-thousand ski patrollers in the U.S. alone and Meyer saw an opportunity to build a mobile app that would help them do their jobs better.

HTML5 REST API DreamFactory

The Enterprise-Grade REST API for SQL

Posted by Bill Appleton

Fri, Jun 13, 2014

DreamFactory supports a wide variety of backend systems including SQL, NoSQL, BLOB, email, users, roles, security, and integration. But in this blog post, I wanted to focus on our support for SQL databases. The vast majority of enterprise data is stored in a SQL database somewhere, and there is a huge need to access this information for mobile application development. So DreamFactory has really focused on building a comprehensive and enterprise-grade REST API for SQL. 

Data Segmentation with Server-Side Filtering and Lookup Keys

Posted by Todd Appleton

Tue, May 20, 2014

The 1.5 release of the DreamFactory Services Platform (DSP) introduces the ability to easily create server-side filters that control database access at the record level. Click here for an introduction to this feature, including how to restrict access by OwnerId. As a follow up to that post I want to give you a detailed example of how you can use this feature to "assign" records to certain users based on the value of a particular field. I'm not going to present an app that uses this feature, but I will show you all the details of how to set it up for your own DSP. Once everything is configured properly, the server will apply the filters you defined to all API calls.

DreamTeam Project Management Meets the DreamFactory Services Platform

Posted by Todd Appleton

Mon, May 5, 2014

DreamTeam was originally developed in 2005 and was the first application on the Salesforce.com AppExchange. Since then, over 20,000 companies have used DreamTeam for project and document management, resource management, collaborative calendaring, time & expense management, and project portfolio reporting. We're excited to announce that you can now run DreamTeam on the DreamFactory Services Platform. This is a great example of a rich client application that takes full advantage of our REST API platform to deliver enterprise-grade capabilities for project and document management.

Case Study: Solution Family Uses DreamFactory to Connect Mobile Users to Industrial Assets

Posted by Bill Appleton

Mon, May 5, 2014

While it will be some time until all our cars and fridges are connected to the Internet of Things, a software-consulting firm, Solution Family wants to connect much bigger machines to the Internet. With expertise that draws on the firm’s roots in embedded computing and machine-to-machine communication, the team at Solution Family turned to DreamFactory to enable its customers to connect all sorts of industrial assets to the cloud, so that sophisticated applications can monitor and control them.

To maximize the market appeal, Solution Family wants to make it easy for applications experts to leverage their existing development skills and integrate a wide array of machines, motors and sensors with expert systems — without any knowledge of the low-level drivers and machine code that used to be essential skills for this kind of programming.

DreamFactory 1.5 Introduces Server-Side Scripting

Posted by Bill Appleton

Mon, May 5, 2014

Version 1.5 of the DreamFactory Services Platform (DSP) introduces some incredibly powerful new features for mobile enterprise application development including Lookup Keys, Server-Side Filters, Server-Side Events, and Server-Side Scripting. We have implemented Server-Side Scripting to customize existing DSP services and create new ones. Use cases include formula fields, field validations, workflow triggers, access control, and custom limits. Here is a more detailed discussion of this exciting new capability, below.

Server-Side Scripting

For security reasons, we do not support Server-Side Scripting on the Free Hosted Edition of DreamFactory available at our website. We might do this at a future date when we are sure that there is no way for a user to crash the server or cause other problems. So you will need to install our open source software package on your own server or cloud. Fortunately, DreamFactory can be installed almost anywhere, see our Bitnami web page for more information.

When you have DreamFactory 1.5 installed, you will see a new "Scripts" tab at the bottom of the Admin Console. This tab shows the Server-Side Scripts that are available for customization. These event names are also listed in the Live API interface. You can select any branch of the REST tree, write your script, and click the "Save" button at the bottom of the screen. All of the code is in JavaScript. As you work, various notifications and warnings will appear as little icons on the left hand side of the editing area.

On the server side, we are using the V8 JavaScript engine developed by Google. We may add PHP as a language alternative in the future. Every script that is executed has access to the Lodash library. This library is automatically added to your script's context before execution. Lodash contains many powerful Javascript functions including MapReduce. Think of it as server-side jQuery, but without the DOM. You can read all about Lodash and what you can do with it on their web site.

DreamFactory 1.5 Introduces Server-Side Filters

Posted by Bill Appleton

Mon, May 5, 2014

Version 1.5 of the DreamFactory Services Platform (DSP) introduces some incredibly powerful new features for mobile enterprise application development including Lookup Keys, Server-Side Filters, Server-Side Events, and Server-Side Scripting. My previous blog covered Lookup Keys, and this post references that information in a few places. We have implemented Server-Side Filters to control record level access to objects in any legacy SQL or NoSQL database. Server-Side Filters also allow any database to be segmented by application, user, role, or field value. Here is a more detailed discussion of this exciting new capability, below.

Server-Side Filters

A DSP Admin has always been able to define roles that contain access permissions for specific database objects. For example, a role might grant access to a particular MongoDB collection or SQL table. But now Server-Side Filters can be used to implement record-level database access. Any number of filters can be added to a role permission. Each filter takes the form of a "field operator value" equation that must be true to enable access. The field can be any field in the database table. The operator can be equals, not equals, greater than, contains, etc. And the value can be any string, date, boolean, number, or Lookup Key.

Internal Filters

Server-Side Filters work great with the internal MySQL database installed on every DSP. Let's say you want to limit users to only work with data that they have created. First, add a user reference field named "OwnerID" to a table. You can use any field name. Next, create a role and grant access to the table, then add a Server-Side Filter that looks like this: "OwnerId = {user.id}". In this filter "OwnerId" is the name of the user reference field, and "{user.id}" is a Lookup Key that represents the ID of the current user. This simple filter limits user access to data that they have created!

In my example above, we need to include an OwnerId field set to the current user ID when new records are created. Trying to create a record without this information will return an error because of the filter constraint. To do this, simply use the Lookup Key name as the field value. So when a record is created the OwnerID field would be set to the string "{user.id}". Of course, this little trick does not work with private Lookup Keys. They can only be used for credentials and passwords.

DreamFactory 1.5 Introduces Lookup Keys

Posted by Bill Appleton

Thu, May 1, 2014

Version 1.5 of the DreamFactory Services Platform (DSP) introduces some incredibly powerful new features for mobile enterprise application development including Lookup Keys, Server-Side Filters, Server-Side Events, and Server-Side Scripting. I am really excited to be writing about all of these new features, starting with some of the interesting use cases for Lookup Keys. We have implemented this feature to provide a secure way to store external credentials and other information inside the DSP. Now individual users and roles can be connected to the corresponding user or role in an external SQL or NoSQL database. Here is a more detailed discussion of this exciting new capability, below.

The Authenticated App With AngularJS + DreamFactory User Management Module Part Three

Posted by Michael Mandato

Tue, Apr 29, 2014

Welcome back to those of you who have been following this tutorial series. To those of you just joining us I highly recommend starting at the beginning of the series with The Authenticated App with AngularJS + DreamFactory User Management. When we finished part two our application was starting to do some cool stuff. We could authenticate through the DreamFactory User Management Module without writing any code to communicate with the server and then we used that authenticated user to conditionally show navigation. We also were able to protect a route from url hacking using the 'resolve' property in Angular's $routeProvider.

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

Weekly Digest