Skip to content

urazovm/portfolio

 
 

Repository files navigation

Framework

This framework is a little project, base on a main scripting language, PHP, I append support for some different scripting language that is compile on JavaScript or on CSS.

Languages support by the framework :

Cascading style sheet preprocessor :

- SCSS
- SASS
- LESS

JavaScript preprocessor :

- CoffeeScript
- ECMAScript 2015

Route - Controller

This framework is base on route object that use route to access on a specific controller. That create the view using some models objects and functions. Before controller execute, execution task can be execute.

Create a route is easy :

Route::on( 'url', [/* here depens also tasks */], function( array $args = null ) {
    # do stuff here
});

url can be pcre expression, but slash are automaticly backslash.

View

To show a view the php file must be in views directory. Call a view it is easy :

echo View::make( filename, arguments, layout );

Models

Classes and functions are on models directory.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 89.6%
  • JavaScript 10.1%
  • CSS 0.3%