Loading...
 
Skip to main content

Zend Framework

For Tiki18, we moved to Zend Framework 3

For Tiki 15 we are moving to Zend Framework 2, more on this here


Starting in Tiki3, Tiki bundled Zend FrameworkQuestion 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.htmlQuestion

"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/Question

"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.htmlQuestion

"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.htmlQuestion

"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.htmlQuestion

"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.htmlQuestion

"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/composerQuestion

Developers: if you need code to support a feature, please check in the list of Zend Framework componentsQuestion 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 referenceQuestion and by browsing the codeQuestion.

Since ZF1 ZF2 Mapping?
Tiki6 Zend_CaptchaQuestion Zend\CaptchaQuestion
Tiki8 Zend_ConfigQuestion for System Configuration Zend\ConfigQuestion
Tiki7 Zend_DateQuestion used in the Accounting feature ?
Zend_ExceptionQuestion used in Captcha and Rss libs ?
Tiki5 Zend_Feed_ReaderQuestion for Article Generator Zend\FeedQuestion which includes Zend\Feed\Reader
Tiki3 Zend_FilterQuestion to improve security with better filters Zend\FilterQuestion
Note that Zend/Filter/Int has been deprecated in favor of Zend/Filter/ToInt since int is a reserved keyword in PHP 7. Will need to change lib/core/TikiFilter accordingly.
Tiki3 or 4? Zend_Gdata_YouTubeQuestion and Zend_LoaderQuestion Zend\LoaderQuestion ?
Zend_LogQuestion in Profile and Search libs Zend\LogQuestion
Tiki8 Zend_Http_ClientQuestion instead of PEARQuestion Zend\Http\ClientQuestion
Tiki4 partially Zend_MailQuestion Zend\MailQuestion
Zend_OpenIdQuestion used in PluginSubscribeGroup ? - service no longer listedQuestion
Tiki4 and later Zend_Search_LuceneQuestion appears to be an optional component in its own repositoryQuestion
Tiki8 Zend_Service_AskimetQuestion for Askimet protection ZendService\AskimetQuestion
Tiki6 Zend_Service_RecaptchaQuestion ZendService\ReCaptchaQuestion
Tiki6 Zend_Service_TwitterQuestion ZendService\TwitterQuestion
Tiki6 Zend_SessionQuestion Zend\SessionQuestion

Ideas

Some things to look into for use in Tiki:

ZF1 ZF2 Mapping?
Zend_Translate Zend\I18n\TranslatorQuestion
PubsubhubbubQuestion Zend\Feed\PubSubHubbubQuestion
ZendX_jQueryQuestion to work with jQuery ?
Zend_CacheQuestion Zend\CacheQuestion
Zend_AuthQuestion Zend\AuthenticationQuestion
Zend_LdapQuestion Zend\LdapQuestion
Zend_FileQuestion Zend\FileQuestion (in the code but not in the documentation TOCQuestion)
Zend_GdataQuestion ?
Zend_InfocardQuestion ?
Zend_LocaleQuestion "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_LogQuestion to replace syslog & action log? Zend\LogQuestion
Zend_TagQuestion (the class we useQuestion is up for adoption) Zend\TagQuestion (in the code but not in the documentation TOCQuestion)
Zend_ValidateQuestion (Postal Code, IBAN, ISBN, credit card, etc.) Zend\ValidatorQuestion
Zend_XmlrpcQuestion Zend\XmlrpcQuestion

Zend Incubator

http://framework.zend.com/wiki/display/ZFPROP/Standard+IncubatorQuestion

RSS from Zend Framework

Related

Alias

Zend ZF ZF2 Zend Framework 2

Show PHP error messages