# Advanced usage STLSe focuses on flexibility and providing with as much as possible minimal set of guidelines. The following are some of the more advanced use cases that are possible with STLSe --- --- ### Database module A module can be used as a database middleware and then it is triggered for *every* database call. This module can then take the call and modify it as needed, for example: - do some additional processing - trigger other hooks - encrypt/decrypt data - redirect query to different source - translate mongodb query to SQL queries --- --- ### Develop in production When developing your own module you can see the live result with a system that's directly in production without needing to have maintance mode. You can either: - change the module version to the one your developing for all users - or you can add the "modules override" section and change the version only for the user ID that you specify this allows you to debug an issue directly in production without the need of expensive and tedious work analysing logs! --- --- ### Headless application It is possible to develop a "headless" application, or in other words an application with no frontend component. This application can then be used as a backend only endpoint for your other software or even mobile applications. You can then attach your own custom frontend and use STLSe only for backend tasks and database storage. --- --- ### Portable Toolkit You can create your own set of modules that act as a toolkit with different functions/optimisation/cleaning that you can port between different database/systems simply by changing the database module connected. For example you can create an STLSe application that has a module to analyze your database for potential optimisation and other module picked from the marketplace, then you can connect this STLSe application to your own database by simply creating an ad-hoc database module and/or re-using one from the marketplace. Once you apply all the optimisations and perform your analyses, you can then switch the database module configuration to attach to another database and perform immediately different tasks there. --- --- ### Other usecases These are just some of the ore advanced/hidden use cases of STLSe, if you have your own suggestion to add to this list, please share your idea on