Category Archives: Webdesign

Everything webdesign related.

Paypal sandbox

1:48 am

Really cool idea but its hard to set up, really slow, has very little instruction. For a company that makes so much, they could get their developer tools working a bit better. after all, the sites the developers are making are only going to bring more money in and we need some method of testing!

Had my final year project demo today. It went well, i think. I managed to answer all the questions they asked, and there weren’t too many glaring bugs. A few things propped up that i need to work on, but on the whole i think my supervisor, and the marker, Goran, were impressed. They nodded and smiled a lot anyway.

Just got to finish the cod, and write that 14,000 word report now… Fun times.

If you want to have a look at Mwungo so far, feel free to play @ http://mwungo.kaisa.org.uk. There are no instructions really, i might delete any data you enter, it may cause your toaster to explode. I take no responsibility!

I spent hours yesterday trying to work out why a model in my uni project Mwungo, wasnt being updated correctly. Turns out it was a typo i had. Two of my database columns were named incorrectly. Very annoying. Part of the problem, in my opinion, is that the polymorphic associations rails has, which allow you to link up one model to many different models (for example, you can have an address model, and link that to a users model (users have many addresses), and also to a company model (companies have one address maybe)), dont seem to give an error if you misname the two fields you need to include for the relationship, the {relationshipname}_id and {relationshipname}_type fields. So when i was trying to create a new record, rails wasnt setting those values and the associated polymorphic model wasnt associated . Anyway. Glad i noticed reasonably early today. I guess i should report this as a bug now.

101 CSS techniques

Seems like CSS is the topic of the day for me.

CSS Framework.

11:59 am

CSS Framework

There are frameworks for everything nowadays, all intended to make code more maintainable and easy to write. I havnt seen a CSS framework before (not that i have looked) but it seems interesting.