While working on my current project it occurred to me that I needed my Raptor to serve up pages that were as flexible as something on a desktop server. So, I’m currently developing AMP using existing server demos and Skewworks Application Framework. Obviously I’ll build out anything I need but feel free to add any requests and when it’s all done I’ll be sure to share.
Ability to serve HTML, CSS and JS.
A model (like MVC) can be tied to any page and accessed by @ Model in the HTML
Models are loaded dynamically as needed so they can be replaced on the fly
Models can respond to page load and post events
Let me know what else you’d like to see
Added support for:
Adding ContentTypes (Default ones are already loaded css,html,js,etc)
Adding DefaultPages (index.htm, index.html, etc)
@ Skewworks - I’ve been considering that as well, however I prefer to serve all pages static, and load Json objects to create the data. This way, I can have load balancing among my NETMF devices. One big device that serves HTML and other statics, and the main low power device that’s serving JSON only, to service the user’s needs.
This has been working out quite well. I’ve added sessions to the mix and I’m currently using this to control a lot of stuff on my Raptor.
View run pages (with any properties you like and PageLoad)
Custom default page(s)
Set base directory