By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,831 Members | 2,237 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,831 IT Pros & Developers. It's quick & easy.

PHP compiler.

P: n/a
Hi group.
I hould like to write my code with a compiler instead of a text editor.
What compilers do you advice me?
I hould prefer compiler to run on Linux, but you can refer to windows'
compilers to.

I hould like to know your opinion.

Thanks in advance,

Nuno Paquete

Jul 17 '05 #1
Share this Question
Share on Google+
17 Replies


P: n/a
Nuno Paquete (nm*@ispgaya.pt) wrote:
: Hi group.
: I hould like to write my code with a compiler instead of a text editor.
: What compilers do you advice me?
: I hould prefer compiler to run on Linux, but you can refer to windows'
: compilers to.

: I hould like to know your opinion.

You misunderstand something, or your words are wrong.

Normally you create your source code in a file using a text editor.

Then you pass that file to either a compiler or interpreter, depending on
the language.

A compiler compiles the source code to create an executable file that can
be stored on disk and run later. An interpreter compiles the source code,
but stores it in memory, not in a file, and runs the compiled program each
time it does this.
Jul 17 '05 #2

P: n/a
Nuno Paquete wrote:

Hi group.
I hould like to write my code with a compiler instead of a text editor.
What compilers do you advice me?
I hould prefer compiler to run on Linux, but you can refer to windows'
compilers to.

I hould like to know your opinion.

Compilers don't write code, they, well, compile it. I think you are
confused with an IDE, which is a combination of a text editor, a
compiler and a debugger all bundled and able to interact.

This raises the question, why? The reason for having such an animal for
programming in something like C is that you can run or debug code as you
write. You aren't going to be able to do that with PHP in any way (at
least not that I know of). What advantage do you think it will give you?


Brian Rodenborn
Jul 17 '05 #3

P: n/a
Default User wrote:
Nuno Paquete wrote:
Hi group.
I hould like to write my code with a compiler instead of a text editor.
What compilers do you advice me?
I hould prefer compiler to run on Linux, but you can refer to windows'
compilers to.

I hould like to know your opinion.


Compilers don't write code, they, well, compile it. I think you are
confused with an IDE, which is a combination of a text editor, a
compiler and a debugger all bundled and able to interact.

This raises the question, why? The reason for having such an animal for
programming in something like C is that you can run or debug code as you
write. You aren't going to be able to do that with PHP in any way (at
least not that I know of). What advantage do you think it will give you?


Brian Rodenborn


Unless you use something like LSE (Language Sensitive Editor) based on
the TPU Editor on VMS. you could write, and tell it to compile and
highlight the errors -- long before there was Visualanything. But, it
doesn't speak PHP.

too many people call themselves programmers cause they can push some
buttons and magic happens and they have an application.. most couldn't
debug real code if their life depended on it...

Michael.
Jul 17 '05 #4

P: n/a
> I hould like to write my code with a compiler instead of a text editor.
What compilers do you advice me?


Sounds to me like you are not looking for a compiler my friend. You are looking for an IDE. There are a few good ones out there. You might look at the following options:

1 - http://www.zend.com/store/products/zend-studio.php

2 - http://www.nusphere.com/products/index.htm

3 - http://www.sapien.com/primalscript.aspx

_______________________
Wil Moore III, MCP | Integrations Specialist
Jul 17 '05 #5

P: n/a
Default User wrote:
This raises the question, why? The reason for having such an animal for
programming in something like C is that you can run or debug code as you
write. You aren't going to be able to do that with PHP in any way (at
least not that I know of).


I don't know about other IDEs but the Zend one lets you run the code from
within it, step through your code, add breakpoints and watches; so it can
be done in PHP. I haven't used this feature that often but it can be very
useful to add watches instead of having to echo variables out all the time
when debugging code.

--
Chris Hope - The Electric Toolbox - http://www.electrictoolbox.com/
Jul 17 '05 #6

P: n/a
While the city slept, Michael Austin <ma*****@firstdbasource.com> feverishly
typed:
too many people call themselves programmers cause they can push some
buttons and magic happens and they have an application.. most couldn't
debug real code if their life depended on it...


Aint that the truth! I have some C++ (DOS based) knowledge, and good C and
Java experience gained in a Unix environment. A while ago I had to work on a
project using Visual C++ so I installed Visual Studio and picked up a very
large book and followed the first tutorial. After pressing several buttons
and selecting a few options I had a pretty good text editor - like notepad,
but supporting multiple files - and I hadn't written a line of code (well,
maybe adapted 1 or 2)...

It also amazes me the number of people who call themselves web designers
because they realise they have a copy of Frontpage on that PC they bought.
Strangely, the same people don't call themselves authors because they have a
copy of Word, or accountants because they have a copy of Excel...

Cheers,
Nige

--
Nigel Moss.

Email address is not valid. ni***@nigenetDOG.org.uk. Take the dog out!
http://www.nigenet.org.uk | Boycott E$$O!! http://www.stopesso.com
In the land of the blind, the one-eyed man is very, very busy!
Jul 17 '05 #7

P: n/a

"Chris Hope" <bl*******@electrictoolbox.com> wrote in message
news:10**************@216.128.74.129...
Default User wrote:
This raises the question, why? The reason for having such an animal for
programming in something like C is that you can run or debug code as you
write. You aren't going to be able to do that with PHP in any way (at
least not that I know of).


I don't know about other IDEs but the Zend one lets you run the code from
within it, step through your code, add breakpoints and watches; so it can
be done in PHP. I haven't used this feature that often but it can be very
useful to add watches instead of having to echo variables out all the time
when debugging code.


I have been using PHPEdit from http://www.phpedit.net for 2 years now, and
that has an interactive debugger. I would be lost without one.

--
Tony Marston

http://www.tonymarston.net

Jul 17 '05 #8

P: n/a
Malcolm Dew-Jones wrote:
Nuno Paquete (nm*@ispgaya.pt) wrote:
: Hi group.
: I hould like to write my code with a compiler instead of a text editor.
: What compilers do you advice me?
: I hould prefer compiler to run on Linux, but you can refer to windows'
: compilers to.

: I hould like to know your opinion.

You misunderstand something, or your words are wrong.

Normally you create your source code in a file using a text editor.

Then you pass that file to either a compiler or interpreter, depending on
the language.

A compiler compiles the source code to create an executable file that can
be stored on disk and run later. An interpreter compiles the source code,
but stores it in memory, not in a file, and runs the compiled program each
time it does this.


You're wright, sorry my mistake.
What I need is an IDE, I know that a compiler is to create an executable (in
C/C++) or a binary bytecode (Java).

Regards,

Nuno Paquete
Jul 17 '05 #9

P: n/a
> This raises the question, why? The reason for having such an animal for
programming in something like C is that you can run or debug code as you
write. You aren't going to be able to do that with PHP in any way (at
least not that I know of). What advantage do you think it will give you?


Brian Rodenborn


Hi.
JSP is not a programming language, it is a server side script language, like
ASP, and for this script languages I've got IDEs to compile the code, and
more importante, use reflexion, I think this is the word. I'm talking about
referencing a variable, then type dot '.' and give all the functions
properties available to use.
You know what I mean? For JSP we've got JBuilder, for ASP we've got .NET and
so on.

Regards,

Nuno Paquete
Jul 17 '05 #10

P: n/a
la*******@hotmail.com wrote:
I hould like to write my code with a compiler instead of a text editor.
What compilers do you advice me?


Sounds to me like you are not looking for a compiler my friend. You are
looking for an IDE. There are a few good ones out there. You might look at
the following options:

1 - http://www.zend.com/store/products/zend-studio.php

2 - http://www.nusphere.com/products/index.htm

3 - http://www.sapien.com/primalscript.aspx

_______________________
Wil Moore III, MCP | Integrations Specialist


Hi.
I hould like to try Zend but it' not free.
Do you know some free PHP IDE?

Nuno Paquete
Jul 17 '05 #11

P: n/a
Tony Marston wrote:

"Chris Hope" <bl*******@electrictoolbox.com> wrote in message
news:10**************@216.128.74.129...
Default User wrote:
> This raises the question, why? The reason for having such an animal for
> programming in something like C is that you can run or debug code as
> you write. You aren't going to be able to do that with PHP in any way
> (at least not that I know of).


I don't know about other IDEs but the Zend one lets you run the code from
within it, step through your code, add breakpoints and watches; so it can
be done in PHP. I haven't used this feature that often but it can be very
useful to add watches instead of having to echo variables out all the
time when debugging code.


I have been using PHPEdit from http://www.phpedit.net for 2 years now, and
that has an interactive debugger. I would be lost without one.


Hi, the site doesn't exists.
Is your typing correct?

Nuno Paquete
Jul 17 '05 #12

P: n/a
While the city slept, Nuno Paquete <nm*@ispgaya.pt> feverishly typed:
Tony Marston wrote:
I have been using PHPEdit from http://www.phpedit.net for 2 years
now, and that has an interactive debugger. I would be lost without
one.
Hi, the site doesn't exists.
Is your typing correct?


Well, I clicked on the link and went straight there! Maybe try again? The
site could have been out to lunch when you tried it ;-)

Cheers,
Nige

--
Nigel Moss.

Email address is not valid. ni***@nigenetDOG.org.uk. Take the dog out!
http://www.nigenet.org.uk | Boycott E$$O!! http://www.stopesso.com
In the land of the blind, the one-eyed man is very, very busy!
Jul 17 '05 #13

P: n/a
nice.guy.nige wrote:
While the city slept, Nuno Paquete <nm*@ispgaya.pt> feverishly typed:
Tony Marston wrote:
I have been using PHPEdit from http://www.phpedit.net for 2 years
now, and that has an interactive debugger. I would be lost without
one.

Hi, the site doesn't exists.
Is your typing correct?


Well, I clicked on the link and went straight there! Maybe try again? The
site could have been out to lunch when you tried it ;-)

Cheers,
Nige


That's it.
One question: is it free?
Does it run under Linux?
I hould like to have an IDE that is free and run under Linux.

Thanks for the answers,

Nuno Paquete.
Jul 17 '05 #14

P: n/a
Chris Hope wrote:

Default User wrote:
This raises the question, why? The reason for having such an animal for
programming in something like C is that you can run or debug code as you
write. You aren't going to be able to do that with PHP in any way (at
least not that I know of).


I don't know about other IDEs but the Zend one lets you run the code from
within it, step through your code, add breakpoints and watches; so it can
be done in PHP. I haven't used this feature that often but it can be very
useful to add watches instead of having to echo variables out all the time
when debugging code.


Ah, interesting. Probably not interesting enough to buy it (I gather
from other replies that it's not a free product). A context-capable
editor and a local server have worked adequately so far. For that
matter, I do my C development at home using gcc under cygwin without
bothering with an IDE or even a standalone debugger.

Brian Rodenborn
Jul 17 '05 #15

P: n/a
"Default User" <fi********@boeing.com.invalid> wrote in message
news:40***************@boeing.com.invalid...
Nuno Paquete wrote:

Hi group.
I hould like to write my code with a compiler instead of a text editor.
What compilers do you advice me?
I hould prefer compiler to run on Linux, but you can refer to windows'
compilers to.

I hould like to know your opinion.

Compilers don't write code, they, well, compile it. I think you are
confused with an IDE, which is a combination of a text editor, a
compiler and a debugger all bundled and able to interact.

This raises the question, why? The reason for having such an animal for
programming in something like C is that you can run or debug code as you
write. You aren't going to be able to do that with PHP in any way (at
least not that I know of). What advantage do you think it will give you?


PHPExpertEditor comes with its own internal web server that lets you execute
code in the IDE. I use it occasionally. I don't like its project
organization and have tended to stay with TextPad, but it does have the
capability described.

- Virgil
Jul 17 '05 #16

P: n/a
> Hi.
I hould like to try Zend but it' not free.
Do you know some free PHP IDE?


In that case:

http://www.waterproof.fr/products/PHPEdit/

or

http://www.eclipse.org/ and http://phpeclipse.sourceforge.net/

____________________________________
Wil Moore III, MCP | Integrations Specialist
Jul 17 '05 #17

P: n/a
Michael Austin a écrit :

(snip)
too many people call themselves programmers cause they can push some
buttons and magic happens and they have an application.. most couldn't
debug real code if their life depended on it...

(snip)

Quite true... But these "push the button", WYSIWYG apps have helped the
Internet a lot, don't you think ? Of course most of "home pages" dealing
with "how cute is my dog", built with FP are not made by webdesigners.
But don't you think that the mass of them helped the prices go down
(harware and Internet access) ? Would this mass have emerged if
comupters had remained b&w shell-driven ?

I've been a newbie for almost 10 years, no formal training in
programming. Just self taught, with the immense help of NG & web
communities. I don't call myself a "programmer", sure, but I can build
decent tools, both online and offline.

Now, of course, we should all got rid of those developpers that sell you
the "best website in the world", of course made with Frontpage with
absolutely no notion of what HTML, CSS or table-join are ;o)

Yet I try not to despise ;o).

<bow> Best regards to all those coders would "made" computing, and
respect to those who brought it to the masses. </bow>

Damien
--
"There are 10 types of people : those who understand binary, and those
who don't. "
Jul 17 '05 #18

This discussion thread is closed

Replies have been disabled for this discussion.