[Bond-users] Bond vs. Glom for small clinic

Gour gour at mail.inet.hr
Tue Jan 6 01:21:19 EST 2009


>>>>> "jasen" == jasen  <jasen at tyreal.treshna.com> writes:

jasen> If it can talk to postgresql it can interact with a bond
jasen> application.

Hmm, that sounds VERY interesting...Thanks a lot.

jasen> you use the SQL command "notify" which sends a broacast message
jasen> to all postgresql clients of the database that are listening.

jasen>  noitfy panic;

jasen> in bond you have a notify trigger

jasen>  <trigger event='notify' notify_type='remote' value='panic' >
 
jasen> that takes action as apropriate.

I've to try this out asap...

jasen> it's possible write loops in bond notify triggers that will loop
jasen> through the records in a table etc so quite complex things can be
jasen> done.  this trick relies on a little sql function that retriggers
jasen> bond becoming effectively a "goto", and writing most of the logic
jasen> of the loop in SQL.

Huh, it look I have to start with serious testing...


Sincerely,
Gour


-- 

Gour  | Zagreb, Croatia  | GPG key: C6E7162D
----------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.hcoop.net/pipermail/bond-users/attachments/20090106/27c510c7/attachment.pgp 


More information about the Bond-users mailing list