Hello Emberistas,
In the Google Summer of Code Project “TYPO3 Flow meets Ember.js” we are trying to make the PHP framework TYPO3 Flow and Ember.js (using Ember Data) work together easily through conventions and a powerful scaffolding mechanism.
We are facing a decision how we want to logically organize the server-side controllers responsible for handling the REST API requests. There are two direction:
- Generated controllers: One controller for each model that handles the requests for the specific model.
- Automagical controller: One controller that handles all requests for all models.
I have created a gist with a pro and cons list and the implementation differences. There is already some discussion going on from the Flow community. It would be great to have some input from the ember community as well to know how you guys would love the workflow.
Thank you, Manuel