floater
Java Jedi
总版主
发贴: 3233
积分: 421
|
于 2004-07-06 22:47
Web MVC: In the structure context, webwork, spring, and several others are the same, ie, they all have dispatcherservlet, controller, etc. They implement them in different ways. So we have to go down one level to see the difference(be warned, they all evolve too, more or less the same even we go down several levels, in that sense, it's more of what you like, a style/fasion).
what you said in webwork, spring has all of them, but it takes a while to find them, maybe. Spring borrows some from webwork, after all.
One thing I don't like webwork is their tags, destructive. Spring is the only one that does it right(I am not sure whether it could be improved further, but it's right). I need this feature for my work(If you just "hit and run", you don't need to maintain the pages, then you probably don't care this).
IoC: From user's perspective, it's just setter/getter. We don't care how they implement them, reflection, ognl, or whatever. I just don't understand why people make a big fuss about this old word. I think we should just make good use of it, that's all. It's just a life-cycle collaborator.
my two cents.
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." - Martin Fowler, Refactoring - Improving the Design of Existing Code
|