The San Francisco team hosted What is Machine Learning for the Enterprise Lunch-and-Learn event. This event was an absolute beginner’s guide to machine learning for the enterprise. Kanishk Priyadarshi, Head of Engineering and Innovation at IBM, covered strategic and design-thinking inspired conversation for beginners to explore and apply machine learning at your enterprise! In case you missed it, you can watch the video below. If you want to learn about Watson AI, Containers, Blockchain, Serverless, APIs and other topics, please check out our upcoming developer workshops.
Many organizations that are building mobile apps need to connect and reuse existing (internal) systems. One of the most common system is a relational (SQL) database. The question is — how to a relational database from a mobile app.
The first approach automatically generates CRUD-like APIs to work with a database table. In many apps, this is close to 80% of what an app might need. This automatic approach also comes with very sophisticated offline support. In other words, you app can work offline and sync data with a remote database when a connection is reestablished.
With the second approach, you get full control as you write the actual SQL query (or Stored Procedure) that will be executed. With this approach, you can use a visual service editor to orchestrate the REST API. In addition to the SQL component (connector), you can use connectors such as Web Service (WSDL), REST and others.
Being able to send Push Notifications to users is one of the fundamental capability in an enterprise mobile app. Appery.io platform comes with Push Notifications component out-of-the-box and allows you quickly to send targeted messages to iOS and Android devices. In this blog post we will show the four ways to send a Push Notification message to a user:
Push Notifications Console.
Server Code Push Notifications API (server-side).
Push Notification REST API.
Push Notifications Console
This first option is probably the simplest way to send a Push Notifications once you have installed an app on a device. Select device types, enter the message and send. The Push Notification message should arrive on the registered device instantly.
Everyone knows that testing is one of the most important steps when building a mobile app and also the part that usually takes the most time. Luckily there is a very fast way you can test your app, let me show you how to do that.
When you are working on an app inside the Appery.io App Builder you are seconds away from testing your app. Simply click the “Test” button in the toolbar:
When you click the “Test” button, a new browser tab will open where the app will be loaded. It looks like this:
This is important – this is the real app running in the browser. This is not an emulator or simulator. This is the actual app running in the browser. The phone frame is just to make it look like a mobile device. It can be easily removed by clicking the “Remove frame” button. The app looks exactly the same without the frame:
You can go back to the App Builder, make any changes you need and click “Test” again to see the newest changes. It’s that simple and fast. You don’t need to wait for the app to package or compile. You can see updates almost instantly.
To keep the example simple, let’s say we wan to build an API (script) that takes a developer’s name returns a greeting and also returns the time when the greeting occurred. It’s basically your HelloWorld example.
To create a new Server Code script you just need to click Create script button:
We know developers love examples, we’ve just added one more example to Appery.io platform. When you create a new app, you can base it on the new Weather API and Geolocation Example. When you create a new app, click “More Create Options” to see the list of available examples:
The example app demonstrates a number of features:
How to use a 3rd part API – Weather Underground. You do need go sign up for a free developer account and set the API key.
How to use the Geolocation service.
How to handle different service responses (when an airport is found or not).
How to show UI components on page based on a condition.
The app works in two modes. First, you can enter any 3-letter airport code to show the weather information:
Second, instead of using the airport code, you can also use the Geolocation service. It will determine your location and use that to show the weather information (for this to work in a web browser, make sure to allow location tracking for the domain appery.io):
Check out this really awesome video created by Greg Wadley, Platform Architect. Greg shows how to build a mobile app in Appery.io thats uses Salesforce API, Barcode Scanner and PhoneGap. The app scans a barcode, reads data from the product table in Salesforce, and then updates an order table.