[V4CC] Valentina for Cocoa, Vdatabase.h

Justin Drury justin at crunch-recording.com
Sun Sep 25 08:36:18 CDT 2005


Hi Ruslan and others...

This looks great!  Just had a quick moment to look it over, I'd like to use it in practise...

KeyValueCoding compliant...good thing.

My only style question is the usage of VSQL::xException on the SQL commands.  I know you're using 
exceptions in 2.0.  Personally I'd prefer getting back a NULL object and calling a lastError method to 
get back an NSError.  Others should chime in here.

How is Valentina init'ed, serial numbers, destroyed?  Should vDatabase or even better, the valentina 
init class have a (BOOL) valentinaInitialized; method? (For debug checks).  Could bind controls so 
they disable(demo purposes?)

Other than that, looks beautiful!  I'm sure I'll have some comments on the VCursor class!!!

Justin


More information about the Valentina-beta mailing list