> 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.
I am a big fan of scripting languages, and I really would welcome having support for scripting in POCO.
> Here are the thoughts/ideas I have been playing with :
This is really great for coming up quickly with web interfaces for existing applications.
> 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.
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?
A common interface for the integration of different scripting engine would be great, too.
What we definitely need is some code generator that automatically generates scripting language interfaces for POCO classes. This is something that the CppParser (part of PocoDoc) in the Sandbox could be used for.