I'll give a plus 1 to this strategy too. Tim Penner wrote a great tech note <http://kb.4d.com/assetid=77177> demonstrating how to easily move data between 4D and a web page using c-obj/JSON that's also helpful.
Personally I like Bootstrap for optimizing for mobile but there are lots of others. Mustache and Handlebars are very helpful for manipulating JSON data on a web page. On Mon, Jan 16, 2017 at 9:26 AM, Neil Dennis <npden...@greatext.com> wrote: > One approach I have seriously considered, especially given my work on > hybrid mobile applications is this. > > Single Page HTML > > JavaScript/JQuery AJAX calls to 4D > 4D Builds a C_Object Stringify it and returns it to AJAX call > JavaScript gets the Stringifiy’d object and Calls Parse to turn it > into a JavaScript Object > JavaScript uses JQuery to build the page and display the data. > > This is the way to get hybrid mobile applications to work, it could work > just the same for “real” web pages. > -- Kirk Brooks San Francisco, CA ======================= ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************