Forum Home Forum Home > Expression Web > Expression web tutorials
  New Posts New Posts RSS Feed - DWT vs Master pages
  FAQ FAQ  Forum Search   Register Register  Login Login


Welcome to expression web help - thank you for joining us.

DWT vs Master pages

 Post Reply Post Reply
Author
Message
jimd View Drop Down
Admin Group
Admin Group


Joined: 16 Oct 2006
Location: United Kingdom
Status: Offline
Points: 6236
Post Options Post Options   Thanks (0) Thanks(0)   Quote jimd Quote  Post ReplyReply Direct Link To This Post Topic: DWT vs Master pages
    Posted: 23 Apr 2011 at 2:43pm
Dynamic web template = DWT
Master Page = MP
 
First lets explore the purpose of a dwt or mp.
Think of a dwt or mp as a rubber stamp of your sites basic contents. Examples would be:
Header - menus - footer.
These items appear on every page of your web site and pretty much remain constant bar the menu which you will no doubt add to from time to time. But this is the benefit of dwt's and mp's, a simple change in the dwt or mp and that change will be reflected throughout your web site.
Now here is the big difference.
A dwt will want to save the changes to all your pages, you have to click update all pages confirmation for it to do so. You also have to resend all the changed pages to the server (publish)
With a master page the change is only made to the master page. And you only need publish the master page.
Essentially, your dwt will save the changes to your individual pages and they are ready built on the server waiting for someone to look at them, whereas with a master page will make the page when requested.
Example:
A page created from a dwt, will normally have an htm/l extension, the page is complete and ready for viewing.
Pages created from a master page will have an aspx extension and will be created when requested on the server. So user requests page.aspx and the server will stick on the master page, so the page is then ready for viewing.
 
Master pages are hugely more adaptable than a dwt, and will save you hours of frustration, especially when your site gets bigger.
 
I run upto a 1000 or so page web sites - working with a dwt would be impossible - with a master page it is very simple - so much so that you can change the whole look and feel of an aspx driven web site using a master page simply by changing the template layout on the master page - publishing it and the job is done - with a dwt, the same results of course can be achieved but the time involved and the debugging often required just make it a pain in the neck!
Back to Top
Sponsored Links


Back to Top
tcertain View Drop Down
Admin Group
Admin Group
Avatar

Joined: 04 Apr 2008
Location: United States
Status: Offline
Points: 3939
Post Options Post Options   Thanks (0) Thanks(0)   Quote tcertain Quote  Post ReplyReply Direct Link To This Post Posted: 24 Apr 2011 at 1:13pm
If I can add something here - DWT's (html pages) can be run on a Linux Server or MS Server.

Master pages (aspx pages) must be run on a Microsoft Server
TCertain
"The Truly Educated Never Graduate" - Author Unknown
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.031 seconds.