[Seaside] Re: [ANN] Seaside Tutorial
wilkesjoiner at gmail.com
Thu Mar 9 17:09:52 UTC 2006
I need to spend some time with Magritte. I'll go through your
tutorial and get back to you about this. Initial impression is that
it looks fantastic and would make an impressive demo.
On 3/9/06, Lukas Renggli <renggli at gmail.com> wrote:
> Hi Rogers,
> > You also might consider plugging Magritte into the framework.
> yes, that would be very cool, indeed. Especially much more powerful
> and still very easy for beginners.
> Instead of adding your own instance-variables you simply press a menu
> "Add Descriptions" showing a list of possible descriptions, such as
> "String Description" and "Meno Description", "Date Description", etc.
> Then a morphic dialog on this description is opened to specify its
> properties, such as the label, default value, view-component,
> validation rules, etc.
> Note that this configuration dialog can be built automatically, since
> descriptions are described using themselves. The description
> serializes itself to a description-method on the class side (that is
> not yet done, but I could add that) and you have a great interface
> that is easily extensible.
> For your example this would just add two methods:
> SOSPost class>>descriptionTitle
> ^ MAStringDescription auto: #title label: 'Title'
> SOSPost class>>description
> ^ MAMemoDescription auto: #body label: 'Body'
> Now as a user you are probably not happy with simply that, you want to
> add some validation: the fields should be required (send the message
> #beRequired to the description), maybe you want a default value (send
> the message #default: anObject), you want some custom condtion (send
> the message #addCondition: aBlock), and so on ...
> I really think Magritte could turn your baby into something much more
> powerful than they have in Ruby!
> Lukas Renggli
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
More information about the Seaside