Integrated Application Platform › Forums › General › suneido:/eval? › Re: Re: suneido:/eval?
May 6, 2011 at 11:35 pm
#840
Keymaster
The current SuneidoAPP is specific to getting the HTML from database tables (‘books”) but you could make your own version of SuneidoAPP that got the HTML code from somewhere else, e.g. from calling a function.
It could work like HttpServer and use some kind of “map” (or “routing”) that specified what functions (or classes) to call for different url’s. Or you could simply take the first part of the url as a the name of a function/class to call.
NOTE: letting url’s specify any function to call is dangerous – you would only want to do that in a “trusted” environment.