Skip to content
/ ymvc Public

MVC Framework and content management system with XSLT and PHP views

Notifications You must be signed in to change notification settings

ydk2/ymvc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YMVC Framework

Simple MVC framework for PHP 5.4+ used XSLT and PHP views.

Some info

  • For example use please look in system folder, more examples in future.
  • Version 0.2.12 RC2

To lern how use YMVC simple look in sample app

Some working Demo

Working test on server you can see here's YMVC testing. Remember it is very early state of work.

Is done

  • Loaders for Views both XSLT and PHP
  • Same functions names in both mode
  • App scheme , some helpers
  • Easy change views, models
  • Call PHP called class functions inside XSLT: 'php:function($self,'function_name','arg1','arg2'...)', param "$self" represent "$this" work only with current class
  • DB connector using PDO (Sqlite not memory, PoSQL class not included, MySQL)
  • Errors support by "SystemExceptions" class, get and set by $this->error
  • Example testing controllers with views in "system/controllers", "system/views" and sample model in "system/models"
  • Added virtual functions: "onInit" called in constructor, "onRun" called in view, "onEnd“ called after view and "onDestruct" called in destructor.
  • Register views for controller with property "registered_views" as array of strings, will enable with property controller 'only_registered_views' default FALSE
  • add controllers functions "UnRegisterView($view)", "RegisterView($view)"

Now working on

  • Routing and layouts

Featured

  • Multi locale support
  • Routing from GET and array or DB table
  • Files and directories helper, read write upload etc...
  • And many more...

Who do I talk to?

About

MVC Framework and content management system with XSLT and PHP views

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published