Posts Tagged ‘php

PHP 6

Posted in Technicalon Mar 14, 2006

I’ve been spending a lot of time recently writing some web applications in the PHP language. I have been writing my application in PHP 5 because I really like its ability to support object-oriented programming.

I recently read a very good post at jero.net which talks about what I might be able to expect from PHP version 6. A lot of it seems exciting, but not exciting enough.

PHP is such an easy language to pick up that many PHP programmers don’t spend enough time picking up good habits, and end up writing bad code. From what I’ve been able to gather from Jero’s comments, PHP 6 will help developers loose at least a few of some old bad habits. This is a welcomed change.

I think PHP 6 should increase its object-oriented programming model. It would be nice to have return type hinting, and to be able to do parameter type hinting with primitive types.

Also, I would like to see object-oriented programming methods used with some of the core PHP functions. For example, it would be nice if some functions threw exceptions instead of errors or warnings. I think catching an exception is a lot better than trying to deal with the “@” operator and dealing with various errors.

PHP 5 is being slow to catch on. I think that is mostly because Linux distributions have been slow to include PHP 5 and many server environments are even slower to upgrade their systems from something that has been working and tested. If I remember right, PHP 4 was also slow to catch on. If PHP 6 comes out soon, I think we will see many people make a slow, eventual switch from version 4 directly to version 6. If PHP 6 comes out later rather than sooner, I think we will see at that point that most people have made a switch to version 5, and we will again see a very slow adoption period for the latest version.

Things that make me happy

Posted in Lifeon Nov 26, 2005

  • Ice cream
  • Pumpkin Pie
  • Photos
  • My hanging plant Dilbert
  • Sweaters
  • Beanies
  • Google
  • My fun job at the BYU Chemistry Department
  • Cuddling
  • Toblerone chocolate
  • Victory cake
  • Chocolate chip cookies
  • homemake frosting on victory cake
  • Getting messages on my phone
  • Writing in my blog
  • My car, even though it makes noise
  • Friends named Sara with red hair (there is more than one actually)
  • Friends without red hair
  • The Facebook
  • Ham Radio
  • Costco
  • Shopping at Macey’s
  • Stargate
  • Watching movies in the basement
  • Jiffy blueberry muffin mix
  • Hugs
  • Playing bzFlag (and winning)
  • Risk
  • Coloring with crayons
  • butterscotch chips
  • Oregon
  • Yellowstone National Park
  • My Apple iBook
  • Sleeping
  • Fresh drinking water
  • Hot chocolate
  • Happy people
  • Mount Hood
  • The echoing circles in front of the JFSB
  • Astronomy
  • Science
  • Star Wars
  • The Book of Mormon
  • Love
  • Poetry and other writings
  • Families
  • People being nice to each other when they don’t have to be
  • The Princess Bride
  • The Temple
  • My bike
  • Playing croquet late at night in my backyard back home
  • Waffle parties
  • Free music from iTunes
  • Getting mail in the mail that isn’t a bill or credit card application
  • Taking hot showers
  • People who aren’t drunk
  • Transylvania
  • Mozilla Firefox
  • Linux
  • Knight Rider
  • A well decorated apartment
  • Going out to restaurants
  • Dancing
  • Hillsboro
  • No sales tax
  • Otter Pops
  • PHP

Why PHP?

Posted in Technicalon May 14, 2005

A lot of departments are using coldfusion for its web site developement. I’ve seen just a little bit of coldfusion code, and I’m impressed on how remarkably simple it looks. I can understand why its such an appealing platform for many departments across BYU. However, as long as I am webmaster, we will continue to use PHP for our primary website developement for a couple of reasons I think are really good. Read the rest of this entry »

Suggestion for PEAR

Posted in Technicalon Mar 16, 2005

I just have a short suggestion for PEAR, the PHP Extension and Application Repository. PHP version 5 includes the capability to have interfaces, which are like a definition or description for classes which implement the interface. PEAR should provide a bunch of interfaces for various things, such as database interfaces, authentication schemes, user managment systems, etc. Read the rest of this entry »

Driving Around

Posted in Bloggingon Jan 18, 2005

Well, here is my first blog entry from my car! I tried to attend a Utah PHP Usergroup meeting tonight, but I couldn’t find the place for a while, even though it was right where it was suppose to be. By the time I found it, the presentation was already half over and I decided to just go home. But I found that I could get a wifi connection from the parking lot, so I decided to blog before heading back.


Categories