Thursday, February 26, 2009

Cher stuck for words.


The lab had enough of her catchy music and lyrics and had to restrain her from further performances!

Sunday, February 22, 2009

Boggers and Bloggers

One of the best weekends away I have ever had. Damien Mulley, you are a legend !! Who would of thought that an event held in Cork (a place of which I had usually disliked in the past) would change my perspective. The Irish Blog Awards 2009 rocked!

To all the bloggers and friends and friends of friends of damien, I would like go give ya's a big thanks for making the night so much fun. You guys are awesome. Oh and Charles, get well soon. hahahahaa

ps. I still think the Cork accents are hilarious !!

Tuesday, February 3, 2009

college work update

WOOOOOOOOO !!!!!!!!!!!!! I PASSED MY EXAMS !!! And done a good job of it too :) Since the exams I have been working hard on the coding part of my assignment. I started by implementing my database design into MySQL and creating all the tables etc. MySQL was installed on my laptop and so was ApacheTomcat and then classpath to all the necessary directories was set up in the environment variables.

I started coding the project in servlets and that was going fine only that it was taking a while to get the pages to the screen. Because if this I looked into other ways I could do this and was then informed about jps. I picked up a few books from the library and went through tutorials online and now I am planning to use servlets and jsp. That way my web pages can be mostly done in jsp which should be a bit faster to develop and with the use of servlets I will be able to add more functionality.

During the coding of the jsp I needed to connect with the mySQL database that I had setup only to realise that the database is completely wrong and had to be redesigned correctly. This took some time and effort but now it is at a point where I am fully satisfied with it. Originally I was not able to create users and supervisor because of constraints that had been created due to the wrong implementation of relationships and attributes, but now this has been rectified.

So up to now the coding I have achieved is:


• database can be populated with users
• students and supervisor details can be inserted
• a functional sign in page with error checking
• access to database for users existence
• access and displays students details on a jsp
• jsp can see what type of user they are and direct them to either the studentPage or supervisorPage

I think that’s it up to now. The most frustrating part of it all was the database as it took a couple of days to finalise. Even trying to get a GUI to enable me to control the database tables etc was an annoyance as most of them failed to deliver a proper service. But I am now using SQLyog Enterprise which I am happy to say that I haven't had any problems with yet :D