Hi,

I am not sure whether this is a question to be raised in this forum. But I am pretty 
sure bright people in this group would offer me valuable input. 
Plus I feel this decision is going to affect my OOD to code generation ( with Rose , 
of course) step extensively.

We have an application that has 2 database tables that hold presentation information 
as:

-------------------------------------------------------

Table :- screens_info
Contents of a record :-  what is the background color , title , link colors etc. for a 
screen in the application

-------------------------------------------------------

Table :- tables_info     
Contents of a record :-  what is the format of a column of a table that needs to be 
displayed such as heading , data-type , textbox/listbox etc. , needs to be presented 
in presentable version , width 
-------------------------------------------------------

I was thinking for a java solution and use XML instead of database presentation 
tables. There will be multiple XSL and XML  for this presentation info.

I need to justify this approach to my colleagues.
Here are some points:
FOR -->
1.      Database is not a good way for storing presentation info. whereas XML is 
2.      Later on we can change it easily if required as well as talk more effectively 
with other applications ( which is our need in near future )
3.      For each screen load and reload , we need not access database presentation 
tables. Improves performance

Against -->
1.      It's fine for saying not to store the data in database , but ultimately we 
have to access the XML and the files etc.    
2.      I am planning to use XSQL servlet from Oracle that basically will handle the 
query execution part and return a proper output as I am going to specify with a 
stylesheet
        This poses a danger in case tomorrow we plan to deal with some other database 
than Oracle. So instead of that I can go for java beans and XMl parsers.
        
I am not able to exactly specify the advantages of storing presentation info. in XML.
Please guide me and correct if I am wrong. I badly need help on this decision.


Thanks
-kg


************************************************************************
* Rose Forum is a public venue for ideas and discussions.
* For technical support, visit http://www.rational.com/support
*
* Admin.Subscription Requests: [EMAIL PROTECTED]
* Archive of messages: 
http://www.rational.com/products/rose/usergroups/rose_forum.jtmpl
* Other Requests: [EMAIL PROTECTED]
*
* To unsubscribe from the list, please send email
*
* To: [EMAIL PROTECTED]
* Subject:<BLANK>
* Body: unsubscribe rose_forum
*
*************************************************************************

Reply via email to