{"id":200,"date":"2011-07-18T13:13:47","date_gmt":"2011-07-18T13:13:47","guid":{"rendered":"http:\/\/www.plugged.in\/?p=200"},"modified":"2011-07-18T13:13:47","modified_gmt":"2011-07-18T13:13:47","slug":"why-should-i-use-a-mvc-framework","status":"publish","type":"post","link":"https:\/\/www.veriteknik.net.tr\/en\/why-should-i-use-a-mvc-framework\/","title":{"rendered":"Why should I use a MVC Framework ?"},"content":{"rendered":"<p>You wanna create a web based application, you have ideas but you have no idea about where to start.<\/p>\n<p>That is exactly where you should start using a MVC Framework.<\/p>\n<p><strong>So what is a MVC Framework ?<\/strong><\/p>\n<p>MVC is a programming pattern that comes with 3 components.<\/p>\n<p>M -&gt; Model<\/p>\n<p>V -&gt; View<\/p>\n<p>C -&gt; Controller<\/p>\n<p>Let me explain briefly.<\/p>\n<p><strong>Model <\/strong>contains database related functions. So in your <strong>Model<\/strong> component, you can execute database queries, read, write or any type of process that you may want.<\/p>\n<p><strong>View <\/strong>contains design elements. In another way, <strong>User Interface<\/strong> of your application.<\/p>\n<p><strong>Controller <\/strong>contains all\u00a0procedures. So in your <strong>Controller<\/strong> you can use\u00a0algorithms, logical processes and all the other things you wanna do.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Why should I use a MVC Framework ?<\/strong><\/p>\n<p>Here are some benefits of using MVC Frameworks;<\/p>\n<ul>\n<li>Faster programming<\/li>\n<li>Faster execution (cause it&#8217;ll be object oriented)<\/li>\n<li>Modular applications<\/li>\n<li>Layered programming (you can do the model parts and a colleague can do the controller parts)<\/li>\n<li>Ready to collaborated work structure<\/li>\n<\/ul>\n<div><strong>OK, I wanna use a MVC Framework, which one should I prefer ?<\/strong><\/div>\n<div>There are plenty of MVC Frameworks on the Internet. But I could suggest a few;<\/div>\n<div>\n<ul>\n<li>CodeIgniter<\/li>\n<li>CakePHP (inspired by Ruby on Rails)<\/li>\n<li>YII (for large-scale web applications)<\/li>\n<li>PHPDevShell<\/li>\n<li>Symfony<\/li>\n<li>Akelos<\/li>\n<li>Prado<\/li>\n<li>and of course Zend Framework<\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>You wanna create a web based application, you have ideas but you have no idea about where to start. That is exactly where you should start using a MVC Framework. So what is a MVC Framework ? MVC is a programming pattern that comes with 3 components. M -&gt; Model V -&gt; View C -&gt; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[435],"tags":[442,443,375],"yst_prominent_words":[996,2123,2117,670,2115,2122,2116,2113,2114,2119,2120,2121,2118,1963],"class_list":["post-200","post","type-post","status-publish","format-standard","hentry","category-web-developer","tag-frameworks","tag-mvc","tag-php"],"jetpack_featured_media_url":"","uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"ckaraca","author_link":"https:\/\/www.veriteknik.net.tr\/en\/author\/ckaraca\/"},"uagb_comment_info":0,"uagb_excerpt":"You wanna create a web based application, you have ideas but you have no idea about where to start. That is exactly where you should start using a MVC Framework. So what is a MVC Framework ? MVC is a programming pattern that comes with 3 components. M -&gt; Model V -&gt; View C -&gt;&hellip;","_links":{"self":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/200","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/comments?post=200"}],"version-history":[{"count":0,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/posts\/200\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/media?parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/categories?post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/tags?post=200"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.veriteknik.net.tr\/en\/wp-json\/wp\/v2\/yst_prominent_words?post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}