Open Source Alternatives to Dreamweaver Templating
comforteagle writes "One of the greatest hurdles for people wishing to 'switch' to FOSS and Linux is finding a good replacement tool for what they are accustomed to using. In Open Source Alternatives to Dreamweaver Templating Mark Stosberg investigates what open source solutions are available to replace Dreamweaver's powerful templating capabilities." Update: 01/09 by J : Hey, just for the record, Template Toolkit, which provides the solution Mr. Stosberg settles on, also powers much of Slashdot.
If you want a constant layout for a page, why not just use php -- require("top.php") page contents, then require("bottom.php") -- or even a !--#include virtual in html? I can't stand using most webdev tools, why not just use a simple, free text editor?
Boxing Equipment Reviews
Comment removed based on user account deletion
Dreamweaver templates are a bad idea, from the dark ages of the web. If you are still generating sites by hand, you can do something fairly simple with PHP and CSS or one of the Apache modules/filters.
A better solution is to use a content management system (CMS).
People using Dreamweaver aren't going to switch over to ANYTHING remotely resembling "ttree" and use Perl to pre-process their HTML... OMFG, I'M ROTFLM - phew, that was a lot of acronyms.
However, IMNSHO, there is nothing that comes close to Dreamweaver (and it's templating) in the FOSS world that I've found. NVU, which is an excellent tool is about as close as I've seen.
As much of a raging POS as dreamweaver is, it still remains popular for that reason.
For anything beyond a few pages, I'm finding PHP and CSS to be the way to go, but then again, I code by hand with a text editor.
You know you're a geek if you've ever replied to a tagline.
When I was starting out I used Dreamweaver all the time. It was fine for small sites that didn't need too many updates. It also taught me the basics of html once I learned to press the view source button a few times.
The templates came in very handy when I moved onto doing larger static sites. They made keeping a consistent look and feel easy, especially when combined with CSS. As they do not need any server side technology they can be very useful.
But nothing will compete in the long run with server side technologies. It doesn't matter which one as they all do essentially the same job. But there is a huge learning curve that many people do not want to try to overcome. (I can remeber telling my PHB that he could use Dreamweaver like Word, I spent a lot of time cleaning up after him though)
Dreamwever and even Front Page and the like have been invaulable in getting large numbers of people creating their own web based material and probably have a far higher impact in this area than they are given credit for by some professional developers. An alternative that is open source and *good* would be a killer app for linux. Its all very well saying "learn to do it properly and use vi to write your code" for the average user the experience of seeing a web page being generated is something akin to magical and they would run a mile from a text editor.
another Roadkill on the Information Superhighway
Once again someone misses the point. The "Killer Feature" isn't the templates. The killer feature is templates coupled with the editor & kitchen-sink that is Dreamweaver. By themselves they're nothing special.
And there really is nothing that is OSS that can compete against it right now. Nvu is slowly becoming usable, but last I checked even version 0.70 won't let you start by default using XHTML 1.1 rather than HTML 4.0. Tools like WYSIWYG web pager designer tools are going to be important to making OSS viable with many businesses and home users.
Click here or a puppy gets stomped!
Isn't the lack of any particular program, its a lack of innovation and an inability to think outside of the box and produce new ideas for applications that provide a true advantage. I mean, 15 years ago probably if people were trying to get some hypothetical open source Unix system onto business desktop systems, probably everybody would have assumed that a big drawback was the lack of a top-rate text-based spreadsheet to compete with Lotus 1-2-3. And a bunch of competing projects would start up, and maybe a few years down the road you would have two or three almost-complete 1-2-3 alternatives for our OS. But would that make businesses switch? No, because in the mean time the commercial software industry would have moved on to the more advanced graphical paradigm as exemplified by Excel, and we'd still be behind. If all you do is copy existing commercial software, you'll ALWAYS be behind.
I maintain a fairly large PHP / CSS-based site. I use Dreamweaver MX 2004, and it's always get the code tab open -- except when I'm dealing with tables. Yeah, of course I know how to hand-code tables, but man, to be able to graphically split and combine cells, and completely reformat tables -- where by hand I'd have to edit each cell / row manually -- is a huge timesaver.
I also like PHP's Site Maintenance features and have found it to be flexible enough to handle a variety of different testing environments (local over the network, FTP, etc.). And finally, its site-wide search and replace capabilities are excellent.
Could I get away with a freeware editor and some sort or grep-type functionality? Sure . . . but in general Dreamweaver is a really solid tool specifically geared towards web development, and like someone already mentioned, nothing else comes close. The only problems are its steep price tag and mediocre CSS capabilities.
My job uses dreamweaver extensively. It's a crime against God and man, plus, as you say, it's pretty hard to learn. In fact, my situation is even worse because we use a 9x version on our XP machines that crashes on an hourly basis.
What concerns me about the templates is that they're an excuse, at least in my experience, for shitty web designers to produce equally shitty, unmaintainable code through a WYSIWYG editor. Includes are a good way to go (catting a file into the output stream does not consume any resources worth mentioning, and it's a bigger waste of resources in the eyes of somebody trying to maintain the code if you have a bunch of redundent HTML). That way, they can just look at the
that they're worried about, and they can even edit that in dreamweaver.Anyone who uses Dreamweaver and calls themselves a "Web Designer" or a "Webmaster" is a monkey with a typewriter. Tools like that are great for maintaining HTML and making homepages, but not for producing real, clean, standards-compliant code.
Actually, I take this the opposite way. I find that usually people who bag on DW so vehemently are merely people who purchased a couple books on HTML, CSS and PHP then try to pass themselves off as professional web designers. And try to parade their percieved professionalism by loudly implying that Real Web Designers are those who use VI as a text editor and anybody else are mere mortals.
Dreamweaver squashed the 'WYSIWYG tools generate crappy non-standards compliant code' misnomer quite some time ago.
If your non-technical people have trouble with Contribute, I'm surprised they can make it to work unaided.
Contribute is as easy as pie to use for anyone who can even half-use a word processor. Just remember: it's a webpage editor, not a site editor. Perhaps your site needed to be re-jigged with Contribute in mind, or maybe too many web developer-type tasks were being devolved to them.
And if they couldn't use Contribute, they won't be able to use a CMS. Maybe you just need smarter people.
When they came for the communists, I said "He's next door. Take him away. Goddam commies."
Ah, the usual Slashdot "Eh, why don't they just use a dozen awk scripts and sed filters, glued together with some perl programs?"
These same people always seem to express endless frustration when people stay on Windows or Mac instead of Linux. And why shouldn't they when the sort of software they rely on isn't available?
I'm happy on Debian or Slackware writing my own PHP, but I'm the first to admit that this is not for the average folks. There are a lot of web developers who are more "web designers" (these people were often art majors, and don't know a lick of HTML) who focus on artistic design, and for them a WYSIWYG editor is a must.
Systemd: the PulseAudio of init systems