{"id":366,"date":"2014-08-12T08:23:35","date_gmt":"2014-08-12T06:23:35","guid":{"rendered":"http:\/\/dev.flauschig.ch\/wordpress\/?p=366"},"modified":"2014-08-12T08:24:14","modified_gmt":"2014-08-12T06:24:14","slug":"mvc-in-php","status":"publish","type":"post","link":"http:\/\/dev.flauschig.ch\/wordpress\/?p=366","title":{"rendered":"MVC in PHP"},"content":{"rendered":"<p>There are a lot of <a href=\"http:\/\/en.wikipedia.org\/wiki\/Comparison_of_web_application_frameworks#PHP\">PHP Frameworks<\/a> around. Altough it mostly makes sense to use one of those, they feel clumsy and overfilled with sometimes hundreds of files.<\/p>\n<p>Luckily, I found a very simple MVC Framework which only does the basics of MVC and is simple enough so you can adjust and improve it easily to all your needs.<\/p>\n<p>It&#8217;s simply called <a href=\"https:\/\/github.com\/ndavison\/Nathan-MVC\">Nathan-MVC<\/a>, you can find it over at github. There is also a slightly outdated <a href=\"http:\/\/www.nathandavison.com\/article\/11\">blog series<\/a> about each part available. The blog covers the concepts but the code from github should be used since there were some reasonable additions since the blog posts were written.<\/p>\n<p>Together with my one-file-solution for data access (<a href=\"https:\/\/code.google.com\/p\/entitydataaccess\/wiki\/PHP_Introduction\">EntityDataAccess<\/a>), you get a fairly manageable and easily extendable solution for website building in PHP.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There are a lot of PHP Frameworks around. Altough it mostly makes sense to use one of those, they feel clumsy and overfilled with sometimes hundreds of files. Luckily, I found a very simple MVC Framework which only does the basics of MVC and is simple enough so you can adjust and improve it easily &hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[6],"tags":[],"class_list":{"0":"entry","1":"post","2":"publish","3":"author-roemer","4":"post-366","6":"format-standard","7":"category-php"},"acf":[],"views":1541,"_links":{"self":[{"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/366"}],"collection":[{"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=366"}],"version-history":[{"count":0,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/366\/revisions"}],"wp:attachment":[{"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=366"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=366"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/dev.flauschig.ch\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=366"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}