Menu

[r3190]: / trunk / ch.sahits.codegen.help / html / gettingstarted / feat_phpcodegen.html  Maximize  Restore  History

Download this file

26 lines (24 with data), 1.3 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>PHP Code Generation Features</title>
</head>
<body>
<h1>PHP Code Generation Features</h1>
<h2>The output</h2>
<p>This code generation plug-in does not produce any code. It produces object oriented PHP classes that
are somehow related to a database (DataAccessObjects or BusinessObjects come to mind).</p>
<h2>Supported databases</h2>
<p>Since most PHP projects go together with a MySQL database this is the only database that is supported.
</p>
<h2>Class definition</h2>
<p>The contents of the class to be generated is specified in a XML file that follows the specifications
of the <a href="phpClassTemplate.xsd">schema definition</a>. Following the schema you may produce an
XML file as in <a href="exampleTemplate.xml">this example</a>.</p>
<h2>Template Strings</h2>
<p>There is a set of template strings defined that allow generic replacement based on the data from
the selected database. Examples are Getter/Setter methods or member variables for all the fields. A
complete list is available in the documenting <a href="http://sahits.ch/blog/?p=138#chap4">blog article</a></p>
</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.