Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
How-to: Build API that will be used within app & REST
  • 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):

    Or within my own site (return the entire site, html representation):

    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,

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!