VihvLCC  3.0.0
Vigorous Hive Loosely-Coupled Components

The point is to create components for php which could be used in almost ANY application architecture. You can use whem alone (this is the best), or you can embed them into existing site, cms or framework

Some useful features:

  • Each component can be used as standalone web-application
  • Event-based logic, with Event Handlers, which can be defined anywhere and than passed to the control
  • Model/View/Control levels are totally independant. You can use same cotrols with different views and(or) models without changing control code
  • Flexible access control on every control and event. You can implement your own ACL class and get total control over user access, or you can use standart libraries like Zend_Acl or VihvXmlAcl
  • XSLT based templetes for HTML output, however you can use any other templates if you want

    Example: Creating standalone blog
    in your index.php

require_once "vihv/includeAll.php";
$Control = new TBlogControl(new _C("design/MyBlog.xsl"));
::DoEvents();
echo $Control->GetHtml();