Fundamental Question

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

    #1

    Fundamental Question

    I want to learn PHP. To date all I've used is Frontpage. What is the
    first step? Should I move to Dreamweaver or something else, then get
    into PHP?

    Thanks,

    Steve
  • Tom Thackrey

    #2
    Re: Fundamental Question


    On 7-Oct-2003, steve.bouton@my pcpro.com (Steve) wrote:
    [color=blue]
    > I want to learn PHP. To date all I've used is Frontpage. What is the
    > first step? Should I move to Dreamweaver or something else, then get
    > into PHP?[/color]

    One key to PHP is a good understanding of HTML, start there. PHP provides a
    way to make the HTML that the browser sees dynamic. It can display different
    data or even pages depending on user input or other factors.

    Dreamweaver, Frontpage, etc generate HTML and are useful for designing the
    look of a web site.
    When you want to add server side functionality, PHP is a great choice. If
    you understand HTML you can use tools, like Frontpage, to create the pages
    and PHP to provide the database interface or form processing or whatever.

    --
    Tom Thackrey

    tom (at) creative (dash) light (dot) com
    do NOT send email to jamesbutler@wil lglen.net (it's reserved for spammers)

    Comment

    • Geoff Berrow

      #3
      Re: Fundamental Question

      I noticed that Message-ID:
      <OvHgb.10296$6M 4.6592@newssvr2 7.news.prodigy. com> from Tom Thackrey
      contained the following:
      [color=blue]
      >When you want to add server side functionality, PHP is a great choice. If
      >you understand HTML you can use tools, like Frontpage, to create the pages
      >and PHP to provide the database interface or form processing or whatever.[/color]

      Tom's right. Say you wanted to produce a table based on the result of a
      database query. You'd have to know how to write a table row in HTML so
      that you could incorporate it into your PHP code.



      --
      Geoff Berrow
      It's only Usenet, no one dies.
      My opinions, not the committee's, mine.
      Simple RFDs http://www.ckdog.co.uk/rfdmaker/

      Comment

      • Paulus Magnus

        #4
        Re: Fundamental Question

        "Steve" <steve.bouton@m ypcpro.com> wrote in message
        news:3feef907.0 310071427.27d0f 10c@posting.goo gle.com...[color=blue]
        > I want to learn PHP. To date all I've used is Frontpage. What is the
        > first step? Should I move to Dreamweaver or something else, then get
        > into PHP?[/color]

        You need to understand the language first and you can do that with Notepad
        or Frontpage. As your skills develop you can move to Dreamweaver and
        integrated environments like phpEd. You'd also benefit by installing Apache,
        MySQL and PHP on your computer so you can test your code immediately.
        Foxserv and phpTriad are two easy Windows based installers for setting up a
        local environment.

        I learnt from a book and I'd recommend the same route. When you've got the
        basics you then start using online sources. When I'm developing I have
        Dreamweaver MX 2004 open, Internet Explorer and Opera. The code is all
        tested locally using Dreamweaver through the Internet Explorer I leave open.
        I keep Opera open so that Dreamweaver doesn't try to hijack it when I hit
        F12, to preview the page. Opera has an ability to open all the bookmarks in
        a folder so I use this to open 3 pages every time I start development; one
        to php.net, one to mysql.com and another to the local copy of phpMyAdmin so
        I can see what my code is doing to my database. And then when I get a tricky
        bug to find I startup phpEd and single step through the code until I find
        the varmit. It's not a perfect way of working but its what I've ended up
        moving towards.

        Paulus


        Comment

        • Larry Jaques

          #5
          Re: Fundamental Question

          On 7 Oct 2003 15:27:43 -0700, steve.bouton@my pcpro.com (Steve)
          pixelated:
          [color=blue]
          >I want to learn PHP. To date all I've used is Frontpage. What is the
          >first step? Should I move to Dreamweaver or something else, then get
          >into PHP?[/color]

          I learned how to hand-code HTML back in 1995 with my first
          business website. While programs like PageAFFRONT, er, I
          mean Frontpage, may do things more quickly, hand coding is
          much more effective and smaller in size, therefore quicker
          to load. Pick up a copy of Jennifer Niederst's "Web Design
          in a Nutshell" (a real gem!) and Rasmus Lerdorf's new book
          "Programmin g PHP" (which I'm just getting into now). There
          is a new version of Julie Meloni's "PHP Essentials", (my
          first-bought PHP book) coming out soon. Highly recommended,
          as she is a good teacher and her style is clear. I liked
          "PHP and MySQL Web Development" by Luke Welling and Laura
          Thomson, too. Then there's "Usable Shopping Carts" put out
          by Glasshaus. Each has its appeal and different style. See
          what you can find in the local libraries and buy the rest.
          You'll be using them for reference for years, believe me.
          This newsgroup has a ton of talent, too. (Thanks, guys.)

          Comment

          • Bruno Desthuilliers

            #6
            Re: Fundamental Question

            Steve wrote:[color=blue]
            > I want to learn PHP. To date all I've used is Frontpage. What is the
            > first step? Should I move to Dreamweaver or something else, then get
            > into PHP?[/color]

            First get into HTML.

            Bruno

            Comment

            • Steve

              #7
              Re: Fundamental Question

              "Tom Thackrey" <use.signature@ nospam.com> wrote in message news:<OvHgb.102 96$6M4.6592@new ssvr27.news.pro digy.com>...[color=blue]
              > On 7-Oct-2003, steve.bouton@my pcpro.com (Steve) wrote:
              >[color=green]
              > > I want to learn PHP. To date all I've used is Frontpage. What is the
              > > first step? Should I move to Dreamweaver or something else, then get
              > > into PHP?[/color]
              >
              > One key to PHP is a good understanding of HTML, start there. PHP provides a
              > way to make the HTML that the browser sees dynamic. It can display different
              > data or even pages depending on user input or other factors.
              >
              > Dreamweaver, Frontpage, etc generate HTML and are useful for designing the
              > look of a web site.
              > When you want to add server side functionality, PHP is a great choice. If
              > you understand HTML you can use tools, like Frontpage, to create the pages
              > and PHP to provide the database interface or form processing or whatever.[/color]

              *--*--*--*--*--*--*--*--

              Well, actually, I'm OK with HTML, not fluent, but not ignorant either.
              I often doctor the code Frontpage produces manually. I happened to
              start using Frontpage for reasons of speed and the fact that it came
              with an MS Office package I bought a couple of years ago.

              I guess what I need to know is whether I would benefit from moving
              away from Frontpage and toward Dreamweaver since I figured (and this
              premise might be wrong) that I would build the pages with FP or DW,
              then tune it and implement PHP manually. Does this make sense? Is it
              better or easier to work with PHP if I am using DW as opposed to FP?

              Thank you (all) for your help.

              Steve

              Comment

              • Geoff Berrow

                #8
                Re: Fundamental Question

                I noticed that Message-ID:
                <3feef907.03100 81450.371b7dfd@ posting.google. com> from Steve contained
                the following:
                [color=blue]
                >Does this make sense? Is it
                >better or easier to work with PHP if I am using DW as opposed to FP?[/color]

                Since you are working with the code, it doesn't really matter, but I
                believe Dreamweaver MX has some integration with PHP. Not used it so I
                cannot comment further.

                I use Dreamweaver because of the code view, site management and ftp
                facility but if you have too much PHP generated stuff the preview window
                becomes useless and it becomes a souped up notepad.

                --
                Geoff Berrow
                It's only Usenet, no one dies.
                My opinions, not the committee's, mine.
                Simple RFDs http://www.ckdog.co.uk/rfdmaker/

                Comment

                • Tom Thackrey

                  #9
                  Re: Fundamental Question


                  On 8-Oct-2003, steve.bouton@my pcpro.com (Steve) wrote:
                  [color=blue]
                  > Well, actually, I'm OK with HTML, not fluent, but not ignorant either.
                  > I often doctor the code Frontpage produces manually. I happened to
                  > start using Frontpage for reasons of speed and the fact that it came
                  > with an MS Office package I bought a couple of years ago.
                  >
                  > I guess what I need to know is whether I would benefit from moving
                  > away from Frontpage and toward Dreamweaver since I figured (and this
                  > premise might be wrong) that I would build the pages with FP or DW,
                  > then tune it and implement PHP manually. Does this make sense? Is it
                  > better or easier to work with PHP if I am using DW as opposed to FP?
                  >
                  > Thank you (all) for your help.[/color]

                  I don't think it makes much difference. Use whatever works best for the kind
                  of sites you design.

                  For me, I code the HTML directly, without FP or DW, it's cleaner and easier
                  to read and understand. It also integrates with PHP more easily.

                  One project I worked on recently, the customer wanted to be able to update
                  some pages on the site with FP. So, I used FP to create most of the pages
                  for the site, those where I needed PHP, I created the page templates in FP
                  and wrote separate PHP scripts to read the templates and insert the
                  appropriate data. I simply put tags in the templates where I wanted the data
                  placed.

                  --
                  Tom Thackrey

                  tom (at) creative (dash) light (dot) com
                  do NOT send email to jamesbutler@wil lglen.net (it's reserved for spammers)

                  Comment

                  • Paulus Magnus

                    #10
                    Re: Fundamental Question

                    "Tom Thackrey" <use.signature@ nospam.com> wrote in message
                    news:KH0hb.1014 $nu3.130919671@ newssvr21.news. prodigy.com...[color=blue]
                    >
                    > On 8-Oct-2003, steve.bouton@my pcpro.com (Steve) wrote:
                    >[color=green]
                    > > Well, actually, I'm OK with HTML, not fluent, but not ignorant either.
                    > > I often doctor the code Frontpage produces manually. I happened to
                    > > start using Frontpage for reasons of speed and the fact that it came
                    > > with an MS Office package I bought a couple of years ago.
                    > >
                    > > I guess what I need to know is whether I would benefit from moving
                    > > away from Frontpage and toward Dreamweaver since I figured (and this
                    > > premise might be wrong) that I would build the pages with FP or DW,
                    > > then tune it and implement PHP manually. Does this make sense? Is it
                    > > better or easier to work with PHP if I am using DW as opposed to FP?
                    > >
                    > > Thank you (all) for your help.[/color][/color]

                    I've used Dreamweaver for a few years and I find it indispensable. It does
                    integrate with PHP quite well as it gives you syntax coloring and syntax
                    tips as you type the PHP functions. It also provides a very easy setup for
                    local and remote servers so you can test everything on a local installation
                    of MySQL/PHP/Apache before sending it to the live remote site. I also use
                    phpEd but I find it far more difficult to develop with as I'm often editing
                    HTML and PHP at the same time and phpEd isn't very good at the HTML side of
                    things. Therefore, phpEd is used for debugging difficult scripts that need
                    the power of single stepping to find the problem.

                    I also use a templating system to remove the HTML from the PHP which makes
                    the code so much easier to work with as the process flow is much easier to
                    see and control. I'd advise anybody to use DW if they're considering doing
                    the job professionally as most other people in the profession use this tool.
                    FrontPage is just too Microsoft oriented and just doesn't match DW at all.

                    Paulus


                    Comment

                    • Steve

                      #11
                      Re: Fundamental Question

                      Geoff Berrow <bl@ckdog.co.uk .the.cat> wrote in message news:<ob59ov0ni 47fdfm2hg1m0le4 ltv92dmj3u@4ax. com>...[color=blue]
                      > I noticed that Message-ID:
                      > <3feef907.03100 81450.371b7dfd@ posting.google. com> from Steve contained
                      > the following:
                      >[color=green]
                      > >Does this make sense? Is it
                      > >better or easier to work with PHP if I am using DW as opposed to FP?[/color]
                      >
                      > Since you are working with the code, it doesn't really matter, but I
                      > believe Dreamweaver MX has some integration with PHP. Not used it so I
                      > cannot comment further.
                      >
                      > I use Dreamweaver because of the code view, site management and ftp
                      > facility but if you have too much PHP generated stuff the preview window
                      > becomes useless and it becomes a souped up notepad.[/color]


                      *-----*-----*-----*-----*-----*-----

                      Thank you, and the others, for your help. It appears I can continue
                      with FP for the time being and work PHP into it as needed and that I
                      have to sharpen my skills with HTML.

                      Steve

                      Comment

                      Working...