Author Topic: DWT - Dreamweaver or Dynamic Web Templates?  (Read 2267 times)

Offline Cheryl D Wise

  • Forum Mom
  • Administrator
  • Hero Member
  • *****
  • Posts: 1271
  • Karma: +3/-0
    • View Profile
    • by-expression.com
DWT - Dreamweaver or Dynamic Web Templates?
« on: August 26, 2010, 06:13:11 PM »
Whatever you call them both Dreamweaver and Expression Web use DWTs and they behave more or less the same way. I say more or less because Expression Web DWTs will work out of the box with no changes in Dreamweaver, updates of pages attached to the DWT will all happen whenever you make a change and save it (assuming that you say yes when asked if you want to update attached pages.)

The reason this happens without any intervention on your part is because Expression Web uses the exact same syntax as early versions of Dreamweaver. So for backwards compatibility all version of Dreamweaver up to the present version (CS 5) understand and honor that syntax which was last used back in Dreamweaver 4.

Starting with Dreamweaver MX Macromedia changed from

<!-- #BeginTemplate "site.dwt" --> & <!-- #BeginEditable "doctitle" -->

to

<!-- InstanceBegin template="/Templates/site.dwt" --> &
<!-- InstanceBeginEditable name="doctitle" -->

The change wasn't just because Microsoft added DWT support in FrontPage but also because new capabilities were added such as the ability to nest DWTs and have editable attributes aa well as conditional regions.

So if you are using a Dreamweaver DWT that uses any of those capabilities you will not be able to use that DWT in Expression Web.

If you are using only basic DWT functionality you can change the syntax in your Dreamweaver DWT and use the DWT in both Dreamweaver and Expression Web. I have done so on many occasions since Dreamweaver does not support ASP.NET and some things are easier to do in Expression Web while others, especially with some of the Project Seven extensions I have it is much better to use Dreamweaver. The good news is that you can use both programs on the same site but realize that you should keep good back-ups just in case if you chose to do so.
« Last Edit: August 27, 2010, 04:39:20 AM by patgeary »
Cheryl D Wise
MS MVP Expression Web
by-expression.com for tutorials & blog

Offline Christian

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: DWT - Dreamweaver or Dynamic Web Templates?
« Reply #1 on: July 20, 2011, 09:58:53 PM »
First of all I would like to appreciate you on writing such a helpful and comprehensive article. And secondly it is the answer, for questions of all the new comers like me. Thanks for writing.I am good in making joomla templates.



____________________________________
CSS Templates  | Website TemplatesJoomla Templates
« Last Edit: August 11, 2011, 10:27:48 PM by Christian »
Steeve

Offline Cheryl D Wise

  • Forum Mom
  • Administrator
  • Hero Member
  • *****
  • Posts: 1271
  • Karma: +3/-0
    • View Profile
    • by-expression.com
Re: DWT - Dreamweaver or Dynamic Web Templates?
« Reply #2 on: July 21, 2011, 07:06:06 AM »
Christian,

You are welcome. I hope you'll stick around and contribute questions or answers of your own.
Cheryl D Wise
MS MVP Expression Web
by-expression.com for tutorials & blog

Offline Jamesonwhi

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
    • mortgage calculator
Re: DWT - Dreamweaver or Dynamic Web Templates?
« Reply #3 on: November 27, 2011, 07:28:24 PM »
Hi Cheryl,

I downloaded one of the tutorials from your site.. (116 MB) are there any more like it anywhere? I thought it was great!