![]() |
Develop perl web apps FOR maemo
1 Attachment(s)
I've attached a preconfigured httpi webserver which is only 12kb in size
more info about it here: http://www.floodgap.com/httpi/ unzip it and put it into /user/home (must be this directory) create a directory /user/home/webroot chmod u+rwx /user/home/httpi stick a perl cgi script into /user/home/webroot e.g. hello.cgi print "<h1>Hello everyone</h1>"; then: chmod u+rwx /home/user/webroot/hello.cgi for good measure (I'm sure chmod u+rwx /home/user/webroot would suffice) start the webserver with the command /user/home/httpi fire up the maemo web browser and point it to http://nokia-n900:9090/hello.cgi Nice things about this: 1. The webserver itself is written in perl and runs in the background as a daemon. No other perl packages need to be installed. It's standalone and it runs as the user, no need for root access. 2. It's a very mature and stable server 3. It uses no cpu while hanging around waiting for a request, so no drain on battery 4. the perl interpreter is already loaded in order to run the webserver itself, so doesn't need to be activated again to run your script (speedy and uses less memory) I'm sure with clever uses of graphics,css,ajax and other web techniques perl programmers could make pseudo maemo GUI looking web apps. I think this could open up the way for more app development on maemo and indeed meego. |
Re: Develop perl web apps FOR maemo
Beat me to it ;) this is perfect and saves me having to write my own.
Shame that we only have 5.8, a lot more could have been done with it. Thanks a lot! I look forward to customising it. |
All times are GMT. The time now is 21:12. |
vBulletin® Version 3.8.8