Gary Court

  • Home
  • About
  • Blog
  • Contact

Blog » Archives

Archive for January, 2006:

PHP OSGi Framework Concept

Posted on January 23rd, 2006 | Category: PHP

One of the things I’ve always wanted to write, ever since I started writing web backends, is a proper extendable (plugin) framework in PHP. I’ve spent a little time searching for something that would fit my needs, but surprisingly there are very few free, documented plugin frameworks available. Though, I know there are some PHP applications out there that have very good backends (my favorite so far is Gallery 2), but they haven’t released the backend as a standalone package that is documented for others to write their own programs.

A plugin framework is nothing new, as there have been many great minds who have worked on the subject, so I shouldn’t have to reinvent the wheel. I started my search with the well known Eclipse. After delving into the development docs, I found that Eclipse 3 is built on top of the OSGi framework and JPF. So, delving in further, I read the spec on the OSGi framework and, after much thought, I believe it is possible to implement this framework in PHP and, at the same time, break new ground in PHP development by adding features that have never been done before (in PHP).
Continue reading PHP OSGi Framework Concept »

-> Read More

6 Comments

AWStats on Debian

Posted on January 20th, 2006 | Category: Linux, Tutorial

I was looking for a good traffic analyzer for my website when I came across AWStats. It looked good compared to other log analyzers, so I decided to give it a try. I’m a fan of the Debian operating system, which I use on most of my servers. So, like any typical Debian user, I used the package management system (APT) to install AWStats. Normally the Debian packages are pretty good for doing everything automatically for you, but not so with the AWStats package - which required some setting up. For those wanting to go this route, this is how you get AWStats’ Debian package to work with Apache.
Continue reading AWStats on Debian »

-> Read More

7 Comments

Latest Gallery pictures in WordPress

Posted on January 16th, 2006 | Category: Web Development, PHP, WordPress

One of the things I wanted to do when integrating Gallery 2 into WordPress (using the WPG2 plugin) was to be able to see, on the main page, all the latest pictures posted in my gallery. The WPG2 plugin only supported displaying the last item added, and I could not find anyone else to have done this. So, I wrote up a quick hack to perform this function. It’s not pretty, but it does the job. Feel free to use it for your own site.
Continue reading Latest Gallery pictures in WordPress »

-> Read More

No Comments

Poplars

Posted on January 11th, 2006 | Category: Games, Windows

PoplarsPoplars is a turn-based strategy game that is traditionally played on a 6×5 board with two opponents. (You can, however, play on any sized board with up to four players optionally) It is a game for all ages that requires recursive thinking and good foresight. Poplars is a game of position and territory that requires pure skill (as are other games such as go, chess, and tic-tac-toe). The object of the game is to completely own every square that contains a Poplar without letting the opponent do the same.
Continue reading Poplars »

-> Read More

No Comments

Proper HTTP Content Negotiation in PHP

Posted on January 9th, 2006 | Category: PHP

Last summer, I was looking into a quick PHP script that does HTTP content negotiation for a small project I was working on. After searching around Google for several hours, I found several scripts that determined if a browser supported proper XHTML mime-types or not, but nothing for proper HTTP content negotiation. So I decided to write one.
Continue reading Proper HTTP Content Negotiation in PHP »

-> Read More

No Comments

Developing a Wordpress Theme

Posted on January 5th, 2006 | Category: Web Development, PHP, Tutorial, WordPress

I support web standards, which is why I chose WordPress as my CMS of choice. WordPress declares itself as a “state-of-the-art semantic personal publishing platform with a focus on aesthetics, web standards, and usability.” It’s also written in PHP, which is my programming language of choice when it comes to designing web applications. Overall, after having set up this website, I have found that WordPress (tries) to be W3C compliant in terms of XHTML and common web practices, and is also not that hard to customize. In this post, I will detail the steps that I took in creating a custom theme for WordPress.
Continue reading Developing a Wordpress Theme »

-> Read More

1 Comment

Navigation

  • January 2006
    S M T W T F S
    « Dec   Feb »
    1234567
    891011121314
    15161718192021
    22232425262728
    293031  
  • Categories

    • Games (1)
    • JavaScript (1)
    • Linux (4)
    • Personal (3)
    • PHP (4)
    • Tutorial (6)
    • Web Development (5)
    • Windows (2)
    • WordPress (3)
  • Archives

    • February 2007
    • May 2006
    • April 2006
    • February 2006
    • January 2006
    • December 2005
CourtNET

© 2005 Gary Court. All rights reserved. | Valid: XHTML CSS | XFN | Powered by WordPress & Gallery 2.