PHP Work Framework

From Seo Wiki - Search Engine Optimization and Programming Languages

Jump to: navigation, search
PHP Work Framework
Stable release 1.0.1 / February 18, 2009; 429478212 ago
Operating system Cross-platform
Type Web application framework
License MIT license

PHP Work Framework is an ASP.NET-like, open source, object-oriented web application framework created to facilitate the development of PHP-based websites in a very fast, reliable, safe and well-organized way. It is event-driven, component-based, AJAX compatible. PHP Work Framework is published under the permissive MIT License.



The framework started as a small subproject to help build the back-end module of an existing website in the early days of 2005. Later it served as platform for creation of websites, web based content management systems and administration modules. At the end of 2007 it became publicly available as separate framework under the name QPHP with well written documentation and plenty of examples. On February 18, 2009 the name was changed to PHP Work Framework as it became part of broader set of frameworks covering the most used functionality in PHP, Java and Flash. The new version completely supports the old version with the exception of a couple of small things. The only big difference is the suspended support of PHP 4.XX.


  • PHP5 compatibility
  • Event-driven, component-based
  • Brings the elegance of Java and C#
  • Relies extensively on OOP concepts
  • Code-behind approach is used - .PHP(presentation logic), .PHP.SCRIPT(business/programming logic)
  • Ajax support
  • Support for multiple database systems - Oracle, MySql, PostgreSQL
  • Internationalization
  • Simple input validation
  • View/Session/Application states
  • Encryption algorithms like XXTEA, XOR, Base64, Mcrypt


  • There is a predefined directory structure that allows you to place all HTTP visible resources in public folder and all sensitive resources in protected folder
  • When transferred between pages the data could be easily encrypted
  • Form re-submit can be easily prevented or caught and handled
  • SQL injection safe

Data validation

There is a simple class that provides many predefined methods for data validation. It can assure that a text field is integer, date, money, round number, min/max characters string, phone, etc.



PHP Work Framework is supposed to work on any Linux/Windows machine running web server that serves PHP 5.XX pages. It is fully tested in these environments:

  • Win XP SP2, Apache 1.3.31, PHP 5.2.8
  • FreeBSD 6.2, Apache 2.2.6, PHP 5.2.8
  • CentOS 5, Apache 2.2.6, PHP 5.2.8


The framework components are well tested using the following browsers:

  • Internet Explorer 6, 7
  • Firefox 1.0, 1.5, 2.0, 3.0
  • Mozilla 1.0, 1.5, 1.7, 2.0
  • Opera 7.50, 8.0, 8.50, 9.0, 9.20, 9.63
  • Safari 3.0.4, 3.0.5
  • Avant Browser 10.2, 11.5
  • Maxthon 1.5, 1.6, 2.0
  • SeaMonkey 1.1.7
  • Google Chrome 1.0

See also

External links

Personal tools

Served in 0.640 secs.