Jump to content


Photo

what do you use...


  • Please log in to reply
27 replies to this topic

#1 Lastcrime

Lastcrime

    Impatient Jedi that likes to eat cereal

  • Members
  • PipPipPip
  • 649 posts
  • Gender:Male
  • Location:Toronto, Ontario, Canada
  • Interests:Soccer, Snowboarding, Hockey, B-ball, Skateboarding, Computers!

Posted 22 September 2007 - 09:17 PM

so im learning php, and currently im using dreamweaver cs3. Now in the video tutorials that im watching this guy is using something called textmate and it looks really good for php, because it notices a lot more things compared to dreamweaver. For instance it colours strings different colours from variables automatically but in dreamweaver it doesn't. So im just wondering which program is the best for coding php, or is there a change i can make in dreamweaver so that it picks up the php code better.

#2 NGPixel

NGPixel

    Senior Programmer

  • P2L Staff
  • PipPipPipPip
  • 1,410 posts
  • Gender:Male
  • Location:Montreal, Canada
  • Interests:Web Design : Coding : Animation

Posted 22 September 2007 - 10:03 PM

some apps are better than other at code coloring but you shouldn't base your opinion simply on this. DW does a good job at coloring and function highlighting. It's more than enough for serious coding. But whats even more important imo is integrated FTP and dynamic tools, which is missing in most small php apps. Nothing worst than having to save, open FTP program, choose file, click Upload. In DW, you simply hit CTRL+S and it saves, upload, check for newer version all automatically in 1-2 seconds.

#3 zetsumei

zetsumei

    Young Padawan

  • Publishing Betazoids
  • Pip
  • 269 posts
  • Gender:Male
  • Location:127.0.0.1

Posted 22 September 2007 - 11:19 PM

notepad2 is what I use for ALL my coding needs. It's small and I like it, but it only color codes your code when you save the file.

#4 _*Creative Insanity_*

_*Creative Insanity_*
  • Guests

Posted 23 September 2007 - 02:02 AM

I use DWCS3 and I have started to edit the code with a great guide from Demonslay and others on here.
DW code is what I would call sledgehammer code. Like using a sledgehammer to crack an egg hehe. Also DW code ain't to logical or secure either which is why I now edit it.

On the PC I used UltraEdit 11 (not free) but there is a free one called CONtext which is pretty good.
On the Mac now I use a lot more Smultron, which is freeware, and pretty good.

#5 pirateXcore

pirateXcore

    Young Padawan

  • Members
  • Pip
  • 281 posts
  • Gender:Male

Posted 23 September 2007 - 03:59 AM

notepad/cPanel :P

#6 Stu

Stu

    Retired P2L Staff

  • Publishing Betazoids
  • PipPipPipPip
  • 1,761 posts
  • Gender:Male

Posted 23 September 2007 - 04:40 AM

have a look in the free resources section. there are a few in there.

i always liked phpdesigner, went to download it on my laptop the other day though and could not find the free version, oh well. so i downloaded pspad instead... very basic but heh did the job the me.

#7 curthard89

curthard89

    Young Padawan

  • Members
  • Pip
  • 226 posts

Posted 23 September 2007 - 07:20 AM

coda....but im a osx user :P

#8 Lastcrime

Lastcrime

    Impatient Jedi that likes to eat cereal

  • Members
  • PipPipPip
  • 649 posts
  • Gender:Male
  • Location:Toronto, Ontario, Canada
  • Interests:Soccer, Snowboarding, Hockey, B-ball, Skateboarding, Computers!

Posted 23 September 2007 - 08:39 AM

curthard89 - im on osx as well,
creative - what do you mean by edit the code?

#9 _*Creative Insanity_*

_*Creative Insanity_*
  • Guests

Posted 23 September 2007 - 09:03 AM

curthard89, that coda looks pretty swish, even the demo version.

Lastcrime I mean like this:

DW insert code:
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "add")) {


$insertSQL = sprintf("INSERT INTO album (img, title, cat) VALUES (%s, %s, %s)",
					   GetSQLValueString($_POST['img'], "text"),
					   GetSQLValueString($_POST['title'], "text"),
					   GetSQLValueString($_POST['cat'], "text"));

  mysql_select_db($database_DBcifarewell, $DBcifarewell);
  $Result1 = mysql_query($insertSQL, $DBcifarewell) or die(mysql_error());

  $insertGoTo = "album_upload.php";
  if (isset($_SERVER['QUERY_STRING'])) {
	$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
	$insertGoTo .= $_SERVER['QUERY_STRING'];
  }
  header(sprintf("Location: %s", $insertGoTo));
}

My change to DW code:
if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "add_track")) {
$acat = $_POST['act_cat'];
$action = $_POST['action'];
$datee = $_POST['datee'];
$img = $_POST['img'];
$title = $_POST['title'];
$cat = $_POST['cat'];


mysql_query("INSERT INTO `webthin_pface`.`album` (`img`,`title`,`cat`) VALUES (`$img`,`$title`,`$cat`)")or die(mysql_error());

$insertGoTo = "track_upload.php";
  if (isset($_SERVER['QUERY_STRING'])) {
	$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
	$insertGoTo .= $_SERVER['QUERY_STRING'];
  }
  header(sprintf("Location: %s", $insertGoTo));

}


#10 Av-

Av-

    I Feel Left Out

  • Members
  • PipPipPipPip
  • 1,972 posts
  • Gender:Male
  • Location:10 ft. below sea level

Posted 23 September 2007 - 09:32 AM

I use Dreamweaver simply because I "grew up" with it. I've tried other apps such as PHPdesigner and others, but none of them did it's job as good as Dreamweaver imo for one reason or another. But it's probably just a matter of getting to work with it for a little while and getting used to it.

#11 Lastcrime

Lastcrime

    Impatient Jedi that likes to eat cereal

  • Members
  • PipPipPip
  • 649 posts
  • Gender:Male
  • Location:Toronto, Ontario, Canada
  • Interests:Soccer, Snowboarding, Hockey, B-ball, Skateboarding, Computers!

Posted 23 September 2007 - 10:52 AM

i like coda i think im going to stick with that.

#12 Matt L

Matt L

    Young Padawan

  • Members
  • Pip
  • 272 posts
  • Gender:Male
  • Location:Newcastle

Posted 23 September 2007 - 11:36 AM

It all depends on what you're used to. Like Av- said, because he's used Dreamweaver for years he uses it and is used to the user interface. It all depends on preference.

#13 _*Creative Insanity_*

_*Creative Insanity_*
  • Guests

Posted 23 September 2007 - 12:35 PM

Like av and matt, I have also used DW since version 2 when it was just an html editor and nothing more.
When UltraDev came out from Macromedia I nearly creamed my jeans seeing that you could do now asp and php with it.
That was so exciting and just stuck with it. Once they combinded UltraDev and DW we got the MX versions and from there most would know the history.

DW is damn good in my books and in most cases it's code does the trick (and why reinvent the wheel), but now some of the stuff I am doing requires to be a little more secure and some edits are needed. But in saying that 90% of the code I upload somewhere is DW and I am find with that.

#14 Dat

Dat

    Young Padawan

  • Members
  • Pip
  • 55 posts
  • Gender:Male

Posted 23 September 2007 - 12:57 PM

I use coda, I am a osx user as well. It's perfect for me because coda loads faster than DW making it easier for me to update pages fast. The FTP feature works great as well. Command + S and it saves and uploads. Coda also allows you to have multiple panels. (DW preview and code) So you can view, code, CSS, preview, and terminal at the same time. Configuring the colors of the code is easy too. (I made all my variables bold)

#15 Marxx

Marxx

    Young Padawan

  • Members
  • Pip
  • 116 posts
  • Gender:Male
  • Location:Finland

Posted 23 September 2007 - 03:09 PM

WeBuilder 2007 ... Nice color coding, int.FTP and much more nice and handy things in it.

#16 .CJ

.CJ

    Young Padawan

  • Members
  • Pip
  • 114 posts
  • Gender:Male
  • Location:Leeds, UK

Posted 23 September 2007 - 03:18 PM

Dreamweaver CS3, always in code view. Love how I can just click 'save' and it uploads it, plus the colour coding is top notch... couldn't ask for anything better.

#17 _*Creative Insanity_*

_*Creative Insanity_*
  • Guests

Posted 23 September 2007 - 04:20 PM

The way you guys are on about Coda is making me open this demo version and have a decent look.
First impressions are really positive. Maybe $US80 might be worth the investment.

#18 pirateXcore

pirateXcore

    Young Padawan

  • Members
  • Pip
  • 281 posts
  • Gender:Male

Posted 24 September 2007 - 01:28 AM

have a look in the free resources section. there are a few in there.

i always liked phpdesigner, went to download it on my laptop the other day though and could not find the free version, oh well. so i downloaded pspad instead... very basic but heh did the job the me.



*just looked up phpdesigner"
http://www.mpsoftware.dk/downloads.php

#19 Pax

Pax

    P2L Jedi

  • Members
  • PipPipPip
  • 911 posts
  • Gender:Male
  • Location:Windsor, ON, Canada

Posted 24 September 2007 - 07:12 AM

I like DW, but its often too much bulk for what I need. Whenever I'm doing serious coding, I have a server setup on my pc so I can just save and test the files, so I rarely use the FTP stuff. Because of that, I've switched over to FlashDevelop. I can edit Actionscript files in it as well as php, css, html, xml and a whole host of others. Plus its quick.

#20 austen

austen

    P2L Jedi

  • Members
  • PipPipPip
  • 910 posts
  • Location:Montana, US
  • Interests:Web design, snowboarding (lots of it), Computer science related.

Posted 24 September 2007 - 12:40 PM

I usually do PHP development on my mac, using my favorite web development app (and what seems to be many others'), Coda. :g[1]:

-austen :D

Edited by austen, 24 September 2007 - 12:43 PM.





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users