Archive for November, 2007

PHP Development

I hate php4

So I’ve been pounding my head against this stupid xml parse issue, and i’ve been forced to work in a php4 environment which is just retarded, but that is my life.


// This code will fail mysteriously on PHP4.
$this->parser = xml_parser_create();
xml_set_element_handler(
$this->parser,
array(&$this,"start_tag"),
array(&$this,"end_tag")
);
xml_set_character_data_handler(
$this->parser,
array(&$this,"tag_data")
);
?>


// This code will work on PHP4.
$this->parser = xml_parser_create();
xml_set_object($this->parser,&$this);
xml_set_element_handler(
$this->parser,
"start_tag",
"end_tag"
);
xml_set_character_data_handler(
$this->parser,
"tag_data"
);
?>

Indiscriminate Music, Vexed Daily

Pandora, online radio

I ran across this site today, as I was looking for some music to listen to at work. I was pretty impressed with how the site works, it appears to be in it’s infancy still, but has some potential for those who want to listen to music online.

I have not signed up yet, just using there on-site (no profile) version. Simply, you can build radio station themes, based on an artist you feed it. For example, I created a station called easy listening, it asked me for a song/band to start from; I entered “sister hazel”, it found a couple of songs playing online by them, seamlessly adds them to my list to be played and from that point starts to look for like music and ads it to my list.

Once signed in and profiled you have the ability to share your lists with friends and such.

It deserves a look, even if only to poke at it. The interface works pretty well.

http://www.pandora.com

Indiscriminate Music

Leaving On A Jet Plane

An interesting rendition of a classic “Denver” song, I know very little about the artist, so you get a fun fact about the original. If anyone has some info on this singer post it in comments, or don’t… either way.

‘Leaving on a Jet Plane’ is a song written by John Denver in 1967 during a layover at an airport in Washington and recorded by the Mitchell Trio that year. The original title of the song was ‘Oh Babe I Hate To Go’ but Denver’s then producer, Milt Okun, convinced him to change the title.

Ok,.. had to update it, Chantal Kreviazuk, so ya.. I beat the internet go me!  Hell, you even get a video and yes it starts with the Armegeddon clip.

PHP Development

vmFramework Next Gen

The last implementation in my Framework system was making ajax available to the framework. I have that completed and so far it seems to work pretty good. I have been trying to build a site with each implementation to the framework, the existing implementation with ajax will be used to power my SOAP cash advance site that is still in development (http://www.cashadvancelady.com).

The next piece I’d like to build for it and probably one of the final pieces is a template system; to mass produce a site with different looks and feels once the master is complete. My initial look at how I am going to do this seem pretty simple, but it will take a back burner until the SOAP site is complete.