IDE joy

3 views
Skip to first unread message

Steve Boyd

unread,
Aug 29, 2007, 9:32:23 PM8/29/07
to NZ PHP Users Group
Hey I brought a copy of PhpED from www.nusphere.com on the
recommendation of someone else from this list and I just got the
debugger to work running CakePHP from the embedded server that comes
with the IDE

So I can debug my code ala debugging javascript in Firebug. Don't
need print_f or var_dump any more.

I'm like @#$@ing *JOY* !!


I'm

a) sharing this fact with people who are still writing code in
Dreamweaver
(note if you using cake you'll want v1.2.xx since it works better the
the cgi version of php used for the embedded server)

b) also wondering if other IDE's can debug (zend, komodo, phpeclipse) ?

Aaron Cooper

unread,
Aug 29, 2007, 9:37:49 PM8/29/07
to nzp...@googlegroups.com
Yeah, I reckon PHPed is the best out there too. It's a bloody dream to use.

Ended up getting my copy too. But havn't had it long enough to try the
Debugging yet.

I reccommend everyone at least try the 14 day demo.

Sid Bachtiar

unread,
Aug 29, 2007, 9:40:22 PM8/29/07
to nzp...@googlegroups.com
Unfortunately, it is windows only. What I like about eclipse is that
it is available on many platform (and free :)

Paul Webster

unread,
Aug 29, 2007, 9:51:03 PM8/29/07
to nzp...@googlegroups.com
I hear ya, downloading as we speak.

Steve, Im doing the Cake thing a fair bit, how cryptic was it to get
Debugger/embedded server/Cake doing its thing?

__________ NOD32 2491 (20070830) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com


Matthew White

unread,
Aug 29, 2007, 9:56:02 PM8/29/07
to NZ PHP Users Group
I've used Zend Platform and Zend IDE for integrated debugging, and
thats a pretty smooth development toolkit IMHO.

Nice debugging and profiling tools.

Even if you don't use the Zend Platform to deploy the final site (gets
pricey), for development its a pretty sweet setup.

Only gripe I have is that the IDE is java, and can be a bit laggy -
even that has its plus side tho, because I can use the IDE on Mac/
Windows, depending on mood or the particular tools I'm using.

I've heard good things about eclipse - any further elaboration on what
the debugging toolkits are like there?

Cheers,

Matt

Craig Boxall

unread,
Aug 29, 2007, 9:55:03 PM8/29/07
to nzp...@googlegroups.com
<sniff> if only they released a Mac OS X version.....

---------------------------------------------------
Craig Boxall
Developer

[e] cra...@pixelfusion.co.nz
[m] 021 564 522
[w] www.pixelfusion.co.nz

Jochen Daum

unread,
Aug 29, 2007, 9:59:49 PM8/29/07
to nzp...@googlegroups.com
Hi,

I'm using Zend too and am very happy with it. I've read on the end
website recently that the next version of Zend will be based on Eclipse,
which I found a bit confusing/ unreassuring. Does anyone know anything
about this?

Jochen

> Cheers,
>
> Matt
>
>

Rory Casey

unread,
Aug 29, 2007, 9:59:55 PM8/29/07
to nzp...@googlegroups.com
I'm using PhpEd too, and the debugger worked out of the box nicely, and without too much effort I have SVN support with keyboard shortcuts up and running too.

My only problem with it is the code completion for libraries like PDO don't work so you have to manually create a class outline and add it to your project include path.


After using eclipse (PDT) for ages its a nice change.

Steve Boyd

unread,
Aug 29, 2007, 10:11:05 PM8/29/07
to NZ PHP Users Group

embedded server works outta the box. with cake since it uses
databases everything you'll need one either a) locally or b) one you
can access remotely e.g. 255.x.x.x instead of localhost.


using cake1.2.xx i added in the following line to core.php

if (isset($_SERVER['COMPUTERNAME'])) {
define ('BASE_URL', '/file:/H:/pathtowebsite/index.php?
url=');
}

since there's no mod_rewrite on the embedded server (as far as i can
tell)


it took me a while to get the debugger going with cake, mostly
relating to the slightly weird network setup we have here

originally setup my project path via the file explorer, which it
mapped to something like

ab\dfx\users\steve\pathtowebsite

which meant the embedded server would something launch like

http://localhost:8080/file:///ab/dfx/users/steve/pathtowebsite/index.php?DBGSESSID=-1&PHPEdHidden=53592

and it wouldn't find it

I changed the ab\dfx\users\steve\pathtowebsite to H:\pathtowebsite

so that it would launch like

http://localhost:8080/file:/H:/pathtowebsite/index.php?DBGSESSID=-1&PHPEdHidden=53592

and it works perfect.


in your project set the default file to /projectroot/index.php. this
means you can launch debugger even if you have some /views/controller/
action.thtml file open. also you'll want to turn off the 'stop on the
first line after run' option


i *think* that's all i needed to do to get it working. like anything
new though you can expect to spend half a day configing things :)

On Aug 30, 1:51 pm, "Paul Webster" <p...@webprogression.co.nz> wrote:
> I hear ya, downloading as we speak.
>
> Steve, Im doing the Cake thing a fair bit, how cryptic was it to get
> Debugger/embedded server/Cake doing its thing?
>
> -----Original Message-----
> From: nzp...@googlegroups.com [mailto:nzp...@googlegroups.com] On Behalf
>
> Of Aaron Cooper
> Sent: Thursday, 30 August 2007 1:38 p.m.
> To: nzp...@googlegroups.com
> Subject: [phpug] Re: IDE joy
>
> Yeah, I reckon PHPed is the best out there too. It's a bloody dream to use.
>
> Ended up getting my copy too. But havn't had it long enough to try the
> Debugging yet.
>
> I reccommend everyone at least try the 14 day demo.
>
> ----- Original Message -----
> From: "Steve Boyd" <emtekne...@gmail.com>
> To: "NZ PHP Users Group" <nzp...@googlegroups.com>
> Sent: Thursday, August 30, 2007 1:32 PM
> Subject: [phpug] IDE joy
>

> > Hey I brought a copy of PhpED fromwww.nusphere.comon the

Aaron Cooper

unread,
Aug 29, 2007, 11:34:20 PM8/29/07
to nzp...@googlegroups.com
Well, it's in the pipeline aparently, but the threads I've seen on this
havn't been updated by anyone official since the start of the year when they
said "a pilot will be started in a few months".

Far from ideal, but many Mac people on the forums run it on Parallels.

But yes, Zend and Eclipse win hands down in the X-platform dept. No
Question.

Aaron

----- Original Message -----
From: "Craig Boxall" <ph...@pixelfusion.co.nz>
To: <nzp...@googlegroups.com>
Sent: Thursday, August 30, 2007 1:55 PM
Subject: [phpug] Re: IDE joy


>

Reply all
Reply to author
Forward
0 new messages