You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ibatis.apache.org by cb...@apache.org on 2005/05/18 05:45:41 UTC

svn commit: r170704 [3/3] - in /incubator/ibatis/trunk/site: ./ lib/ lib/license/ pages/ template/

Added: incubator/ibatis/trunk/site/pages/petstore.vm
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/site/pages/petstore.vm?rev=170704&view=auto
==============================================================================
--- incubator/ibatis/trunk/site/pages/petstore.vm (added)
+++ incubator/ibatis/trunk/site/pages/petstore.vm Tue May 17 20:45:38 2005
@@ -0,0 +1,62 @@
+<html>
+<head>    
+    <title>iBATIS Data Mapper</title>
+</head>
+
+<body>
+
+<img src="jp4.gif" align="left"/><h2>iBATIS PetStore</h2>
+
+<p><b>The official example application for iBATIS SQL Maps 2.0 and DAO 2.0</b></p>
+
+<p>JPetStore 4.0 is a fully functional web application based on iBATIS open source persistence layer products, including the 
+SQL Maps 2.0 and Data Access Objects 2.0 frameworks. JPetStore is an excellent example of how these frameworks can be 
+implemented in a typical J2EE web application.</p>
+
+<p>Features</p>
+
+  <ul>
+    <li> SQL Maps 2.0
+    <li> Data Access Objects 2.0
+    <li> POJO Service Layer
+    <li> POJO Domain Classes
+    <li> Struts MVC (Experimental BeanAction approach)
+    <li> JSP Presentation Layer
+  </ul>
+  
+<p>Qualities</p>
+
+  <ul>
+    <li> 100% freeware and open source tools and frameworks
+    <li> Uses well known patterns and best practices
+    <li> Highly productive programming model
+    <li> Minimal Dependencies
+    <li> No stored procedures
+    <li> No generated code
+  </ul>
+  
+<p>A New Beginning (and a work in progress)</p>
+
+<p>JPetStore 4.0 marks a new start for JPetStore. Now that all of the pet store comparisons and benchmarks are behind 
+it (hopefully), the focus of JPetStore 4 will be realigned. JPetStore 4 will now exclusively be a good example of 
+application best practices and good design principles. But it's not there yet. A lot of old scars remain from its 
+past as a tool for comparison to other platforms. These scars will slowly be erased. Here's the plan:</p>
+
+  <ul>
+    <li> Reimplement the presentation layer to one of the following: Struts 1.1, JSF or possibly Tapestry</li>
+    <ul>
+          <li> Currently JP4 uses an experimental Struts implementation --see BeanAction Javadocs for more</li>
+    </ul>
+    <li> Replace the database schema with a better one. The current database is (and has always been) a nightmare of poor database design practices.</li>
+    <li> Consider middle tier frameworks with AOP and/or IoC features. I'm totally behind the simplification of J2EE, and I think AOP and IoC are the paths that will lead us to achieving that goal.</li>
+  </ul>
+  
+<h2>NPetShop</h2>
+<p>The Pet Store application has also been written for .NET and shares much of the same qualities as its Java brother.  However,
+because it was written entirely outside of the context of competition, it doesn't share as many of the battle scars!  :-)</p>
+
+<p>Check out both implementations by downloading them from our <a href="downloads.html">download page</a>.</p>
+
+</body>
+
+</html>
\ No newline at end of file

Added: incubator/ibatis/trunk/site/pages/resources.vm
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/site/pages/resources.vm?rev=170704&view=auto
==============================================================================
--- incubator/ibatis/trunk/site/pages/resources.vm (added)
+++ incubator/ibatis/trunk/site/pages/resources.vm Tue May 17 20:45:38 2005
@@ -0,0 +1,77 @@
+<html>
+<head>    
+    <title>iBATIS Resources</title>
+</head>
+
+<body>
+
+      <h2>iBATIS for Java</h2>
+      <table width="100%">
+        <tr > 
+          <td width="40%">Bugs and Feature Requests</td>
+          <td width="20%"><a href="http://issues.apache.org/jira/browse/IBATIS">JIRA Issue Tracker</a></td>
+          <td width="20%"><a href="http://issues.apache.org/jira/secure/Signup!default.jspa">JIRA Sign Up Page</a></td>
+          <td width="20%">&nbsp;</td>
+        </tr>
+        <tr > 
+          <td>Java Mailing List &nbsp;</td>
+          <td><a href="mailto:ibatis-user-java@incubator.apache.org">New Message</a></td>
+          <td><a href="http://www.mail-archive.com/ibatis-user-java@incubator.apache.org/">Archive</a></td>
+          <td><a href="mailto:ibatis-user-java-subscribe@incubator.apache.org">Subscribe</a></td>
+        </tr>
+        <tr > 
+          <td>Java DIGEST Mailing List &nbsp;</td>
+          <td>&nbsp;</td>
+          <td>&nbsp;</td>
+          <td><a href="mailto:ibatis-user-java-digest-subscribe@incubator.apache.org">Subscribe</a></td>
+        </tr>
+      </table>
+
+      <h2>iBATIS for .NET</h2>
+      <table width="100%">
+        <tr > 
+          <td width="40%">Bugs and Feature Requests</td>
+          <td width="20%"><a href="http://issues.apache.org/jira/browse/IBATISNET">JIRA Issue Tracker</a></td>
+          <td width="20%">&nbsp;</td>
+          <td width="20%">&nbsp;</td>
+        </tr>
+        <tr > 
+          <td>.NET Mailing List</td>
+          <td><a href="mailto:ibatis-user-cs@incubator.apache.org">New Message</a></td>
+          <td><a href="http://www.mail-archive.com/ibatis-user-cs@incubator.apache.org/">Archive</a></td>
+          <td><a href="mailto:ibatis-user-cs-subscribe@incubator.apache.org">Subscribe</a></td>
+        </tr>
+      </table>
+
+      <h2>Resources Common to Java and .NET</h2>
+      <table width="100%">
+        <tr > 
+          <td width="40%">Developer Mailing List</td>
+          <td width="20%"><a href="mailto:ibatis-dev@incubator.apache.org">New Message</a></td>
+          <td width="20%"><a href="http://www.mail-archive.com/ibatis-dev@incubator.apache.org/">Archive</a></td>
+          <td width="20%"><a href="mailto:ibatis-dev-subscribe@incubator.apache.org">Subscribe</a></td>
+        </tr>
+        <tr > 
+          <td width="40%">Subversion Commits List</td>
+          <td width="20%">&nbsp;</td>
+          <td width="20%"><a href="http://mail-archives.apache.org/mod_mbox/incubator-ibatis-commits/">Archive</a></td>
+          <td width="20%"><a href="mailto:ibatis-commits-subscribe@incubator.apache.org">Subscribe</a></td>
+        </tr>
+        <tr >
+          <td>Collaborative Development </td>
+          <td><a href="http://opensource.atlassian.com/confluence/oss/display/IBATIS/Home">Wiki</a></td>
+          <td><a href="http://opensource.atlassian.com/confluence/oss/display/IBATIS/Frequently+Asked+Questions">FAQ</a></td>
+          <td>&nbsp;</td>
+        </tr>
+        <tr > 
+          <td>Source Repository</td>
+          <td><a href="http://svn.apache.org/repos/asf/incubator/ibatis/trunk">Subversion</a></td>
+          <td>&nbsp;</td>
+          <td>&nbsp;</td>
+        </tr>
+
+      </table>
+
+</body>
+
+</html>
\ No newline at end of file

Added: incubator/ibatis/trunk/site/pages/status.vm
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/site/pages/status.vm?rev=170704&view=auto
==============================================================================
--- incubator/ibatis/trunk/site/pages/status.vm (added)
+++ incubator/ibatis/trunk/site/pages/status.vm Tue May 17 20:45:38 2005
@@ -0,0 +1,28 @@
+<html>
+<head>    
+    <title>iBATIS Status</title>
+</head>
+
+<body>
+
+<h2>Action Items</h2>
+
+<p>(12 Jan 2005) "Alpha" distributions of iBATIS.NET DataMapper 1.1 and DataAccess 1.5 are available at the SourceForge site. This is not an ASF release, but it is under the Apache License.</p>
+
+<p>(05 Jan 2005) "General Availability" release of iBATIS 2.0.9 is available at the SourceForge site. This is not an ASF release, but it is under the Apache License.</p>
+
+<p>(16 Aug 2004) iBATIS is migrating to the Apache Software Foundation. Once we have passed through the Apache Incubator, iBATIS will become a top-level Apache project.</p>
+
+<ul>
+    <li> TODO: Move CVS and SVN repositories to svn.apache.org</li>
+    <li> TODO: Move developer guides (PDF and HTML) from SourceForge site to Apache site.</li>
+</ul>
+
+<h3>Showstoppers</h3>
+
+None.
+
+
+</body>
+
+</html>
\ No newline at end of file

Added: incubator/ibatis/trunk/site/pages/team.vm
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/site/pages/team.vm?rev=170704&view=auto
==============================================================================
--- incubator/ibatis/trunk/site/pages/team.vm (added)
+++ incubator/ibatis/trunk/site/pages/team.vm Tue May 17 20:45:38 2005
@@ -0,0 +1,39 @@
+<html>
+<head>    
+    <title>iBATIS Team</title>
+</head>
+
+<body>
+
+<h2>Committers</h2>
+
+<ul>
+  <li>Clinton Begin</li>
+  <li>Gilles Bayon</li>
+  <li>Ted Husted</li>
+  <li>Brandon Goodin</li>
+  <li>Larry Meadors</li>
+  <li>Roberto Rabe</li>
+</ul>
+
+<h2>Contributors</h2>
+
+<ul>
+  <li>Kris Jenkins</li>
+  <li>Nathan Maves</li>
+  <li>Fabrizio Gianneschi</li>
+  <li>Ron Grabowski</li>
+</ul>
+
+<h2>Thanks to...</h2>
+
+<ul>
+  <li>The Spring Team - For integration, improvements and involvement over the years. - http://www.spring.org </li>
+  <li>The Hibernate Team - For being good neighbours in a complex problem space. - http://www.hibernate.org</li>
+  <li>All of the authors of the articles, feedback and shared experiences that appear on our <a href="resources.html">wiki</a></li>
+</ul>
+
+
+</body>
+
+</html>
\ No newline at end of file

Added: incubator/ibatis/trunk/site/setenv.bat
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/site/setenv.bat?rev=170704&view=auto
==============================================================================
--- incubator/ibatis/trunk/site/setenv.bat (added)
+++ incubator/ibatis/trunk/site/setenv.bat Tue May 17 20:45:38 2005
@@ -0,0 +1,5 @@
+
+set BUILD_CP=%CLASSPATH%
+set BUILD_CP=%BUILD_CP%;%JAVA_HOME%\lib\tools.jar;
+
+set BUILD_CP=%BUILD_CP%;lib\ant-1.5.1.jar

Added: incubator/ibatis/trunk/site/staticmesh.xml
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/site/staticmesh.xml?rev=170704&view=auto
==============================================================================
--- incubator/ibatis/trunk/site/staticmesh.xml (added)
+++ incubator/ibatis/trunk/site/staticmesh.xml Tue May 17 20:45:38 2005
@@ -0,0 +1,31 @@
+<staticmesh version="1.0.6">
+
+    <decorators>
+
+        <!-- Apply these decorators to the original page, before it is merged with the
+             page layout template -->
+        <pre-merge-decorators>
+
+            <!--
+            <decorator class="uk.co.pols.staticmesh.decorators.BreadcrumbDecorator">
+                <param name="homePageLabel" value="iBATIS Home"/>
+            </decorator>
+                -->
+
+        </pre-merge-decorators>
+
+        <!-- Apply these decorators to the page after it has been merged with the
+             page layout template. This lets you decorate the contents of the layout
+             as well as the original page. -->
+        <post-merge-decorators>
+
+            <!--
+            <decorator class="uk.co.pols.staticmesh.decorators.DynamicHrefDecorator">
+            </decorator>
+                -->
+
+        </post-merge-decorators>
+
+    </decorators>
+
+</staticmesh>

Added: incubator/ibatis/trunk/site/template/asf.jpg
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/site/template/asf.jpg?rev=170704&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ibatis/trunk/site/template/asf.jpg
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ibatis/trunk/site/template/dao.gif
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/site/template/dao.gif?rev=170704&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ibatis/trunk/site/template/dao.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ibatis/trunk/site/template/default.css
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/site/template/default.css?rev=170704&view=auto
==============================================================================
--- incubator/ibatis/trunk/site/template/default.css (added)
+++ incubator/ibatis/trunk/site/template/default.css Tue May 17 20:45:38 2005
@@ -0,0 +1,160 @@
+body {
+        margin:0px;
+        padding:0px;
+        font-family:verdana, arial, helvetica, sans-serif;
+        color:#333;
+        background-color:white;
+        }
+          
+pre {
+        font-family: "Courier New", Courier, mono;
+	font-size: 12px;
+	font-style: normal;
+	background-color: #FFFFFF; 
+	white-space: pre}
+
+h1 {
+        margin:15px 0px 10px 0px;
+        padding:0px;
+        font-size:28px;
+        line-height:28px;
+        font-weight:900;
+        color:#999;
+        }
+h2 {
+        margin:15px 0px 10px 0px;
+        padding:0px;
+        font-size:20px;
+        line-height:20px;
+        font-weight:700;
+        color:#777;
+        }
+h3 {
+        margin:15px 0px 10px 0px;
+        padding:0px;
+        font-size:16px;
+        line-height:16px;
+        font-weight:500;
+        color:#888;
+        }
+p {
+        font:11px/20px verdana, arial, helvetica, sans-serif;
+        margin:0px 0px 0px 0px;
+        padding:5px;
+        }
+#Content>p {margin:0px;}
+
+li {
+        font:11px/20px verdana, arial, helvetica, sans-serif;
+        margin:0px 0px 0px 0px;
+        padding:0px;
+        }
+
+table {
+    border: 1px solid #aaa;
+    border-collapse: collapse;
+    padding: 2px;
+    margin-top: 0.5em;
+    margin-bottom: 0;
+}
+
+td, th {
+    empty-cells: show; /* show border around empty cells */
+    padding: 0.1em 0.2em;
+    vertical-align: top;
+    text-align: left;
+    line-height: 1.3em;
+    font:11px/20px verdana, arial, helvetica, sans-serif;
+    border-top: 1px solid #aaa;
+    border-bottom: 1px solid #aaa;
+	border-right: 1px solid #aaa;
+	border-left: 1px solid #aaa;
+}
+
+th {
+    font-weight: bold;
+    background-color: #e2e2e2;
+}
+
+#Content>li {margin:0px;}
+#Content>li+li {text-indent:30px;}
+
+
+a {
+        color:#00f;
+        font-size:11px;
+        text-decoration:none;
+        font-weight:600;
+        font-family:verdana, arial, helvetica, sans-serif;
+        }
+a:link {color:#00f;}
+a:visited {color:#00a;}
+a:hover {background-color:#aaa;}
+
+#Header {
+        margin:5px 0px 10px 0px;
+        padding:5px 0px 0px 20px;
+        /* For IE5/Win's benefit height = [correct height] + [top padding] + [top and bottom border widths] */
+        height:23px; /* 14px + 17px + 2px = 33px */
+        border-style:solid;
+        border-color:black;
+        border-width:1px 0px; /* top and bottom borders: 1px; left and right borders: 0px */
+        line-height:10px;
+        background-color:#000;		
+		color:#fff;
+
+/* Here is the ugly brilliant hack that protects IE5/Win from its own stupidity.
+Thanks to Tantek Celik for the hack and to Eric Costello for publicizing it.
+IE5/Win incorrectly parses the "\"}"" value, prematurely closing the style
+declaration. The incorrect IE5/Win value is above, while the correct value is
+below. See http://glish.com/css/hacks.asp for details. */
+        voice-family: "\"}\"";
+        voice-family:inherit;
+        height:14px; /* the correct height */
+        }
+/* I've heard this called the "be nice to Opera 5" rule. Basically, it feeds correct
+length values to user agents that exhibit the parsing error exploited above yet get
+the CSS box model right and understand the CSS2 parent-child selector. ALWAYS include
+a "be nice to Opera 5" rule every time you use the Tantek Celik hack (above). */
+body>#Header {height:14px;}
+
+#Logo {
+        margin:10px 10px 10px 10px;
+        padding:0px 0px 0px 0px;
+        /* For IE5/Win's benefit height = [correct height] + [top padding] + [top and bottom border widths] */
+        height:65px; /* 14px + 17px + 2px = 33px */      
+        background-color:#fff;		
+		color:#fff;
+        voice-family: "\"}\"";
+        voice-family:inherit;
+        height:14px; /* the correct height */
+		border-top: 0px solid #aaa;
+		border-bottom: 0px solid #aaa;
+		border-right: 0px solid #aaa;
+		border-left: 0px solid #aaa;
+        }
+body>#Logo {height:65px;}
+
+
+#Content {
+        margin:0px 50px 50px 200px;
+        padding:10px;
+        }
+
+#Menu {
+        position:absolute;
+        top:125px;
+        left:20px;
+        width:172px;
+        padding:10px;
+        background-color:#eee;
+        border:1px solid #999;
+        line-height:17px;
+/* Again, the ugly brilliant hack. */
+        voice-family: "\"}\"";
+        voice-family:inherit;
+        width:150px;
+		color:#000
+        }
+/* Again, "be nice to Opera 5". */
+body>#Menu {width:150px;}

Added: incubator/ibatis/trunk/site/template/default.vm
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/site/template/default.vm?rev=170704&view=auto
==============================================================================
--- incubator/ibatis/trunk/site/template/default.vm (added)
+++ incubator/ibatis/trunk/site/template/default.vm Tue May 17 20:45:38 2005
@@ -0,0 +1,29 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+    $!headerContent
+    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+    <link rel="stylesheet" type="text/css" href="default.css">
+</head>
+
+<body>
+    <div id="Logo">
+    <img valign="top" align="right" src="logo.gif">
+      <img src="ibatis.gif">
+      
+    </div>
+    
+    <div id="Header"><script language="javascript">document.write(document.title);</script></div>
+
+    <div id="Content">
+      #parse($innerTemplate)
+    </div>
+
+    #parse("template/menu.vm")
+
+    <hr height="1" color="black" width="800">
+    <p align="center">
+    <i>This site is maintained by the iBATIS development community, but this site is not affiliated with the Apache Software Foundation.</i>
+    <br/><img src="asf.jpg"></p>
+</body>
+</html>

Added: incubator/ibatis/trunk/site/template/favicon.ico
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/site/template/favicon.ico?rev=170704&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ibatis/trunk/site/template/favicon.ico
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ibatis/trunk/site/template/ibatis.gif
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/site/template/ibatis.gif?rev=170704&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ibatis/trunk/site/template/ibatis.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ibatis/trunk/site/template/jp4.gif
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/site/template/jp4.gif?rev=170704&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ibatis/trunk/site/template/jp4.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ibatis/trunk/site/template/logo.gif
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/site/template/logo.gif?rev=170704&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ibatis/trunk/site/template/logo.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ibatis/trunk/site/template/menu.vm
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/site/template/menu.vm?rev=170704&view=auto
==============================================================================
--- incubator/ibatis/trunk/site/template/menu.vm (added)
+++ incubator/ibatis/trunk/site/template/menu.vm Tue May 17 20:45:38 2005
@@ -0,0 +1,25 @@
+<div id="Menu">
+	<b>Information</b><br/>
+	<a href="index.html" title="What's new with iBATIS?">News</a><br />
+	<a href="events.html" title="User groups, seminars, conferences etc.">Events</a><br />
+	<a href="archive.html" title="Old news from the past.">News Archive</a><br />
+	<br/>
+	<b>Software</b><br/>
+	<a href="datamapper.html" title="Simplify data access">Data Mapper</a><br />
+	<a href="dao.html" title="Hide data acess implementation">Data Access Objects</a><br />
+	<a href="petstore.html" title="The official example applications">Example Apps</a><br />
+	<br/>
+	<b>Project</b><br/>
+	<a href="about.html" title="What is iBATIS?">About</a><br />
+	<a href="background.html" title="Where did iBATIS come from, what does 'iBATIS' mean?">Background</a><br />
+	<a href="license.html" title="The Apache Software Foundation License 2.0">License</a><br />
+	<a href="team.html" title="Who's responsible for iBATIS?">Team</a><br />
+	<a href="bylaws.html" title="How do we operate?">Bylaws</a><br />
+	<a href="status.html" title="Where are we at?">Status</a><br />
+	<br/>
+	<b>Resources</b><br/>
+	<a href="resources.html" title="Helpful resources">FAQ, Wiki, Mailing Lists, Issue Tracker, Source Code</a><br/>
+	<br/>
+	<b>Downloads</b><br/>
+	<a href="downloads.html" title="Everything you need to run iBATIS">Binaries, Documentation, Source</a><br />
+</div>

Added: incubator/ibatis/trunk/site/template/sqlmaps.gif
URL: http://svn.apache.org/viewcvs/incubator/ibatis/trunk/site/template/sqlmaps.gif?rev=170704&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ibatis/trunk/site/template/sqlmaps.gif
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream