I'd like to solicit some input on scripting language need/choice. I am motivated by a need for it in the Servlet project, but I think it would be generally useful to have one.
Here are the thoughts/ideas I have been playing with :
For the servlet project, rather than having "C++ server pages" equivalent of JSP, I thought of implementing it as JavaScript Pages, i.e. server-side JavaScript by leveraging the SpiderMonkey engine. JavaScript is already de-facto and de-iure client side scripting language, so why not have it on server side as well?
Some other ideas I though about:
I somewhat like Python, so maybe integration with it would be a good idea. This is mainly driven by me using ReportLab, which is written entirely in Python and does a very good job in generating nicely formatted PDF documents on the fly.
I don't know much about it, but Ruby is becoming increasingly popular.
Lua is reportedly very fast scripting language with some interesting features.
Is there a need for general-purpose PocoScript, at all? For web-related stuff, is a JSPServlet the proper and sufficient way to go? Or maybe PocoScript could be done as a common interface to any scripting language and then filled-in with plugins for other languages (and not only script - think JNI) in a similar fashion as was done in PocoData.
Thoughts, ideas, suggestions?
Alex





