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

How To Read Source Code

P: n/a
I downloaded the PHP 5 source code from
www.php.net web site. It is a tar compressed
file. I used WinZip to unzip it. Now I got a whole
bunch of files.

But I do not know to read these files. Do I use
Visual Studio, or any other IDE tools? Or do I
must use a text editor to open each file individually
to view it?

And, by the way, what is Zend? Is it a ( free ) IDE tool?

Thanks.
Jul 16 '05 #1
Share this Question
Share on Google+
5 Replies


P: n/a
On Sat, 23 Aug 2003 16:39:23 -0400, Tim Zhao <yo******@look.ca> wrote:
I downloaded the PHP 5 source code from
www.php.net web site. It is a tar compressed
file. I used WinZip to unzip it. Now I got a whole
bunch of files.

But I do not know to read these files. Do I use
Visual Studio, or any other IDE tools? Or do I
must use a text editor to open each file individually
to view it?

And, by the way, what is Zend? Is it a ( free ) IDE tool?

Thanks.


If you are trying to install PHP5, you don't want the source code, you want
a binary.

http://www.php.net/get/php-5.0.0b1-W.../from/a/mirror

Source code (in Windows) is only for if you want to change how the PHP
engine works, which is not what you want.

Jul 16 '05 #2

P: n/a
In article <vk************@corp.supernews.com>, yo******@look.ca says...
I downloaded the PHP 5 source code from
www.php.net web site. It is a tar compressed
file. I used WinZip to unzip it. Now I got a whole
bunch of files.

But I do not know to read these files. Do I use
Visual Studio, or any other IDE tools? Or do I
must use a text editor to open each file individually
to view it?


If you don't know how to view the files what do you want with them?

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php
Jul 16 '05 #3

P: n/a
I mean, how to open these plain text files as a
project/package.

Of course I know to use Notepad to open these
files. But I was wondering whether these source code
files were neatly organized as a project, just like
Visual Baisc projects or Visual C++ projects.
If so, what is the project file name? and any visual
IDE tool that I can use to open and view them?

Sorry if my question seems stupid. Because this
is my first time I attempt to view these open source
project source code. I really have no clues.
In the past I was working on VB/VC projects
using Visual Studio.
"Hywel Jenkins" <hy**********@hotmail.com> wrote in message
news:MP************************@news.Individual.ne t...
In article <vk************@corp.supernews.com>, yo******@look.ca says...
I downloaded the PHP 5 source code from
www.php.net web site. It is a tar compressed
file. I used WinZip to unzip it. Now I got a whole
bunch of files.

But I do not know to read these files. Do I use
Visual Studio, or any other IDE tools? Or do I
must use a text editor to open each file individually
to view it?


If you don't know how to view the files what do you want with them?

--
Hywel I do not eat quiche
http://hyweljenkins.co.uk/
http://hyweljenkins.co.uk/mfaq.php

Jul 16 '05 #4

P: n/a
"Tim Zhao" <yo******@look.ca> schrieb:
Of course I know to use Notepad to open these
files. But I was wondering whether these source code
files were neatly organized as a project, just like
Visual Baisc projects or Visual C++ projects.
Yes, of course. Have a look at the make file.
If so, what is the project file name? and any visual
IDE tool that I can use to open and view them?


Use your favorite C++-IDE.

Regards,
Matthias
Jul 16 '05 #5

P: n/a
Tim Zhao wrote:

<ot> Please don't top post (corrected) </ot>

"Hywel Jenkins" <hy**********@hotmail.com> wrote in message
news:MP************************@news.Individual.ne t...
In article <vk************@corp.supernews.com>, yo******@look.ca says...
I downloaded the PHP 5 source code from
www.php.net web site. It is a tar compressed
file. I used WinZip to unzip it. Now I got a whole
bunch of files.

But I do not know to read these files. Do I use
Visual Studio, or any other IDE tools? Or do I
must use a text editor to open each file individually
to view it?
If you don't know how to view the files what do you want with them?

I mean, how to open these plain text files as a
project/package.
?
Of course I know to use Notepad to open these
files. But I was wondering whether these source code
files were neatly organized as a project, just like
Visual Baisc projects or Visual C++ projects.
If so, what is the project file name? and any visual
IDE tool that I can use to open and view them?

Sorry if my question seems stupid. Because this
is my first time I attempt to view these open source
project source code. I really have no clues.
In the past I was working on VB/VC projects
using Visual Studio.


Ok, let's go for a little crash course...

<ot oversimplified='true'>

You won't find much open source projects developped with commercial
proprietary tools. Coming from a unix-like background, most open source
developpers work the unix way : no pretty IDE with bells and whistles
la VC++.

The standard is :
- sources are in a (supposedly) well organised 'source tree' (source
directory with subdirectories)
- the build of the program is controlled by one or more makefiles
- so in fact, the 'project file' you are looking for is made of the
source tree itself and the makefile(s)

Code is edited with your favorite code editor, the main two being Emacs
and Vim. Both let you walk thru the project source tree without the need
for a project file.
</ot>

Bruno

Jul 16 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.