Antares has been designed to help developers deliver a modular and scalable application. In order to fulfill that condition, Antares functionality has been separated into packages called modules.
Modules are like mini-applications within the system, they can be treated like the blocks from which the whole application is built.
Additional benefit of having modular architecture is to reuse the code written once.
Modular applications require a slightly different approach than classic, non-modular ones: Modules must keep a similar form Data flow between the modules must be controlled by dedicated interfaces, implemented on the main system engine
The key is to design the module to be used in multiple projects, not only the particular one, so you and other contributors will avoid the code duplication and reinventig the wheel. This approach in a long term will make your and others life easier.
Every module in Antares can interact/handle following aspects:
- Navigation control (breadcrumbs, menus, placeholders, panes etc.) - which provides browsing between the module views and other modules.
- Views - presentation layer which is responsible for deliver graphical user interface (GUI).
- Actions - working with data, classic CRUD (create, read, update, delete).
- Data binding - a separated data layer to maintain independence between views and database.
In Antares, modules are divided into two groups:
This group includes modules which are responsible for delivering functionalities within the application core - the heart of Antares. These modules are required for every Antares environment.
Currently there are 5 core modules:
- Automation - used to execute cyclic operations based on laravel task scheduler.
- Acl - designed to manage users’ access to resources.
- Logger - responsible for gathering the logs coming from different parts of the system.
- Notifications - used in order to execute the process of sending notifications to end users.
- Translations - language and translations manager.
Extending the application functionality which is not a part of main Antares branch and are not required. You may want to use them or not, depending on the project type.
Please note: The Antares Module structure is following Laravel package standard with very slight improvements. If you know how to make a package for Laravel, then it will be super easy for you to build modules for Antares.*
Making your own module
If you’d like to make your own Antares Module, we suggest you to follow one of the following paths: