You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • Inspires me for something: put like the Apache Documents folder (hierarchy) onto an SD cart - static context, templates, (rendering) functions (like taglibs as used in .jsp in the J2EE world), and what ever is needed to serve an http request(ed html page) - then add some execution container onto Espruino, which able to load it dynamically and temporarily from the SD card and create the html response. To start simple, adding a templating framework - such as the one from _ (underscore.js) would go quite far for that. In _ the templates are actually compiled into anonymous javascript functions... (currently dealing with backbone, underscore, jQuery, and... - and got to like underscore a lot... it is quite a cool js lib for doing a lot of things... of course, also things in a browser context... but that part could be dropped...).


Avatar for allObjects @allObjects started