Tag Archives: Google

Guice / Java IoC best practices – using annotations for configuration

18 months ago I introduced Guice 2.0 into my workplace development team. So far it has been doing a good job of making inversion of control / dependency injection approachable, light-weight and helpful for the whole team. The biggest issue … Continue reading

Posted in Java, Software Engineering | Tagged developer, Google, guice, Java, tips | Leave a comment

301 Redirects Made Easy In Java

I’ve just released a new version of visural-common – 0.3.2. This version includes a new Servlet Filter, which makes 301-redirects in Java a breeze. You’d recall that 301 redirects are useful for SEO (and just general good practice) for when … Continue reading

Posted in Java, Software Engineering | Tagged Google, Java, open-source, seo, visural-common, web | 4 Comments

AOP, Annotation-based caching solution for Guice projects…

I just released a new version of the visural-common library (0.3.1) which includes support for a simple, flexible annotation based cache, for non-distributed projects. Why non-distributed projects? Unlike most other caching libraries I don’t offer integrations with ehcache or other … Continue reading

Posted in Java, Software Engineering | Tagged caching, Google, guice, Java, open-source, visural-common | Comments Off

How-to: Add Code Syntax Highlighting to MediaWiki

Here’s a short tutorial on how to integrate Google’s “prettify.js” (which does automatic syntax highlighting of code snippets) into a MediaWiki wiki installation. This is totally done MacGyver style, we’re going to patch the MediaWiki skin to do it. For … Continue reading

Posted in IT, Software Engineering | Tagged developer, documentation, Google, hack, web, wiki | 2 Comments