Hello people

There is a CMS/web application framework currently operational which is stable and tried and tested over many years and various production installations.
The idea is to start using this CMS/Web app framework, as a hub for mobile applications running in Android or iOS. The keywords RESTful and JSON, immediately become relevant.

However, the web framework was written over a decade ago and as a result, many of the HTML UI elements it uses are outdated and make its pages look like a a blast from the past! The framework was written in Perl and despite being outdated (UI wise) was designed along the lines of the MVC paradigm and is extremely modular and configurable.

And here is the question... The CMS is currently being renovated and it has already implemented functionality for AJAX and JSON, in order to have certain pages that communicate with the server asynchronously, using jQuery.

When it comes to the stage of having the CMS act as a mobile app hub, will the apps running on Android or iOS be expecting to communicate with the "hub" in JSON over RESTful URLs? Also, since some front end frameworks offer functionality to populate HTML form elements using JSON data, should our framework make JSON the standard method of data interchange between server and client? ("client" being a mobile app or a web browser)


Thanks for any pointers and replies.

In reply to Web application framework and Smartphone apps by monx663

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.