{"id":1845,"date":"2014-11-01T15:59:25","date_gmt":"2014-11-01T10:29:25","guid":{"rendered":"http:\/\/www.konstantinfo.com\/blog\/?p=1845"},"modified":"2014-11-01T16:01:10","modified_gmt":"2014-11-01T10:31:10","slug":"what-are-the-major-enhancement-in-yii-2-0-rc","status":"publish","type":"post","link":"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/","title":{"rendered":"What Are The Major Enhancement In Yii 2.0 RC"},"content":{"rendered":"<h2><strong style=\"color: #1866b1; text-decoration: underline;\">Introduction:<\/strong><\/h2>\n<p>Yii which is an acronym for \u201cYes, it is\u201d is a high performance component based <a title=\"Top PHP Frameworks To Help Building The Agile Application\" href=\"http:\/\/www.konstantinfo.com\/blog\/top-php-framework-to-help-building-the-agile-application\/\">PHP framework<\/a> used for developing modern applications. Yii is a web programming framework used to develop all kinds of web applications using PHP. It is suitable to develop large scale application such as e-commerce projects, CMS, portals, forums etc.<\/p>\n<h2><strong style=\"color: #1866b1; text-decoration: underline;\">Major enhancement<\/strong><\/h2>\n<p>Currently Yii has two major versions: 1.1 and 2.0 RC. The 1.1 version is currently in maintenance mode. Version 2.0 is a rewrite of Yii and it has adopted the latest technologies and protocols. Version 2.0 represents the current generation of the framework and will receive main development over the next few years. Some important changes made in the new release have been given below.<\/p>\n<h2><strong style=\"color: #1866b1; text-decoration: underline;\">Security <\/strong><\/h2>\n<p>Many security experts have reviewed Yii code, leaving behind significant feedback about how the security of Yii can be improved. Some security codes are rewritten to provide the best encryption and key elements and protect them from timing issues. The earlier security helper class \u00a0has been modified into security application components. Apart from that, other minor changes have done in order to enhance the security issues.<\/p>\n<h2><strong style=\"color: #1866b1; text-decoration: underline;\">Database <\/strong><\/h2>\n<p>Replication of Database and splitting of read and write<\/p>\n<p>Now Yii has its own support for read-write splitting and database replication. Database replication serves to replicate from a master server to a slave server. All updates and writes are held on master server and read is conducted on slave servers.<\/p>\n<h2><strong style=\"color: #1866b1; text-decoration: underline;\">Transactions <\/strong><\/h2>\n<p>You will find lots of enhancements related to using DB transaction. First, you are employed with a transaction in call back style. Secondly, few of them are activated for transaction and at last, you have to set the transaction isolation level in the beginning of a new transaction.<\/p>\n<h2><strong style=\"color: #1866b1; text-decoration: underline;\">Building Query conditions<\/strong><\/h2>\n<p>In order to develop a query, arbitrary operators are used and Yii will correctly quote the name of the column\u00a0 and using parameters you can handle the value.<\/p>\n<h2><strong style=\"color: #1866b1; text-decoration: underline;\">Asset Management<\/strong><\/h2>\n<p>It \u00a0uses the Composer Asset Plugin to handle the dependencies involved NPM packages and Power. Due to this change, you just have to first perform the installation of the plugin and then run the command before you upgrade to the latest version of Yii.<\/p>\n<h2><strong style=\"color: #1866b1; text-decoration: underline;\">Logging and Error Handling <\/strong><\/h2>\n<p>Now you can use arrays or objects as log messages and the default log target will convert them into text display automatically.<\/p>\n<h2><strong style=\"color: #1866b1; text-decoration: underline;\">Development Tools <\/strong><\/h2>\n<p>In the latest version, the debugger panel has been included in shows the loaded asset bundles and content. Previously it provided a web interface and now, you just have to create a new Gii generator which can be used in console and web modes.<\/p>\n<p>Konstant Infosolutions, being a PHP Yii development company with enough experience integrating and developing Yii. They have experienced team of PHP Yii programmers and developers, capable of providing various services such as <a title=\"PHP Yii Web Development\" href=\"http:\/\/www.konstantinfo.com\/php-yii-development\" target=\"_blank\">PHP Yii web development<\/a>, customization service, integration services and application development service.<\/p>\n<h2><strong style=\"color: #1866b1; text-decoration: underline;\">Conclusion:<\/strong><\/h2>\n<p>Yii implements the MVC design pattern and promote code organization based on the pattern. Yii never try to over design things and they strictly follow some design patterns.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction: Yii which is an acronym for \u201cYes, it is\u201d is a high performance component based PHP framework used for developing modern applications. Yii is a web programming framework used to develop all kinds of web applications using PHP. It is suitable to develop large scale application such as e-commerce projects, CMS, portals, forums etc.&hellip; <a class=\"more-link\" href=\"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/\">Continue reading <span class=\"screen-reader-text\">What Are The Major Enhancement In Yii 2.0 RC<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":1846,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[41],"tags":[448,374,447,449,446],"class_list":["post-1845","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-development","tag-php-framework","tag-php-yii","tag-php-yii-framework","tag-php-yii-web-development","tag-yii-2-0","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>What Are The Major Enhancement In Yii 2.0 RC - Konstantinfo<\/title>\n<meta name=\"description\" content=\"Currently Yii has two major versions: 1.1 and 2.0 RC. The 1.1 version is currently in maintenance mode. Version 2.0 is a rewrite of Yii and it has adopted the latest technologies and protocols.\" \/>\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.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What Are The Major Enhancement In Yii 2.0 RC - Konstantinfo\" \/>\n<meta property=\"og:description\" content=\"Currently Yii has two major versions: 1.1 and 2.0 RC. The 1.1 version is currently in maintenance mode. Version 2.0 is a rewrite of Yii and it has adopted the latest technologies and protocols.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/\" \/>\n<meta property=\"og:site_name\" content=\"Konstantinfo\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/profile.php?id=100000171764372\" \/>\n<meta property=\"article:published_time\" content=\"2014-11-01T10:29:25+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2014-11-01T10:31:10+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-content\/uploads\/2014\/11\/Yii2.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1029\" \/>\n\t<meta property=\"og:image:height\" content=\"457\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Manish Jain\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@konstantinfo\" \/>\n<meta name=\"twitter:site\" content=\"@konstantinfo\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Manish Jain\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/\",\"url\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/\",\"name\":\"What Are The Major Enhancement In Yii 2.0 RC - Konstantinfo\",\"isPartOf\":{\"@id\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-content\/uploads\/2014\/11\/Yii2.jpg\",\"datePublished\":\"2014-11-01T10:29:25+00:00\",\"dateModified\":\"2014-11-01T10:31:10+00:00\",\"author\":{\"@id\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/#\/schema\/person\/adedb6e1470dd8933303105e82ad328f\"},\"description\":\"Currently Yii has two major versions: 1.1 and 2.0 RC. The 1.1 version is currently in maintenance mode. Version 2.0 is a rewrite of Yii and it has adopted the latest technologies and protocols.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/#primaryimage\",\"url\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-content\/uploads\/2014\/11\/Yii2.jpg\",\"contentUrl\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-content\/uploads\/2014\/11\/Yii2.jpg\",\"width\":1029,\"height\":457,\"caption\":\"Yii 2.0 RC\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What Are The Major Enhancement In Yii 2.0 RC\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/#website\",\"url\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/\",\"name\":\"Konstantinfo\",\"description\":\"Welcome to Konstant Info\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/#\/schema\/person\/adedb6e1470dd8933303105e82ad328f\",\"name\":\"Manish Jain\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-content\/uploads\/2020\/08\/manish-Jain-150x150.jpg\",\"contentUrl\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-content\/uploads\/2020\/08\/manish-Jain-150x150.jpg\",\"caption\":\"Manish Jain\"},\"description\":\"Manish Jain is the co-founder and Managing Director at Konstant Infosolutions. He is responsible for the overall operations of the company and has played a major role in bringing Konstant up from its humble beginnings and, with his immense energy and drive, transforming it into a globally trusted name in IT solutions.\",\"sameAs\":[\"http:\/\/www.konstantinfo.com\",\"https:\/\/www.facebook.com\/profile.php?id=100000171764372\",\"https:\/\/x.com\/konstantinfo\"],\"url\":\"https:\/\/www.konstantinfo.com\/konstant-blog\/author\/manish-jain\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"What Are The Major Enhancement In Yii 2.0 RC - Konstantinfo","description":"Currently Yii has two major versions: 1.1 and 2.0 RC. The 1.1 version is currently in maintenance mode. Version 2.0 is a rewrite of Yii and it has adopted the latest technologies and protocols.","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.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/","og_locale":"en_US","og_type":"article","og_title":"What Are The Major Enhancement In Yii 2.0 RC - Konstantinfo","og_description":"Currently Yii has two major versions: 1.1 and 2.0 RC. The 1.1 version is currently in maintenance mode. Version 2.0 is a rewrite of Yii and it has adopted the latest technologies and protocols.","og_url":"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/","og_site_name":"Konstantinfo","article_author":"https:\/\/www.facebook.com\/profile.php?id=100000171764372","article_published_time":"2014-11-01T10:29:25+00:00","article_modified_time":"2014-11-01T10:31:10+00:00","og_image":[{"width":1029,"height":457,"url":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-content\/uploads\/2014\/11\/Yii2.jpg","type":"image\/jpeg"}],"author":"Manish Jain","twitter_card":"summary_large_image","twitter_creator":"@konstantinfo","twitter_site":"@konstantinfo","twitter_misc":{"Written by":"Manish Jain","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/","url":"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/","name":"What Are The Major Enhancement In Yii 2.0 RC - Konstantinfo","isPartOf":{"@id":"https:\/\/www.konstantinfo.com\/konstant-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/#primaryimage"},"image":{"@id":"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/#primaryimage"},"thumbnailUrl":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-content\/uploads\/2014\/11\/Yii2.jpg","datePublished":"2014-11-01T10:29:25+00:00","dateModified":"2014-11-01T10:31:10+00:00","author":{"@id":"https:\/\/www.konstantinfo.com\/konstant-blog\/#\/schema\/person\/adedb6e1470dd8933303105e82ad328f"},"description":"Currently Yii has two major versions: 1.1 and 2.0 RC. The 1.1 version is currently in maintenance mode. Version 2.0 is a rewrite of Yii and it has adopted the latest technologies and protocols.","breadcrumb":{"@id":"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/#primaryimage","url":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-content\/uploads\/2014\/11\/Yii2.jpg","contentUrl":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-content\/uploads\/2014\/11\/Yii2.jpg","width":1029,"height":457,"caption":"Yii 2.0 RC"},{"@type":"BreadcrumbList","@id":"https:\/\/www.konstantinfo.com\/konstant-blog\/what-are-the-major-enhancement-in-yii-2-0-rc\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.konstantinfo.com\/konstant-blog\/"},{"@type":"ListItem","position":2,"name":"What Are The Major Enhancement In Yii 2.0 RC"}]},{"@type":"WebSite","@id":"https:\/\/www.konstantinfo.com\/konstant-blog\/#website","url":"https:\/\/www.konstantinfo.com\/konstant-blog\/","name":"Konstantinfo","description":"Welcome to Konstant Info","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.konstantinfo.com\/konstant-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.konstantinfo.com\/konstant-blog\/#\/schema\/person\/adedb6e1470dd8933303105e82ad328f","name":"Manish Jain","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.konstantinfo.com\/konstant-blog\/#\/schema\/person\/image\/","url":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-content\/uploads\/2020\/08\/manish-Jain-150x150.jpg","contentUrl":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-content\/uploads\/2020\/08\/manish-Jain-150x150.jpg","caption":"Manish Jain"},"description":"Manish Jain is the co-founder and Managing Director at Konstant Infosolutions. He is responsible for the overall operations of the company and has played a major role in bringing Konstant up from its humble beginnings and, with his immense energy and drive, transforming it into a globally trusted name in IT solutions.","sameAs":["http:\/\/www.konstantinfo.com","https:\/\/www.facebook.com\/profile.php?id=100000171764372","https:\/\/x.com\/konstantinfo"],"url":"https:\/\/www.konstantinfo.com\/konstant-blog\/author\/manish-jain\/"}]}},"show_toc":false,"table_of_content":[],"faq":[],"related_blogs":[{"id":11095,"title":"How to Build a Real Estate Website &#8211; A Detailed Guide","slug":"build-real-estate-website","link":"https:\/\/www.konstantinfo.com\/konstant-blog\/build-real-estate-website\/","modified":"2026-05-07 17:49:50","excerpt":"\u201cWebsites promote you 24\/7: No employee will do that.\u201d \u2013 Paul Cookson This powerful quote by the popular writer, Paul...","image":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-content\/uploads\/2024\/10\/build-a-real-estate-website.webp"},{"id":6850,"title":"Hiring a Skilled and Experienced Nodejs Developer is Easy; Determine Cost Factors!","slug":"cost-to-hire-a-nodejs-developer","link":"https:\/\/www.konstantinfo.com\/konstant-blog\/cost-to-hire-a-nodejs-developer\/","modified":"2026-05-04 13:23:21","excerpt":"After spending two days on research, there is no doubt in my mind about the power that node provides to...","image":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-content\/uploads\/2018\/09\/Nodejs-Developer-1-300x133.jpg"},{"id":12577,"title":"10 Top Web Development Companies 2026","slug":"web-development-companies","link":"https:\/\/www.konstantinfo.com\/konstant-blog\/web-development-companies\/","modified":"2026-04-29 18:23:08","excerpt":"A successful web development solution depends on your project requirements and web developers' services. When you have an innovative idea...","image":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-content\/uploads\/2026\/01\/top-web-development-companies-300x133.webp"}],"_links":{"self":[{"href":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-json\/wp\/v2\/posts\/1845","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-json\/wp\/v2\/comments?post=1845"}],"version-history":[{"count":0,"href":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-json\/wp\/v2\/posts\/1845\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-json\/wp\/v2\/media\/1846"}],"wp:attachment":[{"href":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-json\/wp\/v2\/media?parent=1845"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-json\/wp\/v2\/categories?post=1845"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.konstantinfo.com\/konstant-blog\/wp-json\/wp\/v2\/tags?post=1845"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}