My Photos

www.flickr.com
This is a Flickr badge showing public photos and videos from coogle. Make your own badge here.

Quicksearch

When I thought I wanted to be a graphics guy...

Monday, September 27. 2004

Once upon a time, I dabbled here and there in graphics. I wasn't ever very good I think, and unfortunately the vast majority of my graphics work was lost over time. Fortunately, thanks to the Wayback Machine, I was able to retrieve one of my works that used to be on this domain before I actually set up a site for it -- circa 2000 maybe...

Here's a thumbnail (click it to open a new window with it):





I should probably just stick to web developing instead of designing.
Bookmark When I thought I wanted to be a graphics guy...  at del.icio.us Digg When I thought I wanted to be a graphics guy... Bloglines When I thought I wanted to be a graphics guy... Technorati When I thought I wanted to be a graphics guy... Fark this: When I thought I wanted to be a graphics guy... Bookmark When I thought I wanted to be a graphics guy...  at YahooMyWeb Bookmark When I thought I wanted to be a graphics guy...  at Furl.net Bookmark When I thought I wanted to be a graphics guy...  at reddit.com Bookmark When I thought I wanted to be a graphics guy...  at blinklist.com Bookmark When I thought I wanted to be a graphics guy...  at Spurl.net Bookmark When I thought I wanted to be a graphics guy...  at NewsVine Bookmark When I thought I wanted to be a graphics guy...  at Simpy.com Bookmark When I thought I wanted to be a graphics guy...  at blogmarks Bookmark When I thought I wanted to be a graphics guy...  with wists Bookmark When I thought I wanted to be a graphics guy...  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

What a Great Conference

Friday, September 24. 2004

Well, today wraps up the php|works conference here in Toronto, Canada! It was a great conference -- I hope everyone who attended had a great time! I feel like my talks went great -- for those of you who are interested my materials are available in my earlier blog posts here and here.

I leave for my flight tomarrow -- looking forward to getting back to NYC!


Bookmark What a Great Conference  at del.icio.us Digg What a Great Conference Bloglines What a Great Conference Technorati What a Great Conference Fark this: What a Great Conference Bookmark What a Great Conference  at YahooMyWeb Bookmark What a Great Conference  at Furl.net Bookmark What a Great Conference  at reddit.com Bookmark What a Great Conference  at blinklist.com Bookmark What a Great Conference  at Spurl.net Bookmark What a Great Conference  at NewsVine Bookmark What a Great Conference  at Simpy.com Bookmark What a Great Conference  at blogmarks Bookmark What a Great Conference  with wists Bookmark What a Great Conference  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

OO Programming in PHP 5

Thursday, September 23. 2004

As promised, I have put my OO Programming in PHP 5 materials online. You can find the slides used during the presentation in my Talks Section of the web site and the actual code examples used throughout the slides right here.

I hope everyone enjoyed the talk!



Bookmark OO Programming in PHP 5  at del.icio.us Digg OO Programming in PHP 5 Bloglines OO Programming in PHP 5 Technorati OO Programming in PHP 5 Fark this: OO Programming in PHP 5 Bookmark OO Programming in PHP 5  at YahooMyWeb Bookmark OO Programming in PHP 5  at Furl.net Bookmark OO Programming in PHP 5  at reddit.com Bookmark OO Programming in PHP 5  at blinklist.com Bookmark OO Programming in PHP 5  at Spurl.net Bookmark OO Programming in PHP 5  at NewsVine Bookmark OO Programming in PHP 5  at Simpy.com Bookmark OO Programming in PHP 5  at blogmarks Bookmark OO Programming in PHP 5  with wists Bookmark OO Programming in PHP 5  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

Smarty Materials

Wednesday, September 22. 2004

Well, I just got done giving my first talk of the php|works conference here in Toronto, Canada. I had a good showing, some great questions, and even managed to end on time for once! :)

For those of you who are interested I have put all of the code examples (along with the latest release of IntSmarty) online. You can download them all right here. I hope everyone enjoyed the talk, I had a good time giving it!

Tomorrow, I'll be giving a talk on Object Oriented Programming in PHP 5. If you're here at the conference, stop by!



Bookmark Smarty Materials  at del.icio.us Digg Smarty Materials Bloglines Smarty Materials Technorati Smarty Materials Fark this: Smarty Materials Bookmark Smarty Materials  at YahooMyWeb Bookmark Smarty Materials  at Furl.net Bookmark Smarty Materials  at reddit.com Bookmark Smarty Materials  at blinklist.com Bookmark Smarty Materials  at Spurl.net Bookmark Smarty Materials  at NewsVine Bookmark Smarty Materials  at Simpy.com Bookmark Smarty Materials  at blogmarks Bookmark Smarty Materials  with wists Bookmark Smarty Materials  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

Off to php|works

Tuesday, September 21. 2004

Well today I'm leaving for php|works to give two talks at my last conference of the year. I'll be giving a talk on Smarty (including my IntSmarty extension) as well as doing OOP using PHP 5. I'm really looking forward to going to Toronto for the rest of the week -- see good friends, get some coding done, maybe even learn a thing or two!

If you are in the Toronto Area, I really suggest you stop by php|works! It looks like it'll be a great conference.
Bookmark Off to php|works  at del.icio.us Digg Off to php|works Bloglines Off to php|works Technorati Off to php|works Fark this: Off to php|works Bookmark Off to php|works  at YahooMyWeb Bookmark Off to php|works  at Furl.net Bookmark Off to php|works  at reddit.com Bookmark Off to php|works  at blinklist.com Bookmark Off to php|works  at Spurl.net Bookmark Off to php|works  at NewsVine Bookmark Off to php|works  at Simpy.com Bookmark Off to php|works  at blogmarks Bookmark Off to php|works  with wists Bookmark Off to php|works  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

IntSmarty 0.9 released

Monday, September 20. 2004

Today I released IntSmarty version 0.9. This is a minor bugfix release that had some little things that fell through the cracks from the 0.8 release. You can download this release at the IntSmarty Project Page on the site.
Bookmark IntSmarty 0.9 released  at del.icio.us Digg IntSmarty 0.9 released Bloglines IntSmarty 0.9 released Technorati IntSmarty 0.9 released Fark this: IntSmarty 0.9 released Bookmark IntSmarty 0.9 released  at YahooMyWeb Bookmark IntSmarty 0.9 released  at Furl.net Bookmark IntSmarty 0.9 released  at reddit.com Bookmark IntSmarty 0.9 released  at blinklist.com Bookmark IntSmarty 0.9 released  at Spurl.net Bookmark IntSmarty 0.9 released  at NewsVine Bookmark IntSmarty 0.9 released  at Simpy.com Bookmark IntSmarty 0.9 released  at blogmarks Bookmark IntSmarty 0.9 released  with wists Bookmark IntSmarty 0.9 released  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

DBStreams: A Brain Fart

Thursday, September 16. 2004

So I was sitting on the train on the way to work this morning and it I had a brain fart. Everyone has been interested in database abstraction for a long time. There are many great products out there which do this such as PEAR DB or ADODB but all of them seem to fall short of expectations. The problem with all of them is that, unfortunately, it's really hard to write SQL which is universal enough that you can just swap out a database and have it Just Work (tm).

As I was thinking of the situation, there are lots of problems you need to overcome. The first of which is of course incompatibilites in SQL between the packages... Then, assuming you do that, you also have to overcome the differing datatypes between packages as well. What if we applied the same sorts of concepts in many file stream architectures to a database? We'd have something like this:


DBStreams sample Architecture


The idea here basically is that you abstract both SQL and data by abstracting the reading and writing of data into a simple API.. Let's say you have a table foo which has three columns A,B, and C.

A - boolean
B - date
C - String

Using this idea, what you would do is have some sort of facilities for reading and writing from a particular table. To write to the table you would do something like:

$db->foo->write(true, "August 21th, 2004", "This is a string.");

Obviously these values on face value are very unlikely to work just inserting them into a query. But they can be filtered fairly easily into something that would... Let's assume the database we are working with doesn't have a boolean type (we have to use an enum) and only accepts timestamps for dates... basically we would have to do the following type of filtering:

true -> 'T'
"August 21th, 2004" -> strtotime
"This is a string." -> 'This is a string.'

Although these examples are only one level of transformation, I'm sure there are plenty of examples which require multiple transformation operations to convert into an acceptable representation of the data... So why not implement the write functionality as a stream, where you can link individual single-purpose filters together which convert an input type of one format into an input type of another? You could then chain filters together to get from a database-specific type to a generic representation, transmit that representation to the server process and then let the sever process actually write the data to the database by applying a number of filters along the way. This would allow you to create easy to understand table structures which were put in terms of the filtering that needed to be done on each individual column:


$tables['foo'] = array('write' => array('A' => array('booleanToGeneric'),
'B' => array('stringDateToTimeStamp', 'timeStampToGeneric'),
'C' => array('stringToGeneric')),
'read' => array('A' => array('EnumToBoolean'),
array('TimeStamptoStringTime'),
array('StringToString')));

It seems a little complex I know, but I think its an interesting concept none the less, I'd love to hear feedback on it and see what people think. The cool thing in my eyes is that as long as its properly architected from the start implementation is fairly easy on the eyes... You implement the architecture, then you can add individual special-purpose filters to do the "real" work for you quickly and easily. I also think that with a generic representation of the data and the same sort of plugin-filter concept you can create SQL queries which even do database-specific things in the way databases were designed to do it best without the developer ever having to even know how it works.

So what do you think? Is it really a brain-fart or is there something more interesting to the concept?










Bookmark DBStreams: A Brain Fart  at del.icio.us Digg DBStreams: A Brain Fart Bloglines DBStreams: A Brain Fart Technorati DBStreams: A Brain Fart Fark this: DBStreams: A Brain Fart Bookmark DBStreams: A Brain Fart  at YahooMyWeb Bookmark DBStreams: A Brain Fart  at Furl.net Bookmark DBStreams: A Brain Fart  at reddit.com Bookmark DBStreams: A Brain Fart  at blinklist.com Bookmark DBStreams: A Brain Fart  at Spurl.net Bookmark DBStreams: A Brain Fart  at NewsVine Bookmark DBStreams: A Brain Fart  at Simpy.com Bookmark DBStreams: A Brain Fart  at blogmarks Bookmark DBStreams: A Brain Fart  with wists Bookmark DBStreams: A Brain Fart  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

Congratulations!!

Monday, September 13. 2004

I hear that <George and Pei< are the proud parents of a new baby boy! Congrats George! Send my warm regards to Pei -- and welcome to the club :-)
Bookmark Congratulations!!  at del.icio.us Digg Congratulations!! Bloglines Congratulations!! Technorati Congratulations!! Fark this: Congratulations!! Bookmark Congratulations!!  at YahooMyWeb Bookmark Congratulations!!  at Furl.net Bookmark Congratulations!!  at reddit.com Bookmark Congratulations!!  at blinklist.com Bookmark Congratulations!!  at Spurl.net Bookmark Congratulations!!  at NewsVine Bookmark Congratulations!!  at Simpy.com Bookmark Congratulations!!  at blogmarks Bookmark Congratulations!!  with wists Bookmark Congratulations!!  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

Treos are cool

Thursday, September 9. 2004

So I was talking to a fellow geek on the way to work, and since I know he also has a Treo asked him if he would mind beaming it to me. Unfortunately it was locked, but he said when we got on the train we'd use the cable. We did, it installed, but wouldn't work until it hardline sync'd with the Vindingo server. That was a problem, since we were on a train without Internet. But were we? Of course not, we had another Treo! So we hooked his Treo in, got online with it and sync'd mine over IR.

Treos and Smartphones are the wave of the future. Someday it will be an all to common problem of your phone running Windows CE to blue screen during an important call! :-) I love my Treo....thankfully it runs Palm OS.
Bookmark Treos are cool  at del.icio.us Digg Treos are cool Bloglines Treos are cool Technorati Treos are cool Fark this: Treos are cool Bookmark Treos are cool  at YahooMyWeb Bookmark Treos are cool  at Furl.net Bookmark Treos are cool  at reddit.com Bookmark Treos are cool  at blinklist.com Bookmark Treos are cool  at Spurl.net Bookmark Treos are cool  at NewsVine Bookmark Treos are cool  at Simpy.com Bookmark Treos are cool  at blogmarks Bookmark Treos are cool  with wists Bookmark Treos are cool  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

MySQL Com Con Europe 2004

Wednesday, September 8. 2004

Although it's a mouthful, the MySQL Com Con is getting ready to roll out the door in Frankfurt, Germany November 8th through the 10th. This is going to be a crazy good conference for those of you who use both PHP and MySQL (that would be like, 10 readers right? ;)). Well if you happen to actually code in PHP or use MySQL, the MySQL Com Con is being held concurrently with the International PHP conference. . That's right, for a single plane/train/parking ticket you can meet, greet and learn with the best of the best from both the MySQL and PHP communities!

What are you waiting for? Go book your spot right now!
Bookmark MySQL Com Con Europe 2004  at del.icio.us Digg MySQL Com Con Europe 2004 Bloglines MySQL Com Con Europe 2004 Technorati MySQL Com Con Europe 2004 Fark this: MySQL Com Con Europe 2004 Bookmark MySQL Com Con Europe 2004  at YahooMyWeb Bookmark MySQL Com Con Europe 2004  at Furl.net Bookmark MySQL Com Con Europe 2004  at reddit.com Bookmark MySQL Com Con Europe 2004  at blinklist.com Bookmark MySQL Com Con Europe 2004  at Spurl.net Bookmark MySQL Com Con Europe 2004  at NewsVine Bookmark MySQL Com Con Europe 2004  at Simpy.com Bookmark MySQL Com Con Europe 2004  at blogmarks Bookmark MySQL Com Con Europe 2004  with wists Bookmark MySQL Com Con Europe 2004  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

Social networks

Tuesday, September 7. 2004

Today on my way to work I was catching up a bit on my news and read Sterling's entry sharing his thoughts on social networking. I think he over did it a bit on his analysis, but he is dead on to question the real feasibility of the concept.

I've been listening and reading about social networks for awhile now but I still don't see how or why I really care. As it stands now Orkut is pretty much a B.S. Popularity contest which generates fairly little utility for me. In fact, the only time its been useful at all is when I wanted to contact someone who I knew was friends with so and so.... But that really isn't social networking is it? Seems like a fancy contact list to me..

My point here is that the current social networking tools are features attempting to be products. I don't care what my social network looks like, and I don't want e-mail from some friend of a friend whom I've never ever heard of before. Maybe that is naive of me, but I just don't think you can abstract people and relationships out of the equation to the point where I'll accept an e-mail from someone I've never met and put anywhere near the same weight on that e-mail had I at least had a beer with them before. Nor do I think having to maintain some sort of profile where you can find what movies I like to watch interesting either. Honestly do you either?

Despite my problems with the modern technology behind what we call "social networks", I think in the future the real power of technology in our social environment will show itself as our cell phones abilities increase. If every cell phone had a GPS when I am wandering around NYC I could see My friend Kip was at the bar just down the street having a beer with Adam and stop by. *Now, that's useful.* I don't think social Networks will ever be a tool to meet new people effectively, but I am sure they will be great for nuturing existing relationships into something more substaintial.

Bookmark Social networks  at del.icio.us Digg Social networks Bloglines Social networks Technorati Social networks Fark this: Social networks Bookmark Social networks  at YahooMyWeb Bookmark Social networks  at Furl.net Bookmark Social networks  at reddit.com Bookmark Social networks  at blinklist.com Bookmark Social networks  at Spurl.net Bookmark Social networks  at NewsVine Bookmark Social networks  at Simpy.com Bookmark Social networks  at blogmarks Bookmark Social networks  with wists Bookmark Social networks  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

Notice a Speed increase?

Saturday, September 4. 2004

Notice a speed increase? That's the Zend Performance Suite I installed. Many thanks to Zend for the donation, and I must say I am very impressed with it! The admin interface is great, and I immediately noticed a drastic difference in the speed of my pages. There are a lot of great open source applications out there which do a lot of the same things as ZPS, but after using the real deal I've got to say Zend's product actually earns the money they want for it.

On a side note, in order to install ZPS I had to downgrade to an actual stable release of PHP (5.0.1 instead of 5.1-dev). If you notice anything broken let me know.
Bookmark Notice a Speed increase?  at del.icio.us Digg Notice a Speed increase? Bloglines Notice a Speed increase? Technorati Notice a Speed increase? Fark this: Notice a Speed increase? Bookmark Notice a Speed increase?  at YahooMyWeb Bookmark Notice a Speed increase?  at Furl.net Bookmark Notice a Speed increase?  at reddit.com Bookmark Notice a Speed increase?  at blinklist.com Bookmark Notice a Speed increase?  at Spurl.net Bookmark Notice a Speed increase?  at NewsVine Bookmark Notice a Speed increase?  at Simpy.com Bookmark Notice a Speed increase?  at blogmarks Bookmark Notice a Speed increase?  with wists Bookmark Notice a Speed increase?  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!

Pages for OSS projects now actually exist!

Saturday, September 4. 2004

Well I finally got around to putting of the pages for the open source projects I'm the caretaker of. You can now download things like IntSmarty, BLENC, and Tidy.

As time goes on I'll try to add more content to all of these as well. Unfortunately there is no documentation for the IntSmarty project besides what appeared in the April, 2004 issue of php|architect. If you would like to write some documentation for it, I would be more than happy to put it online but right now other projects are taking priority.
Bookmark Pages for OSS projects now actually exist!  at del.icio.us Digg Pages for OSS projects now actually exist! Bloglines Pages for OSS projects now actually exist! Technorati Pages for OSS projects now actually exist! Fark this: Pages for OSS projects now actually exist! Bookmark Pages for OSS projects now actually exist!  at YahooMyWeb Bookmark Pages for OSS projects now actually exist!  at Furl.net Bookmark Pages for OSS projects now actually exist!  at reddit.com Bookmark Pages for OSS projects now actually exist!  at blinklist.com Bookmark Pages for OSS projects now actually exist!  at Spurl.net Bookmark Pages for OSS projects now actually exist!  at NewsVine Bookmark Pages for OSS projects now actually exist!  at Simpy.com Bookmark Pages for OSS projects now actually exist!  at blogmarks Bookmark Pages for OSS projects now actually exist!  with wists Bookmark Pages for OSS projects now actually exist!  at Ma.gnolia.com wong it! Bookmark using any bookmark manager!