Get your own customer support community
 

One Last Thing: DWT + LIB support, pretty-please?

The one killer feature Dreamweaver has that Coda lacks is its Dreamweaver templates and library files. Nobody other than Adobe supports both. Microsoft Expression Web gets close, with its "DWT" support (they call it "Dynamic Web Templates" instead of "DreamWeaver Templates") but Microsoft didn't implement the simpler, older, yet still prevalent DreamWeaver Library files. Templates and Library files are used to create and update static content that appears on many pages. Templates are more advanced, as where you add library files for navigation and such to parts of existing HTML pages, you can instead create new pages *from* templates, and edit only the parts that differ between pages.


(Image from designplace.org DWT tutorial)

Both are based on special comments that reference the file relative to the "site". Dreamweaver will look for templates in a root "templates" folder, and library files in a "library" folder. When it updates and applies templates and such, it is by default configured to rewrite the URLs so they are updated from "../index.htm" to "index.htm" - e.g. if you open a .dwt file in a templates folder in your browser, the links will work. When you save the .dwt and it prompts to update all other files that use it, during that process it knows to rewrite the URLs in the .dwt so they still work after being applied.

This is the one last feature stopping me from switching editors. Where I work, at York University, everyone has PCs and there's a huge amount of legacy content that uses Dreamweaver Templates and Library files. In part, we use Templates because we've been giving copies of Contribute to faculty to update their pages. (It also makes it MUCH easier to edit a multi-page static HTML webpage)

Outside of templates, I can't think of any reason to stick with DreamWeaver. I suspect there are quite a few web developers like me out there. I would have switched earlier to TextMate, except it doesn't support DWT either, iirc.

So what are the chances both might have basic integration?

Key for me are shortcuts/buttons/autocomplete (somehow) to add the comment tags for editableregions, and updating pages based on library or template files automatically. Finally I'd add support for creating pages from templates, but that's third on my list, as you can, if you wanted to, manually do so. Just find-and-replace the instances of "TemplateEditableRegion" etc. to "InstanceEditableRegion" and at the top of the file, tell the update code which template this file uses. I couldn't care less about repeated editable regions or anything fancy, as nobody takes the time to use them and the one time I tried to use them in Contribute, everyone was confused by the add/remove button placement at the bottom of the table.

By the way, this is an amazing support system. Everything is the way I've always wanted a discussion/community/chat thing to work. Wow. Talk about great use of AJAX. If only it was open source ...
 
happy I’m only slightly annoyed that I'd still have to switch between this amazing program and Dreamweaver when applying the template's changes and setting up such files.
Inappropriate?
4 people like this idea

User_default_medium