CodeIgniter Forums

Full Version: first project no db, no form, just JSON, MVC and router
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I read and watch some stuffs about CI.
For a tiny project I need to work with a JSON as my database (in read-only).
This is not a blog in json but very similar (view all, view one…) .

How to structure this project, any similars code ?

the fake json
 "articles": {
   "first-post": {
     "title": "first post",
     "body": "first lorem ipsum"
   "second-post": {
     "title": "second post",
     "body": "second lorem ipsum"