Hi,
In our system, we use content-type negotiation to serve our own
content-type (XML-based) to the client API and XHTML to web-browsers. An
XSLT transform to produce some XHTML with XForms and incorporate the
data into the XForm instance. The browser-based interface was originally
intended to be used for debugging the service, thus we used the Mozilla
XForms plugin in Firefox 2, which was fine for a handful of
developers/testers. The XML data mostly comes from a relational database
(Oracle/PostgreSQL) via Hibernate (unfortunately, Hibernate doesn't
handle Oracle's XmlType, so we resort to a few tricks).
Since Firefox 3, this plugin not available for FF3, so I've tried
FormFaces(.com), which essentially transforms the XForms into HTML forms
with JavaScript. It works with more browsers (Firefox 2, Safari 3, IE 7)
but not all (IE 8b2, Firefox 3, Opera).
I've had a quick look at Shiba last week, but haven't had time to
investigate it further; it seems it could work well, but I was wondering
how its notion of session would work out. I've only had a briefer look
at Oberon, but I'd be keen on seeing how it could work with Restlet.
Best wishes,
Bruno.
Rémi Dewitte wrote:
I don't know very well about OPS. I just like to let you know that I
have been able to integrate successfully (so far) Saxon and Restlet. I
might publish it as an extension.
Basically, Restlet does the handling of requests delegating processing
to xqueries. All the application logic and presentation logic is written
with xquery.
I don't really know what kind of framework you would like to use to
"connect" to your datasources but I think that Restlet has no builtin
for these concerns.
Hope it helps,
Rémi
On Tue, Jul 8, 2008 at 1:30 AM, ilango <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi
Could you elaborate more on this Resource subclass?
thanks
ilango
--- On *Mon, 7/7/08, Avi Flax /<[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>/* wrote:
From: Avi Flax <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
Subject: Re: XForm integration with the RestLet framework possible?
To: [email protected] <mailto:[email protected]>
Date: Monday, July 7, 2008, 3:39 PM
On Fri, Jul 4, 2008 at 3:41 PM, ilango <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
I have an XForm built on the OPS XForms processor. Rather
than use the OPS pipelines for connecting my XForms to
datasources I would like to use the Restlet Framework to
connect my XForm fields to datasources like MySQL, a Web
Service, XML databases like eXist, etc.
I would like to get XML data into my XForm, regardless of
the type of datasource.
I'm not feeling this. Not sure this is something that the
framework, or even an extension, should handle. Could be a
slippery slope towards the framework trying to be everything for
everyone. Why not just write the glue yourself in a Resource
subclass?
--
Avi Flax » Lead Technologist » Partner » Arc90 » http://arc90.com