Commit d4405bb9 authored by pookey's avatar pookey

docbook docs: changing features section headings into headers, and fixing the example

parent 8df53a91
...@@ -88,7 +88,7 @@ ...@@ -88,7 +88,7 @@
// create a new user // create a new user
$user = new User(); $user = new User();
$user->username = "Pookey"; $user->username = "pookey";
$user->password = "a password!"; $user->password = "a password!";
$user->created = time(); $user->created = time();
...@@ -151,58 +151,67 @@ ...@@ -151,58 +151,67 @@
<listitem>LIMIT / OFFSET emulation </listitem> <listitem>LIMIT / OFFSET emulation </listitem>
</itemizedlist> </itemizedlist>
<para> <sect3 id="features-orm">
<title>
Object Relational Mapping Object Relational Mapping
</para> </title>
<para> <sect4 id="features-orm-general">
General Features <title>
</para> General Features
<itemizedlist> </title>
<listitem>Validators</listitem> <itemizedlist>
<listitem>Transactional errorStack for easy retrieval of all errors</listitem> <listitem>Validators</listitem>
<listitem>EventListeners</listitem> <listitem>Transactional errorStack for easy retrieval of all errors</listitem>
<listitem>UnitOfWork pattern (easy saving of all pending objects)</listitem> <listitem>EventListeners</listitem>
<listitem>Uses ActiveRecord pattern</listitem> <listitem>UnitOfWork pattern (easy saving of all pending objects)</listitem>
<listitem>State-wise records and transactions</listitem> <listitem>Uses ActiveRecord pattern</listitem>
<listitem>Importing existing database schemas to Doctrine ActiveRecord objects</listitem> <listitem>State-wise records and transactions</listitem>
<listitem>Exporting Doctrine ActiveRecords to database (= automatic table creation)</listitem> <listitem>Importing existing database schemas to Doctrine ActiveRecord objects</listitem>
</itemizedlist> <listitem>Exporting Doctrine ActiveRecords to database (= automatic table creation)</listitem>
</itemizedlist>
<para> </sect4>
Mapping <sect4 id="features-orm-mapping">
</para> <title>
<itemizedlist> Mapping
<listitem>Composite, Natural, Autoincremented and Sequential identifiers</listitem> </title>
<listitem>PHP Array / Object data types for columns (automatic serialization/unserialization)</listitem> <itemizedlist>
<listitem>Gzip datatype for all databases</listitem> <listitem>Composite, Natural, Autoincremented and Sequential identifiers</listitem>
<listitem>Emulated enum datatype for all databases</listitem> <listitem>PHP Array / Object data types for columns (automatic serialization/unserialization)</listitem>
<listitem>Datatype abstraction</listitem> <listitem>Gzip datatype for all databases</listitem>
<listitem>Column aggregation inheritance</listitem> <listitem>Emulated enum datatype for all databases</listitem>
<listitem>One-class-one-table inheritance as well as One-table</listitem> <listitem>Datatype abstraction</listitem>
<listitem>One-to-many, many-to-one, one-to-one and many-to-many relations</listitem> <listitem>Column aggregation inheritance</listitem>
<listitem>Self-referencing relations even for association table relations</listitem> <listitem>One-class-one-table inheritance as well as One-table</listitem>
<listitem>Relation aliases</listitem> <listitem>One-to-many, many-to-one, one-to-one and many-to-many relations</listitem>
</itemizedlist> <listitem>Self-referencing relations even for association table relations</listitem>
<listitem>Relation aliases</listitem>
<para> </itemizedlist>
Object population </sect4>
</para>
<itemizedlist> <sect4 id="features-orm-population">
<listitem>DQL (Doctrine Query Language), an EJB 3 spec compliant OQL</listitem> <title>
<listitem>The limit-subquery-algorithm</listitem> Object population
<listitem>OO-style query API for both DQL and raw SQL</listitem> </title>
<listitem>Object population from database views</listitem> <itemizedlist>
<listitem>Object population through raw SQL</listitem> <listitem>DQL (Doctrine Query Language), an EJB 3 spec compliant OQL</listitem>
</itemizedlist> <listitem>The limit-subquery-algorithm</listitem>
<listitem>OO-style query API for both DQL and raw SQL</listitem>
<para> <listitem>Object population from database views</listitem>
Transactions and locking <listitem>Object population through raw SQL</listitem>
</para> </itemizedlist>
<itemizedlist> </sect4>
<listitem>Pessimistic offline locking</listitem>
<listitem>Savepoints, transaction isolation levels and nested transactions</listitem> <sect4 id="features-orm-locking">
<listitem>Transactional query optimization (gathering of DELETE statements) </listitem> <title>
</itemizedlist> Transactions and locking
</title>
<itemizedlist>
<listitem>Pessimistic offline locking</listitem>
<listitem>Savepoints, transaction isolation levels and nested transactions</listitem>
<listitem>Transactional query optimization (gathering of DELETE statements) </listitem>
</itemizedlist>
</sect4>
</sect3>
</sect1> </sect1>
<sect1 id="requirements"> <sect1 id="requirements">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment