On 6/4/07, James Holmes <[EMAIL PROTECTED]> wrote:
> 1) PHP should be run on a single threaded webserver, as some of the C
> libraries used in PHP apps aren't thread safe. This means running
> Apache 1, or Apache 2 in prefork mode. CF (for example) is quite happy
> running in multithreaded configurations of Apache.

Although I will point out that the way I've had to implement caching
and script compilation, each individual script block has to be single
threaded (although multiple *different* blocks can execute
concurrently). I'm being conservative here because I'm not sure of the
inner workings of the CompiledScript implementation in Quercus...

> 2) The PHP apps automatically get the benefit of datasource connection
> pooling, clustering and all the other good things J2EE provides.

I haven't tried data source integration yet - that may require
cracking open the Quercus source and hacking it around some (to get
integration with ColdFusion). Remember that the ScriptEngine is
running outside of its native Servlet environment. It *may* work out
of the box (try it someone!) but it may well not.

> 3) The PHP apps can integrate with Java objects and code.

Yes, and in the docs for running PHP in CF8, I show how PHP can
manipulate CF data structures (which are really just Java). That
aspect is definitely very powerful.
-- 
Sean A Corfield -- (904) 302-SEAN
An Architect's View -- http://corfield.org/

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Macromedia ColdFusion MX7
Upgrade to MX7 & experience time-saving features, more productivity.
http://www.adobe.com/products/coldfusion?sdid=RVJW

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:280067
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to