{"id":96,"date":"2014-05-09T14:12:00","date_gmt":"2014-05-09T13:12:00","guid":{"rendered":"https:\/\/debuggersspace.com\/index.php\/2014\/05\/09\/what-are-the-main-advantages-of-mvc-pattern\/"},"modified":"2014-05-09T14:12:00","modified_gmt":"2014-05-09T13:12:00","slug":"what-are-the-main-advantages-of-mvc-pattern","status":"publish","type":"post","link":"https:\/\/debuggersspace.com\/index.php\/2014\/05\/09\/what-are-the-main-advantages-of-mvc-pattern\/","title":{"rendered":"What are the main advantages of MVC pattern?"},"content":{"rendered":"<div class='booster-block booster-read-block'>\n                <div class=\"twp-read-time\">\n                \t<i class=\"booster-icon twp-clock\"><\/i> <span>Read Time:<\/span>43 Second                <\/div>\n\n            <\/div><div dir=\"ltr\" style=\"text-align: left;\">\n<ol style=\"background-color: white; border: 0px; line-height: 17.804800033569336px; list-style-image: initial; list-style-position: initial; margin: 0px 0px 1em 30px; padding: 0px; vertical-align: baseline;\">\n<li style=\"background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;\">\n<div style=\"background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline;\">\n<span style=\"background-color: transparent;\"><span style=\"font-family: Arial, Helvetica, sans-serif;\">Provides clean separation of concerns(SoC) between UI(Presentation layer), Model(transfer object\/domain object\/entities) and Business logic(Controller).<\/span><\/span><\/div>\n<\/li>\n<li style=\"background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;\">\n<div style=\"background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\">Enables&nbsp;<a href=\"http:\/\/en.wikipedia.org\/wiki\/Test-driven_development\" style=\"background-color: transparent; border: 0px; color: #4a6b82; cursor: pointer; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;\" target=\"_blank\" rel=\"noopener\">Test Driven Development (TDD)<\/a>.\/Easy to unit test.<\/span><\/div>\n<\/li>\n<li style=\"background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;\">\n<div style=\"background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\">Easy integration with JavaScript frameworks.<\/span><\/div>\n<\/li>\n<li style=\"background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;\">\n<div style=\"background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\">Improved re-usability of view,model. One can have multiple view which can point to the same model &amp; vice versa.<\/span><\/div>\n<\/li>\n<li style=\"background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;\">\n<div style=\"background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\">Enables the full control over the rendered HTML, lots of new helper function, utilities.<\/span><\/div>\n<\/li>\n<li style=\"background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;\">\n<div style=\"background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\">Mobile project template using JQuery mobile.<\/span><\/div>\n<\/li>\n<li style=\"background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;\">\n<div style=\"background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\">Razor view engine, Razor syntax is easier to type, doesn&#8217;t have the XML like heavy syntax.<\/span><\/div>\n<\/li>\n<li style=\"background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;\">\n<div style=\"background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\">Support for .Net4 data-annotations\/ improved model validation.<\/span><\/div>\n<\/li>\n<li style=\"background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;\">\n<div style=\"background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\">Better javascript support with unobtrusive javascript, jqueryvalidation &amp; Json binding.<\/span><\/div>\n<\/li>\n<li style=\"background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;\">\n<div style=\"background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\">Greater control and flexibility with support for dependencies resolution and global action filter.<\/span><\/div>\n<\/li>\n<li style=\"background-color: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;\">\n<div style=\"background-color: transparent; border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\">Following the design of stateless nature of the web.<\/span><\/div>\n<\/li>\n<\/ol>\n<ul style=\"text-align: left;\">\n<li style=\"border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;\">\n<div style=\"border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\">RESTful urls that enables SEO.<\/span><\/div>\n<\/li>\n<li style=\"border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;\">\n<div style=\"border: 0px; clear: both; margin-bottom: 1em; padding: 0px; vertical-align: baseline;\">\n<span style=\"font-family: Arial, Helvetica, sans-serif;\">No ViewState and PostBack events<\/span><\/div>\n<\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Provides clean separation of concerns(SoC) between UI(Presentation layer), Model(transfer object\/domain object\/entities) and Business logic(Controller). Enables&nbsp;Test Driven Development (TDD).\/Easy to unit test. Easy integration with JavaScript frameworks. Improved re-usability of view,model. One can have multiple view which can point to the same model &amp; vice versa. Enables the full control over the rendered HTML, lots of [&hellip;]<\/p>\n","protected":false},"author":43,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","footnotes":""},"categories":[37],"tags":[],"class_list":["post-96","post","type-post","status-publish","format-standard","hentry","category-mvc"],"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false},"uagb_author_info":{"display_name":"Himanshu Namdeo","author_link":"https:\/\/debuggersspace.com\/author\/admin\/"},"uagb_comment_info":0,"uagb_excerpt":"Provides clean separation of concerns(SoC) between UI(Presentation layer), Model(transfer object\/domain object\/entities) and Business logic(Controller). Enables&nbsp;Test Driven Development (TDD).\/Easy to unit test. Easy integration with JavaScript frameworks. Improved re-usability of view,model. One can have multiple view which can point to the same model &amp; vice versa. Enables the full control over the rendered HTML, lots of&hellip;","_links":{"self":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/posts\/96"}],"collection":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/users\/43"}],"replies":[{"embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/comments?post=96"}],"version-history":[{"count":0,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/posts\/96\/revisions"}],"wp:attachment":[{"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/media?parent=96"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/categories?post=96"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/debuggersspace.com\/index.php\/wp-json\/wp\/v2\/tags?post=96"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}