DreamFactory Blog

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

Data Segmentation with Server-Side Filtering and Lookup Keys

Posted by Todd Appleton on Tue, May 20, 2014

ToddAppleton

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.

Read More

DreamTeam Project Management Meets the DreamFactory Services Platform

Posted by Todd Appleton on Mon, May 5, 2014

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

Read More

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

Posted by Bill Appleton on Mon, May 5, 2014

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

Read More

DreamFactory 1.5 Introduces Server-Side Scripting

Posted by Bill Appleton on Mon, May 5, 2014

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

Read More