mod_console, Servoy 4 JavaScript interpreter released

Find out how to get things done with Servoy. Post how YOU get things done with Servoy

mod_console, Servoy 4 JavaScript interpreter released

Postby agiletortoise » Thu Jun 05, 2008 5:59 pm

I've posted my console module for Servoy, for anyone who may be interested.

http://greg.agiletortoise.com/software/ ... d_console/

mod_console provides an interactive JavaScript interpreter in the client runtime, and can be easily added to any existing solution, to allow you explore objects and execute testing code in the Smart or web client. Think of it as a JavaScript command line for you solution.

Some of you may have seen me using this in my demo at the last VUG meeting. I find it very handy to explore things in my solutions...sometimes also to do somewhat more dangerous things, like little data manipulation fixes on live solutions.

I believe there is another more comprehensive console module out there, but I thought I'd throw mine up, too. One of the interesting thing I was able to accomplish in this solution that couldn't be done prior to Servoy 4, is control the scope which the interpreter is evaluated in. It defaults to the global scope, but you can select "Form" scope, and select a specific form and have your code evaluated as though it were a method on that form (ie, 'this' will evaluate to the form).

Have fun, feedback is welcome!

greg.
Greg Pierce
Agile Tortoise
SAN Developer
http://www.agiletortoise.com
User avatar
agiletortoise
 
Posts: 278
Joined: Wed Oct 12, 2005 3:26 pm
Location: Texas, USA

Postby bcusick » Sat Jun 07, 2008 2:00 pm

Greg - this is AWESOME! I love the scope feature.

Thanks very much for sharing it with the community!
Bob Cusick
bcusick
 
Posts: 1255
Joined: Wed Apr 23, 2003 11:27 pm
Location: Thousand Oaks, CA USA


Return to How To

Who is online

Users browsing this forum: No registered users and 7 guests

cron