Quickly Add Custom Business Logic to Your App With Server Code

Posted: July 6th, 2015 | Author: and | Filed under: API, Backend Services, Server Code | Tags: , ,

Screen Shot 2015-07-01 at 2.45.21 PM

Appey.io Server Code is a powerful tool that allows you to write custom server-side business logic for your app. These are the benefits you get when you use Server Code:

  • Write and implement any business logic for an app. For example, you can write a script that checks inventory (Database), then sends a push notification, and sends an email using the SendGrid API
  • Quickly test the script during development
  • JavaScript is the language used to write the script
  • Server Code is based on popular V8 JavaScript engine. This means you can use any APIs supported by V8
  • Server Code script is instantly exposed via a REST API. This means you can quickly build a custom API
  • Keep sensitive data such as API keys and tokens on the server. This means this data won’t be exposed on the client
  • Server Code script has easy to use API access to other Appery.io Backend Services such as Database and Push
  • A script can be saved as a library and used in other scripts
  • Import any 3rd party JavaScript libraries to use the script
  • Create a script version with built-in versioning
  • Script changes can be made without updating the client (app)
  • Schedule a script (job) to run periodically
  • Use In Memory Data for fast cache

Let’s look at quick example creating a Server Code script to search Wikipedia for a particular key word.

This is how the script looks:

Read the rest of this entry »


3 Tips for Increasing Mobile Conversions

Posted: July 2nd, 2015 | Author: | Filed under: Bootstrap, General, Plug-in | Tags: , , , ,

Mobile in-app conversionWhat’s a mobile conversion?

Simply put, a mobile conversion is an instance of a user taking a desired action within your mobile app. This could be completing a sale for example, or even just filling out and submitting a form. They differ from download conversions in that they are accomplished in-app, after the initial download of the app has already occurred.

Not everyone needs to worry about mobile conversions in their applications, but if you’re building an app where conversions are key, few things are more important than increasing that rate.

Mobile traffic now accounts for over 16% of all web traffic, and in general, businesses have done well in acquiring users for their apps: by 2016, there will be 2 billion smartphones in use worldwide, with an average of 27 apps per phone.

Read the rest of this entry »


Tip: Save Snapshots of Your App Easily

Posted: July 1st, 2015 | Author: | Filed under: Tips | Tags:

Icon for a tipSaving a version of your app to revert back to, if necessary, before you make significant changes is a good (anxiety-reducing) practice. Appery.io provides a convenient way to make snapshots of your app. Just use the Versions feature. You only need to type in an informative note like “Changing the authentication mechanism” and then click “New Version”.  Using this, you can painlessly revert any changes you made.

Tell me more.

For more tips…


Learn How to Create a Server Code Script to Invoke a REST API in 5 Minutes

Posted: July 1st, 2015 | Author: | Filed under: API, Backend Services, Server Code, Video | Tags: , , ,

Screen Shot 2015-07-01 at 2.45.21 PM

In this 5-minute video you will learn how to invoke a REST API from the server (instead of directly from the client. There are a number of benefits to invoke an API from the server:

  1. JavaScript is the language used to write the script (and you already know JavaScript!)
  2. Additional business logic can be added around the API. For example, in addition to sending an SMS, you can also send an email (SendGrid API)
  3. The API keys and tokens are secure
  4. Script is exposed via REST API (to be invoked from the app)
  5. Script has API to access Appery.io Database, Push
  6. A script can be saved as a library and used in other scripts
  7. Script changes can be made without updating the client (app)
  8. It’s tool to write code :)

Check out all the other Build in 5 Minutes videos.


How to Add Barcode Scanner with Database Search to Your App

Posted: June 29th, 2015 | Author: | Filed under: Database, PhoneGap, Plug-in | Tags: , ,

We know that developers love examples. One of the most requested example is how to build an app with barcode scanner and search the database. We created an app example that does exactly that.

Screen Shot 2015-06-29 at 2.14.47 PM

Appery.io plugins

Read the rest of this entry »


How to Query a Database by Date

Posted: June 25th, 2015 | Author: and | Filed under: Database, JavaScript, jQuery Mobile | Tags: , ,

Screen Shot 2015-06-25 at 1.28.03 PM

Selecting a date via a Datepicker component and querying a database by date is one of the most common tasks a mobile app will do. With Appery.io’s out-of-the-box cloud database and auto-generated APIs, querying the database is fast and simple.

Read the rest of this entry »


User Registration Example App for Bootstrap and Ionic with AngularJS

Posted: June 18th, 2015 | Author: | Filed under: AngularJS, Bootstrap, Ionic, Templates | Tags: , , ,

Example of a login box

User login/registration is one of the most common features in a mobile app. With Appery.io Database’s built-in user management feature, adding a login and registration capability to an app is very fast and simple. We know that developers love examples and so we created a ready-to-run app available in the App Builder that shows how to do that. In fact, we created two examples: one example uses Bootstrap and another example uses Ionic, both based on AngularJS.

Read the rest of this entry »


Tip: Take Advantage of Bootstrap Themes inside Appery.io

Posted: June 17th, 2015 | Author: | Filed under: AngularJS, Bootstrap, Frameworks, Tips | Tags:

Icon for a tipThere is a rich assortment of themes available for the Bootstrap UI framework. By adding one or more of them, you can quickly change your Bootstrap-based app’s appearance and add cool animation effects! Luckily, adding these themes to your Bootstrap projects in Appery.io is really easy.

Tell me more.

For more tips…


Join Our (Virtual) Office Hours with Max Katz on June 24!

Posted: June 16th, 2015 | Author: | Filed under: Webinar

office-hours

Join Max Katz for an interactive Q & A session on Wednesday June 24, 11:00 to 11:30am Pacific. Bring any questions you have about our platform — chances are others will be thinking the same question. Max will take your questions and maybe even demo the answers live!

As a bonus, Max will share a couple of tips and tricks to help you build better apps!

Register to reserve your space now!


Webinar Recording: Building a Barcode Scanner App Integrated with Backend Services

Posted: June 15th, 2015 | Author: | Filed under: Events, Video, Webinar | Tags: , , , ,

In case you missed our webinar, watch this recording to learn how to use Appery.io to build a barcode scanner mobile app. (At the end of this post is some of the coding used in the webinar.)

Check out many other videos on the Appery.io YouTube channel.

Read the rest of this entry »