{ DreamFactory: 'Blog' }

The importance of loose coupling in REST API design

Posted by Bill Appleton

Wed, Mar 1, 2017

One of the most important ideas in the world of software engineering is the concept of loose coupling. In a loosely coupled design, components are independent, and changes in one will not affect the operation of others. This approach offers optimal flexibility and reusability when components are added, replaced, or modified. Conversely, a tightly coupled design means that components tend to be interdependent. Changes in a single component can have a system wide impact, with unanticipated and undesirable effects.

REST API DreamFactory API Enterprise Applications

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

.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

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

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

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

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

Add a REST API to any SQL DB in Minutes

Posted by Todd Appleton

Wed, Jan 8, 2014

11/17/2015 - Originally written for DreamFactory 1.X, this post has been updated to reflect the current version, DreamFactory 2.0.

Have you got SQL data that you need to access from your mobile or web apps? If so, DreamFactory provides an easy and secure way to add a REST API to any SQL database in minutes. Supported SQL databases include SQLite, MySQL, SQL Server, Oracle, IBM DB2, Postgres, and SAP SQL Anywhere. With the free, open source DreamFactory REST API backend all you have to do is create a service for your database, then use the auto-generated REST API to access that service. Each DreamFactory instance comes with its own SQLite database that's accessible via the default 'db' service. Bitnami installs also include pre-configured MySQL and MongoDB (NoSQL) services. See the wiki for supported database types on the various host operating systems. In this blog post we'll show how to add additional services to REST-enable any SQL database. Then we'll show some simple examples of how to use the REST API to manage your SQL schema and data.

If you're a video kind of person, we have some screencasts available.

REST API DreamFactory API Enterprise Applications Enterprise Architecture SQL

How We Got Here

Posted by Bill Appleton

Thu, Apr 25, 2013

Back before the turn of the century people started experimenting with new ways to make function calls across the firewall. Around this time in 1998 Dave Winer invented XML-RPC, which stands for Extensible Markup Language Remote Procedure Call. His specification introduced the concept of exchanging XML documents across a URL endpoint. The request and response would constitute a function call. These XML documents were normally exchanged with an HTTP POST transaction, and since this looked like regular web traffic the function calls sliced right through most firewalls. Tony Hong stated the XMethods website about this time, and soon there were many example services that could be called.


Weekly Digest

Recent Posts