Home
Features
Screenshots
Tutorial
Document
Download
Online Demo
FAQ
Forum
 

Openbiz Manual

Openbiz 2.2 Overview

  • Roadmap of Openbiz 2.2
  • Test drive Openbiz 2.2
  • What to change to code

Roadmap of Openbiz 2.2

Build on Zend framework

Test drive Openbiz 2.2

1. Download Openbiz 2.2 source, download Zend Framework source. To get higher performance, enabling APC extension is highly recommended. A topic on apachelounge covers installing APC on windows.

2. Configure Zend framework path in openbiz_home/bin/sysheader.inc. For example, if Zend framework library is under /htdocs/zf015/, the following part is added in sysheader.inc.

// defined Zend framework library home as ZEND_FRWK_HOME
define('ZEND_FRWK_HOME',$_SERVER['DOCUMENT_ROOT']."/zf015/library");
// add zend framework to include path
set_include_path(get_include_path() . PATH_SEPARATOR . ZEND_FRWK_HOME);

3. Change Config.xml Driver attribute. http://us2.php.net/manual/en/ref.pdo.php#pdo.drivers gives the list of supported PDO drivers.

4. Run Openbiz dempapp.

What to change in your code?

Data query in 2.1 or earlier version

$resultSet = db->excute($sql);
if ($resultSet === false) {
   $errMsg = "Error in query: " . $sql . ". " . $db->ErrorMsg();
}
$sqlArr = $resultSet->FetchRow();

Data query in 2.2

try {
   $pdo_stmt = $db->query($sql);
}
catch (Exception $e) {
   $errMsg = "Error in query: " . $sql . ". " . $e->getMessage();
}
$sqlArr = $pdo_stmt ->fetch();

Release
Support
Email to developers
Visit Openbiz forum
3rd party packages