Data Driven Web Site


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: Data Driven Web Site

  1. #1
    Joe Burkert Guest

    Data Driven Web Site


    I want to create a local news data driven web site.

    Question:
    Generally, are the html tags within the database (along with the news items)

    or should I use the <pre> tag (which means I can not have 'bold' ect in the
    news)
    or is there another way.

    Thanks.

    Joe.

  2. #2
    Russell Jones Guest

    Re: Data Driven Web Site

    My advice is, store the news items in the database as XML and write
    parameterized XSLT templates to transform the data into formatted HTML. That
    way, when your formatting needs change (and they always do) all you'll have
    to do is modify the XSLT parameters, or, at worst, the templates.

    "Joe Burkert" <burkertjoe@hotmail.com> wrote in message
    news:3a65d2f8$1@news.devx.com...
    >
    > I want to create a local news data driven web site.
    >
    > Question:
    > Generally, are the html tags within the database (along with the news

    items)
    >
    > or should I use the <pre> tag (which means I can not have 'bold' ect in

    the
    > news)
    > or is there another way.
    >
    > Thanks.
    >
    > Joe.




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center