Wicket is a framework to write (mostly) statefulweb pages. Unlike other web
frameworks it does not impose a particular way to structure the application
logic beyond that. Think of it like, say, the QT widget set. It's a way to
display information and to be notified of user interactions.

Thomas

PS: when did the notion start that design pattens had an intrinsic value?
"Now new and improved with more patterns!" Patterns are ways to structure
code WHEN IT NEEDS STRUCTURING. A HelloWorld app DOES NOT NEED PATTERNS.
(sorry for the shouting, pet peeve)

On Tue, Jul 1, 2008 at 2:07 PM, marco m <[EMAIL PROTECTED]> wrote:

>
> Hi  guys,
>
> I've been thinking about the way in which wicket is an MVC framework and
> whether people use it according to the MVC pattern.
>
> Wikipedia has this to say:
>
> Model
>    The domain-specific representation of the information on which the
> application operates. Domain logic adds meaning to raw data (e.g.,
> calculating if today is the user's birthday, or the totals, taxes, and
> shipping charges for shopping cart items).
>    Many applications use a persistent storage mechanism (such as a
> database) to store data. MVC does not specifically mention the data access
> layer because it is understood to be underneath or encapsulated by the
> Model.
> View
>    Renders the model into a form suitable for interaction, typically a user
> interface element. Multiple views can exist for a single model for
> different
> purposes.
> Controller
>    Processes and responds to events, typically user actions, and may invoke
> changes on the model.
>
> I'm interested in whether people are using the model to encapsulate service
> calls.  In the wicket documentation I frequently see services in the page
> retrieving dtos and passing the dto to a component as a model.  This seems
> to be in conflict with the description of a model in the mvc pattern.
> Wicket is supposed to be an mvc framework, so why do the examples put
> services/daos in the pages?
>
> What patterns are folks using for their wicket apps?
> --
> View this message in context:
> http://www.nabble.com/patterns-for-web-ui-apps.--mvc-models-tp18214140p18214140.html
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to