473,382 Members | 1,635 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

PHP compiler.

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
17 2086
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
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
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
> 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
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
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

"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
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
> 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
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
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
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
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
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
"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
> 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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jeff Epler | last post by:
Hello. Recently, Generator Comprehensions were mentioned again on python-list. I have written an implementation for the compiler module. To try it out, however, you must be able to rebuild...
13
by: Bryan Parkoff | last post by:
You may notice that switch (...) is much faster than function that can gain a big improved performance because it only use JMP instruction however function is required to use CALL, PUSH, and POP...
10
by: Bjorn | last post by:
I'm using interfaces in C++ by declaring classes with only pure virtual methods. If then someone wants to implement the interface they needs to inherit from the class. If the implementing class...
7
by: Tao Wang | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I saw cuj's conformance roundup, but the result is quite old. I think many people like me want to know newer c++ standard conformance test...
14
by: joshc | last post by:
I'm writing some C to be used in an embedded environment and the code needs to be optimized. I have a question about optimizing compilers in general. I'm using GCC for the workstation and Diab...
16
by: pj | last post by:
(Was originally, probably wrongly, posted to the vc subgroup.) (This doesn't appear to be a c# problem, but a problem with a bug in the Visual Studio c# compiler, but, any help will be welcome...)...
0
by: rollasoc | last post by:
Hi, I seem to be getting a compiler error Internal Compiler Error (0xc0000005 at address 535DB439): likely culprit is 'BIND'. An internal error has occurred in the compiler. To work around...
3
by: Mark Rockman | last post by:
------ Build started: Project: USDAver2, Configuration: Debug .NET ------ Preparing resources... Updating references... Performing main compilation... error CS0583: Internal Compiler Error...
6
by: toton | last post by:
Hi, Anyone have a link to comparative study of different C++ compilers and how much they conform to C++ language standard? Most of the big platforms I know have GCC which well supports C++...
41
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.