From: Tony B. <to...@to...> - 2003-03-27 00:09:43
|
Well, as I said, I will work the forms back in. As for forwards, this is trivial and can be added as well and I don't mind signing up for that. As for actions, this may be a place where I have some disagreement. I have no problem with actions (my commands) using form objects. However, I don't agree with actions needing to know anything about mappings. They only need to do their work and return processing back to the controller. The controller should worry about the mappings being that is the key means for continuation of execution (please note I already have a mapping class implemented). Again, a problem I had with Phrame is all mappings and forwards were loaded even though a very small subset was needed to process the current request. Once I get this last bit of code polished I'll look for more suggestions on tweaks from you two. I think after this next cycle we'll be at a point where I will feel fine with using the code in a production environment (which, I remind, is my big driving factor). At some point we need to talk about the resulting code base. The final state will look more like Phrame per both your recent suggestions which is good but will it be good enough for your actual approval. Again my hopes is that the resulting code is a best-of-both-worlds to warrant this new code to be release under the Phrame name. --Tony Arnold Cano wrote: > The analogy to verbs, nouns, and adjectives is exactly > how I described phrame to developers as well. > > I have reservations about removing forwards, forms, > and actions. They provided extension points for > specialization if required. Using primitives removes > this important feature. > > My understanding from studying Tony's code is that > commands are a simpler version of the original > actions. This mechanism is basically just a command > pattern with the exception that actions utilized the > mappings and form objects. > > Arnold -- +-------------------+--------------------------------------------------+ |Tony Bibbs |[R]egardless of what you may think of our penal | |to...@to... |system, the fact is that every man in jail is one | | |less potential fisherman to clutter up your | | |favorite pool or pond. --Ed Zern | +-------------------+--------------------------------------------------+ |