🧊Developing the main application

Guide on how to develop your own main application inside saaster

We assume that by now you know what the scenarios are in saaster. If not, please read this chapter.

You can create your own application in the "myapp" directory.

myApplication.cfc

If you want to write functions that actually have to be processed in application.cfc, you can use the file myApplication.cfc.

If you want to write functions that actually have to be processed in application.cfc, you can use the file myApplication.cfc. It contains the following prepared functions:

  • ownApplicationStart()

  • ownSessionStart()

  • ownRequestStart()

  • ownRequest()

All these functions are called at the corresponding point in the application.cfc.

The file navigation.cfm is included in the main menu. You can add to it and use it as you wish.

login_include.cfm

If you want to run some functions or processes after a customer logs in, you can do this in the login_include.cfm file. This file is called at the last position after the login.

Folder "widgets"

On the dashboard you can place various widgets that are related to your software or modules.

A widget is always programmed in a single file and called up with the "Widgets" module. More about the module here: System: Widgets

You can also get ready-made code snippets from the framework "Tabler", which we use for saaster.

Design template

You will find the file view_template.cfm in the folder "views". This gives you a nice template for your content.

Last updated