Blog Post RSS ?

Blogs » JavaScript & CSS » mod_wxJS
 

mod_wxJS

by Harry Fuecks

So there I was, getting ready for the PHP vs. Javascript showdown and I happened to take another glance at wxJS after being tipped off a while back here.

After more than four years work (Sourceforge registration date) the project is now at 0.8.4. And it’s not only doing the GUI part wxWidgets (C++); it’s also doing DBs and Files and ZIPs. wxWidgets means more than just GUI APIs - there’s other stuff available such networking, config file managers and logging - all to help you to write cross platform GUIs in C++.

wxJS also provides XML support (OK Expat not libxml2 but anyway) and Spidermonkey’s E4X support is apparently enabled.

But theres more: mod_wxJS is an Apache module in the same vein as mod_php (seems more like mod_perl in fact - looks like apps startup with Apache). Sure there are a few choices for server side Javascript but I’ll dare to say the only real alternative contender is haXe, which strikes me as more like Actionscript than Javascript. Meanwhile, judging from the responses to this, there’s a demand for server side Javascript, especially if it’s the same one available in your favorite browser.

Not that I’ve tried wxJS yet but fascinating stuff ;) Right now Windows only binaries but looks buildable on Linux.

(Silliness alert) So ignoring one or two minor technical details, there’s a potential for Javascript “all ur base” here - imagine server-side AJAX! prototype for your desktop GUI! Javascript everywhere! Microsoft were ahead of their time.

This post has 7 responses so far

  1. Server-side Javascript, my wet dream. Too bad all the implementations so far, from Netscape’s to Whitebeam and haXe, aren’s really right. It seems like all of them try to find an “innovative” approach — I would really like to see someone making a PHP-like mod_js.

     
  2. It’s nice to hear (read) about my project wxJS. Currently I’m finalizing the 0.9 version, which will be available for Linux (tested on Ubuntu) and Windows (and a Mac release will be made available soon …). Some bugs in the latest source version of SpiderMonkey are holding this release.

    A major upgrade in this release is also that wxJS is build with UNICODE support. Internally, wxJS uses (like SpiderMonkey) UTF-16. A SQlite module will also be available.

    If you can’t wait for this release, you can always get the source from the subversion repository.

    When you’ve got suggestions, please let me know at franky.braem@gmail.com or enter a feature request on the sourceforge project.

     
  3. Where is that dancing smiley icon from Skype when you need one? ;)

    Great work Franky!

     
  4. On 25/10/2007 I released wxJS version 0.9.0. Beside bug fixes, it has the following new features:

    1. wxJS uses UTF-16 internally (like JavaScript, SpiderMonkey does)
    2. An SQLite module
    3. Problems with manifests and dll’s should be solved now with mod_wxjs.

    Franky.

     
  5. Ok it should be 25/10/2006 instead of 2007 :)

     
  6. I know there are hyperlinks on this post, and I can see them when I click on the comments. Why, then, I can’t see them on the main page of this blog?

    http://www.sitepoint.com/blogs/category/dhtml-css/

    They’re not visible there. Does anyone else get this problem?

     
  7. mod_wxjs can now be found at http://www.wxjavascript.net

     

Sponsored Links

Leave a response

You are not logged in, log in with your SitePoint Forum username and password.

-OR- Post Anonymously

* Make sure any code samples are escaped (i.e. ‘<b>’ becomes ‘&lt;b&gt;’).

If not logged in, your comments will be placed in a moderation queue. This means your comment may not appear until one of our moderators approves it.

SitePoint Marketplace

Buy and sell Websites, templates, domain names, hosting, graphics and more.

Logo Design, Web page Design and more!

99designs

  • Custom logo designs created ‘just for you’.
  • Pick the design you like best.
  • Only pay if you’re satisfied with the result.

Want More Traffic?

Get up to five quotes from qualified SEO specialists, with no obligation!

Get A Free SEO Quote Now!