You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by am...@apache.org on 2017/05/30 23:08:51 UTC
[1/6] cayenne-website git commit: Tidy up the display of news items
Repository: cayenne-website
Updated Branches:
refs/heads/master c88dce866 -> 88c1c8256
Tidy up the display of news items
Project: http://git-wip-us.apache.org/repos/asf/cayenne-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne-website/commit/b46db93c
Tree: http://git-wip-us.apache.org/repos/asf/cayenne-website/tree/b46db93c
Diff: http://git-wip-us.apache.org/repos/asf/cayenne-website/diff/b46db93c
Branch: refs/heads/master
Commit: b46db93ca68a19014d741442a1259e0a901d0f8f
Parents: c88dce8
Author: Aristedes Maniatis <ar...@ish.com.au>
Authored: Tue May 30 13:28:34 2017 +0800
Committer: Aristedes Maniatis <ar...@ish.com.au>
Committed: Tue May 30 13:28:34 2017 +0800
----------------------------------------------------------------------
assets/css/_sass/_layout.scss | 17 +++++++++++++++++
index.md | 4 ++--
2 files changed, 19 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/b46db93c/assets/css/_sass/_layout.scss
----------------------------------------------------------------------
diff --git a/assets/css/_sass/_layout.scss b/assets/css/_sass/_layout.scss
index 4e19f31..897a702 100644
--- a/assets/css/_sass/_layout.scss
+++ b/assets/css/_sass/_layout.scss
@@ -4,4 +4,21 @@
ul > li > a {
color: $footer-text-color;
}
+}
+
+.news {
+ ul {
+ margin-left: 0;
+ }
+
+ li {
+ list-style: none;
+ a {
+ font-weight: bold;
+ }
+ }
+}
+
+a {
+ font-weight: 400;
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/b46db93c/index.md
----------------------------------------------------------------------
diff --git a/index.md b/index.md
index 6f0286a..fabd401 100644
--- a/index.md
+++ b/index.md
@@ -35,10 +35,10 @@ services.
## News
-<ul>
+<ul class="news">
{% for post in site.posts limit:6 %}
<li>
- <a href="{{ post.url }}"><span class="date">{{ post.date }}</span> {{ post.title }}</a>
+ <span class="date">{{ post.date | date: "%-d %b %Y" }}</span><a href="{{ post.url }}"> {{ post.title }}</a>
{{ post.excerpt }}
</li>
{% endfor %}
[4/6] cayenne-website git commit: Collapse a few pages into one where
they don't add much new information
Posted by am...@apache.org.
Collapse a few pages into one where they don't add much new information
Project: http://git-wip-us.apache.org/repos/asf/cayenne-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne-website/commit/e4c4d2c5
Tree: http://git-wip-us.apache.org/repos/asf/cayenne-website/tree/e4c4d2c5
Diff: http://git-wip-us.apache.org/repos/asf/cayenne-website/diff/e4c4d2c5
Branch: refs/heads/master
Commit: e4c4d2c5cf87fd45bb487e6671c5bbf826c1a5ac
Parents: 9193c2b
Author: Aristedes Maniatis <ar...@ish.com.au>
Authored: Tue May 30 13:52:45 2017 +0800
Committer: Aristedes Maniatis <ar...@ish.com.au>
Committed: Tue May 30 13:52:45 2017 +0800
----------------------------------------------------------------------
_includes/footer.html | 22 ++++++++--------
main/about.md | 60 ++++++++++++++++++++++++++++++++++++++-----
main/contributors.md | 60 +++++++++++++++++++++----------------------
main/database-support.md | 43 ++++++++++++++++---------------
main/download.md | 2 +-
main/getting-started.md | 7 -----
main/how-can-i-help.md | 7 ++---
main/mailing-lists.md | 2 +-
main/success-stories.md | 2 +-
main/support.md | 2 +-
main/thanks.md | 2 +-
main/why-cayenne.md | 59 ------------------------------------------
12 files changed, 125 insertions(+), 143 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/e4c4d2c5/_includes/footer.html
----------------------------------------------------------------------
diff --git a/_includes/footer.html b/_includes/footer.html
index 103f45f..d2acf1c 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -1,12 +1,12 @@
<footer>
<div class="container footer-bottom">
<div class="col-md-8">
- <h4><a href="/about.html">About</a></h4>
+ <h4>Why Cayenne?</h4>
<ul>
- <li><a href="/why-cayenne.html">Why Cayenne?</a></li>
- <li><a href="/download.html">Download</a></li>
- <li><a href="/success-stories.html">Success Stories</a></li>
- <li><a href="/support.html">Support</a></li>
+ <li><a href="/about">About</a></li>
+ <li><a href="/download">Download</a></li>
+ <li><a href="/success-stories">Success Stories</a></li>
+ <li><a href="/support">Support</a></li>
</ul>
</div>
@@ -41,12 +41,12 @@
<h4>Collaboration</h4>
<ul>
<li><a href="http://issues.apache.org/jira/browse/CAY">Bug/Feature Tracker</a></li>
- <li><a href="/mailing-lists.html">Mailing Lists</a></li>
- <li><a href="/dev/code-repository.html">Code Repository</a></li>
- <li><a href="/dev/index.html">Developer Guide</a></li>
- <li><a href="/how-can-i-help.html">How Can I Help?</a></li>
- <li><a href="/contributors.html">Contributors</a></li>
- <li><a href="/thanks.html">Thanks</a></li>
+ <li><a href="/mailing-lists">Mailing Lists</a></li>
+ <li><a href="/dev/code-repository">Code Repository</a></li>
+ <li><a href="/dev/index">Developer Guide</a></li>
+ <li><a href="/how-can-i-help">How Can I Help?</a></li>
+ <li><a href="/contributors">Contributors</a></li>
+ <li><a href="/thanks">Thanks</a></li>
</ul>
</div>
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/e4c4d2c5/main/about.md
----------------------------------------------------------------------
diff --git a/main/about.md b/main/about.md
index 3686809..89999f1 100644
--- a/main/about.md
+++ b/main/about.md
@@ -1,13 +1,59 @@
---
title: About Cayenne
-permalink: /about/
+permalink: /about
---
-Explore the following pages to learn more about what Cayenne is and how it
-can help your project.
+Cayenne is a Java _object relational mapping (ORM) framework_. In other
+words, it is a tool for Java developers who need to talk to a database (or
+many databases). Rather than hardcoding SQL statements through Java code,
+Cayenne allows a programmer to work only with Java objects abstracted from
+the database. Here are just a few benefits of the Cayenne approach to
+persistence:
-* [Why Cayenne?](why-cayenne?.html)
-* [Download](download.html)
-* [Success Stories](success-stories.html)
-* [Commercial Support](commercial-support.html)
+* Portability between almost any [database](/database-support.html)
+ that has a JDBC driver without changing a single line of code in your
+application.
+* No knowledge of SQL is required (while it still can be helpful).
+* Code which validates any data committed to the database is easy to write
+and foolproof in operation. This might be as simple as ensuring passwords
+have enough characters, or a complex check on the validity of a set of
+accounting operations in a general ledger transaction. This allows you to
+move common error checking code out of the GUI layer and provides valuable
+protection against programming mistakes.
+* Caching in order to make your application faster and avoid repeated hits
+on the database for the same data.
+* Automatic faulting (lazy loading) of relationships, but easily supports
+prefetching of related data for improved performance when needed.
+* Pagination which reduces bandwidth and query times by only loading the
+contents of objects when they are actually needed. The classic example of
+paging, which differs from faulting, is when a query returns 97 records,
+and you want to display 10 at-a-time to the user. With paging, only the
+first 10 records are fully loaded. Cayenne will automatically load only
+the page of records as they are requested.
+* Configurable optimistic locking to ensure data integrity and prevent
+unexpected data issues when another tool has changed the database behind
+the scenes (such as a maintainer updating a record in the database while a
+Cayenne-based application had the same record loaded to make changes).
+* A GUI-based database/schema modeler to simplify learning Cayenne. The
+modeler saves to XML-based files, which can be hand-edited if needed.
+
+Also here are a few things that set Cayenne apart from other ORM products:
+
+* Cayenne can also work in three tier (ROP) mode where multiple clients
+connect to the data source not via JDBC but through a remote Cayenne
+controlled service. This gives much greater control over centralized
+validation, caching and a seamless persistence of objects from the server
+through to the clients. The clients might themselves be web servers
+delivering a distributed load balancing web farm or a rich GUI client such
+as a desktop Swing/SWT application.
+
+* A persistent object doesn't have to be of a class known at compile time.
+Instead Cayenne can use a generic class with mapping defined dynamically in
+runtime (all without any bytecode manipulation).
+
+* Cayenne supports "nested contexts" allowing an arbitrary number of
+nesting levels for commit/rollback operations. This way a user can create
+"scratch contexts" for working with objects, with the ability to discard
+(or save) those changes without affecting an overall larger set of
+uncommitted changes.
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/e4c4d2c5/main/contributors.md
----------------------------------------------------------------------
diff --git a/main/contributors.md b/main/contributors.md
index ac94ec4..9f0f25b 100644
--- a/main/contributors.md
+++ b/main/contributors.md
@@ -1,6 +1,6 @@
---
title: Contributors
-permalink: /contributors/
+permalink: /contributors
---
### Committers and Project Management Committee
@@ -9,39 +9,39 @@ The most important part of Apache Cayenne project are the people who contribute
A subset of those committers are the project management committee (PMC) who provide oversight of the project, legal compliance and quality. Finally the chair is out point of contact with the Apache Foundation board, reporting regardly to them on the health of the project.
-Name | Role | Email | Website
------|------|-------|--------
-Andrus Adamchik | PMC | aadamchik at apache dot org | [http://adamchik.org](http://adamchik.org)(personal) [http://objectstyle.com](http://objectstyle.com) (business)
-Cris Daniluk | Committer | cdaniluk at apache dot org|
-Bill Dudney | PMC | bdudney at apache dot org |
-Malcolm Edgar | Committer | medgar at apache dot org |
-Michael Gentry | PMC, Chair | mgentry at apache dot org |
-Tore Halset | Committer | torehalset at apache dot org |
-John Huss| PMC | johnthuss at apache dot org |
-Dzmitry Kazimirchyk | Committer | dkazimirchyk at apache dot org |
-Xenia Khailenka | Committer | kseniak at apache dot org |
-Mike Kienenberger | PMC | mkienenb at apache dot org |
-Kevin Menard | PMC | kmenard at apache dot org | [http://www.servprise.com/](http://www.servprise.com/)
-Aristedes Maniatis | PMC | amaniatis at apache dot org | [http://www.ish.com.au](http://www.ish.com.au)
-Andrey Razumovsky | Committer | andrey at apache dot org |
-Andriy Shapochka | Committer | ashapochka at apache dot org |
-Olga Tkachova (Ольга Ткачева) | Committer | oltka at apache dot org |
-Robert Zeigler | Committer | robertdzeigler at apache dot org |
-Evgeny Ryabitskiy | Committer | evgeny at apache dot org | [http://www.diasoft.ru/](http://www.diasoft.ru/)
-Andrew Lindesay | Committer | apl at apache dot org |
-Alex Kolonitsky | Committer | kolonitsky at apache dot org |
-Savva Kolbachev | Committer | skolbachev at apache dot org |
-Nikita Timofeev | Committer | ntimofeev at apache dot org |
+| Name | Role | Email | Website |
+|:------------------------------|:-----------|:---------------------------------|:-----------------------------------------------------------------------------------------------------------------|
+| Andrus Adamchik | PMC | aadamchik at apache dot org | [http://adamchik.org](http://adamchik.org)(personal) [http://objectstyle.com](http://objectstyle.com) (business) |
+| Cris Daniluk | Committer | cdaniluk at apache dot org | |
+| Bill Dudney | PMC | bdudney at apache dot org | |
+| Malcolm Edgar | Committer | medgar at apache dot org | |
+| Michael Gentry | PMC, Chair | mgentry at apache dot org | |
+| Tore Halset | Committer | torehalset at apache dot org | |
+| John Huss | PMC | johnthuss at apache dot org | |
+| Dzmitry Kazimirchyk | Committer | dkazimirchyk at apache dot org | |
+| Xenia Khailenka | Committer | kseniak at apache dot org | |
+| Mike Kienenberger | PMC | mkienenb at apache dot org | |
+| Kevin Menard | PMC | kmenard at apache dot org | [http://www.servprise.com/](http://www.servprise.com/) |
+| Aristedes Maniatis | PMC | amaniatis at apache dot org | [http://www.ish.com.au](http://www.ish.com.au) |
+| Andrey Razumovsky | Committer | andrey at apache dot org | |
+| Andriy Shapochka | Committer | ashapochka at apache dot org | |
+| Olga Tkachova (Ольга Ткачева) | Committer | oltka at apache dot org | |
+| Robert Zeigler | Committer | robertdzeigler at apache dot org | |
+| Evgeny Ryabitskiy | Committer | evgeny at apache dot org | [http://www.diasoft.ru/](http://www.diasoft.ru/) |
+| Andrew Lindesay | Committer | apl at apache dot org | |
+| Alex Kolonitsky | Committer | kolonitsky at apache dot org | |
+| Savva Kolbachev | Committer | skolbachev at apache dot org | |
+| Nikita Timofeev | Committer | ntimofeev at apache dot org | |
### Emeritus Committers
Committers who are no longer active in the community. We wish them well and
hope to see them return.
-Name | Email | Website
------|-------|--------
-Holger Hoffstaette | holger at wizards dot de |
-Craig Miskell | |
-Michael Shengaout | mshenga at pobox dot org | [http://reusablesoftwarecomponents.com](http://reusablesoftwarecomponents.com)
-Eric Schneider | eric at centralparksoftware dot com | [http://www.centralparksoftware.com/](http://www.centralparksoftware.com/)
+| Name | Email | Website |
+|:-------------------|:------------------------------------|:-------------------------------------------------------------------------------|
+| Holger Hoffstaette | holger at wizards dot de | |
+| Craig Miskell | | |
+| Michael Shengaout | mshenga at pobox dot org | [http://reusablesoftwarecomponents.com](http://reusablesoftwarecomponents.com) |
+| Eric Schneider | eric at centralparksoftware dot com | [http://www.centralparksoftware.com/](http://www.centralparksoftware.com/) |
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/e4c4d2c5/main/database-support.md
----------------------------------------------------------------------
diff --git a/main/database-support.md b/main/database-support.md
index 9cccc7d..c622988 100644
--- a/main/database-support.md
+++ b/main/database-support.md
@@ -1,29 +1,30 @@
---
title: Database Support
-permalink: /database-support/
+permalink: /database-support
---
## Database Support
This page provides useful information about JDBC driver settings for various database. All databases below have custom Cayenne DbAdapters and are automatically recognized by Cayenne AutoAdapter.
-Database | Driver Name | Sample URL | Notes
------------------------------------------|----------------------------------------|---------------------------------------------|---------------
-[DB2](http://www.ibm.com/db2/) | com.ibm.db2.jcc.DB2Driver | jdbc:db2://127.0.0.1:50000/dbname |
-[Derby](http://db.apache.org/derby/) | org.apache.derby.jdbc.ClientDriver | jdbc:derby://127.0.0.1/testdb | client/server
- | org.apache.derby.jdbc.EmbeddedDriver | jdbc:derby:path-to-db-dir;create=true | embedded
-[FrontBase](http://www.frontbase.com/) | jdbc.FrontBase.FBJDriver | jdbc:FrontBase://127.0.0.1/dbname |
-[HSQLDB](http://hsqldb.org/) | org.hsqldb.jdbcDriver | jdbc:hsqldb:hsql://127.0.0.1 | client/server
- | jdbc:hsqldb: | file:/path-to-hsql-db-files | embedded
-[H2](www.h2database.com/) | org.h2.Driver | jdbc:h2:mem:myTestMem;MVCC=TRUE | embedded in-memory
-[Ingres](http://www.ingres.com/products/ingres-database.php)| com.ingres.jdbc.IngresDriver | jdbc:ingres://127.0.0.1:II7/dbname |
-[MySQL](http://www.mysql.com/) | com.mysql.jdbc.Driver | jdbc:mysql://127.0.0.1/dbname |
-[OpenBase](www.openbase.com) | com.openbase.jdbc.ObDriver | jdbc:openbase://127.0.0.1/dbname |
-[Oracle](http://www.oracle.com/) | oracle.jdbc.driver.OracleDriver | jdbc:oracle:thin:@//127.0.0.1:1521/dbname |
-[PostgreSQL](http://www.postgresql.org/) | org.postgresql.Driver | jdbc:postgresql://127.0.0.1:5432/dbname |
-[SQLite 3.*](http://www.sqlite.org/) | org.sqlite.JDBC | jdbc:sqlite:path_to_dbfile | driver from zentus.com
-[SQLServer](http://www.microsoft.com/sqlserver)| [com.microsoft.sqlserver.jdbc.SQLServerDriver](http://msdn.microsoft.com/en-us/data/aa937724.aspx) | jdbc:sqlserver://127.0.0.1;databaseName=dbname | Microsoft Driver
- | com.microsoft.jdbc.sqlserver.SQLServerDriver | jdbc:microsoft:sqlserver://127.0.0.1;databaseName=dbname;SelectMethod=cursor | Microsoft Driver, SQL Server prior to 2005
- | net.sourceforge.jtds.jdbc.Driver | jdbc:jtds:sqlserver://127.0.0.1:5000/dbname | [jTDS Driver](http://jtds.sourceforge.net/)
-[Sybase](http://www.sybase.com/) | com.sybase.jdbc3.jdbc.SybDriver | jdbc:sybase:Tds:127.0.0.1:5000/dbname | Sybase driver
- | net.sourceforge.jtds.jdbc.Driver | jdbc:jtds:sybase://127.0.0.1:5000/dbname;useLOBs=false;TDS=4.2 | [jTDS Driver](http://jtds.sourceforge.net/)
\ No newline at end of file
+
+| Database | Driver Name | Sample URL | Notes |
+|:-------------------------------------------------------------|:---------------------------------------------------------------------------------------------------|:-----------------------------------------------|:-----------------------|
+| [DB2](http://www.ibm.com/db2/) | com.ibm.db2.jcc.DB2Driver | jdbc:db2://127.0.0.1:50000/dbname | |
+| [Derby](http://db.apache.org/derby/) | org.apache.derby.jdbc.ClientDriver | jdbc:derby://127.0.0.1/testdb | client/server |
+| org.apache.derby.jdbc.EmbeddedDriver | jdbc:derby:path-to-db-dir;create=true | embedded | |
+| [FrontBase](http://www.frontbase.com/) | jdbc.FrontBase.FBJDriver | jdbc:FrontBase://127.0.0.1/dbname | |
+| [HSQLDB](http://hsqldb.org/) | org.hsqldb.jdbcDriver | jdbc:hsqldb:hsql://127.0.0.1 | client/server |
+| jdbc:hsqldb: | file:/path-to-hsql-db-files | embedded | |
+| [H2](www.h2database.com/) | org.h2.Driver | jdbc:h2:mem:myTestMem;MVCC=TRUE | embedded in-memory |
+| [Ingres](http://www.ingres.com/products/ingres-database.php) | com.ingres.jdbc.IngresDriver | jdbc:ingres://127.0.0.1:II7/dbname | |
+| [MySQL](http://www.mysql.com/) | com.mysql.jdbc.Driver | jdbc:mysql://127.0.0.1/dbname | |
+| [OpenBase](www.openbase.com) | com.openbase.jdbc.ObDriver | jdbc:openbase://127.0.0.1/dbname | |
+| [Oracle](http://www.oracle.com/) | oracle.jdbc.driver.OracleDriver | jdbc:oracle:thin:@//127.0.0.1:1521/dbname | |
+| [PostgreSQL](http://www.postgresql.org/) | org.postgresql.Driver | jdbc:postgresql://127.0.0.1:5432/dbname | |
+| [SQLite 3.*](http://www.sqlite.org/) | org.sqlite.JDBC | jdbc:sqlite:path_to_dbfile | driver from zentus.com |
+| [SQLServer](http://www.microsoft.com/sqlserver) | [com.microsoft.sqlserver.jdbc.SQLServerDriver](http://msdn.microsoft.com/en-us/data/aa937724.aspx) | jdbc:sqlserver://127.0.0.1;databaseName=dbname | Microsoft Driver |
+| com.microsoft.jdbc.sqlserver.SQLServerDriver | jdbc:microsoft:sqlserver://127.0.0.1;databaseName=dbname;SelectMethod=cursor | Microsoft Driver, SQL Server prior to 2005 | |
+| net.sourceforge.jtds.jdbc.Driver | jdbc:jtds:sqlserver://127.0.0.1:5000/dbname | [jTDS Driver](http://jtds.sourceforge.net/) | |
+| [Sybase](http://www.sybase.com/) | com.sybase.jdbc3.jdbc.SybDriver | jdbc:sybase:Tds:127.0.0.1:5000/dbname | Sybase driver |
+| net.sourceforge.jtds.jdbc.Driver | jdbc:jtds:sybase://127.0.0.1:5000/dbname;useLOBs=false;TDS=4.2 | [jTDS Driver](http://jtds.sourceforge.net/) | |
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/e4c4d2c5/main/download.md
----------------------------------------------------------------------
diff --git a/main/download.md b/main/download.md
index 1b8f588..bd5b2b4 100644
--- a/main/download.md
+++ b/main/download.md
@@ -1,6 +1,6 @@
---
title: Download
-permalink: /download/
+permalink: /download
---
_KEYS file to verify the file signatures can be [found here](http://www.apache.org/dist/cayenne/KEYS)._
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/e4c4d2c5/main/getting-started.md
----------------------------------------------------------------------
diff --git a/main/getting-started.md b/main/getting-started.md
deleted file mode 100644
index 41f65e2..0000000
--- a/main/getting-started.md
+++ /dev/null
@@ -1,7 +0,0 @@
----
-title: Getting started
-permalink: /getting-started/
----
-
-## Getting started
-
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/e4c4d2c5/main/how-can-i-help.md
----------------------------------------------------------------------
diff --git a/main/how-can-i-help.md b/main/how-can-i-help.md
index e77193b..45109d0 100644
--- a/main/how-can-i-help.md
+++ b/main/how-can-i-help.md
@@ -1,6 +1,7 @@
-Title: How can I help?
-<a name="HowcanIhelp?-HowCanIHelp?"></a>
-## How Can I Help?
+---
+title: How can I help?
+permalink: /how-can-i-help
+---
Every volunteer project gets its strength from its participants. We invite
everybody to participate in Cayenne. If you are willing to help,
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/e4c4d2c5/main/mailing-lists.md
----------------------------------------------------------------------
diff --git a/main/mailing-lists.md b/main/mailing-lists.md
index d890aa4..dcd4255 100644
--- a/main/mailing-lists.md
+++ b/main/mailing-lists.md
@@ -1,6 +1,6 @@
---
title: Mailing Lists
-permalink: /mailing-lists/
+permalink: /mailing-lists
---
### User Mailing List
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/e4c4d2c5/main/success-stories.md
----------------------------------------------------------------------
diff --git a/main/success-stories.md b/main/success-stories.md
index 38a93c0..270b994 100644
--- a/main/success-stories.md
+++ b/main/success-stories.md
@@ -1,6 +1,6 @@
---
title: Success stories
-permalink: /success-stories/
+permalink: /success-stories
---
Not the full list by any means, but here is a number of organizations and
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/e4c4d2c5/main/support.md
----------------------------------------------------------------------
diff --git a/main/support.md b/main/support.md
index aac20ea..e200f92 100644
--- a/main/support.md
+++ b/main/support.md
@@ -1,6 +1,6 @@
---
title: Support
-permalink: /support/
+permalink: /support
---
## Community Support
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/e4c4d2c5/main/thanks.md
----------------------------------------------------------------------
diff --git a/main/thanks.md b/main/thanks.md
index 4a00634..dd73676 100644
--- a/main/thanks.md
+++ b/main/thanks.md
@@ -1,6 +1,6 @@
---
title: Thanks
-permalink: /thanks/
+permalink: /thanks
---
### License Donations
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/e4c4d2c5/main/why-cayenne.md
----------------------------------------------------------------------
diff --git a/main/why-cayenne.md b/main/why-cayenne.md
deleted file mode 100644
index 40aa5de..0000000
--- a/main/why-cayenne.md
+++ /dev/null
@@ -1,59 +0,0 @@
----
-title: Why Cayenne
-permalink: /why-cayenne/
----
-
-Cayenne is a Java _object relational mapping (ORM) framework_. In other
-words, it is a tool for Java developers who need to talk to a database (or
-many databases). Rather than hardcoding SQL statements through Java code,
-Cayenne allows a programmer to work only with Java objects abstracted from
-the database. Here are just a few benefits of the Cayenne approach to
-persistence:
-
-* Portability between almost any [database](/database-support.html)
- that has a JDBC driver without changing a single line of code in your
-application.
-* No knowledge of SQL is required (while it still can be helpful).
-* Code which validates any data committed to the database is easy to write
-and foolproof in operation. This might be as simple as ensuring passwords
-have enough characters, or a complex check on the validity of a set of
-accounting operations in a general ledger transaction. This allows you to
-move common error checking code out of the GUI layer and provides valuable
-protection against programming mistakes.
-* Caching in order to make your application faster and avoid repeated hits
-on the database for the same data.
-* Automatic faulting (lazy loading) of relationships, but easily supports
-prefetching of related data for improved performance when needed.
-* Pagination which reduces bandwidth and query times by only loading the
-contents of objects when they are actually needed. The classic example of
-paging, which differs from faulting, is when a query returns 97 records,
-and you want to display 10 at-a-time to the user. With paging, only the
-first 10 records are fully loaded. Cayenne will automatically load only
-the page of records as they are requested.
-* Configurable optimistic locking to ensure data integrity and prevent
-unexpected data issues when another tool has changed the database behind
-the scenes (such as a maintainer updating a record in the database while a
-Cayenne-based application had the same record loaded to make changes).
-* A GUI-based database/schema modeler to simplify learning Cayenne. The
-modeler saves to XML-based files, which can be hand-edited if needed.
-
-Also here are a few things that set Cayenne apart from other ORM products:
-
-* Cayenne can also work in three tier (ROP) mode where multiple clients
-connect to the data source not via JDBC but through a remote Cayenne
-controlled service. This gives much greater control over centralized
-validation, caching and a seamless persistence of objects from the server
-through to the clients. The clients might themselves be web servers
-delivering a distributed load balancing web farm or a rich GUI client such
-as a desktop Swing/SWT application.
-
-* A persistent object doesn't have to be of a class known at compile time.
-Instead Cayenne can use a generic class with mapping defined dynamically in
-runtime (all without any bytecode manipulation).
-
-* Cayenne supports "nested contexts" allowing an arbitrary number of
-nesting levels for commit/rollback operations. This way a user can create
-"scratch contexts" for working with objects, with the ability to discard
-(or save) those changes without affecting an overall larger set of
-uncommitted changes.
-
[6/6] cayenne-website git commit: Write a custom plugin to handle all
the Jira references and turn them into links.
Posted by am...@apache.org.
Write a custom plugin to handle all the Jira references and turn them into links.
Project: http://git-wip-us.apache.org/repos/asf/cayenne-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne-website/commit/88c1c825
Tree: http://git-wip-us.apache.org/repos/asf/cayenne-website/tree/88c1c825
Diff: http://git-wip-us.apache.org/repos/asf/cayenne-website/diff/88c1c825
Branch: refs/heads/master
Commit: 88c1c8256839aecb40eec89eec199ba4e126232a
Parents: f9d8a2d
Author: Aristedes Maniatis <ar...@ish.com.au>
Authored: Wed May 31 08:38:16 2017 +0930
Committer: Aristedes Maniatis <ar...@ish.com.au>
Committed: Wed May 31 08:38:16 2017 +0930
----------------------------------------------------------------------
_layouts/default.html | 2 +-
_layouts/post.html | 2 +-
_plugins/jira.rb | 15 +++++++++++++++
assets/css/_sass/_layout.scss | 13 +++++++++++++
dev/cms-guide.md | 33 ---------------------------------
dev/code-repository.md | 18 +++++++++++-------
dev/how_development_happens.md | 3 ---
7 files changed, 41 insertions(+), 45 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/88c1c825/_layouts/default.html
----------------------------------------------------------------------
diff --git a/_layouts/default.html b/_layouts/default.html
index 36d9181..77f744c 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -10,7 +10,7 @@
<div class="page-content">
<div class="clearfix container">
<aside id="content">
- {{ content }}
+ {{ content | jira_link }}
</aside>
</div>
</div>
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/88c1c825/_layouts/post.html
----------------------------------------------------------------------
diff --git a/_layouts/post.html b/_layouts/post.html
index 36d9181..77f744c 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -10,7 +10,7 @@
<div class="page-content">
<div class="clearfix container">
<aside id="content">
- {{ content }}
+ {{ content | jira_link }}
</aside>
</div>
</div>
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/88c1c825/_plugins/jira.rb
----------------------------------------------------------------------
diff --git a/_plugins/jira.rb b/_plugins/jira.rb
new file mode 100644
index 0000000..21af834
--- /dev/null
+++ b/_plugins/jira.rb
@@ -0,0 +1,15 @@
+module Jekyll
+
+ module JiraLinks
+
+ def jira_link(content)
+ content.gsub(/CAY-[0-9]+/) { |link|
+ "<a class='jira' href='http://issues.apache.org/jira/" + link + "'>" + link + "</a>"
+ }
+ end
+
+ end
+
+end
+
+Liquid::Template.register_filter(Jekyll::JiraLinks)
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/88c1c825/assets/css/_sass/_layout.scss
----------------------------------------------------------------------
diff --git a/assets/css/_sass/_layout.scss b/assets/css/_sass/_layout.scss
index 897a702..610cc28 100644
--- a/assets/css/_sass/_layout.scss
+++ b/assets/css/_sass/_layout.scss
@@ -21,4 +21,17 @@
a {
font-weight: 400;
+}
+
+a.jira {
+ text-decoration: $text-color underline dashed;
+ color: $text-color;
+ &:visited {
+ color: $text-color;
+ }
+
+ &:hover {
+ color: darken($text-color, 15%);
+ text-decoration: $text-color underline solid;
+ }
}
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/88c1c825/dev/cms-guide.md
----------------------------------------------------------------------
diff --git a/dev/cms-guide.md b/dev/cms-guide.md
deleted file mode 100644
index e2bdd4e..0000000
--- a/dev/cms-guide.md
+++ /dev/null
@@ -1,33 +0,0 @@
----
-title: CMS guide
----
-
-Cayenne CMS source code (content + styling + scriptos) can be obtained from SVN:
-
-[https://svn.apache.org/repos/asf/cayenne/site/cms/trunk/](https://svn.apache.org/repos/asf/cayenne/site/cms/trunk/)
-
-Any Cayenne committer can change it and commit. On commit, it is automatically getting published in the CMS staging environment:
-
-[http://cayenne.staging.apache.org/](http://cayenne.staging.apache.org/)
-
-### Publishing
-
-To publish staged content go [here](https://cms.apache.org/cayenne/), login with your Apache ID, and click on "publish cayenne site".
-
-### Synchronizing Docs
-
-Assuming Cayenne checkout is under "~work/cayenne" and CMS sources checkout - under "~/work/cms/cms":
-
- (switch to the desired branch/tag and do a normal 'mvn clean install')
-
- rsync -av --delete ~/work/cayenne/docs/docbook/cayenne-guide/target/site/index/ \
- ~/work/cms/cms/content/docs/4.0/cayenne-guide/
- rsync -av --delete ~/work/cayenne/docs/docbook/getting-started/target/site/index/ \
- ~/work/cms/cms/content/docs/4.0/tutorial/
- rsync -av --delete ~/work/cayenne/docs/docbook/getting-started-rop/target/site/index/ \
- ~/work/cms/cms/content/docs/4.0/tutorial-rop/
- rsync -av --delete ~/work/cayenne/docs/docbook/upgrade-guide/target/site/index/ \
- ~/work/cms/cms/content/docs/4.0/upgrade-guide/
- rsync -av --delete ~/work/cayenne/docs/doc/target/site/apidocs/doc/api/ \
- ~/work/cms/cms/content/docs/4.0/api/
-
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/88c1c825/dev/code-repository.md
----------------------------------------------------------------------
diff --git a/dev/code-repository.md b/dev/code-repository.md
index 9d2ff66..6328204 100644
--- a/dev/code-repository.md
+++ b/dev/code-repository.md
@@ -2,22 +2,26 @@
title: Code Repository
---
-Cayenne uses Git for source code version control. "Master" writable repository is located here:
+Cayenne uses git for source code version control. The authoritative writable repository is located here:
[https://git-wip-us.apache.org/repos/asf/cayenne.git](https://git-wip-us.apache.org/repos/asf/cayenne.git)
-It can be cloned by anyone, and that's where committers would ultimately push the code. We also have a GitHub read-only copy:
+This website is also in version control and located here:
-[https://github.com/apache/cayenne](https://github.com/apache/cayenne)
+[https://git-wip-us.apache.org/repos/asf/cayenne-website.git](https://git-wip-us.apache.org/repos/asf/cayenne-website.git)
-Feel free to fork and/or star Cayenne there.
+You can clone these repositories, or use the GitHub read-only copies:
+
+[https://github.com/apache/cayenne](https://github.com/apache/cayenne)
+[https://github.com/apache/cayenne-website](https://github.com/apache/cayenne-website)
+
+Feel free to fork and/or star Cayenne there. You can also make a pull request if you have code to contribute.
## Legacy Subversion Repository
-Up to version 3.2M2 we used Subversion. For archival purposes SVN repository is still available
-in a read-only mode:
+Up to version 3.2M2 we used Subversion. For archival purposes the svn repository is still available in a read-only mode:
[https://svn.apache.org/repos/asf/cayenne/main/](https://svn.apache.org/repos/asf/cayenne/main/)
-Note that it contains branches and tags for releases prior to 3.0, that are not present in Git. So if you are looking for those older releases, you will have to use SVN.
\ No newline at end of file
+Note that it contains branches and tags for releases prior to 3.0 that are not present in git. So if you are looking for those older releases, you will have to use svn. The whole commit history of trunk/master was transferred into git.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/88c1c825/dev/how_development_happens.md
----------------------------------------------------------------------
diff --git a/dev/how_development_happens.md b/dev/how_development_happens.md
index 88326be..551749f 100644
--- a/dev/how_development_happens.md
+++ b/dev/how_development_happens.md
@@ -4,9 +4,6 @@ title: How development happens
There are several levels of access to the Cayenne project and source.
-1. Documentation only access. Access to the Confluence system for creating
-documentation means that these users are able to edit and create content
-which then available on this web site and bundled with the download.
1. Committers have direct access to Git and are able to make changes to the
entire source repository.
1. Project Management Committee (PMC) members have further responsibility
[3/6] cayenne-website git commit: Remove some pages which really
don't add anything useful to the site
Posted by am...@apache.org.
Remove some pages which really don't add anything useful to the site
Project: http://git-wip-us.apache.org/repos/asf/cayenne-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne-website/commit/9193c2b9
Tree: http://git-wip-us.apache.org/repos/asf/cayenne-website/tree/9193c2b9
Diff: http://git-wip-us.apache.org/repos/asf/cayenne-website/diff/9193c2b9
Branch: refs/heads/master
Commit: 9193c2b977fdc0b7bff52df4228b80d0469f4260
Parents: 1de3f98
Author: Aristedes Maniatis <ar...@ish.com.au>
Authored: Tue May 30 13:42:15 2017 +0800
Committer: Aristedes Maniatis <ar...@ish.com.au>
Committed: Tue May 30 13:42:15 2017 +0800
----------------------------------------------------------------------
_includes/footer.html | 2 +-
docs/index.md | 15 ++++++---------
docs/legacy.md | 9 ---------
main/collaboration.md | 15 ---------------
main/download.md | 5 +----
5 files changed, 8 insertions(+), 38 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/9193c2b9/_includes/footer.html
----------------------------------------------------------------------
diff --git a/_includes/footer.html b/_includes/footer.html
index ff89701..103f45f 100644
--- a/_includes/footer.html
+++ b/_includes/footer.html
@@ -38,7 +38,7 @@
</div>
<div class="col-md-8">
- <h4><a href="/collaboration.html">Collaboration</a></h4>
+ <h4>Collaboration</h4>
<ul>
<li><a href="http://issues.apache.org/jira/browse/CAY">Bug/Feature Tracker</a></li>
<li><a href="/mailing-lists.html">Mailing Lists</a></li>
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/9193c2b9/docs/index.md
----------------------------------------------------------------------
diff --git a/docs/index.md b/docs/index.md
index daa0bbe..3eb363a 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -2,13 +2,10 @@
title: Cayenne Documentation
---
-Documentation, the JavaDoc API, examples and articles can all be found
-here.
+User documentation, tutorials and JavaDoc for each major release of Cayenne.
-* [Getting Started (4.0)](/docs/4.0/tutorial/index.html)
-* [Version 4.0 (alpha)](/docs/4.0/index.html)
-* [Version 3.1 (stable)](/docs/3.1/index.html)
-
-## Legacy Documentation
-
-* [Legacy Releases](/legacy.html)
+* [Version 4.0](/docs/4.0/index.html)
+* [Version 3.1](/docs/3.1/index.html)
+* [Version 3.0](/docs/3.0/index.html)
+* [Version 2.0](/docs/2.0/index.html)
+* [Version 1.2](/docs/1.2/index.html)
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/9193c2b9/docs/legacy.md
----------------------------------------------------------------------
diff --git a/docs/legacy.md b/docs/legacy.md
deleted file mode 100644
index 2cc45f2..0000000
--- a/docs/legacy.md
+++ /dev/null
@@ -1,9 +0,0 @@
----
-title: Legacy Releases Documentation
----
-
-Documentation for the legacy releases of Cayenne can be found here:
-
-* [Version 3.0](/docs/3.0/index.html)
-* [Version 2.0](/docs/2.0/index.html)
-* [Version 1.2](/docs/1.2/index.html)
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/9193c2b9/main/collaboration.md
----------------------------------------------------------------------
diff --git a/main/collaboration.md b/main/collaboration.md
deleted file mode 100644
index b682310..0000000
--- a/main/collaboration.md
+++ /dev/null
@@ -1,15 +0,0 @@
----
-title: Collaboration
-permalink: /collboration/
----
-
-Cayenne is the result of collaboration of many skilled people. This is a
-set of links to access Cayenne collaboration resources and information.
-
-* [Bug/Feature Tracker](http://issues.apache.org/jira/browse/CAY)
-* [Support](support.html)
-* [Code Repository](code-repository.html)
-* [Developer Guide](developer-guide.html)
-* [How Can I Help?](how-can-i-help.html)
-* [Contributors](contributors.html)
-
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/9193c2b9/main/download.md
----------------------------------------------------------------------
diff --git a/main/download.md b/main/download.md
index bbbc159..1b8f588 100644
--- a/main/download.md
+++ b/main/download.md
@@ -82,7 +82,4 @@ Requires Java 1.5 or above.
### Maven
-Cayenne artifacts are available from [Maven Central][1] for use with Maven, Ivy, Gradle or any other dependency management tool.
-
-
- [1]: http://search.maven.org/#search|ga|1|g%3A%22org.apache.cayenne%22
\ No newline at end of file
+Cayenne artifacts are available from [Maven Central](http://search.maven.org) for use with Maven, Ivy, Gradle or any other dependency management tool.
\ No newline at end of file
[2/6] cayenne-website git commit: Explain who all these people are.
Posted by am...@apache.org.
Explain who all these people are.
Project: http://git-wip-us.apache.org/repos/asf/cayenne-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne-website/commit/1de3f98c
Tree: http://git-wip-us.apache.org/repos/asf/cayenne-website/tree/1de3f98c
Diff: http://git-wip-us.apache.org/repos/asf/cayenne-website/diff/1de3f98c
Branch: refs/heads/master
Commit: 1de3f98c799224bf00583403523453b2d47d8536
Parents: b46db93
Author: Aristedes Maniatis <ar...@ish.com.au>
Authored: Tue May 30 13:42:02 2017 +0800
Committer: Aristedes Maniatis <ar...@ish.com.au>
Committed: Tue May 30 13:42:02 2017 +0800
----------------------------------------------------------------------
main/contributors.md | 3 +++
1 file changed, 3 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/1de3f98c/main/contributors.md
----------------------------------------------------------------------
diff --git a/main/contributors.md b/main/contributors.md
index 3605f1e..ac94ec4 100644
--- a/main/contributors.md
+++ b/main/contributors.md
@@ -5,6 +5,9 @@ permalink: /contributors/
### Committers and Project Management Committee
+The most important part of Apache Cayenne project are the people who contribute to it. Contributions come from developers who use Cayenne in their projects and submit bug reports, feature requests or patches. If those developers show an ongoing high quality engagement with the Cayenne project they will be given the ability to commit their changes directly to our version control.
+
+A subset of those committers are the project management committee (PMC) who provide oversight of the project, legal compliance and quality. Finally the chair is out point of contact with the Apache Foundation board, reporting regardly to them on the health of the project.
Name | Role | Email | Website
-----|------|-------|--------
[5/6] cayenne-website git commit: We better have a full news page to
get a list of every news items since the home page only displays 6.
Posted by am...@apache.org.
We better have a full news page to get a list of every news items since the home page only displays 6.
Project: http://git-wip-us.apache.org/repos/asf/cayenne-website/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne-website/commit/f9d8a2d8
Tree: http://git-wip-us.apache.org/repos/asf/cayenne-website/tree/f9d8a2d8
Diff: http://git-wip-us.apache.org/repos/asf/cayenne-website/diff/f9d8a2d8
Branch: refs/heads/master
Commit: f9d8a2d89066544b861173d28b6066c6b3d20aff
Parents: e4c4d2c
Author: Aristedes Maniatis <ar...@ish.com.au>
Authored: Tue May 30 14:17:20 2017 +0800
Committer: Aristedes Maniatis <ar...@ish.com.au>
Committed: Tue May 30 14:17:20 2017 +0800
----------------------------------------------------------------------
_posts/2017-07-01-cayenne-website-upgrade.md | 9 +++++++++
index.md | 4 +++-
main/news.md | 13 +++++++++++++
3 files changed, 25 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f9d8a2d8/_posts/2017-07-01-cayenne-website-upgrade.md
----------------------------------------------------------------------
diff --git a/_posts/2017-07-01-cayenne-website-upgrade.md b/_posts/2017-07-01-cayenne-website-upgrade.md
new file mode 100644
index 0000000..f87bc93
--- /dev/null
+++ b/_posts/2017-07-01-cayenne-website-upgrade.md
@@ -0,0 +1,9 @@
+---
+layout: post
+title: Cayenne website upgrade
+date: 2017-07-01
+---
+
+Its about time we had a modern website with better responsive (mobile) ability, and a clean modern design.
+
+This rebuild is based on the jekyll static site generator. With an extensible architecture, jekyll is really easy for developers to use and it is very quick and easy to see a preview of any changes you are working on.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f9d8a2d8/index.md
----------------------------------------------------------------------
diff --git a/index.md b/index.md
index fabd401..785fce8 100644
--- a/index.md
+++ b/index.md
@@ -20,7 +20,7 @@ design. To that end, Cayenne supports database reverse engineering and
generation, as well as a Velocity-based class generation engine. All of
these functions can be controlled directly through the CayenneModeler, a
fully functional GUI tool. No cryptic XML or annotation based configuration
-is required\! An entire database schema can be mapped directly to Java
+is required! An entire database schema can be mapped directly to Java
objects within minutes, all from the comfort of the GUI-based
CayenneModeler.
@@ -44,6 +44,8 @@ services.
{% endfor %}
</ul>
+<a href="/news">More news...</a>
+
## Cayenne Modeler
<span style="float: right"><img style="border: 0px solid black" src="/img/modeler-thumb.png"></span>
Cayenne is distributed with CayenneModeler - a complete GUI mapping tool that supports reverse-engineering of RDBMS
http://git-wip-us.apache.org/repos/asf/cayenne-website/blob/f9d8a2d8/main/news.md
----------------------------------------------------------------------
diff --git a/main/news.md b/main/news.md
new file mode 100644
index 0000000..838f3e7
--- /dev/null
+++ b/main/news.md
@@ -0,0 +1,13 @@
+---
+title: News
+permalink: /news
+---
+
+<ul class="news">
+ {% for post in site.posts %}
+ <li>
+ <span class="date">{{ post.date | date: "%-d %b %Y" }}</span><a href="{{ post.url }}"> {{ post.title }}</a>
+ {{ post.excerpt }}
+ </li>
+ {% endfor %}
+</ul>
\ No newline at end of file