02.19.07

POW 0.1.0 preview available

Posted in POW at 10:55 am by David Kellogg

POW 0.1.0 (preview) is ready for download. It has some nice features.

  • Sunbird Support
  • Thunderbird Support
  • Flock Support
  • HEAD requests
  • more MIMEs
  • free watermelon

That’s right, you get a free watermelon with this version. New users will see this favicon.ico as a nice gift, or if not, a replaceable item. Sunbird and Thunderbird get to share in the port listening glory. These two lonely fellows need a little connectivity. I have no idea how my users will take up the opportunity to add a webserver where none existed before. I’m hoping for some creativity.

Another addition is better MIME support from the Mozilla engine itself. The old MIME list becomes a list of overrides. The upshot is you have to add almost no new MIME types. The one exception (see above) is favicon.ico, which uses the MIME, “image/x-icon”. Please add it yourself if you upgrade.

One caveat. Thunderbird and Sunbird POW addons should be considered development releases. The default ports conflict. The webserver still starts, I assure you, but the port conflicts may drive you nuts.

Have fun.

9 Comments »

  1. Doug Thompson said,

    February 19, 2007 at 4:40 pm

    I used to hack Zope and zWki, so a pure FF server version is welcome.

  2. Doug Thompson said,

    February 19, 2007 at 4:41 pm

    Is there any update on the POW based Wiki?

    Thx

  3. David Kellogg said,

    February 19, 2007 at 5:02 pm

    Is there any update on the POW based Wiki?

    A user named John wrote some initial code. I sent back some suggestions. The code was about 30-50 lines and worked. I’ll let him post the code when it is somewhat ready.

    Dave

  4. Ruud said,

    February 22, 2007 at 8:06 pm

    At 2/22/07 10:00 PM CST
    When trying to access: http://davidkellogg.com/wiki/Main_Page

    I get this error:

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, webmaster@davidkellogg.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

    Plus that email address fails.

  5. phil said,

    February 23, 2007 at 2:54 pm

    Great work!

    I was trying to get pow_exec to work with your examples on the wiki, and it doesnt look like its working correctly, just wanted to let you know!

  6. David Kellogg said,

    February 25, 2007 at 4:44 pm

    pow_exec, as I recall, was broken in the older versions (< 0.0.9). It should be fixed now.

    Dave

  7. Rob Cameron said,

    March 23, 2007 at 10:19 am

    David,

    POW is amazing, I’m extremely excited about this project! This could very well be the future of web development — everything in JS. Kudos for doing this and trying to keep up with the tech support. As the author of my own open source project (http://www.cfwheels.com) I know how annoying us fans can be. ;) I had a couple questions…

    * I haven’t seen this mentioned anywhere else yet: is there anything special that needs to be done to get SQLite database access working? Do I need the binary somewhere on my Windows system and PATH (which I’ve done), or is this something that Firefox includes natively? When I try to run your DB example (http://davidkellogg.com/wiki/Pow_db) I get this:

    Error: /pow/htdocs/db/:13 results.column_names has no properties

    If I comment out that line then I get nothing at all.

    * It seems like if you have certain syntax errors (I was playing around, adding a new .prototype method for the Array object), the server just won’t serve anything anymore, even valid pages like your welcome screen. Nothing brings it back short of closing and reopening Firefox. Is this just a limitation of trying to do server side javascript inside of Firefox, or do you think you can do something on your end to catch these kinds of errors and let us know?

    * Any plans to bake in some of the JS extensions in Prototype or JQuery right into the native SJS language? I’ve tried including some Prototype extensions as SJS includes but I’m having trouble using them … they seem to cause the same fatal syntax error mentioned above. I’m planning on going through more systematically and see if I can find what’s failing.

    * How about a standalone version of the server? Let’s say we development a nice little app (a blog for example) in SJS and now want to serve it to the world. Having a regular app server and a simple Apache module to hand off requests and we’d have a bonified, enterprise-ready web server! Of course it would need to support the full Mozilla API to be completely compatible with any code that used those objects, but still. How hard can it be? (Easy for me to say!)

    * Any chance debugging would ever be available in Firebug? If we had that, and a little IDE in the browser, Firefox would be a complete development environment! Now we’re getting somewhere. :)

  8. J Torres said,

    March 28, 2007 at 6:35 pm

    Try as I might I cannot get POW to work. I installed it from the Mozilla site and have tried following the short Wiki tutorial (where’s the ‘welcome’ page?), but all I get is a blank screen. I even changed home directories to C:\POW\ and moved all the .sjs files there, nothing, nada,zilch. Very little documentation for this puppy. I’m using XP SP2 with FF 2.0.0.3. Help.

    JT

  9. David Kellogg said,

    April 20, 2007 at 7:36 pm

    Error: /pow/htdocs/db/:13 results.column_names has no properties

    I should catch this. It looks like no columns were found. Without seeing the table description, it’s hard for me to judge.

    As for a standalone server. Perhaps using XULRunner. I think it can accept extensions, and can load JS files. There is a JS Shell out there, too.

    I asked Joe Hewitt about Firebug and Extensions and the answer was no. I should have asked, why, but did not. He’s very talented and could have made it work. I will keep an eye out for alternatives.

Leave a Comment