Home
TeamSite
How to create dynamic content?
rashank
I have to create pages for my website that have dynamic capabilities. But I am using Teamsite to create the look and feel of these pages, and also the static components of the page.
What is the best way to incorporate dynamic behaving at runtime (in the published environment):
1- One option might be to use AJAX if the dynamic behavior is very less.
2- What should I do if my page need to access a DB as runtime and also display part of the page based on execution of some business rules?
Thanks in Advance
Find more posts tagged with
Comments
GriffTheDog
You could move the DCRs to the web server as XML files and code the front end to read the XML files. The front end could dymanically read from the xml files and/or database(s) based on whatever business rules are coded into it.
rashank
My typical case can be a page that has a header, footer, static left navigation, some static content on the page and then a pod that basically displays dynamic content based on first calling a database (external to my system, such as a webservice) and running that data through a rules engine maybe. Once all this is done, some dynamic data gets displayed on the page.
So basically I have an e-commerce site with some static content as well.
Now for the example given above, is there is way I can use Teamsite/any other Interwoven product to develop the static content, and also test the dynamic part of it. I mean end of the day the final page of my site will be a traditional jsp page on an e-commerce site.
RonaldV
xml + db + jsp = html
The xml can be created in teamsite through templating.
jkm
This seems to be a simple dynamic page which has both static and dynamic elements..why cant you create the required JSP in the CMS and deploy on your app server...
Your app server can make the required calls to db etc and show the content for the particular area of the page and rest of the page can be rendered as simple static html page