wood burning stoves 2.0*
The moose likes Struts and the fly likes Use of Torque for dynamic data? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Use of Torque for dynamic data?" Watch "Use of Torque for dynamic data?" New topic
Author

Use of Torque for dynamic data?

Tina Coleman
Ranch Hand

Joined: Dec 12, 2001
Posts: 150
I'm looking at Torque, looking at its db schema input files, and thinking: couldn't I create a system where I used Torque's classes to deal with mapping database fields to a schema (by schema I mean also mapping the db fields to their semantics: what their possible values are, essentially - the stuff that could be put in DB rules, but usually ends up in application code), and then never generate business objects but instead use Torque to help me keep track of the schema and the fields? I want to build a dynamic data retrieval application (posted a similar question on OO/Patterns/Refactoring, but just had the thought re: Torque). . . the set of fields in the database is going to change, and I'd rather set up a generic mechanism to deal with them, rather than explicitly changing my app's UI. Guess I'm looking for anyone who's used/thought of using Torque (or anything else, for that matter) in that kind of way.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Use of Torque for dynamic data?
 
Similar Threads
Any interest in a Torque DAO implementation?
how to avoid this issue
B&S:Populate the field information into the Record Object
Torque Data framework
class library representing SQL statement?