Archive for the 'Uncategorized' Category

The Launch: Dos and Don’ts of Real Life Deploys

« 30 May 2008 | 17:15 | Uncategorized | No Comments »

Alpha asap. Famspam did alpha testing with their family.
Beta:
- at this point you should probably have some way to filter and aggregate response data.
Optimization:
- ab - apache_bookmark.
- httperf, bong
Test data: add a million rows of gibberish with ruby_faker
query_trace: shows which code is spawning which queries and how they perform.
Vendor everything.
FamSpam uses jQuery.
He said ‘gitsplosion’…
Service hooks. […]



Meta-Programming for fun and profit

« 30 May 2008 | 16:06 | Uncategorized | No Comments »

Came in late.
Was discussing using forwardable to implement the delegator pattern. see def_delegator.
Missings:
method_missing, showed example of using method_missing to harvest messages to a class. Freeze would fail because Object implements that method so the Recorder itself gets frozen not the playback object. The solution: BlankSlate or as it will be called in Ruby 1.9, SimpleObject, […]



Datamapper

« 30 May 2008 | 14:26 | Uncategorized | No Comments »

Datamapper:
Forces explicit property declaration.
Datastore’s are connected by adaptors.
Identity Mapper: looking for an object with same id should return the SAME OBJECT. foo[1] == foo[1]
LoadedSet: Foo.all tracks which objects come out of the database at the same time to allow changes across the set at db level.
Support composite keys. Keys are arrays
Naming Conventions: allows you to […]



technorati claim

« 13 September 2007 | 12:59 | Uncategorized | No Comments »

Technorati Profile



Learning Prototype and Trailing Commas in Javascript

« 22 August 2007 | 10:42 | Uncategorized | No Comments »

I have been using Prototype a bit lately in the project I am working on. This is pretty much the first time I have used OO Javascript and it has been an interesting experience. The Pragmatic Programmers Prototype and Script.aculo.us book, though still in beta, has been a great help in getting things figured out.
Today […]