Home Search Dr. Hain Clinic website Information for Dizzy Patients Fun Various and Sundry
Dreamweaver is a "WYSIWYG" type of content editor for web sites. It was invented by Macromedia and bought by Adobe. It is now part of the "Dreamweaver creative cloud", which is an Adobe subscription software platform. Dr. Hain has been using Dreamweaver for at least a decade.
The "model" that Dreamweaver uses is a "local" and "remote" version, with an optional "testing server". The local/remote is absolutely necessary. One should always have a local copy of whatever you are editing out there on the public internet. Who knows what might happen to that server out there ?
Regarding the testing server, the Dreamweaver "WSIWYG" model might make you think that you can just test your content locally in the editor. This is often OK if all you have is content, such as blog, but doesn't work if you have something that is active (such as a little php program that tells you the date). This is because Dreamweaver doesn't have a "web environment" built in -- practically this would be impossible, so it can't show you the effect of putting in PHP code. To truly have a "live" environment, you need a testing server. This is a web server, perhaps a local "LAMP" stack, that executes your code. For security reasons (see below), having a testing server is a very good idea. Regarding the testing server, see below.
There are lots of good things about Dreamweaver. The WSIWYG feature speeds up content editing. One can throw a web page together in about an hour. It also does some housekeeping -- keeping track of "cloaked" files or directories, and keeping track of dates.
I use older versions of Dreamweaver (i.e 3, 4 and 5), that don't require subscriptions to Adobe, to edit my websites that are mainly content. I don't subscribe to the Adobe "creative cloud". Why buy the whole cow if all you want is milk?
Dreamweaver is a bit long in the tooth and these older versions of Dreamweaver don't really work on everything.
As developed above, a testing server is a very good idea for Dreamweaver, because Dreamweaver does not have a secure upload/download methodology. There are many ways to go about this -- you can set up a LAMP stack on another computer on your local network, you can use a LAMP stack built into a NAS, you can even run a LAMP stack on the same PC that you are using to run Dreamweaver.
An interesting method to run a testing server is just to set up a LAMP stack locally, that accesses your local content directory. If you do this, there is no need to "upload" to the testing server, as your local directory is the same as the testing server's html. To do this, you have to be comfortable with editing the apache conf file, but this is not so hard.
These older versions of Dreamweaver need ftp to upload/download, which means that you have to install ftp on your public server. The older versions of Dreamweaver don't work with sftp. Thus Dreamweaver 3-5 is "crippled". Sftp doesn't work with Dreamweaver 3-5 because there is no method of supplying Dreamweaver the private key for authentication. One wonders what Adobe was thinking when they implemented Dreamweaver with an "SFTP" option but no method of entering the private key.
The best way to deal with this is to use a local testing server.
One should generally keep software updated, and PHP has now gone from version 5.* to 7.*. In addition to innumerable conversion problems, this has also broke Dreamweaver. Presumably some global variable, shared by the crippled versions of Dreamweaver and PHP, has gotten co-opted by PHP. The only way around this is to give up on Dreamweaver, for sites that require PHP 7.*. Or just buy a subscription I suppose.
So far, I have not found any reasonable alternative to Dreamweaver.
Wordpress is more popular, but it is a very different idea. Wordpress stores code in a mysql database. This allows one to drastically change the "look" of a Wordpress site because the look is separted from the content. We don't like this idea, because it makes it hard to add in PHP or other languages in one's code.
JetBrains is a programming environment, that is not well suited to content.
Notepad++ is a very capable editor, that is not at all WYSIWYG, and not very suitable for content for this reason, but not bad at all for code.
Eclipse is an open source programming editor, that is again not very suitable for content.
CoffeeCup is an attempt to produce a cheaper WSIWYG editor, but it is not as good as the old versions of Dreamweaver, crippled though they are.
|© Copyright January 27, 2020 , Timothy C. Hain, M.D. All rights reserved.|