Flutterby™! : Before I write one

Next unread comment / Catchup all unread comments User Account Info | Logout | XML/Pilot/etc versions | Long version (with comments) | Weblog archives | Site Map | | Browse Topics

Before I write one

2014-08-21 00:05:07.121233+00 by Dan Lyke 6 comments

Before I write one: suggestions for an embedded web app server? (irrigation controller that needs state management & hardware control)

[ related topics: Robotics Embedded Devices ]

comments in ascending chronological order (reverse):

#Comment Re: made: 2014-08-21 01:07:29.599666+00 by: Jack William Bell

Save yourself some time. Write it in Python using WSGI and the built-in HTTP server in the standard Python lib. It'll get done fast and will work fine on almost any hardware/OS combo.

#Comment Re: made: 2014-08-21 01:24:46.748414+00 by: spc476

There's libmicrohttpd, but if GNU stuff isn't your thing, the page has links to other embeddable web servers.

#Comment Re: made: 2014-08-21 01:36:06.776542+00 by: Dan Lyke

I think libmicrohttpd is what I want. Easier than working out Python bindings for the USB stack I'm needing.

#Comment Re: made: 2014-08-21 02:23:17.738403+00 by: Jack William Bell

I was assuming there was existing command-line utilities for the controller you could simply invoke with sub-process. Is that not the case?

#Comment Re: made: 2014-08-21 04:21:20.416579+00 by: Dan Lyke

I'll have to write them. It'd be easy enough to do, but ... every time I start to write something in Python I wonder why I didn't write it in C++, so I figure I should just start there.

#Comment Re: made: 2014-08-21 19:19:45.740857+00 by: concept14

It's a cliche to say that we went to the moon with less computing power than we now have in a phone, but apparently the Apollo program has now been eclipsed by lawn sprinklers as well.