473,670 Members | 2,308 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2109
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*****@firstd basource.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***@nigenetDO G.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*******@elec trictoolbox.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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2330
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 Python from source, because it also requires a change to Grammar. 1. Edit Python-2.3/Grammar/Grammar and add an alternative to the "listmaker" production: -listmaker: test ( list_for | (',' test)* )
13
2569
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 instruction that can be slower. I created three functions in an array. Array is called pArray_Func(). pArray_Func() contains three functions. "xx" can be used to point each function. Let say, I have over 1,000 functions. I would put "inline"...
10
2552
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 forgets to implement some method I normally get a compile error(if the class is created in some way of course). When using the Visual Studio 6 compiler however, it does not generate a compile error in this case: - I have a implementing class A...
7
3103
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 result. Especially, I want to know the compiler conformance of vc7.1, vc8.0, gcc 4.x and intel c++, and also each implementation of STL. The world is moving on, right? :)
14
3132
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 compiler for the embedded target. My question is about how compilers optimize certain code sequences. As an example, take the code below. Will the compiler eliminate the actual function call to foo() in the object code generated and just store...
16
2847
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...) Oh, I forgot to list the error messages; I would be delighted if someone could explain how to deduce which line number in which file is the one that the VC compiler cannot handle. Actually I'm using C#, but the only post I could find about...
0
2399
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 this problem, try simplifying or changing the program near the locations listed below. Locations at the top of the list are closer to the point at which the
3
5262
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 (0xc0000005 at address 535F072A): likely culprit is 'BIND'. An internal error has occurred in the compiler. To work around this problem, try simplifying or changing the program near the locations listed below. Locations at the top of the list are...
6
2943
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++ standard. But mainly looking for compilers for small platforms like ARM, XScale, OMAP processors, and mobile OS's. I am not getting enough imformation which of the platforms HAVE a C++ compiler/cross compiler and how much they support C++ standard. It...
41
18164
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
0
8469
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8814
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8592
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8661
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7419
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6213
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5684
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4391
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
2042
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.