{"id":1651,"date":"2023-05-25T04:32:28","date_gmt":"2023-05-25T04:32:28","guid":{"rendered":"https:\/\/itnotes.apjsoftwares.com\/?p=1651"},"modified":"2023-05-25T04:32:31","modified_gmt":"2023-05-25T04:32:31","slug":"explain-mvc-in-codeigniter","status":"publish","type":"post","link":"https:\/\/itnotes.apjsoftwares.in\/index.php\/2023\/05\/25\/explain-mvc-in-codeigniter\/","title":{"rendered":"Explain MVC in CodeIgniter."},"content":{"rendered":"\n<p>CodeIgniter framework is based on MVC pattern. MVC is a software that gives you a separate logical view from the presentation view. Due to this, a web page contains minimal scripting.<\/p>\n\n\n\n<ul>\n<li>Model &#8211; The Controller manages models. It represents your data structure. Model classes contain functions through which you can insert, retrieve or update information in your database.<\/li>\n\n\n\n<li>View &#8211; View is the information that is presented in front of users. It can be a web page or parts the page like header and footer.<\/li>\n\n\n\n<li>Controllers &#8211; Controller is the intermediary between models and view to process HTTP request and generates a web page. All the requests received by the controller are passed on to models and view to process the information.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image is-resized\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/static.javatpoint.com\/codeigniter\/images\/codeigniter-model-view-controller.png\" alt=\"Model-View-Controller\" width=\"185\" height=\"159\"\/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>CodeIgniter framework is based on MVC pattern. MVC is a software that gives you a&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[32],"tags":[],"_links":{"self":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/1651"}],"collection":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/comments?post=1651"}],"version-history":[{"count":1,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/1651\/revisions"}],"predecessor-version":[{"id":1652,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/posts\/1651\/revisions\/1652"}],"wp:attachment":[{"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/media?parent=1651"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/categories?post=1651"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/itnotes.apjsoftwares.in\/index.php\/wp-json\/wp\/v2\/tags?post=1651"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}