db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivano Luberti <lube...@archicoop.it>
Subject Re: What is Torque?
Date Mon, 15 Mar 2010 16:44:12 GMT


Il 15/03/2010 9.01, Thomas Fischer ha scritto:
> If you want to come up with a suggestion, please go ahead
>
>    Thomas
>   

This is only a draft  and made in plain text. To have a real
presentation of Torque structured like this the items in the 
Characteristics section should be expanded by people that has more
knowledge of the product than me.
---------------


Elevator Pitch

Torque is an object-relational mapper designed to simplify usage of SQL
data in Java applications across all the common
database servers (Link to Versatility).  It allows for rapid 
development, while supporting the full application life
cycle.

Torque is based on modeling your data schema in XML.  It uses this XML
to generate
the Java objects needed to access your data via it's runtime component. 
In addition,
Torque can generate the SQL needed to create the underlying DB and
supports setting up
the initial data your applications might need.

This means development is faster (Link to Fast Development) because you
concentrate on defining the underlying
data, then quickly start using the Torque generated objects to work on
the business
logic.

Torque assists in the application deployment phase with its generated
SQL scripts and initial
data setup capabilities.

Finally it helps in the maintenance phase (Link to Easy Code
Maintainance) in several ways thanks to XML Schemas usage and
standardized code generation


Characteristics


Versatility

- Database independence without sacrificing access to vendor
  specific enhancements (expand).

- Easily extensible, from simple subclassing of generated
  objects to changing behavior of generated classes via
  inheritance to custom templates that generate application
  specific code.

- Support for POJO beans, DB connection pooling, and JCS
  data caching 


Easy Code Maintainance

- XML Schema usage for data definition helps for easy versioning

- Torque's method of defining SQL  in the code helps identify problems
with tables or columns
that have been dropped or renamed. (expand)
 
Fast Development
  
- Use of build system (Ant or Maven) generated objects rather
  than reflection makes code debugging much easier without making it slow.
  
- An object based SQL statement syntax that provides DB
  server independence, clear execution logic, compile
  time validation, and easy debugging.
 


-- 
==================================================
dott. Ivano Mario Luberti
Archimede Informatica societa' cooperativa a r. l.
Sede Operativa
Via Gereschi 36 - 56126- Pisa
tel.: +39-050- 580959
tel/fax: +39-050-9711344
web: www.archicoop.it
==================================================


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message