{"id":947,"date":"2022-08-30T15:09:50","date_gmt":"2022-08-30T15:09:50","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2013\/11\/09\/zend-framework-2-action-helper-collection-of-common-programming-errors\/"},"modified":"2022-08-30T15:09:50","modified_gmt":"2022-08-30T15:09:50","slug":"zend-framework-2-action-helper-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2022\/08\/30\/zend-framework-2-action-helper-collection-of-common-programming-errors\/","title":{"rendered":"Zend framework 2 action helper?-Collection of common programming errors"},"content":{"rendered":"<p>Long back ,I have viewed the Presentation of Enrico Zimuel at ZFCon 2012 of Moscow , in you tube , I am not able to find the link for that ,<\/p>\n<p>But I could find his presentation at slide share , below is the link<\/p>\n<p>ZF2 quick start<\/p>\n<p>With in the presentation , Enrico Zimuel suggests a git repository which is hosting a sample application which works as an emulator .<\/p>\n<p>Below is the link for that git repository which is actually a sample ZF1 application migrated to work with ZF2 . It works like an emulator to test ZF2 with ZF1 code.<\/p>\n<p>ZF2 migration prototype<\/p>\n<p>It is a ZF1 migration prototype<\/p>\n<p>It actually<\/p>\n<ol>\n<li>Creates a &#8220;Zf1Compat&#8221; version of the ZF1 dispatcher as an event listener.<\/li>\n<li>The bootstrap largely mimics how ZF1&#8217;s Zend_Application bootstrap works.<\/li>\n<li>The default route utilizes the new ZF2 MVC routing, but mimics what ZF1 provided.<\/li>\n<\/ol>\n<p>I am posting this just to mention that there is a solution out there for solving the problem of migration which is really good.<\/p>\n<p>This may also help others who needs to migrate, because no one knew that there is a git repository which has this prototype , and I have not seen any blog posting OR SO posting specifying this repository link any where ( I really don&#8217;t know why ? ) .<\/p>\n<p>NOTE : &#8211;<\/p>\n<blockquote>\n<p>This only reduces your work of migration you will be loosing lots of advantages of ZF2 and also you can&#8217;t really exploit the features of a framework .<\/p>\n<\/blockquote>\n<p id=\"rop\"><small>Originally posted 2013-11-09 23:05:17. <\/small><\/p>","protected":false},"excerpt":{"rendered":"<p>Long back ,I have viewed the Presentation of Enrico Zimuel at ZFCon 2012 of Moscow , in you tube , I am not able to find the link for that , But I could find his presentation at slide share , below is the link ZF2 quick start With in the presentation , Enrico Zimuel [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,8],"tags":[],"class_list":["post-947","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-zend-framework"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/947","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=947"}],"version-history":[{"count":1,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/947\/revisions"}],"predecessor-version":[{"id":8886,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/947\/revisions\/8886"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=947"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=947"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=947"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}