QPHP Framework
Encyclopedia
The Quick PHP Framework is an event-driven(EDP), component-based web framework similar as architecture to ASP.NET
ASP.NET
ASP.NET is a Web application framework developed and marketed by Microsoft to allow programmers to build dynamic Web sites, Web applications and Web services. It was first released in January 2002 with version 1.0 of the .NET Framework, and is the successor to Microsoft's Active Server Pages ...

. It is a tool, which will help you to create any PHP
PHP
PHP is a general-purpose server-side scripting language originally designed for web development to produce dynamic web pages. For this purpose, PHP code is embedded into the HTML source document and interpreted by a web server with a PHP processor module, which generates the web page document...

-based website in an easy, fast, reliable, safe and well-organized way. It comes with 40+ components, 80+ demos and many tutorials. The framework has very short learning curve, so anyone can start using it efficiently in less than 3 hours.

On February 18, 2009 the name was changed to PHP Work Framework. Project appears to be defunct (website no longer loads).

History

QPHP started as a small subproject to help build the back-end module
Module
Module or modular may refer to the concept of modularity. It may also refer to:-Computing and engineering:* Modular design, the engineering discipline of designing complex devices using separately designed sub-components...

 of an existing website
Website
A website, also written as Web site, web site, or simply site, is a collection of related web pages containing images, videos or other digital assets. A website is hosted on at least one web server, accessible via a network such as the Internet or a private local area network through an Internet...

 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

  • PHP5 compatibility
  • Event driven, component based
  • 40+ widgets
  • Skins
  • Desktop applications
  • Brings the elegance of Java
    Java (programming language)
    Java is a programming language originally developed by James Gosling at Sun Microsystems and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++ but has a simpler object model and fewer low-level facilities...

     and C#
  • Relies extensively on OOP
    Object-oriented programming
    Object-oriented programming is a programming paradigm using "objects" – data structures consisting of data fields and methods together with their interactions – to design applications and computer programs. Programming techniques may include features such as data abstraction,...

     concepts and the MVC
    Model-view-controller
    Model–view–controller is a software architecture, currently considered an architectural pattern used in software engineering. The pattern isolates "domain logic" from the user interface , permitting independent development, testing and maintenance of each .Model View Controller...

     design pattern
    Design pattern
    A design pattern in architecture and computer science is a formal way of documenting a solution to a design problem in a particular field of expertise. The idea was introduced by the architect Christopher Alexander in the field of architecture and has been adapted for various other disciplines,...

  • Code-behind approach is used
  • Ajax support
  • Simple database access + Criteria API (MySQL, PostgreSQL, Oracle)
  • Internationalization
    Internationalization
    In economics, internationalization has been viewed as a process of increasing involvement of enterprises in international markets, although there is no agreed definition of internationalization or international entrepreneurship...

  • Simple input validation
  • View/Session/Application states
  • Caching
  • Templates
  • Provides easy way (Widget API) to integrate thousands of free JavaScript
    JavaScript
    JavaScript is a prototype-based scripting language that is dynamic, weakly typed and has first-class functions. It is a multi-paradigm language, supporting object-oriented, imperative, and functional programming styles....

    /jQuery
    JQuery
    jQuery is a cross-browser JavaScript library designed to simplify the client-side scripting of HTML. It was released in January 2006 at BarCamp NYC by John Resig...

    -based widgets
  • Full documentation
  • Tutorials and many, many examples

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
  • Encryption algorithms
  • SQL injection
    SQL injection
    A SQL injection is often used to attack the security of a website by inputting SQL statements in a web form to get a badly designed website in order to dump the database content to the attacker. SQL injection is a code injection technique that exploits a security vulnerability in a website's software...

     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.

Desktop applications

QPHP provides a package through which the developer can create web-based desktop applications. Such applications can be based on unlimited windows and the end user won't be bothered to refresh and reload the page content over and over again. Web-based backends, HTML5 games or chat applications could be great examples. The package provides abstract model for creating any kind of windows plus some classes covering the basic operations for displaying, creating or modifying data. The package is fully customizable and the desktop can look like Win7, Windows Vista
Windows Vista
Windows Vista is an operating system released in several variations developed by Microsoft for use on personal computers, including home and business desktops, laptops, tablet PCs, and media center PCs...

, GNOME
GNOME
GNOME is a desktop environment and graphical user interface that runs on top of a computer operating system. It is composed entirely of free and open source software...

, KDE
KDE
KDE is an international free software community producing an integrated set of cross-platform applications designed to run on Linux, FreeBSD, Microsoft Windows, Solaris and Mac OS X systems...

, etc.

Server

QPHP can work on any Linux
Linux
Linux is a Unix-like computer operating system assembled under the model of free and open source software development and distribution. The defining component of any Linux system is the Linux kernel, an operating system kernel first released October 5, 1991 by Linus Torvalds...

/Windows machine running web server
Web server
Web server can refer to either the hardware or the software that helps to deliver content that can be accessed through the Internet....

 that serves PHP 5.1+ pages. It is fully tested in these environments:
  • Win XP SP3, Apache 1.3.31, PHP 5.1.8
  • CentOS 5.1, Apache 2.2.6, PHP 5.2.5

Browser

The framework components are well tested using the following browsers:
  • Internet Explorer
    Internet Explorer
    Windows Internet Explorer is a series of graphical web browsers developed by Microsoft and included as part of the Microsoft Windows line of operating systems, starting in 1995. It was first released as part of the add-on package Plus! for Windows 95 that year...

     6, 7, 8, 9
  • Firefox 2.0, 3.0, 3.5
  • Opera
    Opera (web browser)
    Opera is a web browser and Internet suite developed by Opera Software with over 200 million users worldwide. The browser handles common Internet-related tasks such as displaying web sites, sending and receiving e-mail messages, managing contacts, chatting on IRC, downloading files via BitTorrent,...

     7.50, 8.0, 8.50, 9.0, 9.20, 10, 11
  • Safari
    Safari (web browser)
    Safari is a web browser developed by Apple Inc. and included with the Mac OS X and iOS operating systems. First released as a public beta on January 7, 2003 on the company's Mac OS X operating system, it became Apple's default browser beginning with Mac OS X v10.3 "Panther". Safari is also the...

     3.0.4+
  • Avant Browser 10.2+
  • Maxthon 1.5+
  • SeaMonkey 1.1.7+

See also


External links

The source of this article is wikipedia, the free encyclopedia.  The text of this article is licensed under the GFDL.
 
x
OK