LogoLogo
  • Introduction
    • 👋Overview
    • 🤷Target Audience
    • ✨Features
  • Getting started
    • 🖥️System Requirements
    • 📦Installation
    • ⚙️Configuration
    • 🔧Setup Routine
  • Fundementals
    • 🎎Roles
    • 🌏Countries and time zones
    • ♻️Scheduletask concept
    • 💰Payment Service Provider
    • ✏️Administration
      • 🔵Sales
        • 👥Customers
        • 📥Invoices
        • 📋Plans
        • 🧊Modules
      • 🟢System
        • 🎛️System settings
        • ⛓️API Settings
        • 🌐Languages
        • 🪙Currencies
        • 🏳️Countries
        • 📂Mappings
        • 💬Translations
        • 🪧Widgets
    • 🖱️User guide
      • 🔐Customer rights
      • 🔗Customer Navigation
      • 📃Edit profile
      • 🔑Reset password
      • 🏨Edit company
      • ⚡Manage users
      • 👔Manage tenants
      • 📨View invoices
      • 💸Add payment method
      • 🪧Manage plans
      • 📦Manage modules
      • 🔔Notifications
  • Development
    • 🛠️Local development
    • 📂Folder structure
      • 🗄️Application.cfc
    • 💡Develop with saaster
      • 🎇General services
        • 💼Mappings and rigths management
        • ↩️Redirects
        • 👤Customer specific sessions
        • 〽️Global variable "getCustomerData"
      • 🌐Global functions
        • ⚙️getTrans()
        • ⚙️getAlert()
        • ⚙️logWrite()
        • ⚙️getTime()
      • 🧊Developing the main application
      • 📦Developing modules
  • API
    • ⚒️API: Get started
    • 📂Resources
      • 📄authenticate
      • 📄getCurrentModules
      • 📄getCurrentPlan
      • 📄getPlanFeatureSetting
Powered by GitBook
On this page
  • myApplication.cfc
  • Navigation
  • login_include.cfm
  • Folder "widgets"
  • Design template
  1. Development
  2. Develop with saaster

Developing the main application

Guide on how to develop your own main application inside saaster

PreviousgetTime()NextDeveloping modules

Last updated 1 year ago

We assume that by now you know what the scenarios are in saaster. If not, please read 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.

Navigation

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.

💡
🧊
this
Tabler: Premium and Open Source dashboard template with responsive and high quality UI.Tabler
Logo