Introduction
SXIMO Builder is based on the Model-View-Controller development pattern. MVC is a software approach that separates application logic from presentation. In practice, it permits your web pages to contain minimal scripting since the presentation is separate from the PHP scripting.
The Model represents your data structures. Typically your model classes will contain functions that help you retrieve, insert, and update information in your database.
The View is the information that is being presented to a user. A View will normally be a web page, but in Sximo, a view can also be a page fragment like a header or footer. It can also be an RSS page, or any other type of "page".
The Controller serves as an intermediary between the Model, the View, and any other resources needed to process the HTTP request and generate a web page.Folder Structure
- app
- bootstrap
- public
- vendor
- artisan
- composer
- phpunit
- readme
- server
- protected
- uploads
- sximo
- packages
- .htaccess
- index
- logo.ico
- robots
- setting
We have change folder structure , so it will ready to be application as on root or sub root application
Module Structure
Everytime you create new module , it wil create files and folder as following items :
- protected
- app
- controllers
- ModuleController.php
- models
- Module.php
- views
- module
- index.blade.php
- form.blade.php
- view.blade.php
- inlineview.blade.php
- module
- controllers
- app