Hi All,
I'm new to Fuel and I'm starting to develop a new application and i need some advices, let say that the application lets you save notes.
My users will be allowed to list/get/add/update/delete their notes using the site itself and using the rest api.
I want to have one place in the application where I get the action/parameters and run user auth, acl, data validation and database operations.
Which i can call from the site service (returns xml/json):
example.com/api/notes/get/1
Or within my own site (return the entire site, html representation):
example.com/notes/id/1
I was thinking on creating a module for "notes" and use it from my site controller/rest controller
Is that the right approach for that? Do you have any suggestion for accomplish what i need?
Thanks,
Ran.