{"id":577,"date":"2015-03-20T06:37:47","date_gmt":"2015-03-20T06:37:47","guid":{"rendered":"http:\/\/www.cakephpexpert.com\/blog\/?p=577"},"modified":"2015-03-20T11:41:53","modified_gmt":"2015-03-20T11:41:53","slug":"what-changes-cakephp-3-0-0-rc2-brings-for-developers","status":"publish","type":"post","link":"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers","title":{"rendered":"What Changes CakePHP 3.0.0- RC2 Brings for Developers"},"content":{"rendered":"<p>The very vibrant CakePHP is known for coming out with ever better technology upgrades for the arrangements it has come up with. <!--more-->The latest from the den is version 3.0.0-RC2 that is being worked on to solve various issues related to development and documentation that currently form an intrinsic part of it.<\/p>\n<p><a href=\"http:\/\/www.cakephpexpert.com\/blog\/wp-content\/uploads\/2015\/03\/rc2-740x350.jpg\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-578\" src=\"http:\/\/www.cakephpexpert.com\/blog\/wp-content\/uploads\/2015\/03\/rc2-740x350.jpg\" alt=\"Cakephp 3.0.0\" width=\"740\" height=\"350\" srcset=\"https:\/\/www.cakephpexpert.com\/blog\/wp-content\/uploads\/2015\/03\/rc2-740x350.jpg 740w, https:\/\/www.cakephpexpert.com\/blog\/wp-content\/uploads\/2015\/03\/rc2-740x350-300x141.jpg 300w\" sizes=\"(max-width: 740px) 100vw, 740px\" \/><\/a><\/p>\n<p>The news of CakePHP 3.x series\u2019 latest version release broke out recently promising a series of smart features and important bug fixes. According to experts in the field, CakePHP 3.0.0-RC2 is an energized way to look at <a title=\"Cakephp Web development\" href=\"http:\/\/www.cakephpexpert.com\/services\/cakephp-web-development\">web development technology<\/a>. As they say, standing mature and focused, it is a mix of brilliant performance updates and functional evolution. A great remark indeed to greet the new thing!<\/p>\n<p>Let\u2019s have a look at top new features that added to the prominent facet of the new version:<\/p>\n<p><strong>Changes in configuration files<\/strong><\/p>\n<p>There are handy updates in the configuration files. Till now when you had to upload a configuration file you had to do it through Configure::load(). With CakePHP 3.0.0-RC2 you have to remove extensions. As a result of which Configure::read(`app.php`) will become Configure::read(`app`).<\/p>\n<p><strong>Plug-in Installation <\/strong><\/p>\n<p>Among one of the major updates is the changed role of <a title=\"Cakephp plugins development\" href=\"http:\/\/www.cakephpexpert.com\/services\/cakephp-customization\">CakePHP Plug-in<\/a> installer. With this precise revision, you will be able to use and install plug-in with more ease and great accuracy without having to wait much. Further, it clearly separates the in-app and external plug-ins, which makes it easy for user to deal with them. Before this, they were available with the same directory and this lead to a big confusion to work with them.<\/p>\n<p><strong>ORM callback consistency<\/strong><\/p>\n<p>Expect the new version to be more consistent with ORM (Object-relational Mapping) callbacks. This has been done by adding a system where ORM callbacks will receive an ArrayObject and removing the $options parameter which affected inconsistency.<\/p>\n<p><strong>Renamed string class to text<\/strong><\/p>\n<p>Well, this shows how various aspects of naming and documentation have been served with details. With the new version the string class will no more be called string but \u2018text\u2019! So, now you have Cake\\Utility\\Text instead of Cake\\Utility\\String. Well, on a different note, this looks much of a part of preparation for <a title=\"PHP 7 and Its Advanced Features!\" href=\"http:\/\/www.cakephpexpert.com\/blog\/php-7-and-its-advanced-features\">PHP7<\/a> and HHVM (HipHop Virtual Machine). Sounds cool!<\/p>\n<p><strong>Deprecation of EventManager::detach() and EventManager::attach() methods<\/strong><\/p>\n<p>You would see the 3.0.0-RC2 version replacing the detach() and attach() methods with on() and off(). The update brings in an interface quite similar to jQuery to facilitate the actions for the methods applied here.<\/p>\n<p>These are the top changes that are most talked about and certainly are the one that drive a change in how things are being operated in CakePHP \u2013 indicating how simple and effortless it is to build complex web applications with 3.0.0-RC2. All worth it!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The very vibrant CakePHP is known for coming out with ever better technology upgrades for the arrangements it has come up with.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[27,16,12],"tags":[31,75,74,58],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v16.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What Changes CakePHP 3.0.0- RC2 Brings for Developers - Cakephp Expert Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Changes CakePHP 3.0.0- RC2 Brings for Developers - Cakephp Expert Blog\" \/>\n<meta property=\"og:description\" content=\"The very vibrant CakePHP is known for coming out with ever better technology upgrades for the arrangements it has come up with.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers\" \/>\n<meta property=\"og:site_name\" content=\"Cakephp Expert Blog\" \/>\n<meta property=\"article:published_time\" content=\"2015-03-20T06:37:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-03-20T11:41:53+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/www.cakephpexpert.com\/blog\/wp-content\/uploads\/2015\/03\/rc2-740x350.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.cakephpexpert.com\/blog\/#website\",\"url\":\"https:\/\/www.cakephpexpert.com\/blog\/\",\"name\":\"Cakephp Expert Blog\",\"description\":\"Cakephp Development Company\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.cakephpexpert.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"http:\/\/www.cakephpexpert.com\/blog\/wp-content\/uploads\/2015\/03\/rc2-740x350.jpg\",\"contentUrl\":\"http:\/\/www.cakephpexpert.com\/blog\/wp-content\/uploads\/2015\/03\/rc2-740x350.jpg\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers#webpage\",\"url\":\"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers\",\"name\":\"What Changes CakePHP 3.0.0- RC2 Brings for Developers - Cakephp Expert Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.cakephpexpert.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers#primaryimage\"},\"datePublished\":\"2015-03-20T06:37:47+00:00\",\"dateModified\":\"2015-03-20T11:41:53+00:00\",\"author\":{\"@id\":\"https:\/\/www.cakephpexpert.com\/blog\/#\/schema\/person\/0f12b00f339dcf099f8431b3ba0db2e1\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.cakephpexpert.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Changes CakePHP 3.0.0- RC2 Brings for Developers\"}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.cakephpexpert.com\/blog\/#\/schema\/person\/0f12b00f339dcf099f8431b3ba0db2e1\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.cakephpexpert.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/28e9fe1b5e695a0ed4f8d10cb1186b26?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/28e9fe1b5e695a0ed4f8d10cb1186b26?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"https:\/\/www.cakephpexpert.com\/\"],\"url\":\"https:\/\/www.cakephpexpert.com\/blog\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Changes CakePHP 3.0.0- RC2 Brings for Developers - Cakephp Expert Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers","og_locale":"en_US","og_type":"article","og_title":"What Changes CakePHP 3.0.0- RC2 Brings for Developers - Cakephp Expert Blog","og_description":"The very vibrant CakePHP is known for coming out with ever better technology upgrades for the arrangements it has come up with.","og_url":"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers","og_site_name":"Cakephp Expert Blog","article_published_time":"2015-03-20T06:37:47+00:00","article_modified_time":"2015-03-20T11:41:53+00:00","og_image":[{"url":"http:\/\/www.cakephpexpert.com\/blog\/wp-content\/uploads\/2015\/03\/rc2-740x350.jpg"}],"twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebSite","@id":"https:\/\/www.cakephpexpert.com\/blog\/#website","url":"https:\/\/www.cakephpexpert.com\/blog\/","name":"Cakephp Expert Blog","description":"Cakephp Development Company","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cakephpexpert.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers#primaryimage","inLanguage":"en-US","url":"http:\/\/www.cakephpexpert.com\/blog\/wp-content\/uploads\/2015\/03\/rc2-740x350.jpg","contentUrl":"http:\/\/www.cakephpexpert.com\/blog\/wp-content\/uploads\/2015\/03\/rc2-740x350.jpg"},{"@type":"WebPage","@id":"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers#webpage","url":"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers","name":"What Changes CakePHP 3.0.0- RC2 Brings for Developers - Cakephp Expert Blog","isPartOf":{"@id":"https:\/\/www.cakephpexpert.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers#primaryimage"},"datePublished":"2015-03-20T06:37:47+00:00","dateModified":"2015-03-20T11:41:53+00:00","author":{"@id":"https:\/\/www.cakephpexpert.com\/blog\/#\/schema\/person\/0f12b00f339dcf099f8431b3ba0db2e1"},"breadcrumb":{"@id":"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.cakephpexpert.com\/blog\/what-changes-cakephp-3-0-0-rc2-brings-for-developers#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cakephpexpert.com\/blog"},{"@type":"ListItem","position":2,"name":"What Changes CakePHP 3.0.0- RC2 Brings for Developers"}]},{"@type":"Person","@id":"https:\/\/www.cakephpexpert.com\/blog\/#\/schema\/person\/0f12b00f339dcf099f8431b3ba0db2e1","name":"admin","image":{"@type":"ImageObject","@id":"https:\/\/www.cakephpexpert.com\/blog\/#personlogo","inLanguage":"en-US","url":"https:\/\/secure.gravatar.com\/avatar\/28e9fe1b5e695a0ed4f8d10cb1186b26?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/28e9fe1b5e695a0ed4f8d10cb1186b26?s=96&d=mm&r=g","caption":"admin"},"sameAs":["https:\/\/www.cakephpexpert.com\/"],"url":"https:\/\/www.cakephpexpert.com\/blog\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.cakephpexpert.com\/blog\/wp-json\/wp\/v2\/posts\/577"}],"collection":[{"href":"https:\/\/www.cakephpexpert.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cakephpexpert.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cakephpexpert.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cakephpexpert.com\/blog\/wp-json\/wp\/v2\/comments?post=577"}],"version-history":[{"count":4,"href":"https:\/\/www.cakephpexpert.com\/blog\/wp-json\/wp\/v2\/posts\/577\/revisions"}],"predecessor-version":[{"id":582,"href":"https:\/\/www.cakephpexpert.com\/blog\/wp-json\/wp\/v2\/posts\/577\/revisions\/582"}],"wp:attachment":[{"href":"https:\/\/www.cakephpexpert.com\/blog\/wp-json\/wp\/v2\/media?parent=577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cakephpexpert.com\/blog\/wp-json\/wp\/v2\/categories?post=577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cakephpexpert.com\/blog\/wp-json\/wp\/v2\/tags?post=577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}