[XQZone General] Feature request
Raffaele Sena
raff at aromatic.org
Fri Aug 27 12:54:18 PDT 2004
That's another good use case, but in my original example I was just looking
for a way to "call out" from inside an XQuery application (i.e. when I add a
new entry to a document, I fire an e-mail).
The other way to do this, that may be similar to what you describe, is
having an external application using XDBC to query the repository at
specified intervals (i.e. for new entries in a document used to log events).
-- Raffaele
_____
From: matt corkum [mailto:corkum at comcast.net]
Sent: Friday, August 27, 2004 11:26 AM
To: General XQZone Discussion
Cc: 'Raffaele Sena '; 'general-bounces at xqzone.marklogic.com '
Subject: Re: [XQZone General] Feature request
Darin,
I agree that having a web service call out coupled with XDBC to enable
java interacting with CIS is a good start for extensibility.
What sorts of high level things does your application need? I can think
of eventing as a big hole
in anything wanting to send email if certain conditions are met.
There is no eventing mechanism or callout that I'm aware of for CIS. So
today events would have to be fabricated by firing xquery at some pre-set
frequency from XDBC to see if the system is in a state worthy of an event.
Examples: many failed logins, disk capacity threshold exceeded, SLA query
performance not being met (requiring more dist boxes).
Matt
McBeath, Darin W. (ELS) wrote:
I have been contemplating this as well. Would you think simply providing
the ability to issue HTTP requests from within XQuery would meet most of
your needs? For example, this could be either an HTTP REST or SOAP style
URL that could allow simple integration with a web service that could
perform the type of action you need. I would think that this would provide
a simple yet extensible framework.
Just a tought.
Darin.
-----Original Message-----
From: general-bounces at xqzone.marklogic.com
To: General XQZone Discussion
Sent: 8/27/04 6:17 PM
Subject: [XQZone General] Feature request
I looked at the new features of 2.2 and the list is pretty impressive.
But there is still one feature that I would like to see.
While I understand that for big installations it may make sense to have
dedicated systems used to serve static content, a central data
repository and a cluster of application servers, for smaller
installation I think that CIS would suffice. It can serve static
content (can anybody comment on the performance in this case) and
XQuery combined with the array of available functions is powerful
enough to write pretty complex applications.
But I didn't see any mechanism to "extend" this system and add that
extra function specific to my application.
I mean, right now CIS is very powerful but it is relatively "close". I
can write applications that access the data repository, can access the
local filesystem and external URLs, but I cannot "communicate" with
other part of my system.
For example, one simple thing I would like to do is to generate an
"e-mail" when a certain event occours (I added some entries to one of
my repositories). Right now I don't think I can do that (ok, I just
pretend I didn't see the undocumented "email" function , since I can't
seem to be able to reconfigure the STMP server :) But if it's not an
e-mail it may be a pager or SMS or I need to notify some other server
running on my host.
I could do all this if I use CIS as my "content repository" and access
it through the API via some other server (java servlet, PHP pages,
etc.) but this kind of defeat my initial assumption that, at least for
relatively small installations, I can use CIS as my only server (and I
can use to to generate full fledged HTML pages that don't require any
extra processing).
Are these assumptions wrong and you see CIS more as a "service" queried
by a different front end ?
If not, are you addressing CIS "extensibility" and how ?
Thanks,
Raffaele
_______________________________________________
General mailing list
General at xqzone.marklogic.com
http://xqzone.com/mailman/listinfo/general
_______________________________________________
General mailing list
General at xqzone.marklogic.com
http://xqzone.com/mailman/listinfo/general
!DSPAM:412f813c296797074113989!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://xqzone.marklogic.com/pipermail/general/attachments/20040827/63e61be4/attachment.html
More information about the General
mailing list