DreamFactory Blog

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

Get Ready For The Cloud API War

Posted by Bill Appleton on Wed, Jul 16, 2014

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

Read More

Case Study: A Mobile App for Ski Patrollers

Posted by Ben Busse on Wed, Jun 25, 2014

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

Read More

Topics: DreamFactory Services Platform, HTML5, REST API

The Enterprise-Grade REST API for SQL

Posted by Bill Appleton on Fri, Jun 13, 2014

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

Read More