This is great. Thanks!

Part of my job is to research ways to speed up our development time.
Most of team I support tends to write procedural code rather than reusable 
objects so this could help influence them into OO mindset.

As a side note - I am toying with an idea to model the domain driven design 
model =S
"Domain driven design for domain driven design" [the semantics make this 
particularly hard to describe literally]
Perhaps a snippet might explain better...

    class DDDEntity {
        Set<DDDBehaviors>  entityBehaviors;
        Etc...
    }

My first thoughts are this could -
* provide an alternative to UML
* persist domain designs for code generation
* provide a web interface for designing the domain model
* compile and load persisted domain definitions at runtime


Jeremy D. Branham
Tel: **DOTNET


-----Original Message-----
From: Martin Grigorov [mailto:[email protected]]
Sent: Saturday, January 03, 2015 7:43 AM
To: users
Subject: Re: IntelliJ Templates + Apache Isis

On Sat, Jan 3, 2015 at 3:21 PM, Dan Haywood <[email protected]>
wrote:

> On 3 January 2015 at 11:32, Martin Grigorov <[email protected]> wrote:
>
> >
> > @Dan: Maybe it is a good idea to add a link to this repo at
> > http://www.isisaddons.org/ ?
> > Or even fork Jeremy's repo to https://github.com/isisaddons or
> > your/mine own GitHub account so it is easier for us to update it in the 
> > future.
>
>
>
> As per previous email, I think we ought to merge Jeremy's stuff with
> what's we already have (which are much more extensive).
>

I also didn't know about the ones we already have.
I'm not saying they are hard to discover. It's just that I read the topics 
which are most interesting to me. There is a lot to read !


>
> But I think it's a good idea to move these templates out from the
> website and into a separate github repo as part of "isisaddons".
>
> Would you be happy to do set up a new repo for us?  Otherwise I'll
> pick it up when I get a moment.
>

I'd do it. But first I want to play a bit with them.


>
>
>
>
> > For
> > example I'd prefer to namespace the template names.
>
>
> The existing templates use "is" as a common prefixl is this what you meant?
>

Yes.


>
>
>
> > Or make them "File
> > Template"s instead of "Live Template"s.
> >
> >
> Not sure I know the pros and cons of the two. I'm guessing that a
> "file template" might make sense for Jeremy's top-level "domclass" and
> "domservice", but Live Templates make more sense for the class members
> such as Jeremy's "domprop" or the existing "isp*", "isc*", "isa*" and so on?
>

Right.
Using "File Template" for domclass and domservice will add yet another option 
to "New > Java Class" menu. By default there are "Class", "Interface" and 
"Enum".
Using "Live Template" one should create an empty Java class, then type 
"domc"+TAB in the editor.

As I said I'll play a bit with the options to see which one requires less 
actions.


>
>
> Cheers
> Dan
>

________________________________

This e-mail may contain Sprint proprietary information intended for the sole 
use of the recipient(s). Any use by others is prohibited. If you are not the 
intended recipient, please contact the sender and delete all copies of the 
message.

Reply via email to