MySQL: tracking row creation and row change events with timestamps

7. November 2009 richard Keine Kommentare

The case for separate Creation and Change properties

 
 

Sometimes when modeling a database entity – a table – you might wish to automatically keep track of when the tuple – the row – was created. In theory this information is rather technical in nature, being synthetically produced by the coder to aid in housekeeping tasks such as:

 
 

  1. Knowing if you are trying to store the latest version of a row in concurrent write operations. Optimistic concurrency control, in which you always assume you are writing the latest version – unless the current timestamp is newer – is useful here. Actually known as “backward oriented”.
  2. Knowing which of several rows was written to the database first. Usually – if you use an AUTO_INCREMENT integer for your primary key, you can use that to know which row predates another row. If you are using a natural key for your primary key then a column “creation_time” or “created_at” could be useful. Perhaps you want to compare Dubletten and use the creation time to help judge which of the doubles to discard.

  Mehr…

  • Share/Bookmark
KategorienWeb Tips, webdeveloper Tags:

My Firefox Plug-ins

23. October 2009 richard Keine Kommentare

Here is a list of the best Firefox plug-ins for web developers.

Anyway, these are the plug-ins I use.

Category: Web Developer Plug-ins

  Mehr…

  • Share/Bookmark
KategorienWeb Tips, webdeveloper Tags:

Geneva – Identity Managmenet Server

27. October 2008 admin Keine Kommentare

Kim Cameron (Architect – Distinguished Engineer) is giving an interesting talk about Microsoft’s new “Geneva” project, which was mentiioned by Ray Ozzie in the keynote.

Apperently, Geneva is a Windows Server product (and developer’s framework) which authenticates claims about a user’s identity against, potentially, a multitude of 3rd party systems.

It supports SAMl2.0, WS Federation, WS Identity, Kerberos, Active directory, Windows CardSpace. The system uses standards and open protocols at its core.

Application developers need only use “Microsoft Federation Gateway” in order to authenticate the credentials of millions of Live ID users. Together with the .Net Access Control Service an application can request authorization for an authenticated user to perform particular operations. These, together with Microsoft Dynamics CRM, builds the Microsoft Services Identity Backbone – an essential part of WIndows Azure.

Potentially, Geneva will allow developers to provide globally provisioned, cloud based and federated identity management at very little cost. If it lives up to the claim of being open, extensible and standards-compliant, it might just be adopted, too.

  • Share/Bookmark
KategorienMicrosoft PDC 2008 Tags: