Content Management System Where the Content needs to reside

Posted by lee on Stack Overflow See other posts from Stack Overflow or by lee
Published on 2010-03-11T13:54:11Z Indexed on 2010/03/18 1:11 UTC
Read the original article Hit count: 592

Filed under:

Hi,

We are developing a Online Ordering Website and we are planning to be completely flexible in the sense Layout can be changed, Color, Font , and in a page a component(div) can be added.

In this case whether we need to store all our View Code

for example

<div id="MenuContent">
    <div>
        <h4>
            Your Order</h4>
        <hr />
        <%if (Model != null)
          {  %>
        <table width="100%">
            <thead>
                <tr>
                    <th>
                        Item
                    </th>
                    <th>
                        Quantity
                    </th>
                    <th>
                        Price
                    </th>
                    <th>
                        Remove
                    </th>
                    <th>
                        Total
                    </th>
                </tr>
            </thead>

......

in the database or we can just store the div id and based on that load a view which is avalaible in the file system. Any Pointers is greatly appreciated.

© Stack Overflow or respective owner

Related posts about cms