Web server on the phone?
jptmoore at gmail.com
Wed Jul 16 10:42:09 CEST 2008
Yeh, using a web server + CGI is quite a nice way of avoiding native
GUI development on a phone. You could install lighttpd which supports
CGI and then have a choice of language for the CGI program themselves.
2008/7/16 Dirk Bergstrom <openmoko at otisbean.com>:
> Basically all of my experience writing UIs is on the web. I'd like to
> run a webserver on the phone, so I can write dirt-simple UIs that way,
> rather than getting tied up in GTK/e/Qt.
> I see that there's a busybox server:
> One might also consider thttpd:
> Or shttpd:
> I suspect any of them would be OK for serving static files. However, I
> wonder if CGI would be feasible. I'm guessing that spawning a shell
> script wouldn't be too hard, but I suspect that spinning up a whole
> python process might be a bit much for the little arm CPU. Anyone have
> any thoughts on that?
> Since I'm quite familiar with Django (http://www.djangoproject.com), I
> thought I might just run the Django development server, which has a
> toy-ish httpd server built in. That way I'd already have python
> running, so I'd avoid all the fork/exec/load-libraries overhead.
> Not really sure where I'm going with this, just throwing out ideas to
> see if anyone says yea or nay.
> Openmoko community mailing list
> community at lists.openmoko.org
More information about the community