How To Read Source Code

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Tim Zhao

    How To Read Source Code

    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.


  • Stephen Jennings

    #2
    Re: How To Read Source Code

    On Sat, 23 Aug 2003 16:39:23 -0400, Tim Zhao <yongelok@look. ca> wrote:
    [color=blue]
    > 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.
    >[/color]

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



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

    Comment

    • Hywel Jenkins

      #3
      Re: How To Read Source Code

      In article <vkfk46s1sn363c @corp.supernews .com>, yongelok@look.c a says...[color=blue]
      > 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?[/color]

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

      --
      Hywel I do not eat quiche


      Comment

      • Tim Zhao

        #4
        Re: How To Read Source Code

        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" <hyweljenkins@h otmail.com> wrote in message
        news:MPG.19b21e b5cb4a12059896a c@news.Individu al.net...[color=blue]
        > In article <vkfk46s1sn363c @corp.supernews .com>, yongelok@look.c a says...[color=green]
        > > 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?[/color]
        >
        > 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[/color]


        Comment

        • Matthias Esken

          #5
          Re: How To Read Source Code

          "Tim Zhao" <yongelok@look. ca> schrieb:
          [color=blue]
          > 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.[/color]

          Yes, of course. Have a look at the make file.
          [color=blue]
          > If so, what is the project file name? and any visual
          > IDE tool that I can use to open and view them?[/color]

          Use your favorite C++-IDE.

          Regards,
          Matthias

          Comment

          • Bruno Desthuilliers

            #6
            Re: How To Read Source Code

            Tim Zhao wrote:

            <ot> Please don't top post (corrected) </ot>
            [color=blue]
            >
            > "Hywel Jenkins" <hyweljenkins@h otmail.com> wrote in message
            > news:MPG.19b21e b5cb4a12059896a c@news.Individu al.net...
            >[color=green]
            >>In article <vkfk46s1sn363c @corp.supernews .com>, yongelok@look.c a says...
            >>[color=darkred]
            >>>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?[/color]
            >>
            >>If you don't know how to view the files what do you want with them?
            >>[/color][/color]
            [color=blue]
            > I mean, how to open these plain text files as a
            > project/package.[/color]

            ?
            [color=blue]
            > 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.[/color]

            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



            Comment

            Working...