Location: PHPKode > projects > Open Power Template > docs/Opl/preface.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="http://www.w3.org/1999/xhtml" lang="pl">
	<meta http-equiv="content-type" content="text/html; charset=utf-8" />
	<meta name="robots" content="all" />

	<title>Preface - Open Power Libs</title>
	<link rel="stylesheet" type="text/css" href="design/generic.css" media="all"  />
	<link rel="stylesheet" type="text/css" href="design/print.css" media="print" />
	<!--[if lte IE 6]><link rel="stylesheet" href="design/ie.css" type="text/css" /><![endif]-->	
	<!--[if IE 7]><link rel="stylesheet" href="design/ie7.css" type="text/css" /><![endif]-->

<div id="wrap">
	<div id="header">
		<h1>Open Power Libs 2.0</h1>
		<p class="generated">@ 02.09.2010</p>
		<p class="location"><a href="index.html"><strong>User manual</strong></a> &raquo; <a href="preface.html">Preface</a></p>
	<div id="content"><dl class="location"><dt><a href="index.html">Table of Contents</a><br/>1. Preface</dt><dd class="next">2. Installation<br/><a href="installation.html">Next &raquo;</a></dd></dl>	<h1>1. Preface</h1><p>Open Power Libs is a project that aims to create a set of advanced and well-designed PHP5/PHP6 libraries. It is not a standalone framework, because it does not contain some of the tools necessary to build the website from scratch. However, you may think about it as an additional library collection for your favorite framework. The reason why we decided to write such a script, is easy. There are lots of good frameworks, but not all of their components are good enough. Let's take a look at the example - template engines. Most of them ends at putting PHP structures into Yet Another Syntax, and no doubt the programmers consider them evil and the framework designers choose pure PHP as a template language. But PHP is rather a programming language and some common tasks require much of coding or using various advanced features to keep the code simple enough. As we do not create a complete framework, we could spend much more time on designing a <em>better template engine</em>, that allows to solve problems in the way PHP was not and never will be able to do.</p>

<h2>Package contents</h2>

<p>The status of the package contents:</p>

<li>Open Power Libs core (OPL) - provides base classes and interfaces. Stable.</li>
<li>Open Power Template (OPT) - a template engine. Stable.</li>
<li>Open Power Classes (OPC) - a group of smaller supporting classes. Under development.</li>
<li>Open Power Forms (OPF) - form processing. Planning.</li>

<p>Of course, the libraries do not work alone. OPF cannot work without OPT, because all the forms and controls are drawn using the template engine features. On the other hand, most of OPC classes are standalone projects, but as they provide implementations for various OPT and OPF interfaces, they can also cooperate.</p>

<h2>Framework integration</h2>

<p>OPL is not integrated by default with any particular framework. The basic integration is very simple - just load the core plus the libraries you need and start using them. However, this usually does not allow to use all of the framework features. The best results are achieved when OPL is plugged into the native framework subsystems. The library was designed to make this task as simple as possible, by analyzing the APIs of the most popular solutions.</p>

<p>The official framework ports are on the way, too. The first that is going to appear, is OPL Zend Framework Port.</p>

<h2>Documentation contents</h2>

<p>Each of the libraries has its own documentation. This documentation provides only the description of the core subsystems and conventions used in the project.</p>
<dl class="location location-bottom"><dt>1. Preface<br/><a href="index.html">Table of Contents</a></dt><dd class="next"><a href="installation.html">Next &raquo;</a><br/>2. Installation</dd></dl>		</div>
	<div id="footer">
		<p>Copyright &copy; <a href="http://www.invenzzia.org/">Invenzzia Group 2008-2009</a></p>
		<p>Available under the terms of license: <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License 1.2</a></p>
		<p>Generated by <strong>TypeFriendly 0.1.4</strong> by <a href="http://www.invenzzia.org/">Invenzzia</a></p>

Return current item: Open Power Template