Persistence mechanism used by Orbeon Forms - orbeon

Is orbeon using JDBC or any other ORM technique to persist the data.
I have downloaded the orbeon CE source code from GitHub provided by Orbeon. It would be better if someone suggested me the code flow of Orbeon Forms.

Is orbeon using JDBC or any other ORM technique to persist the data.
JDBC yes, ORM no.
For details on the tables, see the links to the DLL in database setup
I have downloaded the orbeon CE source code from GitHub provided by Orbeon. It would be better if someone suggested me the code flow of Orbeon Forms.
That would be way beyond the scope of a simple StackOverflow question.

Related

How do you pass an XML file from an external application into Orbeon Form Runner to populate a pre-made form?

I am a new user to Orbeon. I am attempting to integrate Orbeon with another e-form type application that does not support mobile viewing. is it possible to pass an XML file to Form Runner to open and populate a pre-built form with the values from the xml file for editing? We would subsequently send the updated XML back to our other application and we already have this functionality built. if possible what is the best way to accomplish? I am still digesting all of the Orbeon knowledge and flow of the application, so be gentle =p
I haven't tried this, but it should be possible using the Persistence API.
You'll also need to configure access to the API. For testing purposes, I used the properties in the Backward compatibility section to completely open up API access.

Where does Orbeon store data?

I am very new to Orbeon and XForms. I've downloaded Orbeon 4 CE and created a sample web form.
I have created some sample forms and I'm able to test, publish and save it. But, i don't know where the entered form data is getting stored / saved?
How the data integration happens?
Not able to see Orbeon Form Runner in v4 CE?
I've not configured any DB. It is mentioned like eXist DB is the native DB for orbeon.
When creating forms with Form Builder, both the definition of the form themselves, and of the data captured when you "execute" the form are stored in the build-in eXist database. It comes bundled with Orbeon Forms, so gets used without you having to setup anything. But you can also setup Orbeon Forms to use another database:
It could be eXist, but setup separately from Orbeon Forms.
It could be MySQL or Oracle.
It could be anything if you implement the Orbeon REST persistence API.

Is there a MySQL Processor or REST API for Orbeon

I'd suppose there is some sort of MySQL REST API or a processor included with the Orbeon 3.9 PE. However I seem to fail in finding any documentation about such.
If there's some generic solution available for doing CRUD operations for xforms data, it would be nice to have some document on ho to use it.
So the question is, is there any?
Or should I just write my own custom REST API/processor?
(I need it to be able to handle form data from more than just on form)
Orbeon Forms provides a REST persistence API for MySQL and other databases. That API is designed to be used by forms created with Form Builder. You can use it from a form you write "by hand" (editing XForms in your editor), but since the API was designed to be used in the context of forms created by Form Builder, it may or may not satisfy your requirements. In particular, when going through that API, data is stored in pre-defined tables.
If this API doesn't satisfy your requirements, you can implement your own, either using Orbeon
technologies (page flow, pipelines, and the SQL processor), or using any other technology (PHP, servlet…).

Can I integrate Orbeon in another application?

I'm mostly interested in being able to load Orbeon into another runtime, in another framework, and use it to generate XHTML output for a form. I have no need for any Orbeon server components. All I need to do is generate XHTML from XForms input. Said output should have all the required .js includes and such to make it work properly.
Can Orbeon do this?
To the initial question "can I integrate Orbeon in another application", the answer is of course yes. Orbeon Forms has a few ways of doing this, see in particular Using the Orbeon Forms XForms Engine with Java Applications.
To the implied question "can I do this without any of the Orbeon server components", the answer is no: Orbeon Forms requires a server component to run. As Alain mentions, in that case you could look at some pure client-side solution like XSLTForms.

Is there any ASP.NET MVC software that has similar functionalities to ScrewTurn?

I downloaded ScrewTurn and liked the all functionalities it presents (pages revisions, rollback, drafts, ...). But, ScrewTurn is written in Web Form. I'd like to know how I can find something similar in ASP.NET MVC side.
Thanks for helping
you can also try RoadKill : http://roadkill.codeplex.com/
Roadkill .NET is a lightweight but powerful Wiki engine built on the
following foundations: .NET 4.0
jQuery
ASP.NET MVC 3 with Razor
NHibernate
Creole, Media Wiki and Markdown syntax support
Bootstrap-based UI.
SQL Server (although it supports mySQL, SQlite, Postgres - anything
that NHibernate supports)
It's themeable, well documented, supports Active Directory
authentication and is (I hope) extremely easy to use. It's Free Open
Source (FOSS)
The library that comes to mind for something similar is PlexWiki.
It is able to store everything in the DB to allow history, drafts, rollbacks, etc. Took me at most an hour to get most of this functionality integrated into my MVC site.

Resources