Posted: October 22nd, 2014 | Author: Dmitry Zaytsev | Filed under: Features, Tutorials | Tags: features, tutorials | Comments Off
Recently, the Appery.io App Builder was updated with several significant features. One of the most important and fundamental changes was the introduction of Model and Storage notions. To show the best practices of using these features, we created a MusicShop app and step-by-step tutorial which describes in detail how to build such an app from scratch. This tutorial also has a MusicShop app backup attached to allow you to pay more attention to Model and Storage usage (you shouldn’t create the app step-by-step in this case, just create it from the backup).
With the introduction of Model and Storage, we suggest Appery.io developers use the following development process:
- Instead of using UI-centric app design, we suggest describing all the app entities by using Models before the actual development. This will prevent you from recreating collections structure, and modifying the app UI multiple times, and so on. There are the following Models in the MusicShop app:
- instrument – Model that describes the instrument entity with all its properties.
- musical_instruments – Model that is an array of the instrument Models.
- cart_item – Model that describes the instrument added to the cart.
- cart – Model that is an array of the cart_item Models.
- When the app data structure is clear and defined, build the UI and create the database with appropriate data.
- Use Storage variables based on defined Models to store incoming data (data is usually retrieved by using a REST Service).
Go ahead and try MusicShop app tutorial to personally see the convenience of using Model and Storage. You can always contact us via email or through the forum if you have any questions or difficulties.
Posted: October 13th, 2014 | Author: Max Katz | Filed under: Features, Video, Webinar | Tags: events, features, Video | Comments Off
This video shows:
- Understanding the new Model and Storage feature
- We create a model for Wine object
- We define storage (local storage) to store the wine list
- Build a mobile app that shows a list of wines loaded from a database. Clicking on a wine takes you to that wine details
- We also show a finished Todo-like app that runs entirely on the client
Read the rest of this entry »
Posted: September 9th, 2014 | Author: Max Katz | Filed under: Features | Tags: features | Comments Off
We just added a second template called Slide Panel App Example in addition to the Tabbed Pages App Example we published last week. When you create a new app, you can base the app on this template and use it a great starting point. The app has a Panel menu which slides from the left, and allows you to navigate to three pages. The Panel is configured via page templates. This simplifies app development as you need to make changes to navigation only in one place.
Read the rest of this entry »
Posted: September 4th, 2014 | Author: Max Katz | Filed under: Features | Tags: features | Comments Off
Developers love to look at examples. A very nice feature in Appery.io platform is that you can create a new app based on an existing example/template. We just added a new Tabbed Pages Example and will be adding more soon.
Read the rest of this entry »
Posted: July 22nd, 2014 | Author: Dmitry Zaytsev | Filed under: Features, New release | Tags: features, release | Comments Off
The Appery.io team just released a number of really nice features. Learn about what’s new in this post.
App Builder improvements
New jQuery Mobile Popup component
The new jQuery Mobile Popup component gives you more power to build app UI. The component can be used to notify the user to confirm an action, or just display any important information.
More List options
We added a number of properties to the list to simplify UI building. For instance, it is now easy to make the list read-only.
We also added the ability to manage the list items order. You can do this by using the Index property in the Properties panel:
A better way to select icons
Everyone likes icons, and there is now a better way to select one. If the component supports an icon (List, Button etc.), the Icon property will be available:
By clicking “Choose,” the icons list will appear:
This is much more fun as you can see the actual icon.
Cloud database improvements
The Appery.io cloud database got a number of very useful upgrades.
By adding the ability to manage database indexes, we allow you speed up the frequently used queries. It’s a good thing to use when transferring a lot of data between the devices and Appery.io backend:
To reduce data transfer and speed up the app, use the MongoDB Projection concept that the Appery.io database now supports. By using Projection, you can selectively retrieve columns from the database without the need to transfer excess data (columns). This will decrease the data being sent to the client (app), and also increase app responsiveness.
New ACL editor – for simplified database access rights
User access control is now more flexible with the new ACL editor. You can specify access rights for each user separately, for all users at once, or just for the user that created a specific collection entry:
The Appery.io database now supports the Media Manager that helps manage files. You can upload and delete any sort of files directly from the database console by using it:
It’s now possible to get a file list based on the Files collection content and provided ACL for every file (you can of course control user access rights for files too).
Database versioning for more peace of mind
It’s always a good idea to make a backup of your database. With the new database versioning features, you can create versions (backups) of the database and restore to a particular version instantly:
Server Code improvements
To make development and testing faster, we combined the Script tab and Test tab into a single page. You can now quickly test the script and see the execution result without the need to switch tabs:
The Server Code API was upgraded with a new service – multiUpdateObject. By using it, you can update multiple objects via a single REST service. See the Server Code API to learn what functionality can be used on the Appery.io server side.
Customer Console improvements
Customer Console is a great way to create a development process where a customer can manage databases and push notifications without the developer attention. The Customer Console adds the following new features:
- Export/import database data in JSON or CSV formats.
- Schedule push notifications.
To simplify working with Push, we have moved the Push tab together with the app. So now it’s a lot simpler; with every app, you can enable its own push capability:
If you new to Appery.io Push Notifications, we recommend starting with this tutorial.
App exporting improvements
With every new Appery.io update, our goal is to make app development faster and simpler in the cloud.
Follow us Twitter, and Facebook. And if there is anything we can do better, let us know on the forum.
Posted: July 2nd, 2014 | Author: Dmitry Zaytsev | Filed under: API, Articles, Events, Features, Partner, Plugin | Tags: API, article, events, features, Partner, Plugin, webinar | Comments Off
Building mobile apps with identity management wasn’t simple, until now. Auth0, a cloud service that eliminates the friction of identity for your app, and Appery.io, the only cloud platform with visual development tools and integrated backend services, are collaborating to make this happen. With the jointly created Appery.io Auth0 plugin, you can simplify identity management integration for your app, and this post will show you how.
Read the rest of this entry »
Posted: June 30th, 2014 | Author: Dmitry Zaytsev | Filed under: Features, Server Code | Tags: features, Server Code | Comments Off
Have you ever needed to perform operations in a certain time interval? For example – have you ever needed to check database records, and then based on specific conditions, send an appropriate push notification?
Some parts of this can be done via client-side code, but there is no guarantee that the user’s device will be online at the right time. The solution to this lies in one of Appery.io’s great backend features, Server Code. If you aren’t familiar with it yet, here is a quick tip: Server Code enables custom and scalable business logic in the Appery.io cloud without the need to build and maintain server infrastructure. And one of the server code features is the jobs scheduler.
All of the scheduling logic can be found in a separate Jobs tab:
You will see schedule builder if you open it:
The basics of working with the jobs scheduler is simple – you choose the script that should be executed at a certain time or time interval. Then you should specify that time or interval. This can be done in two ways: by using the schedule builder or by using the Schedule expression:
Unlike the schedule builder where you simply need to select the needed parameters by choosing them from comboboxes, the Schedule expression retrieves values based on Quartz. Note one important thing – the Appery.io job scheduler doesn’t use a seconds parameter in Cron expressions. So, if you use an expression such as 0 0/5 * * * ? you’ll get an error. Remove the first number (zero in this case) and the expression will be correct – 0/5 * * * ? .
The minimum interval between script invocation is based on your plan. See our pricing to learn more.
All of your scheduled scripts are displayed at the bottom of the page:
If you no longer need to execute some of your scripts, turn them off by toggling the on/off button or delete it by clicking the cross icon.
Generally, that’s all you need to start scheduling your scripts. Simple, isn’t it? Here is detailed documentation about the Server Code jobs scheduler in case you’re stuck somewhere. Or get touch with us via forum or email to get our help. Happy coding!