Loading ...
Sorry, an error occurred while loading the content.

Re: [XP] Re: PHP allergic to XP

Expand Messages
  • Dagfinn Reiersøl
    I think you re very close to the mark here. The problem with PHP is not so much the language itself. (There are a few traps that lead to unimaginable ugliness,
    Message 1 of 7 , Dec 7, 2002
      I think you're very close to the mark here. The problem with PHP is not so
      much the language itself. (There are a few traps that lead to unimaginable
      ugliness, but you can learn to avoid them). But PHP lacks infrastructure,
      tools and most importantly a culture that is conducive to XP. On the other
      hand, that could change. The fact that PHPUnit was one of the earliest
      packages in PEAR (PHP Extension and Application Repository) indicates seems

      On Friday 06 December 2002 18:18, A. V. Linder wrote:
      > I am currently working on a project written in PHP, a document archive
      > for our customers. It's the second project I'm doing in PHP. While I
      > find that PHP is a nice little scripting language for stomping up
      > quick reports or simple forms, I find it increasingly difficult to use
      > in larger projects for various reasons:
      > -- the main reason is the lack of a good IDE. In Java, I work with
      > IntelliJ IDEA, and I see how much time and nerves that saves me in
      > direct comparison: variable and function renaming, intelligent code
      > completion, red warning markers where I have a typo or illegal syntax,
      > and much more. The best I have found is an HTML editor with syntax
      > coloring, and even that is not very good and fails at coloring
      > something like value="<?= $myvalue ?>" correctly.
      > -- I'm not very experienced at unit testing, and I find it harder with
      > PHPUnit than with JUnit. Perhaps if I was more fluent with TDD and
      > unit tests, I wouldn't mind.
      > -- Error handling: I really find this uncomfortable and often lacking
      > in PHP. I also had to experience that PHP silently swallowed DB
      > errors.
      > -- opportunities to improve my abilities: most of the examples to be
      > found on the web (or at least that I tend to find on the web) are
      > hackers' code. I've seen few code examples of elegant solutions that
      > served to improve my PHP skills. If anybody knows of a good site,
      > please point me to it! :)
      > With more experience, I could avoid some of the traps that caught me
      > in my first project, but I'd rather avoid doing a third project in
      > this language.
      > Anna Verena
      > --- In extremeprogramming@y..., "olivier_chirouze"
      > <olivier_chirouze@h...> wrote:
      > > I've experienced XP on a Java-based project and I thought it worked
      > well.
      > > Now I'm working alone on a free-time project coded in PHP.
      > > It might be my way of coding in PHP (I learned it myself so I might
      > have bad
      > > habbits... remember PHP is a "read only" language!), but I have
      > trouble with:
      > > - test-first: I seperate logic / gui the most I can, but still I
      > don't feel like it makes
      > > sense for me to use PHPUnit (REALLY time consuming).
      > > - refactoring: that's the main issue. Move a function or change a
      > class with a
      > > text editor and 50 files is keeling for me...
      > >
      > > I'm kind of thinking it's just the language/tools are not good
      > enought for XP.
      > > I read somewhere (Beck's book?) that XP "challenge" (the cost of
      > change)
      > > was possible thanks to new tools and languages.
      > >
      > > I feel like PHP is an example of a language where XP is not
      > applicable
      > > (though it doesn't mean there is any methodology that is!).
      > >
      > > What do you think?
      > >
      > > Olivier
      > To Post a message, send it to: extremeprogramming@...
      > To Unsubscribe, send a blank message to:
      > extremeprogramming-unsubscribe@...
      > ad-free courtesy of objectmentor.com
      > Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
    Your message has been successfully submitted and would be delivered to recipients shortly.