https://github.com/poen0121/codeswitcher
Open source PHP web application framework based on code version control.
https://github.com/poen0121/codeswitcher
application codeswitcher framework php web
Last synced: 7 months ago
JSON representation
Open source PHP web application framework based on code version control.
- Host: GitHub
- URL: https://github.com/poen0121/codeswitcher
- Owner: poen0121
- Created: 2017-03-30T09:12:57.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2018-08-28T01:56:02.000Z (over 7 years ago)
- Last Synced: 2023-09-17T09:50:39.674Z (over 2 years ago)
- Topics: application, codeswitcher, framework, php, web
- Language: PHP
- Homepage:
- Size: 300 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CodeSwitcher
PHP Framework ( PHP >= 5.2.12 ) CLI,CGI
> About
CodeSwitcher is a web application framework with intuitive development.
We believe that development must be a simple, flexible development framework.
CodeSwitcher is the code version control framework.
Based on Model 2 MVC architecture.
-----------------------------------------------------
MVC :
( Model ) - in models directory.
( View ) - in templates directory.
( Controller ) - in events directory.
> Learning Documents
Please read `readme.php` document.
> Directory Structure
1.core : Main program files directory.
2.configs : Configs directory support version control mechanism.
3.languages : Languages directory support version control mechanism.
4.libraries : Developer libraries directory support version control mechanism.
5.models : Models directory support version control mechanism.
6.events : Events script directory relies on the version control mechanism.
7.resources : Storage resources directory version control mechanism is optional.
8.templates : Templates directory support version control mechanism.
9.storage : System storage directory.
> Version Control - Revision Rule
[Main version number] . [Minor version number] . [Revision number]
#Main version number:
A major software updates for incremental , usually it refers to the time a major update function and interface has been a significant change.
#Minor version number:
Software release new features , but does not significantly affect the entire software time increments.
#Revision number:
Usually in the software have bug , bug fixes released incremented version.
Example :
Version : 0.0.0
Version : 1.0.0
Version : 1.0.1
Version : 1.1.0
Version : 2.0.0
Version : 2.0.1
Version : 2.1.0
> Note Namespace
Global namespace code :
use csl_mvc;
use csl_error;
use csl_func_arg;
use csl_header;
use csl_inspect;
use csl_path;
use csl_import;
use csl_file;
use csl_language;
use csl_template;
use csl_version;
use csl_browser;
use csl_time;
use csl_debug;