Page 1 of 1

NEW TO PHP - Question(s)... Need your thoughts...

Posted: Tue Oct 21, 2008 1:49 pm
by tsaw
Hi,

I am new to this forum and also new to programming with PHP. I have programmed for years with C and assemble language, but not much with PHP - just a tweak here and there...

I have been searching around and really haven't found any answers to a few questions that you may have some good thoughts for not only me but others to benefit from...

so...

I am on a MAC and use dreamweaver for editing.

1. What would you suggest / recommend for using for a good editor for using with PHP and runs on a MAC?

2. I haven't found any type of a debugging tool to use - for example setting breakpoints, etc... as well as being able to step through my code and look at variable, etc... Is there anything that is available that runs on a MAC and would do this sort of thing?

Anyhow, thanks for any thoughts or suggestions that you might have with these questions.

Thanks!

Tim

Re: NEW TO PHP - Question(s)... Need your thoughts...

Posted: Tue Oct 21, 2008 2:45 pm
by jayshields
This thread is probably of interest. viewtopic.php?f=6&t=81100

Re: NEW TO PHP - Question(s)... Need your thoughts...

Posted: Tue Oct 21, 2008 4:26 pm
by tsaw
Hi Jay,

Thanks! I have checked it out and have downloaded 3 of the editors to test drive...

Any ideas on the debugging options with PHP? Breakpoint, variables, etc...

Thanks so much!

Tim

PS - I used to live in Plymouth back in the 80's - Beautiful country!

Re: NEW TO PHP - Question(s)... Need your thoughts...

Posted: Tue Oct 21, 2008 4:38 pm
by onion2k
The best I've found for debugging is XDebug, but it's a bit of a pain to configure properly.

PS Plymouth is nowhere near Leeds/Manchester.

Re: NEW TO PHP - Question(s)... Need your thoughts...

Posted: Tue Oct 21, 2008 5:14 pm
by jayshields
:lol: Think he probably knows that onion if he lived there?!

Anyway, yeah XDebug is good, but it isn't an IDE. You'll probably want to try a bulky IDE like Eclipse or NetBeans with the PHP addons.

Re: NEW TO PHP - Question(s)... Need your thoughts...

Posted: Tue Oct 21, 2008 5:18 pm
by tsaw
Hi Jay and Jedi,

Thanks for the input! I have both sites up and will take a closer look...

I really did like getting out into the country over there... Such beautiful land and the people were awesome! Actually got to play my first / last and only ever game of rugby... Ouch!

Thanks again!

Tim

Re: NEW TO PHP - Question(s)... Need your thoughts...

Posted: Tue Oct 21, 2008 6:43 pm
by Syntac
If you aren't going to be doing any heavy coding, you probably won't need an IDE. Just a good, solid programmer's text editor should do.

Re: NEW TO PHP - Question(s)... Need your thoughts...

Posted: Tue Oct 21, 2008 6:51 pm
by tsaw
Doesn't the IDE get you breakpoint and variable inspection?

Re: NEW TO PHP - Question(s)... Need your thoughts...

Posted: Tue Oct 21, 2008 7:47 pm
by Syntac
Sorry, I was just talking about the editor there.

Re: NEW TO PHP - Question(s)... Need your thoughts...

Posted: Fri Oct 24, 2008 8:47 pm
by josh
tsaw wrote:Doesn't the IDE get you breakpoint and variable inspection?
Yes, there's also code insight features like jumping to the definition of a class who's name is held in a variable ( during debugging "run time" )