Monday 25 November 2013

Presentation Layer: Layout

OK, I admit it I have one jar in my lib directory that is from a framework. It's called Stripes. I don't use it for a web framework though. Not that it's not a good one, it is, it's great. It's a big improvement on Struts which, like many of its ilk, it was a reaction against. But just because, you know, I'm trying to do this No Framework web app thing. Anyway let me start at the beginning...

The topic for this post is how do you have a reusable element of your web app if you're not using a framework? How do you lay out your pages without having the same code over and over?

Forms, Request Parameters and CRUD

One of the most useful functions normally performed by a web framework is marshaling parameters between their String form on the request and other types which are more useful in your business layer. But how can you achieve this without a web framework?