Introduction


Convertigo 7.7 is the new release of the leading Open Source Low Code platformfeaturing a powerful back-end serverMBaaS and an integrated MXDP (Multi eXperience Development Platform) based on Cordova and open SDKs able to integrate Native iOS and Android.

Convertigo 7.7 code named “Iridium” is a major release of the platform. This version adds new functionalities and enhances existing ones. This document will describe all the new features available in this release.
Most of these enhancements and new features comes from requests from the 150 000 Users of the Convertigo community. We compiled them and “elected” the most important ones to be available in this release.



Mobile Builder new Features

Lazy loading support

Starting from 7.7, Mobile Builder automatically supports Lazy Loading. This enables applications to load pages and components dynamically as the user navigates through the app.

This way, very large applications can display a first page very quickly and load other pages in a background task or as the user accesses the other pages.

This is controlled by the new page ‘Preloading’ property. The property can be set to :

– Low : The page will be loaded in a background task.

– High : The page will be loaded immediately when the app starts.

– Off: The page will not be loaded until the user accesses it.

Lazy loading is very useful for PWA and Desktop Web apps when network bandwidth is low or for large Android (APK) or iOS (IPA) apps to optimize the application startup time and the memory footprint.






img1










New ‘Finally’ handler

Previous Convertigo versions already introduced the ‘Fail’ and ‘error’ handlers.
We now have the ‘Finally’ handler. Any action placed under this handler will be executed whether there were errors or not.

img2







Shared components enhancements

Version 7.6 introduced with the shared component the ability to reuse some components across the pages of the same app or even across different projects, but these components were only static with no variable data.

In 7.7 we can now have variables to dynamically pass data and settings to shared components. Also, the shared components will be now able to handle all the page events such as the onWillEnter or onDidEnter. This gives the components the ability to perform action during its lifecycle.

Even more, Shared Components can interact with their hosting page using the publishEvent Actions.

This gives Convertigo Mobile builder the full capacity of Low Code components reusable across different projects

This way, you can create libraries of shared components reusable among all your enterprise.

cloud_3



Automatic i18N support

Internationalization is a very important feature for Enterprise apps. Although we supported i18n in previous versions, it had to be handled manually by using a ‘translate’ angular pipe.

This is now done automatically using the new ‘I18n Translate’ property for ‘Text’ components.

Create your project normally by entering some display text in the Text components and then use the new ‘Project->Mobile Application->Application->Create or update translation file’.

The Dialog box will ask you what are the language file you want to generate / update and the original language. If you click the ‘Use ‘Google Trad API’ check box, Convertigo will use Google’s IA to translate automatically the language files for your app.

For any other property in a component or an action you can use
this.translate.instant(‘My_ I18N_Key’)
in TS mode to handle i18n for this property. You just have to ensure that the My_ I18N_Key’ is properly setup in the translation files.

img4



Global Studio enhancements

GIT Support

We continue in our effort to better support GIT and SCMs. This is why Shared components and Shared actions are now saved in separate files to avoid GIT conflicts.

Also FullSync Design documents are saved in multi-line mode in the YAML files so that you can easily see the differences between 2 version.

git



GIT Project references

You can now import a project directly from a git repository if you have your project’s GIT repository URL.

Also you can use the ‘Reference’ Object to explicitly set a GIT repository URL. This way when your project will be imported in the Studio workspace, Convertigo will automatically use all the referenced objects to pull from GIT all required sub projects for your app.

This opens the path to shared components libraries using an automatic dependency manager.

git
git



img7

New « Light » export/deploy Wizard

When you want to export or deploy a project, you probably do not want to export too much data. This new wizard will help you select what parts of the projects you want to export.





MBaaS enhancements

Multi-tenant cloud support

To achieve this, we need that each instance use different isolated CouchDB databases. This is why MBaaS server now supports a
convertigo.engine.fullsync.couch.prefix=myprefix
Java system variable. When this variable is set to a given prefix, all CouchDB databases handled by this instance will be prefixed and isolated with this setting.

Also, from the administration console a new FullSync icon has been added. Clicking this icon will enable administrators to browse their instance’s isolated CouchDB databases, with of course no access to any other database held in the cluster.Also, from the administration console a new FullSync icon has been added. Clicking this icon will enable administrators to browse their instance’s isolated CouchDB databases, with of course no access to any other database held in the cluster.

git
git

New Mango Queries support

CouchDB mango queries are very useful to extend the classic Map/reduce View mechanism. Convertigo 7.7 adds support for this by adding a new ‘PostFind’ transaction

JSON Indexes

You can also add CouchDB Json Indexes. To do so, right click on a fullsync connector and use the ‘Index’ menu.

You will be able to configure all the fields you want to be indexed by configuring the ‘Fields’ property.

JSON Indexes will speed your Mango Queries executed on the server.

[/columna_half]
img10


img11



Automatic JSON encoding for __body

When you use an JSON HttpTransaction POST with a __body variable, and you source the __body from a sequencer Complex object, Convertigo will now automatically convert the Complex structure to JSON in the HTTP Post body.

This will be done if the content type is set to application/Json

This enhancement is very useful when you want to interact with REST/Json web services.