htm vs. php problem

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

    #16
    Re: htm vs. php problem

    On Tue, 19 Dec 2006 00:57:42 -0800, John Dunlop wrote:
    Ivan Marsh:
    >
    >The only thing to tell them is that processing .htm files as anything
    >other than HTML files is simply not right.
    >
    Why?
    For the same reason that a farmer doesn't plow his fields with a monkey.

    Comment

    • Michael Fesser

      #17
      Re: htm vs. php problem

      ..oO(Ivan Marsh)
      >The only thing to tell them is that processing .htm files as anything
      >other than HTML files is simply not right.
      Using .htm, .php and maybe even more extensions for different pages on
      the same site is not right either.

      Micha

      Comment

      • Michael Fesser

        #18
        Re: htm vs. php problem

        ..oO(Ivan Marsh)
        >The only thing to tell them is that processing .htm files as anything
        >other than HTML files is simply not right.
        Having .htm(l), .php and maybe even more extensions in the URLs on
        the same site is not right either.

        Micha

        Comment

        • Philip Serefoglou

          #19
          Re: htm vs. php problem

          Probable .php files are cached in bytecode and .htm have to be parsed again
          and again.


          Comment

          • John Dunlop

            #20
            Re: htm vs. php problem

            Ivan Marsh:
            [John Dunlop:]
            >
            Ivan Marsh:
            The only thing to tell them is that processing .htm files as anything
            other than HTML files is simply not right.
            Why?
            >
            For the same reason that a farmer doesn't plow his fields with a monkey.
            I don't know, why does a farmer not plow his fields with a monkey?

            --
            Jock

            Comment

            • John Dunlop

              #21
              Re: htm vs. php problem

              Michael Fesser:
              Having .htm(l), .php and maybe even more extensions in the URLs on
              the same site is not right either.
              Fine, but I think Ivan Marsh was talking about _filename_
              extensions.

              Comment

              • Ivan Marsh

                #22
                Re: htm vs. php problem

                On Tue, 19 Dec 2006 07:51:14 -0800, John Dunlop wrote:
                Ivan Marsh:
                >
                >[John Dunlop:]
                >>
                Ivan Marsh:
                >
                The only thing to tell them is that processing .htm files as
                anything other than HTML files is simply not right.
                >
                Why?
                >>
                >For the same reason that a farmer doesn't plow his fields with a
                >monkey.
                >
                I don't know, why does a farmer not plow his fields with a monkey?
                Because that's not what you plow with... you plow with a plow.

                Comment

                • John Dunlop

                  #23
                  Re: htm vs. php problem

                  Ivan Marsh:
                  Because that's not what you plow with... you plow with a plow.
                  But if you did, would it still be monkey?

                  --
                  Jock

                  Comment

                  • Ivan Marsh

                    #24
                    Re: htm vs. php problem

                    On Tue, 19 Dec 2006 16:38:10 +0100, Michael Fesser wrote:
                    .oO(Ivan Marsh)
                    >
                    >>The only thing to tell them is that processing .htm files as anything
                    >>other than HTML files is simply not right.
                    >
                    Having .htm(l), .php and maybe even more extensions in the URLs on the
                    same site is not right either.
                    What other purpose do file extensions serve other than to identify the
                    content of the file and how it should be processed?

                    Comment

                    • John Dunlop

                      #25
                      Re: htm vs. php problem

                      Ivan Marsh:
                      What other purpose do file extensions serve other than to identify the
                      content of the file and how it should be processed?
                      That may be two purposes of filename extensions, but what does
                      _that_ have to do with what you tack on the end of URL paths?

                      --
                      Jock

                      Comment

                      • Ivan Marsh

                        #26
                        Re: htm vs. php problem

                        On Tue, 19 Dec 2006 08:50:15 -0800, John Dunlop wrote:
                        Ivan Marsh:
                        >
                        >What other purpose do file extensions serve other than to identify the
                        >content of the file and how it should be processed?
                        >
                        That may be two purposes of filename extensions, but what does
                        _that_ have to do with what you tack on the end of URL paths?
                        Not a thing... but what does that have to do with the subject of the
                        thread?

                        Comment

                        • Petr Vileta

                          #27
                          Re: htm vs. php problem

                          "Ivan Marsh" <annoyed@you.no wpíse v diskusním príspevku
                          news:pan.2006.1 2.19.16.44.19.5 95637@you.now.. .
                          On Tue, 19 Dec 2006 16:38:10 +0100, Michael Fesser wrote:
                          >
                          >.oO(Ivan Marsh)
                          >>
                          >>>The only thing to tell them is that processing .htm files as anything
                          >>>other than HTML files is simply not right.
                          >>
                          >Having .htm(l), .php and maybe even more extensions in the URLs on the
                          >same site is not right either.
                          >
                          What other purpose do file extensions serve other than to identify the
                          content of the file and how it should be processed?
                          Htm/htmll should be used for static pages and php for dynamic but one reason
                          exist for using html extension for dynamic page. Name of this reason is
                          Google :-) Though it is strange the Google robots visit htm/html pages
                          frequently then php. This is one of many SEO practices how to mystify Google
                          and other lookup servers.
                          --

                          Petr Vileta, Czech republic
                          (My server rejects all messages from Yahoo and Hotmail. Send me your mail
                          from another non-spammer site please.)


                          Comment

                          • Jerry Stuckle

                            #28
                            Re: htm vs. php problem

                            Petr Vileta wrote:
                            "Ivan Marsh" <annoyed@you.no wpíse v diskusním príspevku
                            news:pan.2006.1 2.19.16.44.19.5 95637@you.now.. .
                            >
                            >On Tue, 19 Dec 2006 16:38:10 +0100, Michael Fesser wrote:
                            >>
                            >>.oO(Ivan Marsh)
                            >>>
                            >>>The only thing to tell them is that processing .htm files as anything
                            >>>other than HTML files is simply not right.
                            >>>
                            >>>
                            >>Having .htm(l), .php and maybe even more extensions in the URLs on the
                            >>same site is not right either.
                            >>
                            >>
                            >What other purpose do file extensions serve other than to identify the
                            >content of the file and how it should be processed?
                            >
                            Htm/htmll should be used for static pages and php for dynamic but one
                            reason exist for using html extension for dynamic page. Name of this
                            reason is Google :-) Though it is strange the Google robots visit
                            htm/html pages frequently then php. This is one of many SEO practices
                            how to mystify Google and other lookup servers.
                            Not in my experience. I've seen Google visit both of them. IMHO it
                            more depends on the number of incoming links than the file extension.

                            --
                            =============== ===
                            Remove the "x" from my email address
                            Jerry Stuckle
                            JDS Computer Training Corp.
                            jstucklex@attgl obal.net
                            =============== ===

                            Comment

                            • Toby Inkster

                              #29
                              Re: htm vs. php problem

                              Jerry Stuckle wrote:
                              Not in my experience. I've seen Google visit both of them. IMHO it
                              more depends on the number of incoming links than the file extension.
                              Not replying specifically to you Jerry, but to the whole thread... many of
                              its participants could benefit from reading:

                              Hypertext Style: Cool URIs Don't Change
                              http://www.w3.org/Provider/Style/URI

                              It's an old article (1998, with a few more recent updates) but still
                              relevant today. See especially the heading "What to leave out" which
                              suggests not including any "extension" . (The word "extension" doesn't
                              have any real meaning in a URI context -- it's a Microsoft Windows
                              concept.) This makes sense because it may well be that a particlar
                              page begins in one format, but eventually becomes another format.

                              Consider, for example, a voluntary organisation that runs a lot of
                              local events. They've been a bit slow to keep up with modern technology,
                              so although they do have a small website, they mainly publish their
                              listing of upcoming events as a paper copy. A volunteer regularly
                              scans in a copy of this event listing, saves it as a JPEG and uploads
                              it to their website. Thankfully, their website is being hosted by
                              someone clueful who has set up content negotiation, so instead of
                              the URL being this:



                              It's this:



                              Eventually, they realise that the online event listing is becoming
                              more popular than the printed version, so they decide to turn the online
                              listing into an HTML page, so it can be updated as soon as a new event
                              has been organised, rather than waiting for the next print run. The URL
                              isn't:



                              It's this:



                              A small but successful online presence has helped Toenail Aid to become
                              the nation's largest ingrowing toenail support and advice organisation,
                              and they recieve a government grant to help them reach more sufferers.
                              They decide to spend part of this money hiring a developer to revamp their
                              website. He suggests that as the event listing has become huge and
                              unwieldly, they should ditch the battered copy of Frontplague Express that
                              they've been using to update it, and replace it with a database-backed
                              system, allowing event organisers all over the country to update their own
                              set of events, and for visitors to be able to search the website by
                              postcode and event type. The URL isn't



                              It's this:



                              --
                              Toby A Inkster BSc (Hons) ARCS
                              Contact Me ~ http://tobyinkster.co.uk/contact

                              Comment

                              • John Dunlop

                                #30
                                Re: htm vs. php problem

                                Ivan Marsh:
                                Not a thing... but what does that have to do with the subject of the
                                thread?
                                What is "the subject of the thread"?

                                --
                                Jock

                                Comment

                                Working...