Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Interchange: users

Execution of arbitrary code on database update

 

 

Interchange users RSS feed   Index | Next | Previous | View Threaded


racke at linuxia

Jan 3, 2001, 4:27 AM

Post #1 of 5 (199 views)
Permalink
Execution of arbitrary code on database update

Has IC any infrastructure to execute arbitrary code on a
database update. I'm writing an administration frontend
for a mail server with IC's UI and I need some way to
create maildirs for new accounts etc.

Bye
Racke

--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---


doug at lathi

Jan 3, 2001, 8:56 AM

Post #2 of 5 (182 views)
Permalink
Execution of arbitrary code on database update [In reply to]

Stefan Hornburg <racke [at] linuxia> writes:

> Has IC any infrastructure to execute arbitrary code on a
> database update.

My guess is "no". It seems to me that IC only executes code when
pages load. So, you would need to do whatever processing on the page
that actually does the update. If you have more than one page that
does the update, consider a user-tag or a catalog scoped subroutine
(like bar_link).
--
(__) Doug Alcorn (mailto:doug [at] lathi http://www.lathi.net)
oo / PGP 02B3 1E26 BCF2 9AAF 93F1 61D7 450C B264 3E63 D543
|_/ If you're a capitalist and you have the best goods and they're
free, you don't have to proselytize, you just have to wait.


racke at linuxia

Jan 3, 2001, 9:45 AM

Post #3 of 5 (182 views)
Permalink
Execution of arbitrary code on database update [In reply to]

Doug Alcorn <doug [at] lathi> writes:

> Stefan Hornburg <racke [at] linuxia> writes:
>
> > Has IC any infrastructure to execute arbitrary code on a
> > database update.
>
> My guess is "no". It seems to me that IC only executes code when
> pages load. So, you would need to do whatever processing on the page
> that actually does the update. If you have more than one page that
> does the update, consider a user-tag or a catalog scoped subroutine
> (like bar_link).

If it is not there, I would consider to hack it in. Maybe
Akopia can comment on an possible interface.

Bye
Racke

--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---


jon at akopia

Jan 3, 2001, 1:43 PM

Post #4 of 5 (182 views)
Permalink
Execution of arbitrary code on database update [In reply to]

On 3 Jan 2001, Stefan Hornburg wrote:

> If it is not there, I would consider to hack it in. Maybe
> Akopia can comment on an possible interface.

Stefan,

It sounds like you are interested in basically a database-independent
trigger capability for Interchang, something like you get with Oracle and
PostgreSQL, right? So you could define a certain database state (new row
inserted, row deleted, etc.) and have certain code execute?

Jon


racke at linuxia

Jan 3, 2001, 2:30 PM

Post #5 of 5 (183 views)
Permalink
Execution of arbitrary code on database update [In reply to]

Jon Jensen <jon [at] akopia> writes:

> On 3 Jan 2001, Stefan Hornburg wrote:
>
> > If it is not there, I would consider to hack it in. Maybe
> > Akopia can comment on an possible interface.
>
> Stefan,
>
> It sounds like you are interested in basically a database-independent
> trigger capability for Interchang, something like you get with Oracle and
> PostgreSQL, right? So you could define a certain database state (new row
> inserted, row deleted, etc.) and have certain code execute?

Sth. like that, yes. I assume that would be useful anyway.

Cheers
Racke

--
LinuXia Systems && Cobolt NetServices, eCommerce and more
Shop- und Datenbanklösungen mit MiniVend, Firewalls auf Debian-Basis
http://www.linuxia.de - http://www.cobolt.net
--> Junior Officer of the MiniVend/Interchange Bug Patrol <---

Interchange users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.