Zend Framework
Developer(s) | Zend Technologies |
---|---|
Initial release | March 3, 2006[1] |
Stable release |
3.0.0[2]
/ June 28, 2016 |
Written in | PHP 5 |
Operating system | Cross-platform |
License | New BSD license |
Website |
framework |
Zend Framework (ZF) is an open source, object-oriented web application framework implemented in PHP 5 and licensed under the New BSD License.[3]
Licensing
Zend Framework is licensed under the Open Source Initiative (OSI)-approved New BSD License. For ZFv1 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.[4] ZF2 is CLA free.[5]
Sponsor and partners
Zend Technologies, co-founded by PHP core contributors Andi Gutmans and Zeev Suraski, is the corporate sponsor of Zend Framework.[6] Technology partners include IBM,[7] Google,[8] Microsoft,[9] Adobe Systems,[10] and StrikeIron.[11]
Requirements
Zend Framework version 1.7 requires PHP 5.2.4 or later. 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. Zend Framework 2.0 requires PHP 5.3.3 or later. PHPUnit 3.0 or later is required to run the unit tests shipped with Zend Framework. Many components also require PHP extensions.[12]
Features
Zend Framework features include:[13]
- All components are fully object-oriented PHP 5 and are E_STRICT compliant, which helps in the development of building tests and writing codes in a bug-free and crash-proof application manner.[14]
- 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 MariaDB, 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.
- With the help of RPC(Remote Procedure Call) and REST(Representational State Transfer) services, Zend Apigility helps developers to create APIs, Authentication of APIs, Documentation of APIs, Easy Modification[15]
Building and running Zend Framework applications
Zend Framework applications can run on any PHP stack that fulfills the technical requirements.
Zend Technologies provides a PHP stack, Zend Server (or Zend Server Community Edition), which is advertised to be optimized for running Zend Framework applications. Zend Server includes Zend Framework in its installers, along with PHP and all required extensions. According to Zend Technologies, Zend Server provides improved performance for PHP and especially Zend Framework applications through opcode acceleration and several caching capabilities, and includes application monitoring and diagnostics facilities.[16]
Zend Studio is an IDE that includes features specifically to integrate with Zend Framework. It provides an MVC view, MVC code generation based on Zend_Tool (a component of the Zend Framework), a code formatter, code completion, parameter assist, and more.[17]
Zend Studio is not free software, whereas the Zend Framework and Zend Server Community Edition are free.
Zend Server is compatible with common debugging tools such as Xdebug.
Other developers may want to use a different PHP stack and another IDE such as Eclipse PDT which works well together with Zend Server. A preconfigured, free version of Eclipse PDT with Zend Debug is available on the Zend web site.
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.[18]
Simple Cloud API
On September 22, 2009, Zend Technologies announced[19] that it would be working with technology partners including Microsoft, IBM, Rackspace, Nirvanix, and GoGrid along with the Zend Framework community to develop a common API to cloud application services called the Simple Cloud API. This project is part of Zend Framework and will be hosted on the Zend Framework website,[20] but a separate site called simplecloud.org has been launched to discuss and download the most current versions of the API.
The Simple Cloud API and several Cloud Services are included in Zend Framework. The adapters to popular cloud services have reached production quality..
Current development
Zend Framework 3.0 was released on June 28, 2016. It includes new components like a JSON RPC server, a XML to JSON converter, PSR-7 functionality, and compatibility with PHP 7. Zend Framework 3.0 runs up to 4 times faster than Zend Framework 2, and the packages have been decoupled to allow for greater reuse.[21]
Although the contributors of Zend Framework are actively encouraging the use of Zend Framework version 3.x, they will maintain version 2.x and 1.x for the time being.
The first development release of Zend Framework 2.0 was released on August 6, 2010.[22] Changes made in this release were the removal of require_once statements, migration to PHP 5.3 namespaces, a refactored test suite, a rewritten Zend\Session, and the addition of the new Zend\Stdlib. The second development release was on November 3, 2010.[23]
The first stable release of Zend Framework 2.0 was released 5 September 2012.[24]
See also
References
- ↑ "Archives". Zend Framework. Retrieved May 1, 2013.
- ↑ Zend Framework Changelog
- ↑ "Introduction to Zend Framework". ZF Programmer's Reference Guide. Retrieved 2009-02-12.
- ↑ Gutmans, Andi (2005-10-27). "Zend Framework (post is too long so make sure to grab coffee)". Andi on Web & IT. Retrieved 2009-02-11.
- ↑ "Contributor Guide (ZF v1)".
- ↑ "History of PHP and related projects". The PHP Group. Retrieved 2009-02-11.
- ↑ LaMonica, Martin (2005-02-25). "IBM backs open-source Web software". cnet.com. Retrieved 2009-02-11.
- ↑ Kernel, Sean Michael (2006-12-20). "Google Data Joins PHP Zend Framework". internetnews.com. Retrieved 2009-02-11.
- ↑ Krill, Paul (2006-10-31). "Microsoft, Zend boost PHP for Windows". infoworld.com. Retrieved 2009-02-11.
- ↑ Potter, Mike (2014-05-21). "Adobe Contributing AMF Support to Zend Framework". The Official Flex Team Blog. Retrieved 2009-02-11.
- ↑ "StrikeIron Featured Partners". Retrieved 2009-02-11.
- ↑ "Zend Framework Requirements". ZF Programmer's Reference Guide. Retrieved 2009-02-12.
- ↑ "About Zend Framework". Retrieved 2009-02-11.
- ↑ Why to Use Zend Framework? By SuntecOSS, Retrieved, April 21st, 2016
- ↑ Zend’s Apigility, an Open Source API Builder for Developing Quality APIs By SuntecOSS, Retrieved, May 19th, 2016
- ↑ Zend site
- ↑ Features
- ↑ "Zend Framework Contributor Guide". 2006-07-01. Retrieved 2008-07-14.
- ↑ "Simple Cloud API Press Release". Archived from the original on December 1, 2009. Retrieved 2009-11-05.
- ↑ "Zend Framework website". Retrieved 2009-11-05.
- ↑ zendframework (2016-06-28). "Zend Framework 3 Released!". Retrieved 2016-10-12.
- ↑ "Zend Framework 2.0.0dev1". 2010-08-06. Retrieved 2010-09-04.
- ↑ "Zend Framework 2.0.0dev2". 2011-11-03. Retrieved 2011-03-18.
- ↑ "Zend Framework 2.0.0 STABLE Released! - Zend Framework - Zend Framework". Framework.zend.com. 2012-09-05. Retrieved 2013-06-14.
External links
- Official website
- Zend Framework by Examples (ZfEx)
- Russian Zend Framework Conference
- Zend framework VS Cake, Yii and Codeigniter comparison sheet
- A light and fast implementation of framework PHP with portions of code Zend / Framework
Tutorials
Books
- Learn ZF2 written by Zend consultants, core ZF course trainers and developers.