DreamFactory Blog

New Feature - Remote Web Service Caching

Posted by Todd Appleton on Fri, Nov 21, 2014

ToddAppleton  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.

Read More

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

Posted by Ben Busse on Thu, Nov 13, 2014

BenBusse 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.

Read More

Topics: DreamFactory Services Platform, REST API, Enterprise applications, AngularJS

How to REST-enable your Oracle database in Ten Minutes

Posted by Todd Appleton on Fri, Oct 24, 2014

ToddAppleton  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.

This blog post will show you the steps required to set up and make calls to an Oracle database from a DSP running on Mac OS X. There are a few steps to get the Oracle instant client and OCI8 extension for PHP set up properly, but it's not hard and I'll show you exactly what to do. The process is similar for Linux or Windows but the directory structure (location of files like php.ini) would be different.

Read More

Creating a Data Manager with AngularJS + DreamFactory

Posted by Michael Mandato on Thu, Sep 18, 2014

team-michaelMany 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. We’ll be building a data manager much like the one you can find in the admin app for the DreamFactory Services Platform. While the version of dfTable for the Data Manager in the admin app runs wide open, generating forms and their fields based on schema returned from a database service and attempting to pick the most logical fields to display on startup, we’ll know the schema for our app and be able to tailor data entry fields, form generation, and more. When the schema is the app this can be incredibly useful. We’ll have to create the base app and install dfTable via yeoman and bower (if you don’t know how to use these two tools there are many articles on the inter webs to guide you. So I won’t be covering them here). From there we’ll concentrate on linking our app to the DreamFactory Services Platform(DSP) to retrieve our data. We’ll then configure our table to display information the info we want and generate forms with custom fields that guide the user to enter correct input. Let’s get started!

Read More

Topics: DreamFactory Services Platform, Build an application, DreamFactory, DSP, AngularJS

DreamFactory Now Supported on Microsoft Windows

Posted by Todd Appleton on Tue, Sep 16, 2014

ToddAppleton  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.

Read More

Build Your Own Web Services Using DreamFactory Custom Scripts

Posted by Todd Appleton on Thu, Sep 4, 2014

ToddAppleton  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.  They can make calls to your DSP's services and perform any required business logic before returning the final result back to the client.  To get this functionality you'll need a non-hosted DSP, which means installing DreamFactory on your local machine using Bitnami installers or spinning up a VM in the cloud.  You can check out our wiki for information on how to get started with DreamFactory.

Read More

Installing DreamFactory On Nginx Server

Posted by Jerry Ablan on 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!

Read More

Topics: Performance and Tuning

Case Study: The Binary Workshop

Posted by Ben Busse on Tue, Aug 26, 2014

BenBusse 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).

Read More

Four Big Mistakes In Your REST API Strategy

Posted by Bill Appleton on Mon, Aug 4, 2014

bill-appleton-author-mobile-archI 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... 

Read More

Avoid Cloud Lock-In With Service Virtualization

Posted by Bill Appleton on Fri, Jul 18, 2014

bill-appleton-author-mobile-archMy 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. 

Read More