-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.html
76 lines (67 loc) · 2.99 KB
/
template.html
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<!DOCTYPE HTML>
<!--
Typify by TEMPLATED
templated.co @templatedco
Released for free under the Creative Commons Attribution 3.0 license (templated.co/license)
-->
<html>
<head>
<title>PriDE 3 - SUB PAGE TITLE GOES HERE</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!--[if lte IE 8]><script src="assets/js/ie/html5shiv.js"></script><![endif]-->
<link rel="stylesheet" href="assets/css/main.css" />
<!--[if lte IE 9]><link rel="stylesheet" href="assets/css/ie9.css" /><![endif]-->
</head>
<body>
<div class="subpage-menu">
<a href="index.html"><i class="fa fa-home"></i> Home</a>
</div>
<!-- Three -->
<section id="three" class="wrapper">
<div class="inner">
<h1 id="content">SUB PAGE TITLE GOES HERE</h1>
<hr class="major" />
<h2>Up and working in 15 minutes</h2>
This short tutorial allows a quick introduction into the general working principles of PriDE, based on a simple example. It takes less than 15 minutes to set up a primitive PriDE application which allows to perform basic operations on a simple database table. The directory examples/quickstart contains the complete source code für the tutorial example.<br>
Setting up an application includes the following steps:
<ul>
<li>Preparing the environment
<li>Database configuration
<li>Writing or generating entity classes
<li>Writing application classes
<li>Calling the application
</ul>
I.e. there's only 3 minutes time for each step now, so let's hurry up ;-)
<p>
<h2>Preparing the environment</h2>
Working with PriDE requires to add the library pride.jar into the CLASSPATH of the working environment, as well as the JDBC driver of the database to access. E.g. in case of a MySQL 4 database this is the library mysql-connector-java-2.0.14-bin.jar, for Oracle 9 the file ojdbc14.jar.
<p>
<h2>Database configuration</h2>
In the next step, the required database tables must be created. PriDE does
not provide its own tool for that but assumes one being included in the
database installation. If nothing appropriate is available, the open source
tool <a href="http://www.isqlviewer.com">iSQL</a> can be used which is suitable
for configuration of all common databases. The tutorial examples uses a database
table according to the following definition:
<p>
<pre><code>create table customer (
id integer not null primary key,
name varchar(20),
first_name varchar(30)
);</code></pre>
</section>
<!-- Footer -->
<footer id="footer">
<div class="copyright">
legal notice
</div>
</footer>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/skel.min.js"></script>
<script src="assets/js/util.js"></script>
<!--[if lte IE 8]><script src="assets/js/ie/respond.min.js"></script><![endif]-->
<script src="assets/js/main.js"></script>
</body>
</html>