3 ms·
Your second choice is just coupling it again. I've only seen few frameworks that let you render both HTML and json (Ruby on Rails). You still have to map a mod
by atoko 9y ago
Your second choice is just coupling it again. I've only seen few frameworks that let you render both HTML and json (Ruby on Rails).
You still have to map a model to HTML, regardless.
- weberc2 9y agoYes, that's my point. Decoupling it for the purpose of supporting multiple frontends may not be more practical than leaving it coupled and providing an API for other frontends.