News for hackers. Stuff that matters.
Re:Yahoo’s Mojito is Now Open Source by shirkey on Monday April 02, 2012 @10:21PM (#3791169)
Using the @ symbol as the hook for a function call would seem to be not only dangerous (corner cases of email or twitter address) but also superfluous -- if Mojito is acting as the web server, shouldn't every request be mapped to some sort of functional request, even in the case of serving static content? If it isn't acting as a web server, would the proxying server in front of it be routing the appropriate functional requests to Mojito?
Re:Yahoo’s Mojito is Now Open Source by i5ao on Thursday April 05, 2012 @06:52PM (#3805060)
the "@" prefix is only a short-cut if you haven't defined any routes. Mojito also defines app-level and mojit-level static routes.