Mobile Vacation is a mobile application showing how Convertigo can port a human resources vacation management application to smartphones. The goal of Mobile Vacation application is to log-in as a team manager, display the team vacation calendar and accept or refuse each team member’s vacation request.
This mobile application is developped through a Convertigo Mobile project, based on the Convertigo Templating Framework (CTF), jQuery Mobile and PhoneGap/Cordova. It demonstrates several features of Convertigo Mobility Platform:
Deep dive into the detailsThe Convertigo project defines a mobile-dedicated API based on sample data. It is implemented using Sequences that retrieve data from XML files stored in the project. It could easily be connected to a real human resources database or existing application. The the mobile application is developed using jQuery Mobile framework to display touch based user interface. The application UI proposes first a login screen. Once logged in, the user can access the list of vacation to validate and the team calendar. He can also disconnect from the application. When any action is done on the application, the CTF is used to easily program the call to Convertigo server and manage responses to display data in the several screens of the application. Finally, PhoneGap turns this HTML5 coded application to a full native “appstorable” mobile application.
User/session authenticationThe mobile vacation application proposes first a login screen. The Login sequence is the only functionality that can be executed without being authenticated. Once the user is logged, the HTTP session is set as authenticated. This is done using a Set authenticated user step within the Login sequence. All other sequences from the mobile-dedicated API are protected from being executed without authenticatio. To do so, we only activated the Authenticated context required property on the sequences. If a non-authenticated user tries to execute one of the proptected sequences, Convertigo will automatically prevent the execution and return and error to requester.