I’ve uploaded to GitHub (http://github.com/tomcz/pico-webapp/tree/master) the web application that I use to teach people about dependency injection (using PicoContainer), post-redirect-get browser interaction, RESTful URIs and strict template rendering (using StringTemplate). This application does not use Spring Framework by deliberate design – as soon as I introduce it to any teaching session I spend more time talking about Spring then talking about what I am usually there to accomplish. As usual, any comments, bugs or enhancement requests are very welcome.
Posts Tagged example
I hate maven with an almost homicidal passion. It only works if your brain works like maven, for the rest of us in the real world its just a pain in the arse. But it does have one good idea – it provides a simple, out of the box way of creating a project structure (but so do rails, django and grails in a much better way). I’ve decided to publish my own example web application project/structure on GitHub – http://github.com/tomcz/example-webapp/tree/master. This is my idea bucket for how to create, configure and code web applications, and gives me a source for downloads when I’m coaching or starting a new project. This release represents some of the ideas that I have either encountered or am experimenting with at any given moment. At the moment I’m concentrating on post-redirect-get, RESTful URLs, robust database connections, Spring 3 and StringTemplate.