Welcome Guest, Not a member yet? Register   Sign In
first project no db, no form, just JSON, MVC and router
#1

Hi,

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

http://jsoneditoronline.org/?id=97bf37f9...95c55d392c
Code:
{
 "articles": {
   "first-post": {
     "title": "first post",
     "body": "first lorem ipsum"
   },
   "second-post": {
     "title": "second post",
     "body": "second lorem ipsum"
   }
 }
}
Reply




Theme © iAndrew 2016 - Forum software by © MyBB