Hello Brad

In this context it is probably useful to (re-)read the thesis by Lukas Rengli

http://scg.unibe.ch/archive/masters/Reng06a.pdf

<citation page=3>
As a complete example of how we applied a meta-model to a Web application
we present Pier, the second version of a fully object-oriented implementation
of a content management system and Wiki engine. ....

We describe the lessons learned from using the Magritte meta-model to build
applications.
</citation>

It contains a lot of good insights - see 'Lessons learned'.
The writing style might be terse and abstract but there is also a
Pharo book about Magritte.

In a pristine Pharo image, as soon as you start writing your own class
definitions to model your domain you are actually creating a Domain
Specific Language (DSL).

This language describes your application domain. If we talk about web
applications, you describe in an abstract way the domain objects and
GUI elements.

The challenge is that this DSL language is easy to write, understand,
teach and maintain.

>From the model (part of it most often is a tree of objects) you have
visitor walking through the object net and creating reports.

It is easy to quickly come up with something which works but often it
is idiosyncratic, thus difficult to understand for other people.

Maybe Peter can share some insights about his experience writing a
model to then generate a Ruby-on-Rails-app.

Pillar is another example of such an approach. You create a document
object model and then have various exporter objects to generate
slides, web pages and very nice books. It is accessible code and you
can learn from it. The emphasis is on static content but some dynamic
content seems to be possible as well.

Regards
Hannes


On 9/2/17, Brad Selfridge <bsselfri...@gmail.com> wrote:
> Hi Peter,
>
> Really good work. I'm impressed. Pharo is really gaining some cutting edge
> options. I would like to know a lot more about your framework. Thanks for
> the effort.
>
>
>
> -----
> Brad Selfridge
> --
> Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
>
>

Reply via email to