Arrow
Return to blog posts
21/11/18

The #2 developer newsletter

The #2 developer newsletter

Good morning,

New release, new newsletter for developers!

For your information, the Simplicité platform version 4.0 P22 Release Candidate has been made available on the Git branch (preview version of the template) and as a Docker beta image.

If no questions and/or blockages are raised by November 23, 2018, this release will be considered the P22 Release.

Thank you in advance for your help in the final validation process for this release. It is only logical that after this release we will move on to the development of the P23.

[For all intents and purposes, we recommend that you always go to The dedicated page to the release notes for the most “up to date” information.]

Soon the end of support and maintenance of the Release 3.1 by Simplicité (December 2018). We recommend that you consult the summary page on the versions for more information.

Changes in the “core” of the platform

• Update of third party libraries.
• The I/O service is now available on 3 endpoints:

  • The I/O terminal (/io) using I/O authentication.
  • The API terminal (/api/io) using API authentication.
  • The user interface terminal (/ui/io) using UI authentication (the XML & CSV import pages have been redone to use it)

• Optimizations:

  • To limit memory usage, all interfaces now use Java Streams instead of bytes arrays.
  • Some methods with bytes array are now obsolete Adapter, Integration, import Module/XML/ZIP...
  • File uploads are stored in the temporary directory before being placed in the dbdoc directory.
  • New SAX adapter for XML import (partial reading)
  • in BLOB mode: read/write use the input/output stream, but some JDBC drivers do not support continuous reading and always use the bytes array.
  • XHR will show the data in multi-part mode (URL encoding has been abandoned to download the file without any base64 encoding)
  • Have a “memory free”: it is now strongly recommended to refactor your code with a stream/buffer reader/writer instead of large byte arrays.

Social Post now has 3 options: show messages on popup (by default), inline at the bottom of the form, and share the object to social media.

Improved Git export to allow analysis Sonarqube® modules (Rhino and Java).

• Addition of the Open Street Map tool class and integration of the library Leaflet. Leaflet is a library that allows better integration of maps for mobile terminals.

User interface what's new?

• Refactoring ofXML import, make sure that result logs are not displayed by default to limit stream/memory size.
• Refactoring ofCSV import which allows many new options that make importing very easy, practical and more user-friendly. On the menu, automatic “mapping” of columns and new options:

  • Choose the presence of a header or not
  • Choose the type of separator for the column: semicolon ';', ', comma', 'pipe' | ', or even tab'\ t'.
  • Make a quote
  • Add a new line
  • Make a comment
  • Choose between a 'direct CSV => DB' or indirect CSV=>XML=>DB import

• New display option for relationship links N, N simple as a control “pillbox”. Only basic actions (search, add, delete) are available for this new use.

  • Attached is an example with a list of countries without having to show the full list:

A single development for all screens

A new category is emerging in the developer newsletter: Mobile.

With 3 billion people who own a smartphone, but no laptop, and a record penetration rate, mobiles devour everything in their path.
(Source*@benedictevans)

In order to meet this reality, Simplicité is now more easily integrated into smartphones thanks to the possibility of publishing on stores (Android and IOS).

We have Write a short tutorial to tell you a bit more about how to create, test, develop your (mobile) applications with Simplicité. So on the menu:

• New tools based on Google Firebase to send notifications to mobile devices and browsers.

• Creation of your hybrid application for Android and iOS.

Note that the path to publishing on the stores is described in the tutorial but you should have your own Android and IOS accounts to publish on these stores.

Repair: — bugs + fun

• Fixed the social messages page for users who did not have an image on the Legacy UI.

• Fixed a ZIP & Git export issue on Java of the coded object in the context of object inheritance.

• Fixed the location of the endpoint defined in the code (note that it breaks compatibility on some low-level initialization APIs on Grant that should not be used in custom code).

• Fixed the full text search on MySQL/MariaDB.

• Fixed the removal of the model editor view.

• Fixed the expression filter with brackets.

• Fixed the export of the module when the parent object is outside the module.

• Fixed the SAX import to ignore non-flow flows.

• Fixed a UTF-8 encoding problem on the SVG modeler.

• Correction of navigation after a mass update of foreign keys.