April 22, 2005
document.cookie = "selectedCategory=hardware";
If the visitor then navigates to the home page (http://foo.bar/) , scripts on that page will be unable to access the "selectedCategory" cookie. If a script then sets the cookie to "software", when the user navigates to the original page (http://foo.bar/path/), there will be two occurrences of the "selectedCategory" cookie in the document.cookies object and scripts will have no way of knowing which one is the correct one.
April 11, 2005
alter table, sort of
The good people over at SQLite and AOL have done it at last... almost. SQLite 3.2.1 now supports basic ALTER TABLE statements. You can now add columns and rename tables, all the while preserving existing data, indexes, and so forth.
There is still some work to be done, namely the ability to change and drop columns, as well as manipulate indexes, but this is a huge step in the right direction.
For those who cannot upgrade, or who need to do more than just add columns, there is still my PHP SQLite class for this purpose. You can use it to add, change, and drop columns, although manipulating indexes still hasn't been implemented. Whether SQLite or I get to that first is anybody's guess... if only I had some free time...
April 7, 2005
March 31 marked the launch of the brand-new, standards-based softwaremedia.com. I came on board as CTO back in November, and one of my main goals was to make sure best practices were followed in the creation and launch of the new web site.
In the end, we redid the site from the ground up with standards in mind. It still needs a little more work before I'm satisfied — validation isues and IE Mac — but it's almost there.
What we did:
The end result:
More business and lower overhead, something anyone can appreciate.
Which begs the question: Why are so many web design firms still stuck in 1998? Did they not get the memo? And more importantly, why are companies still hiring them?
standards-based : 90's-based :: mammals : dinosaurs
So where's that asteroid when you need it?