Build An Efficient Mobile Application on OutSystems
Creating a new mobile application is easy with #1 low-code platform, OutSystems. But the performance of those applications depends on various aspects like how quickly icons load, number of requests to made to the server, etc,.
Here are few suggestions to build an efficient and effective mobile application
Use icon fonts for applications icons
Among other important aspect that affect performance of any application, the icons that are used in the application greatly influence the performance. This is not to be taken lightly, and due importance should be given to application icons. By default, OutSystems provides font-awesome for icons. For some custom design, one might use images for icons. It will impact application performance and also create a flickering screen on slow internet. Instead, convert icon images into the font file and use it in applications. It will reduce the size of the application and screen loading time.
Reduce number of request from application to server
Undoubtedly too many requests to servers also impact application performance. In OutSystems, when it comes to mobile application, each server action is considered as a request. To reduce the number of requests, wrap all server actions for single business logic into one server action.
Using server-side validations to increase data consistency for application
While client-side validations are much faster, there is always a possibility of user by-passing the form validations. Client-side validations are more effective to bring rich user experience and reduce server transact network time, but this might reduce data consistency for the application systems. Server-side validations are much secured and ensures data consistency for the application.
Use structure and JSON serialize for encryption
For service-based applications, we need to enable extra security layer for data over the network. For this, we need to implement encryption for request and response data. Instead of encrypting each request and response data, we can create structure and serialize into a JSON string and then we can implement single encryption.
Manage user experience for applications
Mobile applications should have a good user experience. We need to handle the loading for screens, proper data type keypad and alerts for both deleting and resetting.
Handling exceptions for applications
A mobile application must handle all exceptions. Any exceptions raised in the application during run-time should be handled and it should allow users to continue the current activity without closing the application. In Conclusion, taking into consideration the above mentioned suggestions, one can build mobile application effectively efficient at uncompromising speeds on #1 low-code platform OutSystems.