Friday, September 13, 2019

NIS v0.9.19a is released and ready for testing!

Nemesis Information System v0.9.19a is released for public alpha test! What's new in version 0.9.19a:

  • Search by text is enabled for popup lists: when a form requires you to enter the ID of a certain database item (such as products, projects, orders, etc.) in the backend system, you can search for texts in the records so you will find the appropriate item easier. Since you have to enter the ID of the item in the input box (not the search text), click on the '+' icon in the last column so the item ID will be copied to the input box. This makes managing the database a lot faster and easier.
  • Regular bugfix: a number of bugs have been fixed as the base system was re-written for better modularity. Additional small improvements were applied on the application as well.

For developers:

A small micro PHP framework was built and now the web application of NIS is based on this framework. This is not an MVC framework yet as it lacks the 'View' part currently. Instead, classes for entities are used for handling complex objects. Most of the global constants and function have been moved to these entity classes as well. The architecture of NIS is based on the following elements:

  • MODEL: the class for generic objects for interacting with the database. Most of the read/write operations are executed using these objects. The database connection is created with this class as well.
  • CONTROLLER: the class for generic objects for processing the user input and passing them to MODEL objects, then generating output based on the result of database interactions. Most of the backend modules are now implemented by child classes of the CONTROLLER class.
  • Entities: these are special classes for complex database items, which would be hard to manage without these classes. These classes were used in NIS before the new framework for it was created. Entities are somewhere between models and controllers as they are used for both interacting with the database and processing user input, then generating output based on the results, but they cannot be truly enrolled to any of the groups above.

For further information, please check the web API documentation.

Please note NIS is still in alpha stage so using it in production environment is not recommended yet as it may still contain unknown bugs and vulnerabilities!

For testing purposes, feel free to download and install the application!