back in the saddle again

March 24th, 2008, 7:54 pm by lig

It has been a really long time since I wrote anything - luckily the folks at phparchitect gave me just the push I needed to get back to my writing. Took me a while to get back in the hang of it again - but I did it - and even finished by my deadline (even if it was turned in a day late).

So if you feel the need to learn a bit more about foreign keys and what they can do for you the coder - be sure to check out my article on them at c7y

del.icio.us:back in the saddle again  digg:back in the saddle again  furl:back in the saddle again  reddit:back in the saddle again

BarCampOrlando

March 13th, 2008, 12:51 pm by lig

Just found out about the Orlando BarCamp from another member of the JaxPHP UG. I had no idea there was a BarCamp out this way.

It will be held on April 5 and 6 at Wall St Plaza. The 5th will be dedicated to Developers and the 6th to various media (film, photo, etc.). For more information on it be sure to check out their site - http://www.barcamporlando.org/ Registration is now open for any who want to go.

Unfortunately I will not be able to attend - niece will be participating in a gymnastics state championship that weekend in Tampa. Family comes before playing.

del.icio.us:BarCampOrlando  digg:BarCampOrlando  furl:BarCampOrlando  reddit:BarCampOrlando

Coolness

March 4th, 2008, 4:49 pm by lig

While talking with Dynom and Davey I learned something really cool today - how to get the declared definition of a column all by itself with MySQL (I used version 5.0.45). Yes there are lots of other ways to get the info - not the least of which is using the information_schema - but this just struck me as being way cool.

You can even use wildcards in the column name. From a different database (note you have to have the perms to access the alternate database):


DESCRIBE Db.table column;

Example from my test db:

mysql> describe lig_test.student guardianship;
+--------------+---------+------+-----+---------+-------+
| Field        | Type    | Null | Key | Default | Extra |
+--------------+---------+------+-----+---------+-------+
| guardianship | char(1) | NO   |     |         |       |
+--------------+---------+------+-----+---------+-------+
1 row in set (0.08 sec)

mysql> describe lig_test.student 'guard%';
+----------------+----------+------+-----+---------+-------+
| Field          | Type     | Null | Key | Default | Extra |
+----------------+----------+------+-----+---------+-------+
| guardian_photo | longblob | YES  |     | NULL    |       |
| guardianship   | char(1)  | NO   |     |         |       |
+----------------+----------+------+-----+---------+-------+
2 rows in set (0.01 sec)
del.icio.us:Coolness  digg:Coolness  furl:Coolness  reddit:Coolness

time flies

March 4th, 2008, 12:46 am by lig

I have recently been asked to do some coding in C - a language I haven’t looked at (never mind code in) in over 5 years. I don’t even remember how the heck to set up the environment anymore. Anyway - got me to thinking how much has happened since that time… so many things - large and small - have happened… Where does the time go?

del.icio.us:time flies  digg:time flies  furl:time flies  reddit:time flies