Archive for April, 2008

Wasn’t sure what I was expecting, but this isn’t it… whew

The book above arrived at my apartment via Amazon the middle of last week. I made the decision to learn stored procedures as a way to expand my skill base and hopefully reduce some of the load we place on our SQL server at IDX by writing more efficient queries. I was expecting a book that was a couple hundred pages long describing some method of chaining statements or doing caching or… I don’t really know. What I got was a 600 page book that describes a fully realized ANSI standard coding language that loosely resembles Pascal.

My surprise does not equate to disappointment. The new possibilities that stored procedures open up to me are huge and I’m eager to explore them. I started using MySQL back when it was somewhere in its version 3 life span. Back then all I was after was something easier to work with than files for storing data. I had just recently started coding in PHP and was frustrated by how much more difficult it was to work with files in PHP 3 than it was in Perl 5. It’s only been in the last 18 months that I’ve really gotten in to MySQL and all it has to offer. As such I didn’t really know much of anything about procedures despite the fact that other DB systems have had them for years.

As it turns out there are actually 3 types of programs that make up MySQL procedures. The first it the “procedure” which is a full procedural program including control statements and loops. The second type is the “function” which, once written, can be used in any SQL statement to increase mysql’s functionality. The third type is the trigger which is code that will automatically fire when every a specific event occurs.

If you have any interest in learning procedures I’d recommend it. The time spent learning will be valuable. I am coming to realize that SQL is the most interesting part of application development for me. Relational databases are more powerful than I imagined back when I first started using them. Good SQL is the key to robust applications.


By Bishma in Code Talk, Geek Life  .::. Read Comment (1)

Want a job? Learn PHP.

It never ceases to surprise me just how hard it is to find decent PHP developers in Eugene, Or. I never intended to make a career out of PHP, I learned the language on a whim because I was tired of having to treat all my scripts as CGI as must be done with Perl on the web. Now I not only code PHP for a living but I spend part of my time looking for people with PHP skills.

My company is looking to fill 2 positions, Palo Alto has at least one open, EngineWorks recently moved to Portland in part for a better employee base, and I know at least one other company is looking too. I never would have thought that PHP would be the big in demand skill I would have. Glad I have that biology degree to fall back on.


By Bishma in Personal, Work  .::. Read Comment (1)

A bit outside my purview

Ok, this has nothing to do with coding, but sometimes I need to post in order to satisfy the music nerd in me. With that said, check out the horn section in this video of Thet Might Be Giants on Conan last week.

2 baritone saxophones and a bass saxophone. *Glee*


By Bishma in Geek Life  .::. Read Comments (3)

A little less perfect

I turned 29 today. While that’s all well and good and impossible to stop no matter how wibbly wobbly time is, it’s just not perfect. 28 is a perfect number. The last perfect number achievable, in terms of age, in the human life span. 29 is prime, but it is just not the same.


By Bishma in Geek Life, Personal  .::. Read Comments (2)


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.