Hello experienced developers,architects.
I am making mods/updates to an existing cms/web application framework and need some wisdom.
The framework in question is tried and tested but needs "modernization". For example, AJAX connectivity of its web UI elements.
The ability to serve as a mobile application hub is also very imminent.
And here comes the question. Is it better to expose the relevant methods of the various business objects via JSON? Is it better to create web objects that know how to render themselves based on the JSON data they are fed from the server?
I am guessing that an Android or iOS app would expect to only be sending and receiving data on RESTful URIs. And its application display objects would be "drawn", according to the data they receive from the server. The web framework in question, despite being quite old, utilises the MVC model and is quite good at managing web forms etc. However, since the framework will now be serving both web browsers as well as mobile apps, the "View" layers need major reworking.
In reply to Perl JSON mobile apps by monx663
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |