Hi Frank,

The advantage of XQIB is indeed that you would in theory no longer need to
learn JavaScript to add dynamic behavior to you web page. Though, you
still need to be aware of how HTML events work, and you still need to know
your HTML DOM tree well.

A different approach could be to use XForms. It takes care of a lot of the
form-related dynamics of web pages, and there are some good implementation
that run in the browser (yes, using JavaScript and/or built-in XSLT
capabilities of browsers). It has its own learning-curve though.

By the way, many good client-side libraries are written in Javascript, so
is XQIB too. Xopus is written in JavaScript, but in such a way that it
allows you to do a task (edit XML) without knowing JavaScript (nor much
about XML either as a matter of fact).

Relatively new is Saxon-CE approach, which uses XML events (mouse clicks
and such, just like XForms) to trigger execution of templates. A bit more
low-level than XForms, but could in theory give more flexibility. I am
hoping Robert Broersma will make his hipster JavaScript XSLT processor
available in near future, which could serve as alternative for Saxon-CE..

Apart from all this, there are many, many client-side frameworks that can
make your life easy. But not so many that rely on XML standards to the
extend the above do, unfortunately..

Kind regards,
Geert

> -----Oorspronkelijk bericht-----
> Van: [email protected] [mailto:general-
> [email protected]] Namens Frank Mortier
> Verzonden: dinsdag 8 mei 2012 10:43
> Aan: MarkLogic Developer Discussion
> Onderwerp: Re: [MarkLogic Dev General] ML in the Browser
>
> Thanks Geert,
>
> The problem I was struggling with in my project was the "onchange()"
event
> when selecting e.g. another interface language. I did not want to use a
submit
> button and currently solved it with indeed some javascript (i.e.
jquery).  How
> would you solve this when you do not want to use client-side Javascript?
>
> The general "advantage", I guess, of being able to use ML in the browser
is the
> ability to create an integrated xquery browser editor. I am currently
trying to use
> and understand xopus (which is again javascript).
>
> Regards,
> Frank
>
> -----Oorspronkelijk bericht-----
> Van: [email protected] [mailto:general-
> [email protected]] Namens Geert Josten
> Verzonden: dinsdag 8 mei 2012 10:28
> Aan: MarkLogic Developer Discussion
> Onderwerp: Re: [MarkLogic Dev General] ML in the Browser
>
> Hi Frank,
>
> Well, actually you don't need to learn Java at all to work with
MarkLogic.
> You can do everything in XQuery (and some client-side JavaScript
perhaps).
> It runs on server-side though. I happen to know that XQIB runs on a
cross-
> compiled copy of the MXQuery XQuery-parser. There is no such thing as
for the
> MarkLogic XQuery-parser. On the other hand, nothing stops you from using
> XQIB in web pages being served by MarkLogic. You just need to be aware
of
> syntax differences between XQIB XQuery and MarkLogic XQuery..
>
> Kind regards,
> Geert
>
> > -----Oorspronkelijk bericht-----
> > Van: [email protected] [mailto:general-
> > [email protected]] Namens Frank Mortier
> > Verzonden: dinsdag 8 mei 2012 10:18
> > Aan: MarkLogic Developer Discussion
> > Onderwerp: [MarkLogic Dev General] ML in the Browser
> >
> > Question from a silent follower,
> >
> > First of all, excellent mailing lists and professional replies. Most
> > of
> my questions
> > have been answered by merely reading the issues presented and the
> replies.
> >
> > I am not (yet) a programmer and currently already happy being able to
> learn
> > xquery/xslt and the magic world of digital creation. I have however no
> particular
> > desire to learn java and was very happy to learn that maybe I do not
> have to
> > when I  was looking into xquery in the browser (www.xqib.org) this
> weekend and
> > the related issues such as the dom.
> >
> > Anything like that possible in MarkLogic?  I ran into the problem that
> the
> > html/dom events are handled/interpreted as ordinary xquery functions.
> Would
> > be great to have/develop a ML in the browser library module?
> >
> > Regards,
> > Frank
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://developer.marklogic.com/mailman/listinfo/general
> >
> >
> >
> > ________________________________________
> > DISCLAIMER -The content of this email is confidential and it is
> > intended
> for the
> > addressee(s) only. The person who receives this email and who is not
> > the addressee is warned that he is not allowed to copy or distribute
> > its
> content. If
> > you received this email by mistake, please notify us immediately by
> telephoning
> > +32 (2) 736 59 90.
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://developer.marklogic.com/mailman/listinfo/general
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
>
>
>
> ________________________________________
> DISCLAIMER -The content of this email is confidential and it is intended
for the
> addressee(s) only. The person who receives this email and who is not the
> addressee is warned that he is not allowed to copy or distribute its
content. If
> you received this email by mistake, please notify us immediately by
telephoning
> +32 (2) 736 59 90.
> _______________________________________________
> General mailing list
> [email protected]
> http://developer.marklogic.com/mailman/listinfo/general
_______________________________________________
General mailing list
[email protected]
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to