[development] hook_foo() vs. nodeapi
Earl Miles
merlin at logrus.com
Sun May 7 21:23:20 UTC 2006
Larry Garfield wrote:
> This seems to echo the "why make nodes when you've got flexinode" idea that
> was floated a while back. The answer then and now being "because sometimes I
> don't want my data's definition and structure in the database, I want it in
> code where I don't have to do everything twice between a beta site and live
> site."
>
> Unless there's going to be some way to resync node field changes from a beta
> site to live site as easily as uploading a new version of a module, let's not
> get rid of "classic" nodes completely.
As I've been doing more of my work for actual, professional sites, I've realized
that database dependency on data can be damaging for a site of that kind. It
made me extremely glad that I did Views the way I did; as I understand it, CCK
will follow the same model, where modules can specify their fields and default
node types to support those fields, so that ideally none of that will NEED to be
in the database. Not entirely sure how far JonBob's been planning to go with
that model, of course.
More information about the development
mailing list