An alternative geostack with geocouch, openlayers and jquery (mapquery).
CouchDB is an alternative database. Data doesn’t have to be structured as in SQL. You can put json into the database, for instance. It is a schema-free database: you can just add or remove attributes. Some of the advantages:
RESTful http API.
Build-in replication. Multi-master, even. Also for instance between your development machine and your laptop and your machine at home.
Build-in webserver for accessing the data.
GeoCouch is an extension to CouchDB, a bit like postgis is to postgresql. It support every geojson kind of geometry.
As an example, he imported a shapefile.
shp2geocouch is a script that
does that. (Behind the scenes, ogr2ogr from gdal converts a shapefile to
language!) that returns every geometry. And then a simple http request that
fires off that query with a bounding box.
Now on to the client side: mapquery. It is a sister to GeoExt geoext adds openlayers integration to extjs; mapquery adds openlayers integration to jquery. Why a jquery integration for openlayers?
Less boilerplate code.
Normal things should be easy, complex things should be possible.
Lots of peole already use jquery with openlayers, but everyone builds his own small wrapper: he wants to concentrate that effort into one project.
He showed a live demo and it looked nice, short and efficient.
My name is Reinout van Rees and I work a lot with Python (programming language) and Django (website framework). I live in The Netherlands and I'm happily married to Annie van Rees-Kooiman.
Most of my website content is in my weblog. You can keep up to date by subscribing to the automatic feeds (for instance with Google reader):