Wednesday, March 28th, 2007

wxJavaScript: JS port of wxWidgets and beyond

Category: JavaScript, Library

Franky Braem and his team have created wxJavaScript, a UI toolkit that started out as a port of wxWidgets:

But at this time, wxJavaScript is a lot more. wxJavaScript has an Apache module
mod_wxjs, an SQLite module, … And many
other modules are planned. So with wxJavaScript, you can write
server side scripts for generating (x)html pages, system scripts,
GUI applications, … in one of the most used programming languages: JavaScript.

wxJavaScript uses SpiderMonkey. SpiderMonkey is the
JavaScript engine of Mozilla.
E4X is activated
in wxJavaScript. E4X is a programming language extension that adds native XML support to

With wxJavaScript you can write system scripts, gui applications or
dynamic webpages using JavaScript. This isn’t another Ajax library.

This release contains the following updates:

  • Introduced namespaces (like used in YUI)
  • + tpl (Template module) uses namespace ‘tpl’
  • + Sqlite uses namespace ‘sqlite’
  • MySQL module introduced
  • wxHtmlWindow added
  • Renamed xml module into expat module
  • sqlite: removed open (use ctor now), close, finalize (automatically done)
  • db: removed close method (automatically done)
  • renamed property isOpened to opened
  • The firstline of the script can contain a shebang now (#!)
  • mod_wxjs: wxJS_PreScript and wxJS_PostScript directives added

Posted by Dion Almaer at 8:26 am

4.1 rating from 32 votes


Comments feed TrackBack URI


I’ve liked the idea of wxWidgets for a while but haven’t done any of that kind of work lately so there’s been no chance to play. It’s nice to see an “open web” friendly offering come out.

Comment by Jesse Kuhnert — March 28, 2007

It is sounds interesting… :)
I will try it.

Comment by Amon — March 28, 2007

I remember taking a look at this project when it was Windows-only. Good to see they’ve ported it to Linux and marked in their build file that OS X is “to do”. Looking forward to building some web apps with JavaScript on the server!

Comment by Justin Kramer — March 28, 2007

Finally, a decent server-side JavaScript module for Apache.

Comment by kourge — March 28, 2007

it will be nice to play with…but seems like not so “deployment friendly”. That’s just me though..

Comment by Liming Xu — March 29, 2007

If you had any problem running wxjs on windows (this is only when you use the binary version), you have to install vcredist SP1 version. You can download it from the website.

Comment by Franky Braem — March 29, 2007

Is anyone actively using this toolkit in a production environment? If so are you happy with its robustness, performance and UI capabilities?



Comment by Chris Hodges — April 22, 2007

does it have a canvas support? i just started today and trying to figure out how to draw using jsWidgets! so far no luck, but overall, it looks promising.

Comment by sushil — August 18, 2007

Leave a comment

You must be logged in to post a comment.