spudly.shuoink.com

the best way to predict the future is to implement it

Entries Comments


Month: February, 2008

Using the XML DOM Without Writing 15,0000 Lines of Code

20 February, 2008 (22:17) | JavaScript | 9 comments

I’m a pretty big fan of using the XML DOM rather than innerHTML, simply because it seems to me to be better programming style. I hate hate hate, however, that it takes 15 lines of code to create one node. Today, I came up with an idea to solve the problem. I created a wrapper [...]

PHP Error Log Parser

17 February, 2008 (08:15) | PHP | 4 comments

So about a month ago I got pretty tired of looking at this:
[17-Feb-2008 07:33:52] PHP Parse error: syntax error, unexpected T_FUNCTION, expecting ‘(’ in C:\www\forms\validate.php on line 10
[17-Feb-2008 07:33:54] PHP Parse error: syntax error, unexpected T_FUNCTION, expecting ‘(’ in C:\www\forms\validate.php on line 10
[17-Feb-2008 07:34:08] PHP Fatal error: Call to undefined function send_email() [...]

Steal These Buttons! - CSS Sprite Style

13 February, 2008 (20:58) | CSS | No comments

We’ve all seen these buttons floating around the internet. Every other website you see uses them, proclaiming their standard compliance. They’re called “steal these buttons” and there are a number of websites where you can download them.
Here’s my set, in the form of a CSS Sprite. In case you don’t know what that is, a [...]

PHP Template Engine

9 February, 2008 (09:05) | PHP | 3 comments

I’ve been looking for a good PHP template engine for quite a while now, but I haven’t been able to find one that I feel good about. In my bout of frustration, I made my own. Mine, however, is based on normal php tags, rather than creating my own new template language. Thus, you can [...]