Where Everybody's Crazy

I'm a missionary in Japan. The name of my mission agency is WEC International. That's supposedly Worldwide Evangelisation for Christ, but I think I have a better idea about what it stands for...

2006-09-29

There is no Perl, only XUL

So I got another well-timed prod about Songbee recently, and picked it up where I left off - which was a problem shipping a nicely cut-down version of Mozilla which did everything that I wanted.

Gervase suggested I take a look at XULRunner, which as its name suggests, is good for running XUL applications. But I don't have an XUL application, I have a web-based application; and XULRunner doesn't like creating pop-up windows for web-based applications due to the Mozilla security policy. Other than that, XULRunner is indeed very nice and exactly what I want.

So I thought about it, and realised that juggling around with a Perl server sending web pages to an XUL application wasn't going to work. And, you know, the Perl code would be really nasty to distribute anyway, since you'd have to use PAR and it all gets complicated. There's another solution: rewrite the whole thing to be an XUL application. Heck, there isn't that much that the Perl server does, anyway; most of the doing-things code is Javascript. Perl's only there to handle the database access, really, and with mozStorage you can do all that in Javascript.

It's going to take a while, but it's going to solve all the technical problems and it's going to be a lot neater and a lot easier to distribute. There's nothing at this stage I don't know how to do.

There have been two major hurdles so far, both of which I've cleared. The first was just learning to think in XUL and Javascript, and get my head around what a completely JS-driven application would look like. The second was getting the database access sorted out. At this point I have the makings of a Class::DBI-style interface to my database, but in Javascript. Class::DBI in Javascript, man, think of it!

I honestly didn't know you could do that.


Posted at 23:37:23 in whats-going-on technology songbee | # | G | P | 2 Comments
Language
Japanese English
Links

Tags and Tools
« 2006-09 »
S M TWTFS
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

RSS


I am...

lathos: seriously hating on RapidSwitch at the moment. They're useless.


Photoblog

castle1_filtered.jpg

gosanpai_filtered.jpg

ichibangai2_filtered.jpg

machinaga_filtered.jpg

mizu.jpg


Speedblog

http://glosoli.blogspot.com/2005/09/encrypted-thumb-drive-and-autoplay.html # it's my blog: Encrypted thumb drive and autoplay howto

http://daiyainn.gooside.com/ # 京都だいや旅館 京へおこしやす

http://www.e-chords.com/guitartab.asp?idmusica=96629&keyb=true # Where Could I go Tab by Ben Harper - E-Chords

http://www.inmamaskitchen.com/RECIPES/RECIPES/Soups/vegetable_stock.html # Moosewood's Vegetable Stock Recipe

http://www.foodnetwork.com/food/recipes/recipe/0,,FOOD_9936_8389,00.html # Good Eats Roast Turkey Recipe: Recipes: Food Network

http://www.reallivepreacher.com/node/203 # You Ain't Jesus, PreacherPart Two: Losing The Language of Love

http://leiterreports.typepad.com/blog/2005/06/95_theses_on_th.html # Leiter Reports: A Philosophy Blog: 95 Theses on the Religious Right

http://cbae.nmsu.edu/~dboje/teaching/338/traits.htm # TRAITS

http://jweb.kokken.go.jp/gitaigo/index.html # 擬音語・擬態語 - 日本語を楽しもう! -

http://www.nanzan-u.ac.jp/SHUBUNKEN/publications/jjrs/jjrs_cumulative_list.htm # Japanese Journal of Religious Studies: Cumulative list of Essays & Book Reviews

http://www.myspace.com/chloecfrancis # www.myspace.com/chloecfrancis

http://www.solar.ifa.hawaii.edu/cgi-bin/StrikeProb?latitude=+35.38&longitude=-136.26&location=Nagahama,+Japan # Tropical Cyclone Strike Probabilities for Nagahama, Japan

http://www.missionjapan.org/mission/jmissionorg.html # Japan Mission Organization List

http://www.aquasapone.com.au/soapmaking/showergel_soap.html # AquaSapone - How to make shower gel from natural handmade soap

http://www.ultimate-guitar.com/tabs/d/danilo_montero/la_unica_razon_crd.htm # La Unica Razon Chords by Danilo Montero @ Ultimate-Guitar.Com

http://kb.mozillazine.org/Synchronizing_Windows_based_PDAs # Synchronizing Windows based PDAs - MozillaZine Knowledge Base

http://www.provider-navi.jp/campaign/gyao-withflets/ # USENインターネット接続サービス GyaO 光|当サイト限定キャンペーン

http://mytown.asahi.com/shiga/ # asahi.com:マイタウン滋賀 - 朝日新聞地域情報

http://news.bbc.co.uk/2/hi/programmes/from_our_own_correspondent/6506915.stm # BBC NEWS | Programmes | From Our Own Correspondent | Japanese men take marriage lessons

http://wiki.clamwin.com/index.php/Thunderbird_Extension # ClamWin Free Antivirus. GNU GPL Free Software Open Source Virus Scanner and Spyware Detector. Free Windows Antivirus and Anti Spyware. Stay Virus and Spyware Free with Free Software.


Musicblog

Ben Harper and The Blind Boys of Alabama – Satisfied Mind

Badly Drawn Boy – Silent Sigh

The Melodians – Rivers Of Babylon

Powered by Glob!
Search: