Line 37: |
Line 37: |
| | | |
| === Site Model === | | === Site Model === |
− | I have planed to design the RESTful interface to the Moksaya project , and then I plan to consume these APIs with a webapp possibly written with [http://backbonejs.org/ Backbone.js] | + | I have planed to design the RESTful interface to the Moksaya project , and I plan to consume these APIs with a webapp possibly written with [http://backbonejs.org/ Backbone.js] |
− | Initially Moksaya project offers a RESTful interface to the following models : | + | Initially Moksaya project offers a RESTful interface to the following interrelated models : |
| *ProfileResource | | *ProfileResource |
| *ProjectResource | | *ProjectResource |
Line 45: |
Line 45: |
| *ForkResource | | *ForkResource |
| | | |
− | At the Top most level User Profiles can be accessed by the RESTful Apis and it serves all the related Resources say all the projects of particular user , comments on projects, likes , friends of the user etcs. | + | At the Top most level ,Profile/list contains all the UserProfiles along with their Related Resources. |
| + | So , a typical user profile contains User info like About , Birthdays , etcs then the Related Resources Projects , Friends List , Likes on Projects (Can be easily extended for comments or other models). |
| + | Most of these Related Resources can be further assessed individually as well |
| | | |
| | | |