Subject | RE: [firebird-support] Event notification through ODBC or Linux app - use PHP? |
---|---|
Author | Alan McDonald |
Post date | 2005-08-08T23:49:27Z |
> I see that PHP's Firebird/Interbase module supports events. II say again - I'd love to know:
> wonder if there is a way to break it out to run stand-alone? As
> you can tell I know nothing about PHP besides that fact that it's
> used as HTML scripting language. How easy is it to use as a
> general scripting language, i.e. run it in a bash shell with no HTML.
>
> http://lu.php.net/manual/en/ref.ibase.php
>
can someone draw me a picture here.
Perl and PHP type connection environments are very short lived by nature.
you connect - do some work and disconnect. If you are disconnected, you are
no registered for an event. So you connect, register, do some work,
unregister and/or disconnect. You spend more time disconnected (unregistered
for an event) than you do connected and registered.
Are there environments in perl/php which rely on holding/looping states
which allow persistent connections long enough for registering against
events to make sense?
Alan