Pretty Faces

I’ve used OcpSoft for my website mainly for search engine optimisation (SEO). When I generate my XML site map, it references “/about” rather than the specific JSP page. This means I can change my filenames without fear of broken links.

And it looks nice too. You might even go so far as to say it was erm pretty!

http://ocpsoft.com/prettyfaces/

Advertisements

An interface is blueprint/agreement with the rest of the world for how any object that implements it can communicate with the object it defines. Hope that makes sense. They contain the definition/format, but contain no business logic (see abstract classes). The interface can exist without any business logic even being built. Any class that implements the interface must also implement all methods declared.

List<Beer> graeme = new ArrayList<Beer>();

for (Beer beer : pub.getBeers()) {
graeme.add(beer);
}

I recently got asked do you know what a stored procedure is. Erm, it’s a SQL query that’s instantly executed and is therefore faster than adhoc queries. Yes, but why is it faster… Ooo, errr, most likely cached, coz someone once told me it was… not a very good answer at all.

Turns out they are fast for a number of reasons, the best one I found was validation. Other benefits include reduced network traffic and can help against SQL injection.

http://stackoverflow.com/questions/208976/are-stored-procedures-faster-for-simple-queries

OK, I finally got round to rooting my HTC Magic to Android 1.6.It took a while to find the correct steps, until I found “theunlockr” video .

A rough guide is :

1. Installed Android SDK

2. Installed Android Eclipse plug-in (for app development)

3. Installed Linda File Manager

4. Root your device – http://theunlockr.com/2009/08/29/how-to-root-the-htc-magic-in-one-click/ – based on your version of the magic version 32/34 or something.

5. Rebook into reboot/update menu, home+back.and clear your device data.

6. Get a new ROM from http://www.cyanogenmod.com/

7. Copying the update.zip on the sdcard reboot/update menu, home+back.

8. Power that baby up…

If I pass my PRINCE2 exams I plan to treat myself to the new Google Nexus One.

a) Lose 1st in weight

b) Stop being drawn into arguments

c) Become PRINCE2 qualified

Goodbye can come at anytime, but sometimes you just know.

It’s sad to say goodbye, but somestimes you just know.

Not for good or bad, but a feeling deep within,

but sometimes you just know it’s time to go,

Goodbye, goodbye, goodbye