Re: Problems on a sample XRX applications

Joern Turner <[email protected]> Mon, 18 Mar 2024 12:14:10 +0100
Newsgroups gmane.text.xml.exist
Message-ID <CALTdk8YEQBqsGd6Hcesbm4KeB_ZczW95VHZYzJH9MFvmMwX9KQ@mail.gmail.com>
Hey John,

As a pure client-side framework Fore is independent of eXist-db and you can
play with it outside of eXist.

To quickly start to play with Fore there's 'fore-project' on Github -
https://github.com/Jinntec/fore-project

This gives you a simple webserver and also allows you to create some
Cypress tests for your pages. To actually deploy this into an app you just
have to move your html page, the fore css files and fore.js to appropriate
locations in your xar and be done.

However I also created an eXist-db app to make it even easier for eXist-db
users but there's a HTML serialization bug in  eXide that unfortunately
breaks Fore pages when used for editing. Other ways to deploy the HTML
(e.g. via Oxygen or WebDav) should however work. I hope I can work that out
and offer it via the eXist-db package repo.

Joern


On Sun, Mar 17, 2024 at 11:17 PM John Reed <[email protected]> wrote:

> Hello Joern, I would appreciate you creating a exist-db application. As a
> beginner I am unfamiliar with making fore work. Thanks.
>
> John
>
> On Sun, Mar 17, 2024 at 5:49 AM Joern Turner <[email protected]>
> wrote:
>
>> Hi Maurizio,
>>
>> for the XForms part you might also like to have a look at
>> https://github.com/Jinntec/Fore which follows the lines of XForms but in
>> pure HTML.
>>
>> I was preparing an eXist-db app showcasing it but due to time constraints
>> wasn't able to roll it out yet.
>>
>> Though Fore is not 100% XForms (by intention) it should be very easy to
>> port XForms code to Fore.
>>
>> hth,
>>
>> Joern
>>
>>
>>
>> On Sun, Mar 17, 2024 at 11:25 AM Maurizio Neri via Exist-open <
>> [email protected]> wrote:
>>
>>> Hello everybody,
>>> I have downloaded and installed exist-db version 6.2.0 on my windows 7
>>> laptop.
>>> I installed also xsltforms application (samples application and
>>> library)  and I have tried to make my first XRX application as is
>>> described in
>>>
>>> "http://www.exist-db.org/exist/apps/doc/beginners-guide-to-xrx-v4".
>>>
>>> While list item and view item functions works as espected, the
>>> application as is described in the article doesn't work for "search" and
>>> "insert a new item" operations.
>>> Can anybody confirm the the code in the article is ok? Where can I get
>>> other basic xrx sample application ?
>>> Thank you for the attentions.
>>>
>>> Best regards.
>>> M_a_u_r_i_z_i_o
>>> N_e_r_i
>>>
>>>
>>>
>>> _______________________________________________
>>> Exist-open mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/exist-open
>>>
>> _______________________________________________
>> Exist-open mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/exist-open
>>
>

_______________________________________________
Exist-open mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/exist-open