10.02.2013 Views

PHP Programming Language - OpenLibra

PHP Programming Language - OpenLibra

PHP Programming Language - OpenLibra

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Propel (<strong>PHP</strong>) 263<br />

Propel (<strong>PHP</strong>)<br />

Propel is a free, open-source (MIT) object-relational mapping toolkit written in <strong>PHP</strong>. It is also an integral part of the<br />

<strong>PHP</strong> framework Symfony and was the default ORM up to, and including version 1.2.<br />

History<br />

The Propel project was started in August 2003, with the availability of beta versions <strong>PHP</strong> version 5. With version 5,<br />

<strong>PHP</strong> was finally able to provide a level of support for object-oriented programming that both made projects like<br />

Propel possible and also created a demand for these hitherto-missing components of large-scale, object-oriented<br />

architectures. Propel was originally based on the Apache Torque project, which was a Java language ORM project.<br />

Features<br />

Propel's primary function is to provide a mapping between <strong>PHP</strong> classes and database tables. To accomplish this<br />

Propel includes a generator component which uses source code generation to build <strong>PHP</strong> classes based on a<br />

datamodel definition written in XML. Propel also includes a runtime component which manages connections,<br />

transactions, and any idiosyncratic rules that describe the workings of the RDBMS being used with Propel.<br />

See also<br />

• List of object-relational mapping software<br />

• Doctrine (<strong>PHP</strong>)<br />

• Symfony, a web application framework<br />

External links<br />

• Propel Home Page [1]<br />

• Symfony Framework Model Layer (Propel) [2]<br />

References<br />

[1] http:/ / www. propelorm. org<br />

[2] http:/ / www. symfony-project. org/ book/ 1_2/ 08-Inside-the-Model-Layer

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!