Lets talk about Behavior Driven Development in this post. In software development we usually start with a specification, coming from the manager/client/customer. The specification contains the user stories that define the behavior of the application. Given a behavior is where we start in, it is always good if we modularize our approach and integrate that in our coding practise. BDD or Acceptance Test has evolved out of established agile practices and is designed to make them more accessible and effective for teams new to agile software delivery.
Django has always been hailed as having great, awesome documentation. And, for the most part, this distinction has been deserved. But every once in a while, you find an area that's just...lacking. An area that you know exists but you've never gone into because it didn't come up and no one else used it but then you finally got a reason to use it...and then you find out it's so lacking in documentation that you have to dive into the source code.
One thing nearly every realtime site needs is a replay log. Public networks are inherintly unstable (doubly so for mobile). If a client disconnects for a short period of time, users will expect to receive any data it missed when it reconnects. That’s where a replay log comes in. It keeps a log of all activity and, when a client reconnects, it streams all the data it is missing.
What If I Have Already Defined my Models and Modified the Database?
So, we have this pretty project that has been deployed to production and we are working on our local development version. How do we switch to South migrations and update both our local database and the production one? Well, use the docs, Luke! Well, unfortunately for me, the docs are a bit terse, and I prefer to go over all the details before attempting a migration that can potentially break my production system. Better safe than sorry.
Usually this blog is about things made here. This post isn’t.
Shapely and Fiona are essential Python tools for geospatial programming written by Sean Gillies. Use them instead of ESRI’s Python toolchain. They are free, stable, and mean you can post your code on GitHub and nonrich people will be able to run it.
Recently Brian Timoney and James Fee have been writing about how geospatial work is more and more programming and less GUI-driven operations in the ArcGIS mold. They’ve been pointing a lot to Python for this.
To make this a bit more concrete, here are some quick recipes of how to do things with Shapely that I have recently done and may be useful.
Gate One is a web-based Terminal Emulator and SSH client that brings the power of the command line to the web. It requires no browser plugins and is built on top of a powerful plugin system that allows every aspect of its appearance and functionality to be customized.