I’ve lost count of the number of times I’ve created a blog and started off posting stuff to it, only to get slack and let the thing fester for months and, inevitably, deleted it. This particular time I’ve got a decent reason that I think will help me keep the thing going. I’ve been working on a project – some might call it a framework – to make building web applications in PHP a little more tolerable. I’ve built half-assed frameworks before for the guts of various web sites, but I seem to have a bad habit of falling into a deep dark state of despair with my code. It’s like I work through the Gee, this is fun and new and interesting! phase and too quickly get to the Lord, this wasn’t such a good idea, when will this be over? phase…and I make that transition before the project gets any where near being complete.

So I decided to try starting from scratch. Here’s what I wanted to accomplish:

  • Very close proximity to HTTP. I hesitate say RESTful because that’s a pretty high benchmark, but that’s sort of the idea. 
  • Implicit support for clean URLs. Heck, make them required.
  • Built-in, pure PHP templating. I want to reap all the benefits of APC without having to compile my own made-up template language to PHP.
  • Barebones. My overall goal is just finding a decent way to organize all the code, so I’m ignoring things like I18N, PHP4 compatability, and support for shared hosting environments.

I’ve got some basic code working, but I’m not really pleased with all of it so it’s very much experimental.  I’ll try to relate my thought process in as logical a manner as I can muster over the next few days in an attempt to explain the thing.

Trackback

2 comments untill now

  1. Are you sure you really want to do this to yourself?

  2. What, explain things to Wess? It’s risky business, I know.

Add your comment now

You must be logged in to post a comment.