On 7 July 2015 at 22:35, Jürgeleit Torsten <[email protected]>
wrote:

>
>
> > Also not clear to me if it has any predefined DDL for Repositories for
> defined entities and/or services.
>
> The DSL part with the notion of a repository is not started yet. But it’s
> an additional keyword within an “entity” which provides CRUD actions, e.g.
>
> entity SimpleObject {
>    repository {
>       create(..) {
>          ...
>       }
>       listAll() {
>          ...
>       }
>    }
> }
>
> At the end of the day it’s a service with additional entity-related
> conventions and validations.
>
> Is this what you’re looking for?
>


I'm not sure this is a good idea... while some entities have repositories,
not all do.  Rather, repositories are merely one type of domain service...
as per @DomainService(nature=...), where nature=DOMAIN (not visible in the
UI).  Although not mandatory, in a large scale app normally the
nature=DOMAIN services are injected into the other nature=VIEW... services.


(As mentioned elsewhere though) I think this conversation should probably
live on the isisscript repo on github, rather than here... either in issues
or on its wiki.  I wanted to post a message here just so that the wider
Isis community were aware of what you've been doing.


Torsten... do you have a spec for the DSL?  perhaps it could live on that
repo's wiki so we could iterate on it... that might be the most efficient?

Cheers
Dan




> /Torsten
>
[1] http://xtend-lang.org/ <http://xtend-lang.org/>
>
>
>
>
> > On 07 Jul 2015, 00:26:19 CEST, GESCONSULTOR <[email protected]
> <mailto:[email protected]>> wrote:
> >
> > Wow !!!!
> >
> > Really nice, Torsten !!!
> >
> > Seems really easy to begin with and as powerful as full Java
> implementation ...
> >
> > Just need to try if it.
> >
> > Also not clear to me if it has any predefined DDL for Repositories for
> defined entities and/or services.
> >
> > Thanks!!!
> >
> > Oscar
> >
> >
> >
> >> El 6/7/2015, a las 23:43, Dan Haywood <[email protected]
> <mailto:[email protected]>> escribió:
> >>
> >> Hi folks,
> >>
> >> A while back someone (I forget who) brought my attention to sculptor
> [1], a
> >> tool that uses an XText DSL to target "conventional" DDD apps.  I
> raised a
> >> ticket [2] to see if the author (Torsten Juergeleit) would be
> interested in
> >> targetting Isis also.
> >>
> >> A few months on, and Torsten's come back to me with what looks like a
> >> pretty substantial prototype [3].
> >>
> >> Just wanted to flag it up here in case anyone was interested in joining
> >> in with the conversation / using the DSL / collaborating further.
> >>
> >> Cheers
> >> Dan
> >>
> >>
> >> [1] http://sculptorgenerator.org/ <http://sculptorgenerator.org/>
> >> [2] https://github.com/sculptor/sculptor/issues/158 <
> https://github.com/sculptor/sculptor/issues/158>
> >> [3] https://github.com/vaulttec/isis-script <
> https://github.com/vaulttec/isis-script>
> >
>
>

Reply via email to