Tutorial Blog – Online Free Tutorial Free online Tutorial blog

29Oct/090

PHP Work Framework

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.

History

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.

Features

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 - .PHP(presentation logic), .PHP.SCRIPT(business/programming logic)

Ajax support

Support for multiple database systems - Oracle, MySql, PostgreSQL

Internationalization

Simple input validationView/Session/Application states

Encryption algorithms like XXTEA, XOR, Base64, Mcrypt

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 folderWhen transferred between pages the data could be easily encryptedForm re-submit can be easily prevented or caught and handledSQL 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.

Requirements

Server

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.8FreeBSD 6.2, Apache 2.2.6, PHP 5.2.8CentOS 5, Apache 2.2.6, PHP 5.2.8

Browser

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
  • Share/Bookmark
Filed under: Framework No Comments
29Oct/090

Zend Framework

Zend Framework (ZF) is an open source, object-oriented web application framework implemented in PHP 5 and licensed under the New BSD License.

History

Zend Framework was conceived in early 2005 while many new frameworks, such as Ruby on Rails and the Spring Framework, were gaining popularity in the web development community. ZF was publicly announced at the first Zend Conference in October 2005.

On July 1, 2007, Zend Framework 1.0 was released.

Philosophy

ZF is a use-at-will framework. There is no single development paradigm or pattern that all Zend Framework users must follow, although ZF does provide components for the MVC, Table Data Gateway, and Row Data Gateway design patterns. Zend Framework provides individual components for many other common requirements in web application development.

Zend Framework also seeks to promote web development best practices in the PHP community; conventions are not as commonly used in ZF as in many other frameworks, rather suggestions are put forth by setting reasonable defaults that can be overridden for each ZF application’s specific requirements.

Licensing

Zend Framework is licensed under the Open Source Initiative(OSI)-approved New BSD License, and all code contributors must sign a Contributor License Agreement (CLA) based on the Apache Software Foundation’s CLA. The licensing and contribution policies were established to prevent intellectual property issues for commercial ZF users, according to Zend’s Andi Gutmans.

Sponsor and partners

Zend Technologies, co-founded by PHP core contributors Andi Gutmans and Zeev Suraski, is the corporate sponsor of Zend Framework. Technology partners include IBM, Google, Microsoft, Adobe Systems, and StrikeIron.

Requirements

Zend Framework requires PHP 5.2.4 or later since version 1.7.0. Previous versions required PHP 5.1.4 or later, although the ZF Programmer’s Reference Guide strongly recommended PHP 5.2.3 or later for security and performance improvements included in these versions of PHP. PHPUnit 3.0 or later is required to run the unit tests shipped with Zend Framework. Many components also require PHP extensions.

Features

Zend Framework features include:

All components are fully object-oriented PHP 5 and are E_STRICT compliant

Use-at-will architecture with loosely coupled components and minimal interdependencies

Extensible MVC implementation supporting layouts and PHP-based templates by default

Support for multiple database systems and vendors, including MySQL, Oracle, IBM DB2, Microsoft SQL Server, PostgreSQL, SQLite, and Informix Dynamic Server

Email composition and delivery, retrieval via mbox, Maildir, POP3 and IMAP4

Flexible caching sub-system with support for many types of backends, such as memory or a file system.

Code, documentation, and test standards

Code contributions to Zend Framework are subject to rigorous code, documentation, and test standards. All code must meet ZF’s coding standards and unit tests must reach 80% code coverage before the corresponding code may be moved to the release branch.

  • Share/Bookmark
Filed under: Framework No Comments
29Oct/091

LISA MVC

LISA is an open source object oriented web application framework based on PHP 5.3 and Smarty template engine. LISA follows the model view controller architecture, and licensed under Gpl version 3. Version 0.2.0 using namespaces, late static bindings and many of PHP’s new features.

Features

  • Use mod rewrite for human URIs
  • Fast and flexible templating with layout support
  • “On the fly” image resizing system
  • Access Control Library
  • Easy customizing with abstractions
  • LISA session handler
  • Full view caching
  • Very lightweight

Requirements

  • PHP 5.3
  • PHP GD library for image resizing
  • Apache 2 or other compatible webserver with rewrite module
  • Share/Bookmark
Filed under: Framework 1 Comment
29Oct/090

Zoop Framework

Zoop Framework stands for Zoop Object Oriented PHP Framework.

Zoop is a free software, object oriented web application framework for PHP based on the Model View Controller Methodology. It is considered one of the more full featured frameworks available for php.

History

Zoop was originally created in 2001 and shortly after dubbed the pehppy framework. Three independent groups used and developed separate code bases of this pehppy framework. In 2004 Steve Francia decided to try to merge the three code bases back into one code base, taking the best features from each. Francia also took over as project manager of this project. So many changes were made that the development team agreed that perhaps a new name would be a wise choice and so the once pehppy framework was renamed the Zoop Framework for PHP.

  • Share/Bookmark
Filed under: Framework No Comments
29Oct/090

PHP For Applications

P4A - PHP For Applications is a RAD and object oriented web application framework written in PHP (version 5), for building event-driven stateful web applications. It is based on Zend Framework and features tableless HTML, multiple databases, accesskey support, auto data type recognition, transparent AJAX, UTF-8, i18n/l10n.

History

P4A started in 2003.

Features

P4A uses Zend Framework, jQuery, jQuery UI and FCKeditor and is:

100% PHP5Compatible with PHP 5.2.x, Apache 1.3.x/2.0.x and Microsoft IIS 6.0 web servers on Linux/Unix/Windows operating systems

Completely object oriented and event based programmingBased on [Zend Framework] 1.5 (using Zend_Date, Zend_Db, Zend_Locale, Zend_Validate, Zend_Translate)

Stateful as a classical client application

Easy access to all major database engines (MySQL, PostgreSQL, Oracle, SQLite) through Zend_DB, with automatic data input mask generation

Multiple database connections at the same time

Automatic database data type recognition and consequent functionalities for automatic formatting and normalizing (integers, decimals, floats, date and time formats, booleans) coherent with the national locale settings

Many user interface elements (Widgets) such as single line or multiple lines text fields with advanced rich WYSIWYG text editing support, checkboxes, single/multiple selection fields, tables, buttons, tree navigators, toolbars, fieldsets etc…WYSIWYG advanced editor (FCKeditor) with file upload

Transparent AJAX support (forget about javascript programming, everything is AJAX based in P4A but you can completely disable ajax with a single line of code, redesign one or more or every widgets on the screen after every AJAX call only using PHP instructions)

methods calls chainability440 locales supported (numeric and date formats) thanks to the ZF implementation of the Unicode’s CLDR

More than 40 translations bundled

Completely UTF-8

Hyper customizable with color schemas, icons packs, additional CSS

Project status

Current stable version is version 3.2.

  • Share/Bookmark
Filed under: Framework No Comments