[PHP] PHP ODBC and Pervasive.SQL

2004-02-26 Thread Pascal Schaedeli
Hi,

I am executing a SELECT query from PHP (4.3.4) through ODBC on a Pervasive
2000SP4 (all on Windows). odbc_result_all, odbc_fetch_into, and all other
php odbc function stop returning records before the end of the effective
resultset.

Here is what is happening  :
* In Pervasive: SELECT * FROM table returns n records (correct).
* In Access, throught ODBC, the same query returns the same n records
(correct).
* In PHP, odbc_exec of the same query returns mhttp://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] PHP and Workflow Engines

2004-02-27 Thread Pascal Schaedeli
Hi,

Have you implemented or planned to implement a PHP interface to a workflow
engine instead of building the process routing logic into the PHP scripts?
The idea is to separate the processing of activities (mainly through the
interactions of users an a web form) and the connections between those
activities that route an instance of a process from start to end.

The benefits I see are mutliple, but the main ones are:
- If business logic and routing logic are not separated, then every modelled
business process must handle its own life and implement its own supporting
structure (db tables, etc.) resulting in a lot of inefficiency and
duplication.
- Processes modelled would not be flexible to change.
- Better fit in the enterprise framework: if handled by a standalone
workflow engine, processes can contain some activities executed by user over
a PHP web app, while other activities are executed on other applications
(ERP, etc).

Following are some of the points I am considering to go forward:
- Follow standards with as few deviations as possible to ease upgrade and
integrations with existing tools: http://www.wfmc.org/, XPDL, etc.
- The workflow engine itself would probably not be built on PHP; again,
follow standards such as OMG, etc...
- Evaluate open-source wf engines: http://wfmopen.sourceforge.net/ seems
like an interesting option, but there are quite a few, most of them written
in Java.

Please let me know if you are interested in continuing this discussion.
Pascal

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php