-
I've started playing with Fore and like it very much. The Xforms model clicks with me, and your web components make it easy to work with. How do I use a server-side model, such as an XML document in BaseX? Do you have plans to augment the model component with server connections, or do I need to set that up in some way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, not completely sure what you're referring to. However of course you can load and submit your data (aka model) from and to a server with the help of I'm mostly working with eXist-db as backend and it's very easy to connect Fore with some data model in the db - just load and store the data via a REST interface and that's it. You find examples in the demos dealing with submissions. Unfortunately i cannot put those demos online as they require a server. You should clone the code and run the demos locally to learn about the possibilities of fx-submission. But i feel that there's some more behind your question. Can you elaborate a bit more? Btw, i changed your question from an issue into a discussion - a rather new but cool feature of Github which is more appropriate for questions and discussions. |
Beta Was this translation helpful? Give feedback.
Hi,
not completely sure what you're referring to. However of course you can load and submit your data (aka model) from and to a server with the help of
instance/@src
and thefx-submission
element. Of course your server needs to offer the appropriate API to serve the endpoints you're using on the client.I'm mostly working with eXist-db as backend and it's very easy to connect Fore with some data model in the db - just load and store the data via a REST interface and that's it. You find examples in the demos dealing with submissions. Unfortunately i cannot put those demos online as they require a server. You should clone the code and run the demos locally to learn about the possibilities o…