Glurp!!
I'm not much of a web programmer, but fortunately OpenLayers and MapFish have adopted a policy of "documentation by example". OpenLayers is by far the leader in this, eschewing tutorials in favor of a long list of tiny example pages, each one demonstrating a discrete unit of functionality.
Since "mediocre authors borrow, great authors steal", I set about finding something I could steal that would get me closer to my goal. Fortunately, I quickly found want I wanted in the client code base of MapFish – Mapfish is an ExtJs/OpenLayers framework, so it had the components I was yapping about, and it included a simple editing example.

Starting from there, hooking up the client's map services, using the OpenLayers examples to grab some extra layer types, and adding a few buttons, I had the desired proof of concept in plenty of time to make my afternoon flight. Thanks MapFish and OpenLayers, for making me look so damned good!

5 comments:
Mapfish absolutely rocks! I am forever in debt to the developers of OpenLayers and MapFish. They made things possible (and dare I say, in some cases, "easy"), that I was telling clients 3 years ago was just not going happen without a very large investment in custom solutions.
Couldn't agree more. I have yet to really get in deep with MapFish but I have been very impressed with OpenLayers and MapFish.
As great as those frameworks are, I hate trying to debug javascript (though they make that less painful).
I'm much happier sticking to the server side instead of all that gui crap, but sadly with database consulting business comes that other stuff I could care much less about.
Regina, people have been talking about JavaScript Language Abstraction (example of such abstractions include GWT and Pyjamas). I'd recommend reading this excellent blog post and comments. Very informative.
Regina: Just in case nobody else has mentioned it, Firebug is really helpful for debugging Javascript in the Firefox browser. But you knew that already, I'm sure. Like you, I'm a serverside developer, so I need all the help I can get with this stuff.
Elem: Yeah, I'd wondered why Google hadn't produced a GWT for Python, especially as the Google App Engine is Python. Thanks for the tips.
Paul,
Looks really good. I guess the best thing is you were able to prototype in such a short time. Looks very slick!
Post a Comment