Forum OpenACS Development: Re: Saving List Views (add to core?)

Collapse
Posted by Malte Sussdorff on
Ah, okay, but you could rely easily and you do not have to have a SQL directory if you call content::type::new (unless I misunderstood the implementation, but it should create the extension table for you, shouldn't it). Though now we are getting into the area of "is it a best practice to create the tables in the SQL statement instead of only calling the TCL methods".

I agree we need to do some parsing, but we have a database, so why not use it? Parsing should be left to the situations where we do not know which columns we have, but in this scenario we know at least some of them.