Version 12 of CRUD

Updated 2007-01-09 21:08:59

"Create, Read, Update, and Delete" [L1 ]

[Tcl does fine, but doesn't really compete. Explain much more context.]

RLH I think in a bigger sense you see the "other" web frameworks that create CRUD applications pretty much on-the-fly. Scaffolding and such seems the rage now days.

LV What's an example of such a framework? Are we talking about things like Excel? Remember to compare "apples" to "apples" - Tcl isn't a web framework. Tcl+some extensions would equate to a web framework.

RLH Yes we are talking web frameworks. Or at least I was. Python, Perl, PHP and Ruby all have this.

LV I don't know those communities - do you have any specific examples for one (or more) of these in mind?

Anyone have a suggested set of Tcl extensions that would make Tcl into something equivalent? Perhaps ActiveTcl's set of extensions?

RS: Looking at Wikipedia about CRUD, it looks like sqlite fills the description best. Or even a simpler mechanism, where the crud is written to a text file in Tcl format, and loaded with source...

schlenk For a basic set of extensions for something like this, you need a) a database abstraction layer, see Comparing Tcl database abstraction layers for a large list, b) an OO extension, probably XOTcl and a templating framework, for example the one built into tclhttpd, expand, or rivets templates.

RLH Actually I would go with Snit because it is pure Tcl. However, the big thing is to put it all together as seamlessly as possible and as neat as possible so people outside of Tcl will say that is cool and what to learn it (which is what happened with Rails and Ruby).


[Category Acronym|Category Database]