How to Use Snippets to Speed Up Server Code Script Coding

Posted: May 18th, 2016Author: Server Code allows you to write any custom code using JavaScript that is executed on the server. For example, you can invoke any REST API, access the Database and send Push Notification messages. The script is then invoked from the app (as REST API). Server Code allows you to write advanced app logic on the server and then elegantly invoke it from the app.

To simplify working with various Server Code APIs, we have created code snippets. A snippet is a short code sample that you insert into the script and it provides some functionality.Here is how to do it:


Check out our YouTube channel to learn how to use Server Code.

Learn How to Add Geocoding Lookup in Your App With Server-side JavaScript

Posted: May 10th, 2016Author:

pablo (12)

Let’s say you are building a mobile app where you enter an address and need to get back the location as latitude/longitude information. To do this in Server Code is super simple. Here is a Server Code script that looks up an address and returns the latitude/longitude information for the location using the Google Geocoding API:

When you run this script, the result looks like this (using Boston as input):

The script has an API which you can invoke from your app:

Here is an example invoking the script directly from the browser:


Invoking Server Code script

With geolocation logic on the server, you can change the implementation — for example use a different API without making any changes to an app and impacting the users.

Want to learn more? Check out the large collection of videos we have on our YouTube channel.

Can I Build [insert type] App With

Posted: May 3rd, 2016Author:


“Can I build [insert type] app in” is probably one of the most common questions that we get. The answer is almost always yes, but I want to provide you with a more detailed answer. provides tooling to allow you to build and run hybrid mobile apps. You can build virtually any kind of app supported by the underlaying technology stack: HTML, JavaScript, CSS and Cordova (for native device access), plus REST APIs. The platform provides tools and a runtime to make it simpler and easier to build your app.

  • App Builder – for building the app (client).
    • Apache Cordova is installed in every app and gives you access to device APIs such as the camera.
  • Cloud Build – for packing the app for iOS or Android.
  • Backend Services
    • Database – cloud database for storing any app data.
    • Push Notifications – for sending targeted Push Notification messages.
    • Server Code – for coding any server-side logic using JavaScript.
    • API Express – for integrating with external/enterprise systems.
  • Tester app – for fast testing of iOS and Android apps built in without installing them directly on the device.

The platform provides you with the tooling and runtime services, which you would need to build a successful app. Having said this, the actual app logic still has to be coded or developed. For example, let’s say you want to send a Push Notification and email when a new users registers, and also record the activity into an external relational database. You can easily build this flow/logic in

  • The app UI (pages, navigation) is built in the App Builder.
  • The Database has built-in user management capability. This means you can register a new user and do a login/logout.
  • When a new user is created, you can write a Server Code script to send a Push Notification message and use email API (such as SendGrid) to send an email notifying people about this event.
  • Using API Express you can connect and expose a relational database via REST API. When a new user registers, you can invoke the API and record this event (registration) into an external relational database.
  • Using the Tester app you can quickly test the app on the device (without actually installing it) and test any native APIs.
  • After the testing, you can build and package the app for iOS or Android with Cloud Build.

In general, is a perfect fit for building and running business and enterprise mobile apps. Another way to look at our platform is that it is ideal for creating content or data-drive apps. You can also find the term form-based used sometimes. We don’t recommend to build apps that are heavy on graphics. This is not a limitation, but a limitation of hybrid apps in general.

We hope this blot post clarifies what kind of apps you can build with We many videos on our YouTube channel to help you learn how to build apps to check out the channel.

Here is another blog post that talks about this topic: What Kind of Apps Can You Build with


Video Tutorial: Creating an Ionic App with a Backend and an External API

Posted: April 21st, 2016Author:

Our friends at Ionic Framework published a very nice tutorial on how to build an Ionic app with an external API. We figured it would be a good idea to show how to build the same app in In this 8-minute video tutorial you will learn:

  1. How to build a simple Ionic (version 1).
  2. How to create a mobile backend for the app.
  3. How to invoke an external API.
  4. How to test the app in the browser.

The final app shows a list of people loaded from an external API:

Screen Shot 2016-04-21 at 12.07.57 PM

Ionic app

Want to learn more? Check out many other short videos on how to build mobile apps fat on our YouTube channel.

Learn How to Expose a SQL Database via a REST API in 5 Minutes

Posted: April 18th, 2016Author:

This video shows how to use the API Express visual editor to connect to a SQL database and expose it via a REST API. The SQL component is used to connect and execute a custom SQL query.

Watch other videos how to use backend services to build apps fast.

Video: Convert a SOAP Service Into REST API in 5 Minutes

Posted: April 12th, 2016Author:

This 5-minute video shows how to convert a SOAP service into a REST API using API Express. Once you have a REST API, you can easily build a mobile app with that API.

Learn how to use the Backend Services from our short videos on our YouTube channel.

In Case You Missed: Getting Started with App Builder for jQuery Mobile Apps

Posted: February 22nd, 2016Author:

This is the second webinar in our 2016 webinar series and introduces you to the App Builder and how to build apps with jQuery Mobile.

In this video you will learn:

  • How to create a new jQuery Mobile app
  • About various views inside the App Builder
  • How to use the Cordova Geolocation API to get the current device location
  • How to invoke the Uber Product API from Server Code
  • How to integrate the Uber API into the app
  • How to test and share the app

Check out this video now:

To learn more how to build apps fast, go to our YouTube channel.

Windows Phone Support End Date

Posted: February 4th, 2016Author:


We want to let you know that we will be ending Windows Phone support in the platform on May 15, 2016. The reason for this is very simple; very few Windows Phone apps are being built and deployed on the platform; even Microsoft bets its future on the universal Windows 10 applications, and not on the Windows Phone (information regarding this topic can be found here, and here).  The resources we used to support the Windows Phone will be redirected to add a more easy-to-use tooling for building enterprise iOS and Android apps, which is a good thing.

If you need to export a Windows Phone project source or build a binary, go to Export windows inside the App Builder:

Screen Shot 2016-02-26 at 10.46.35 AM

Export menu


You will be able to export the files until May 15, 2016.


In Case You Missed “Getting Started with App Builder for Ionic/AngularJS Apps”

Posted: February 2nd, 2016Author:

A recording of the first webinar in our 2016 webinar series is now available. It introduces you to the App Builder and how to build apps with Ionic/AngularJS.

From this video, you will learn:

  • How to create a new Ionic app
  • The various views inside the App Builder for Ionic and AngularJS
  • How to build an app connected to a cloud database:
    • Building the app UI using the Design view
    • Mapping data between scope and services using the visual Mapping view
    • Binding data between scope and page using the visual Binding view
  • How to test the app quickly in the browser

Check out the video now:

To learn more how to build apps fast, go to our YouTube channel.

You can still sign up for our next webinar (tomorrow), “Getting Started with App Builder for jQuery Mobile Apps”!

How to Expose an Existing SOAP Service as a REST API

Posted: January 14th, 2016Author:

Screen Shot 2016-01-11 at 4.04.07 PM

API Express visual editor API Express make it fast and simple to connect to an enterprise data source and expose it via a REST API. With API Express you can quickly create an API for:

  • A relational database
  • A WSDL service (SOAP)
  • An existing REST API

In this tutorial, I’m going to show how to expose an existing WSDL service as a REST API and then build a mobile app using the API.

Read the rest of this entry »