Menu

[r2003]: / trunk / ch.sahits.codegen.help / html / gettingstarted / feat_codegen.html  Maximize  Restore  History

Download this file

31 lines (31 with data), 1.9 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>General Code Generation Features</title>
</head>
<body>
<h1>General Code Generation Features</h1>
<h2>Supported databases</h2>
<p>Every database that is part of the datatools project can be used. All you have to do is
register the database. On how to do that please refere to the
<a href="http://wiki.eclipse.org/index.php/Getting_Started_with_DTP">wiki</a> of the project. If you
don't use DTP or run on eclipse prior to Ganymed the selection of available databases is limited to
MySQL, SQL Server and Oracle.
</p>
<h2>Input data</h2>
<p>Since the code generation is based on some kind of model this model must be generated from some kind
of input. One such kind is a database table. The input data can be gained through datatools connection,
direct connection to the database or the create script of the table.<p>
<p>Another obvious input format are XML files. Since an XML file can hold praticularly hold any data an
interpreter for this data must be defined. An XHTML file is a subclass of XML and well defined. Therefore
an XHTML form can be used as an input as well, though not all Elements are supported.</p>
<p>The input methods are very flexible and highly extensible. For further information see the Extension point
reference section.</p>
<h2>Code Generation</h2>
<p>The code generation happens through a generator that can be selected from all generators registered with
the extension point ch.sahits.codegen.generator. The generator may be a JETemplate or a generator class that
implements the interface <a href="doc/ch/sahits/codegen/generator/IGeneralGenerator.html">IGeneralGenerator</a>
through on of its sub interfaces.
</body>
</html>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.