Monday, September 19, 2011
Friday, September 9, 2011
MemoryImage
From: http://martinfowler.com/bliki/MemoryImage.html
When people start an enterprise application, one of the earliest questions is "how do we talk to the database". These days they may ask a slightly different question "what kind of database should we use - relational or one of these NOSQL databases?". But there's another question to consider: "should we use a database at all?"
One of the defining characteristics of enterprise applications is the need to store long term data, which naturally leads people to reach for a database. After all persisting data is one of the main things databases do. Using a memory image is a different route to persistence that doesn't involve a database.
The key element to a memory image is using event sourcing, which essentially means that every change to the application's state is captured in an event which is logged into a persistent store. Furthermore it means that you can rebuild the full application state by replaying these events. The events are then the primary persistence mechanism.
Friday, August 5, 2011
Friday, July 29, 2011
Wednesday, July 27, 2011
Firebug in Safari
defaults write com.apple.Safari WebKitDeveloperExtras -bool trueIf you prefer, you can use the Property List Editor to set the WebKitDeveloperExtras property in the Safari property file, which is located here: ~/Library/Preferences/com.apple.Safai.plist (use Finder to locate the file and double click to open). You’ll need to restart Safari after making the changes to enable Web Inspector.
Subscribe to:
Posts (Atom)
Powered by Blogger.






