Forums | MacLife
You are not logged in.
#1 2006-03-26 8:19 pm
- manticus
- Member
- Registered: 2006-03-26
- Posts: 1
Hate Dreamweaver?
Are there any PHP developers (or anything else, for that matter) out there that hate Dreamweaver? A few questions:
1. What don't you like about it?
2. What do you use instead?
3. If you work in a team, what type of development setup do you use?
Thanks.
-Manticus
Offline
#2 2006-03-26 8:58 pm
Re: Hate Dreamweaver?
Don't hate it, just have no use for it.
TextMate on the Mac, JEdit/Notepad++ on the PC. SubEthaEdit for collaboration.
Dev setup : TextMate + Fireworks + server & browser. Everything else is superfluous. (oh.. and flash pro as required)
Offline
#3 2006-03-27 4:25 am
- jb
- Member
- From: Melbourne, Australia.
- Registered: 2004-01-04
- Posts: 2175
Re: Hate Dreamweaver?
I use Dreamweaver only for its templates.
I don't hate it, I just think it's a RAM hog, and it doesn't seem to like utf-8 (Or at least, I hate the way it renders the code of a utf-8 document.
If I need something a bit.. more developer oriented, I'll use SubEthaEdit, because I like it.
Don't work in a team.
They say that the most secure computer is the one not connected to the internet.
That's why security experts recommend Telstra BigPond.
Offline
#4 2006-03-27 8:39 pm
- Light Speed
- Doubter of Einstein

- Registered: 2002-08-17
- Posts: 3693
Re: Hate Dreamweaver?
SubEthaEdit and Transmit keep me happy 
Offline
#5 2006-03-27 11:57 pm
- jb
- Member
- From: Melbourne, Australia.
- Registered: 2004-01-04
- Posts: 2175
Re: Hate Dreamweaver?
How do you guys manage an entire site, if you just use a text editor like TextMate or SubEthaEdit?
What if you want to change the way the entire site looks, including <divs> and whatnot?
They say that the most secure computer is the one not connected to the internet.
That's why security experts recommend Telstra BigPond.
Offline
#7 2006-03-28 1:30 am
- jb
- Member
- From: Melbourne, Australia.
- Registered: 2004-01-04
- Posts: 2175
Re: Hate Dreamweaver?
Miles wrote:
Server-side scripting and templates.
Ie - Smarty?
They say that the most secure computer is the one not connected to the internet.
That's why security experts recommend Telstra BigPond.
Offline
#8 2006-03-28 1:43 am
Re: Hate Dreamweaver?
Not necessarily. I've never used Smarty. I often ended up rolling my own templating system for small projects—though to be honest I really haven't created a website in a long time.
Offline
#9 2006-03-28 1:45 am
- jb
- Member
- From: Melbourne, Australia.
- Registered: 2004-01-04
- Posts: 2175
Re: Hate Dreamweaver?
For a small project, isn't it... paradoxical to roll your own template system? Doesn't that make it a "large project"?
They say that the most secure computer is the one not connected to the internet.
That's why security experts recommend Telstra BigPond.
Offline
#11 2006-03-28 12:48 pm
Re: Hate Dreamweaver?
For the limited php I do - I just use bluefish - and run a local webserver.
I think the obvious question everyone has is who takes loaded weapons into a Toys R Us? -- Jim Ferguson
Offline
#12 2006-03-28 4:09 pm
Re: Hate Dreamweaver?
SubEthaEdit is ok—it's the main text editor I use on my computer—but I don't like it enough to buy the more recent version, and the last free version has pretty poor Perl syntax highlighting.
I'm starting to like Notepad++ very much for when I code on Windows.
Offline
#13 2006-03-28 4:46 pm
Re: Hate Dreamweaver?
TextMate's my new favorite. That and CocoaMySQL, Apache 2, and a browser (and, of course, Photoshop).
Basseq is me, John Whittet.
(Finishing the remainder of the thought expressed in the post has been left as an exercise for the reader.)
Offline
#14 2006-03-28 11:55 pm
Re: Hate Dreamweaver?
I still keep GoLive around (ya know, that not-quite-as-good-as-dreamweaver program?) mainly for the ease of uploading that it provides - I can click on a single file 3 directories deep and tell GL to put it up and it puts it where it is supposed to go. That's nice. I'm sure I could get Transmit to do that, but oh well. I work on Windows at work so most of my hassle would be to find a nice FTP client that offers all that Transmit does, or use GL 'cause I have it.
As for coding I'm using Zend Studio almost exclusively now on Mac & Winders for long coding sessions and large projects. For quickies its either Notepad++ on Winders, TextWrangler or skEdit on Mac. TextMate is nice and powerful but I just never quite got the feel of it.
And who the heck put Miles in charge? 
So, just when did this place get Private Messages? YIKES!
Gippy Pages | Fuzzy Coconut XHTML Widget | PuppyCam
Offline
#16 2006-03-29 2:44 am
- Light Speed
- Doubter of Einstein

- Registered: 2002-08-17
- Posts: 3693
Re: Hate Dreamweaver?
jb wrote:
How do you guys manage an entire site, if you just use a text editor like TextMate or SubEthaEdit?
What if you want to change the way the entire site looks, including <divs> and whatnot?
This is where you can save yourself lots of time.
I use PHP includes and put redundant content in it's own file.
A recent site I did has this type of structure.
Code:
<? include ("head.php") ?>
<title>Page Title</title>
<? include ("meta.php") ?>
<? include ("header.php") ?>
<div class="daisychain"><h3>Some Headline here</h3></div>
<? include ("upper.php") ?>
<div class="sidenav">
<ul>
<li class="active"><a href="brands.php">Brands</a></li>
<li><a href="rep.php">Representation</a></li>
<li><a href="agents.php">Agents</a></li>
<li><a href="news.php">News</a></li>
<li><a href="about.php">About Us</a></li>
</ul>
</div>
<div class="headline"><img src="images/brands.gif" alt="Some Alt Text" width="232" height="24" /></div>
<div class="contentbodyshort">
<h4>Headline Here!</h4>
<br />
<p>Bla Blah bla bla. Bla blah bla bla blah.</p>
<ul>
<li><a href="one/section1.php">Section 1</a></li>
<li><a href="two/section2.php">Section 2</a></li>
<li><a href="three/section3.php">Section 3</a></li>
<li><a href="four/section4.php">Section 4</a></li>
</ul>
</div>
<? include ("footer.php") ?>See all those includes? They are parts of the site that are the same so I put the code in separate files so I only need to change it in one place.
I have a head file that has my doctype and html and head opener then the title is actually on this page so I can customize the title for each page. Then there is a meta file that contains all my general metadata. The I have a header file that contains the closing head tag and the opening body tag. It also includes the top graphic elements of my page as well as some basic navigation that I want constant on all pages.
The include file can contain anything you would normally have on your page. You can also split up the code so you might have an opening div in one include file and the closing for that div in another include file.
See how this type of structure lets you focus on the content and not worrying if you fixed some tag on one page out of 800.
I also try to organize parts of my sites into directories so when managing larger sites it is easy to find things.
For me DW just gets in the way although sometimes I do use it when trying to work out a CSS issue or something where it helps to get fast visual feed back with different browser setups. A couple of years ago I tried to use DW to create a site where I used templates in the way that I now use includes and it was a nightmare.
With a text editor and an FTP client you don't have to fight the idiosyncrasies of an app like DW and you don't have to deal with the screwy custom code that it adds to your site.
Your code is your code. That's it.
Offline
#17 2006-03-29 2:49 am
- jb
- Member
- From: Melbourne, Australia.
- Registered: 2004-01-04
- Posts: 2175
Re: Hate Dreamweaver?
FoJ disease.
Anyway, I'm not talking about that kind of stuff - I mean, what if you want to add another <li> for your navigation in your site?? How do you guys do that?
Or maybe a <div>?
Do you just have an entire page of includes?
They say that the most secure computer is the one not connected to the internet.
That's why security experts recommend Telstra BigPond.
Offline
#18 2006-03-29 2:50 am
- jb
- Member
- From: Melbourne, Australia.
- Registered: 2004-01-04
- Posts: 2175
Re: Hate Dreamweaver?
Oops... nevermind on the FoJ... the page said you quadruple posted... but on refresh... you didn't. 
They say that the most secure computer is the one not connected to the internet.
That's why security experts recommend Telstra BigPond.
Offline
#19 2006-03-29 3:51 am
- Light Speed
- Doubter of Einstein

- Registered: 2002-08-17
- Posts: 3693
Re: Hate Dreamweaver?
If you wanted to add a tag to navigation that is on every page then you would add that tag to the included file that contains your navigation.
If you didn't use the include and your navigation was actually in every html file then you would have to add that tag to every file. A real pain in the ass.
The double, triple and even quadruple posts are punbb hard at work 
Offline
#20 2006-03-29 6:53 am
Re: Hate Dreamweaver?
If your sites are getting that big, or if you're doing web-apps when you should consider using a framework of some kind. It makes life much easier when you can just move the base code and have the base functionality of the site done.
So, just when did this place get Private Messages? YIKES!
Gippy Pages | Fuzzy Coconut XHTML Widget | PuppyCam
Offline
#21 2006-03-29 12:04 pm
Re: Hate Dreamweaver?
jb wrote:
Anyway, I'm not talking about that kind of stuff - I mean, what if you want to add another <li> for your navigation in your site?? How do you guys do that?
Or maybe a <div>?
Do you just have an entire page of includes?
DRY (Don't Repeat Yourself).
If you have any element that is repeated, put it somewhere to be shared. Like navigation. It is the same on all pages so it should be in one place. DW and like crap things like that up because their "templates" are not really templates. They must be assembled and applied. Say you have a navigation template thingy in DW. You want to add a new page to it, you have to save and apply it and then upload every page to the site. It is bulky and half ass.
Use a framework or at least includes.
Also if you develop semantically and plan things out, you won't have to do so many structural changes. Just style sheets.
Offline


