The Observer pattern is mainly used to implement a distributed event handling system. The primary objective of this pattern is to provide a way to handle run-time one-to-many relationships between objects in a loosely coupled arrangement.
I’m always doing research on how to get Web content ranked well in search engines such as Google or Bing. Part of that research involves figuring out how to get new client Web sites ranked well in a cost-effective manner (since getting the resulting traffic for free beats everything).
When you need to connect into your workplace or home network, you can use a VPN (Virtual Private Network) to do this. This sort of setup is ideal for frequent travelers who need to connect their laptop into another network while on the road. This 7 step how-to covers connecting your current machine to a remote network that has already been setup with a VPN.
Oftentimes, you need to have objects that communicate with each other via events. This is a very useful setup, for example, in a GUI — where these events represent things like mouse clicks, key strokes, or button presses. That’s not what I developed these classes for, since I was more interested in simulating things and the event system seemed like the most natural fit, but the recipe is still relevant to other event handling needs. Continue reading “Event-based Programming for Python”
Sometimes, you come across two programming toolkits that would go great together. However, in the case of Twisted Matrix and Stackless python, there’s some legwork required to get these two great systems to work together.