Skip to content

Version 2 of the phpOpenFW web development framework.

License

Notifications You must be signed in to change notification settings

weyus/phpOpenFW2

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation



phpOpenFW



phpOpenFW is an open source MVC PHP web development framework released under the MIT License.


Author


Christian J. Clark


Website / Documentation


http://www.phpopenfw.org/


License


Released under the MIT License: https://mit-license.org/


Version


2.0.6.3


Requirements


phpOpenFW requires PHP >= 5.4, libxslt, libxml, php-xsl, and php-xml.


Features


phpOpenFW has an abundance of features that facilitate the development of powerful, flexible applications, sites, and scripts. Below is an outline of some of the features offered by phpOpenFW:

Framework Facilities

  • Database Abstraction Layers
  • Active Record Class
  • SQL Query Builder
  • XML Element Class (abstract)
  • HTML Helpers
  • Form Engine
  • Plugin Facility

Application Facilities

  • Built-in Authentication services
  • Module list / Navigation Facility

Plugins

  • XML Transformation (using XSL)
  • Quick Database Actions
  • Date / Time Functions
  • Code Benchmark

Apache ModRewrite Rules


When using the nav_xml_format of "rewrite", you need to have to following apache mod_rewrite rules in place for the application navigation to work correctly. You can tweak the rules to suit you application, but there needs to be a catch-all rule that forward all pages through the applications main index.php script. Also, the pass-through for the CSS, images, and Javascript is important as well.

Example:

RewriteEngine On RewriteRule ^([^/\.]+).html$ index.php?page=$1 [L] RewriteRule ^(themes|css|img|javascript) - [L] RewriteRule .favicon.ico$ - [L] RewriteRule ^.$ index.php [L,qsa]

If you are using Virtual Document Roots with Apache your rules will most likely need to look something like this:

RewriteEngine On RewriteBase / RewriteRule ^([^/\.]+).html$ index.php?page=$1 [L] RewriteRule ^(themes|css|img|javascript) - [L] RewriteRule ^.favicon.ico$ - [L] RewriteRule ^.$ index.php [L,qsa]

About

Version 2 of the phpOpenFW web development framework.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 97.5%
  • XSLT 2.5%