<div dir="ltr">for a super simple server check out a post in nokia&#39;s forum, jkirma posted a pretty simple web server for PYS60, just remove the S60 specific part and that should be it. <br><a href="http://discussion.forum.nokia.com/forum/showthread.php?t=124217">http://discussion.forum.nokia.com/forum/showthread.php?t=124217</a><br>
<br>talking about python, has anybody tried twisted on the FR?<br><br>-Jose<br><br><div class="gmail_quote">On Wed, Jul 16, 2008 at 9:35 AM, Dirk Bergstrom &lt;<a href="mailto:openmoko@otisbean.com">openmoko@otisbean.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Basically all of my experience writing UIs is on the web. &nbsp;I&#39;d like to<br>
run a webserver on the phone, so I can write dirt-simple UIs that way,<br>
rather than getting tied up in GTK/e/Qt.<br>
<br>
I see that there&#39;s a busybox server:<br>
<br>
<a href="http://buildhost.openmoko.org/daily-feed/armv4t/busybox-httpd_1.11.0-r2_armv4t.ipk" target="_blank">http://buildhost.openmoko.org/daily-feed/armv4t/busybox-httpd_1.11.0-r2_armv4t.ipk</a><br>
<br>
One might also consider thttpd:<br>
<br>
<a href="http://www.acme.com/software/thttpd/" target="_blank">http://www.acme.com/software/thttpd/</a><br>
<br>
Or shttpd:<br>
<br>
<a href="http://shttpd.sourceforge.net/" target="_blank">http://shttpd.sourceforge.net/</a><br>
<br>
I suspect any of them would be OK for serving static files. &nbsp;However, I<br>
wonder if CGI would be feasible. &nbsp;I&#39;m guessing that spawning a shell<br>
script wouldn&#39;t be too hard, but I suspect that spinning up a whole<br>
python process might be a bit much for the little arm CPU. &nbsp;Anyone have<br>
any thoughts on that?<br>
<br>
Since I&#39;m quite familiar with Django (<a href="http://www.djangoproject.com" target="_blank">http://www.djangoproject.com</a>), I<br>
thought I might just run the Django development server, which has a<br>
toy-ish httpd server built in. &nbsp;That way I&#39;d already have python<br>
running, so I&#39;d avoid all the fork/exec/load-libraries overhead.<br>
<br>
Not really sure where I&#39;m going with this, just throwing out ideas to<br>
see if anyone says yea or nay.<br>
<font color="#888888"><br>
--<br>
Dirk<br>
<br>
_______________________________________________<br>
Openmoko community mailing list<br>
<a href="mailto:community@lists.openmoko.org">community@lists.openmoko.org</a><br>
<a href="http://lists.openmoko.org/mailman/listinfo/community" target="_blank">http://lists.openmoko.org/mailman/listinfo/community</a><br>
</font></blockquote></div><br></div>