Roll your own MVC framework

Howdy,

I'd like to know how to go on about rolling a custom made MVC framework. I have a basic understanding of OOP and that stuff yet I find myself feeling lost when it comes to this area. Are there any goodbooks or tutorials out there that discuss this topic?

Granted, there are thousands of open source frameworks but I get easily overwhelmed just by glancing at the code.

- Adam

[417 byte] By [Ashama] at [2007-11-26 15:10:31]
# 1
Use Struts and customize it for your need.
reflex2javaa at 2007-7-8 9:01:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
I don't want to use Struts or any other existing framework. I would like to build my own but for that I need some material. Are there really no books, blogs, tutorials or anything on this topic?- Adam
Ashama at 2007-7-8 9:01:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
Struts is a good example by itself. But still I would recommend my friend Mr. Google to do this for you.
reflex2javaa at 2007-7-8 9:01:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4

Start with reading all the specs. Read the HTML and HTTP specs so you know all about request methods, headers, response codes, etc. Then read the servlet, jsp, and JSF specs. Take a very close look at servlet filters and tag libraries.

You should look at a few of the most popular frameworks. And also look at some less popular, but cool frameworks. Especially anything that has the word AJAX in it. Most will have a 'getting started' type tutorial. See what you like and what you don't like.

jleecha at 2007-7-8 9:01:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 5
Yes I should probably read the specs a lot, I will do that.I will look at the different frameworks. I like different parts from Tapestry, Struts and Wicket. Struts seems to be extremely well-documented!
Ashama at 2007-7-8 9:01:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 6
Struts may be well-documented, and widely used, but it in my experience it is the worst.
jleecha at 2007-7-8 9:01:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 7
Worst? Would you care to elaborate? I know it is a lot of configuration but once you have it working it is not so bad. ;-)Wicket seems to be very nice. Kinda like programming Swing but for the web. Looks very nice so far but I've only just begun reading about it.
Ashama at 2007-7-8 9:01:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 8
http://www.javaworld.com/javaworld/jw-03-2000/jw-0331-ssj-forms_p.html http://java.sun.com/developer/onlineTraining/JSPIntro/contents.html
sleeper108a at 2007-7-8 9:01:22 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...