Starting in Tiki3, Tiki bundled Zend Framework 1.x and progressively started using more & more of the components. Tiki could move to Zend Framework 2.x in Tiki13 or later (after the LTS).
"We'll continue to support ZF1 with bugfixes and security updates for the next 18 to 24 months." (ZF2 was released on 2012-09-05)
Source: http://framework.zend.com/blog/zend-framework-2-0-0-stable-released.html
"We currently plan to fully support Zend Framework 1 until at least early 2014, including maintenance and security updates."
Source: http://framework.zend.com/about/faq/
"I18n: We removed ext/intl as a hard requirement, and made it only a suggested requirement; the Translator has an optional dependency on the EventManager, providing the ability to tie into "missing message" and "missing translations" events; new country-specific PhoneNumber validator."
Source: http://framework.zend.com/blog/zend-framework-2-2-0-stable-released.html
"Symfony Intl Component - A PHP replacement layer for the C intl extension that includes additional data from the ICU library.] The replacement layer is limited to the locale "en". If you want to use other locales, you should install the intl extension instead."
Source: http://symfony.com/doc/current/components/intl.html
"This guide is intended to provide tools and strategies for migrating from Zend Framework 1 to Zend Framework 2. There is no single solution that will work for every project, nor any tools to automate the process."
http://framework.zend.com/manual/2.2/en/migration/overview.html
"From a technical point of view it is absolutely possible to run ZF2 in parallel with ZF1 because there is no conflict between the classnames due to the fact that ZF2 uses namespaces and ZF1 does not. Running ZF1 and ZF2 in parallel can be used as a migration strategy in projects where it is not possible, or not convenient, to migrate an entire application from ZF1 to ZF2. For instance, you could implement any new features of the application using ZF2, while maintaining original ZF1 features."
http://framework.zend.com/manual/2.2/en/migration/zf1_zf2_parallel.html
"Starting with Zend Framework 2, you may now install Zend Framework or any of its individual components and their dependencies, using the dependency management tool Composer. Packages are provided by our dedicated packages repository at packages.zendframework.com."
Source: http://framework.zend.com/downloads/composer
Developers: if you need code to support a feature, please check in the list of Zend Framework components first before adding something else.
Already using
This is a partial list - check the source code to get the latest complete list. Mapping to ZF2 classes is also indicated as a start to determining how big a change it will be to upgrade. ZF2 functionality is based on the programmer's reference and by browsing the code.
Ideas
Some things to look into for use in Tiki:
ZF1 | ZF2 Mapping? |
---|---|
Zend_Translate | Zend\I18n\Translator |
Pubsubhubbub | Zend\Feed\PubSubHubbub |
ZendX_jQuery to work with jQuery | ? |
Zend_Cache | Zend\Cache |
Zend_Auth | Zend\Authentication |
Zend_Ldap | Zend\Ldap |
Zend_File | Zend\File (in the code but not in the documentation TOC) |
Zend_Gdata | ? |
Zend_Infocard | ? |
Zend_Locale | "Zend_Locale was removed in ZF2, in preference for the built-in localization support present in PHP's intl extension", per response from Zend |
Zend_Log to replace syslog & action log? | Zend\Log |
Zend_Tag (the class we use is up for adoption) | Zend\Tag (in the code but not in the documentation TOC) |
Zend_Validate (Postal Code, IBAN, ISBN, credit card, etc.) | Zend\Validator |
Zend_Xmlrpc | Zend\Xmlrpc |
Zend Incubator
http://framework.zend.com/wiki/display/ZFPROP/Standard+Incubator
- http://code.google.com/p/php-reader/
- PHP Reader is a well documented small library written in PHP to read and write media files and their information headers in an object-oriented manner. Currently supported formats are ASF (Windows Media Player files, ie WMA, WMV, etc), ID3, including both ID3v1 and ID3v2 (MPEG files, ie MP3), MPEG Audio Bit Stream (ie ABS, MP1, MP2, MP3), MPEG Program Stream (MPEG movies, and DVD and HD DVD video discs, ie MPG, MPEG, VOB, EVO), and ISO Base Media File Format (eg QuickTime, MPEG-4 and iTunes AAC files, ie QT, MOV, MP4, M4A, M4B, M4P, M4V, etc).
- http://framework.zend.com/wiki/display/ZFPROP/Zend_Media+-+Sven+Vollbehr
- http://framework.zend.com/wiki/display/ZFPROP/Zend_Io+-+Sven+Vollbehr
RSS from Zend Framework
Related