[Seaside] New Member with a question.
Philippe Marschall
philippe.marschall at gmail.com
Fri Nov 21 14:47:46 UTC 2008
2008/11/21 Tony Giaccone <tony at giaccone.org>:
> Hi,
>
> Just thought I would introduce myself. I'm new to this group, and very
> interested in Squeak and Seaside. I'm a 30 year veteran of computer wars.
> Having first started programming in 1977 in APL in high school. Now, I'm a
> professional developer, have worked all over the US and in Europe and
> develop web applications in Java. I started out using WebObjects and am now
> using a variety of horrible J2EE frameworks.
>
> After 30 years of TPS rreports and corporate manuvering, I'd pretty much
> lost my interest in development. It had become just a job. The horrible
> movement back in time from WebObjects to J2EE didn't help the situation.
> Squeak and Seaside have piqued my interest in developing again. In a way
> that I haven't felt in a long time. So I'm very interested in best
> practices. I'm hoping that if I can develop a good enough grounding in this
> stuff that I can suggest we try Seaside as a development platform where I
> work. I have my fingers crossed.
>
> So now on to the question:
>
> Imagine you're writing a game and you have a player object. There are
> places in the game where you want to display player information on the page
> you are generating. I would say classically that the player is the Model.
> and that Seaside gives us the View. So now my question is, about the
> Controller.
There is no real controller. View related actions to the component.
Model related actions to the model.
> Is the controller a separate class? Should there be a controller class that
> handles placing the data from the model onto the page? Or should the page
> just know about the player and make direct calls into the player object.
Yes. A component is kinda like view and controller together.
> If I have a component, PlayerInfoView. Is that in fact the controller?
>
> Should the player object know
> anything about seaside?
No.
Cheers
Philippe
More information about the seaside
mailing list