Weblog entry #129 for Steve

Site changes
Posted by Steve on Fri 15 Sep 2006 at 11:35
Tags:

Site changes improvements?

The scratchpad facility available to all users has now been updated such that you can keep your notes private, rather than having them be publically visible.

I've also started reorganizing the database tables to make them more sane.

Right now we have a main "users" table which has username, email, password, etc. Unfortunately it also contains things like "want to view adverts", "external CSS link" - things that really belong in a "preferences" table.

Even worse we don't use UIDs for users instead almost everything is keyed on a text username.

These are things I wish to fix.

It'll be a slow job, but most of the code is now nicely structed in an OO fashion so it should be possible to migrate things one field/table at a time.

Yesterdays change of the scratchpad was a good testing ground - I mananged to move all the text into a dedicated table without too much effort.

Times like this I wish my SQL-fu were stronger..

 

Comments on this Entry

Posted by muondude (206.117.xx.xx) on Sun 17 Sep 2006 at 17:46
[ Send Message | View muondude's Scratchpad | View Weblogs ]
Thank you.

This site is a great resource!
I find it very useful and have received many good suggestions.

:-)

-- Sam

[ Parent | Reply to this comment ]

Posted by Steve (62.30.xx.xx) on Wed 20 Sep 2006 at 09:35
[ Send Message | View Steve's Scratchpad | View Weblogs ]

Thanks :)

Steve

[ Parent | Reply to this comment ]