PHP Programming Language - Cultural View

PHP Programming Language - Cultural View PHP Programming Language - Cultural View

culturalview.com
from culturalview.com More from this publisher
10.02.2013 Views

QPHP Framework 264 QPHP Framework Stable release 0.9 / December 28, 2007 Operating system Cross-platform Type Web application framework License MIT license Website http://qphp.net/ QPHP Framework is an ASP.NET like, open source, object-oriented web application framework created to facilitate the development of PHP4 / PHP5 based websites. It is event driven, component based, AJAX compatible. QPHP Framework is published under the permissive MIT License. History QPHP 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 with well written documentation and plenty of examples. Features • PHP4 / PHP5 compatibility • Event driven, component based • Brings the elegance of Java and C# • Relies extensively on OOP concepts and the MVC design pattern • Code-behind approach is used • Ajax support • Support for multiple database systems • Internationalization • Simple input validation • View/Session/Application states Security • 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

QPHP Framework 265 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. Requirements Server QPHP is supposed to work on any Linux/Windows machine running web server that serves PHP 4.3+ pages. It is fully tested in these environments: • Win XP SP2, Apache 1.3.31, PHP 4.3.3 • FreeBSD 6.2, Apache 2.2.6, PHP 5.2.5 Browser The framework components are well tested using the following browsers: • Internet Explorer 6, 7 • Firefox 1.0, 1.5, 2.0 • Mozilla 1.0, 1.5, 2.0 • Opera 7.50, 8.0, 8.50, 9.0, 9.20 • Safari 3.0.4 • Avant Browser 10.2, 11.5 • Maxthon 1.5, 1.6, 2.0 • SeaMonkey 1.1.7 See also • Web application framework External links • Official website of QPHP Framework [1] • Demo [2] References [1] http://qphp.net/ [2] http://qphp.net/examples/

Q<strong>PHP</strong> Framework 265<br />

Data validation<br />

There is a simple class that provides many predefined methods for data validation. It can assure that a text field is<br />

integer, date, money, round number, min/max characters string, phone, etc.<br />

Requirements<br />

Server<br />

Q<strong>PHP</strong> is supposed to work on any Linux/Windows machine running web server that serves <strong>PHP</strong> 4.3+ pages. It is<br />

fully tested in these environments:<br />

• Win XP SP2, Apache 1.3.31, <strong>PHP</strong> 4.3.3<br />

• FreeBSD 6.2, Apache 2.2.6, <strong>PHP</strong> 5.2.5<br />

Browser<br />

The framework components are well tested using the following browsers:<br />

• Internet Explorer 6, 7<br />

• Firefox 1.0, 1.5, 2.0<br />

• Mozilla 1.0, 1.5, 2.0<br />

• Opera 7.50, 8.0, 8.50, 9.0, 9.20<br />

• Safari 3.0.4<br />

• Avant Browser 10.2, 11.5<br />

• Maxthon 1.5, 1.6, 2.0<br />

• SeaMonkey 1.1.7<br />

See also<br />

• Web application framework<br />

External links<br />

• Official website of Q<strong>PHP</strong> Framework [1]<br />

• Demo [2]<br />

References<br />

[1] http://qphp.net/<br />

[2] http://qphp.net/examples/

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!