Page 196 - DCAP312_WEB_TECHNOLOGIES_II
P. 196
Web Technologies-II
Notes Objects (like tables, views, stored procedures and so on).The received objects would be mapped
to related ones in database system as a result. Moreover, “Data Access Methods” routine should
store related user's data information to make it available for future access and also for specifying
the state of user's data in system. This information usually consists of one unique identification
number, date of filling form, related actors and so on.
Representing the Filled Forms
This stage consists of representation of a designed form with data samples. In other words, it
is the final stage of a designed form including data. As mentioned before we can divide this
stage into two major steps:
• Form Representation
• Injecting form's data to the rendered form
At the first step, design part of the form in XForms document (declarative, platform dependent)
is converted into as implemented model in target platform. Obviously in this conversion would
be done by XSLT. Also for preparing required form data which are dependent on other parts
of the system such as other forms or even other software systems, we use web services. The
second part includes the following steps: based on XForms, related entities in database are
recognized. Data Access Component does this task, which has been used in data store step,
too. This component gets the XForms and complementary information and retrieves the filled
forms data from the database.
Figure 9.12: Processing and Storing Completed Forms
Major parts of the retrieved data in previous step are unprocessed. So it is necessary to retrieve
more data from database or web services to prepare the rendered form's data.
The DAC, creates the OO structure for rendered data by using XForms structure. After this stage
the form's structure would be available in system as a set of controls/components dependent
on platform.
190 LOVELY PROFESSIONAL UNIVERSITY