Showing posts with label web-servers. Show all posts
Showing posts with label web-servers. Show all posts

Friday, January 4, 2013

CherryPy web server + framework runs on Android via SL4A

Running CherryPy on Android with SL4A | defuze.org

Post  is from 2010, but idea is cool and can be useful, more so since the CherryPy server can access some Android functions such as the phone's location.  See the example in the post.

The post author wrote a book on CherryPy earlier.

I've tried Cherry some earlier, and it is good.

I had blogged on my older blog jugad.livejournal about  the possibility of running a web server on Nokia / Symbian phones, and about SL4A earlier on this current blog.


SL4A (Scripting Layer For Android):

http://code.google.com/p/android-scripting

About the post author, Sylvain Hellegouarch:

http://www.defuze.org/about

- Vasudev Ram
www.dancingbison.com
Python, Linux and open source developer / trainer.

Saturday, December 15, 2012

Another good article about energy and cost saving with solar energy and software

One year with solar energy at home: Mostly sunny! | Cleantech News and Analysis

Seen via a link in article mentioned in my previous post.

- vasudev ram
dancingbison.com

Thursday, November 15, 2012

Mongoose, tiny C web server and library

mongoose - Mongoose - easy to use web server - Google Project Hosting

Just saw this. The site says Mongoose is very small, written in C, and can be used both standalone and  as a library, to embed a web server in your applications. Seems potentially useful.

I had blogged about an IBM developerWorks article by Cameron Laird about lightweight web servers earlier, on this blog, IIRC.

The area interests me because it seems to have a lot of possibilities. And much earlier, I had blogged about web servers running on mobile phones, on my earlier blog,  jugad's Journal - http://jugad.livejournal.com.  The point of that is that it enables phones to act as web servers, not just as clients. That could open up a lot of new applications and spur innovation.

Wonder what would happen if Mongoose met  Python?

Sorry, couldn't resist :-)

I actually meant it in a good sense, as in, if someone develops a Python binding for Mongoose, since it is a library. That could lead to a lot more usage of it.

- Vasudev Ram
www.dancingbison.com

Monday, October 8, 2012

uWSGI: Swiss Army Knife for your web/network apps

By Vasudev Ram


IIRC, I had blogged or tweeted about uWSGI a while ago. Saw it again today. It seems to have evolved a lot since then.

The Internet Archive uses it.

The Internet Archive on Wikipedia.

Brewster Kahle founded the Internet Archive.

uWSGI is a fast, self-healing and developer/sysadmin-friendly application container server coded in pure C.

Excerpts:

[ Born as a WSGI-only server, over time it has evolved in a complete stack for networked/clustered web applications, implementing message/object passing, caching, RPC and process management.
...
It can be run in preforking mode, threaded, asynchronous/evented and supports various forms of green threads/coroutines (such as uGreen, Greenlet, Stackless, Gevent and Fiber).
...
Sysadmins will love it as it can be configured via several methods: command line, environment variables, XML, .ini, yaml, json, sqlite3 database and via LDAP. ]

- Vasudev Ram - Dancing Bison Enterprises

Thursday, September 27, 2012

Waitress, a pure Python WSGI web server

By Vasudev Ram


Waitress is a pure-Python WSGI server. (It is part of the Pylons Project.) From the Waitress site:

[ Waitress is meant to be a production-quality pure-Python WSGI server with very acceptable performance. It has no dependencies except ones which live in the Python standard library. It runs on CPython on Unix and Windows under Python 2.6+ and Python 3.2.
...
It supports HTTP/1.0 and HTTP/1.1.
]

Usage example:
from waitress import serve
serve(wsgiapp, host='0.0.0.0', port=8080)
or
from waitress import serve
serve(wsgiapp)
The second example serves the application on all IP addresses, on port 8080.

You can download Waitress from the Python Package Index (PyPI).

- Vasudev Ram - Dancing Bison Enterprises


Saturday, September 15, 2012

Lightweight web servers: IBM dW article by Cameron Laird

Lightweight Web servers

Pretty interesting and useful article, IMO. The range of possible uses of such lightweight web servers is surprising.