Dick's dependency injection framework

149 views
Skip to first unread message

Cédric Beust ♔

unread,
Jun 9, 2011, 12:44:38 PM6/9/11
to java...@googlegroups.com
I just listened to Dick talking about his DI framework for Scala, saying he was going to announce it at Scala Days and that the github repository was set up and ready to go.

However, I can't find any trace of his framework on github and the Show Notes don't say anything about it either.

Did Dick miss his own self imposed deadline?

-- 
Cédric


Graham Allan

unread,
Jun 9, 2011, 6:27:08 PM6/9/11
to java...@googlegroups.com

Hey Cedric,

Check out: https://github.com/dickwall/subcut

(first google hit for 'subcut scala')

Regards,
Graham

Rafal Habrat

unread,
Jun 9, 2011, 5:26:31 PM6/9/11
to java...@googlegroups.com
https://github.com/dickwall/subcut

2011/6/9 Cédric Beust ♔ <ced...@beust.com>
--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To post to this group, send email to java...@googlegroups.com.
To unsubscribe from this group, send email to javaposse+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.

Cédric Beust ♔

unread,
Jun 9, 2011, 7:58:59 PM6/9/11
to java...@googlegroups.com
Thanks, I hadn't listened that far in the podcast so I didn't know it was called Subcut. I did notice Subcut in Dick's github repo but it was so small that I thought it was a different project :-)

-- 
Cédric




Duncan McGregor

unread,
Jun 10, 2011, 8:15:29 AM6/10/11
to The Java Posse
Can anyone point me at documentation please? On my iPad all I see on
the wiki homepage is a link 'Quick Start' that just tells me that I
can edit the wiki!

Or is finding the docs some sort of right of passage that I've failed?

Cheers

Duncan

Dick Wall

unread,
Jun 10, 2011, 1:57:42 PM6/10/11
to The Java Posse
Hi Folks

I have been traveling this week (Scala training in St. Louis). A
readme and getting started are coming, but in the meantime there is
scaladoc in the code itself that explains how to use subcut - at least
enough to get you going. You can read it in the source, or generate
scaladoc using sbt or maven and use that. The getting started (couple
of days more) will give you a simple recipe to get started. I can work
on it on the flight back tomorrow.

Dick

Duncan McGregor

unread,
Jun 10, 2011, 6:46:40 PM6/10/11
to The Java Posse
On Jun 10, 6:57 pm, Dick Wall <dickw...@gmail.com> wrote:
> I have been traveling this week (Scala training in St. Louis). A
> readme and getting started are coming, but in the meantime there is
> scaladoc in the code itself that explains how to use subcut - at least
> enough to get you going.

I'll get my coat.

Dale Wijnand

unread,
Jun 11, 2011, 3:34:42 AM6/11/11
to java...@googlegroups.com
I used the tests to start to understand how to use it, you might want to have a look there too :)

Dick Wall

unread,
Jun 11, 2011, 9:41:36 PM6/11/11
to The Java Posse
OK folks - check out the latest on github - on the flight back from St
Louis I added a README, but more importantly a fairly in-depth getting
started guide. Between that and the scaladoc, it should be enough to
get at least the adventurous going on subcut.

And yes, as commented, subcut is pretty small. It didn't need to be
any larger, I like small things, especially when they are useful :-).

Dick

Dick Wall

unread,
Jun 21, 2011, 2:14:50 PM6/21/11
to The Java Posse
Thanks to ptillemans - https://github.com/ptillemans - the
documentation is now much improved on the subcut project - it's the
same information, but it looks nice now, and the scaladocs are
actually available online. There will be more coming, but I want to
get version 0.9 out first (with a more idiomatic scala approach to
constructor injection using Option instead of null - I never was happy
with the nulls, but the correct way didn't occur to me until after 0.8
was released). It's nice to have time to work on this again. I am
going to set up a google group to track it as well.

Github project is at:

https://github.com/dickwall/subcut

and the shiny new (somewhat minimalist) scaladocs are at:

http://dickwall.github.com/subcut/#package

Dick

On Jun 11, 6:41 pm, Dick Wall <dickw...@gmail.com> wrote:
> OK folks - check out the latest on github - on the flight back from St
> Louis I added a README, but more importantly a fairly in-depth getting
> started guide. Between that and the scaladoc, it should be enough to
> get at least the adventurous going onsubcut.
>
> And yes, as commented,subcutis pretty small. It didn't need to be

Kirk

unread,
Jun 22, 2011, 1:56:14 AM6/22/11
to java...@googlegroups.com
wow!!!! and congrats on the first release... where did you find the time ;-)

Kirk

Kirk

unread,
Jun 22, 2011, 1:58:05 AM6/22/11
to java...@googlegroups.com
Heinz and I had so much fun on the first webinar and we had a number of requests for more and I've got a ton more materials so we've decided to hold part II of how to read GC logs.

Here is the URL to register.



Regards,
Kirk

ags

unread,
Jun 22, 2011, 3:47:26 AM6/22/11
to java...@googlegroups.com
Yeah, but I need to login and to login I need to pay, or am I missing something?

--
You received this message because you are subscribed to the Google Groups "The Java Posse" group.
To post to this group, send email to java...@googlegroups.com.
To unsubscribe from this group, send email to javaposse+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.



--
ags

Dick Wall

unread,
Jun 22, 2011, 9:44:17 AM6/22/11
to The Java Posse
I developed it largely while working at Locus Development - we needed
an easy to use dependency injection solution and I wasn't happy with
the ones out there so I broke my first rule (don't repeat yourself or
others) and made one quickly. It turned out useful and so I had to
abide by my second rule and open source it (as in, if you do write
something that has been done before, you had better open-source that
sucker unless it's core to your business value). All of this is in my
"Courage in Software Development" talk, so I thought I had better get
with the program :-). I hope it is useful to other people - it's
actually very simple and extremely lightweight. Scala does most of the
heavy lifting - this is really just instrumentation around a clever
idea about using implicits to provide configuration bindings.

It needs more documentation, but there is enough to get people going.

Thanks :-)

Dick

On Jun 21, 10:56 pm, Kirk <kirk.pepperd...@gmail.com> wrote:
> wow!!!! and congrats on the first release... where did you find the time ;-)
>
> Kirk
>
> On Jun 21, 2011, at 8:14 PM, Dick Wall wrote:
>
>
>
>
>
>
>
> > Thanks to ptillemans -https://github.com/ptillemans- the

Cédric Beust ♔

unread,
Jun 22, 2011, 9:47:36 AM6/22/11
to java...@googlegroups.com
On Wed, Jun 22, 2011 at 6:44 AM, Dick Wall <dick...@gmail.com> wrote:

It needs more documentation, but there is enough to get people going.

Here my #1 rule of successful open source software: there is never enough documentation to get people going :-)

-- 
Cédric

Kevin Wright

unread,
Jun 22, 2011, 9:53:04 AM6/22/11
to java...@googlegroups.com
"if you do write something that has been done before, 
you had better open-source that sucker unless it's core 
to your business value". 
 
All of this is in my "Courage in Software Development" talk, 
so I thought I had better get with the program :-).

I'm wondering, is that talk core to your business value?
I found the slides on DevNexus, but there doesn't seem to be a video up for grabs anywhere. :( 

Dick Wall

unread,
Jun 22, 2011, 6:12:39 PM6/22/11
to The Java Posse
Ha - good point. Well - the slides on their own would be kind of
useless, since it is the kind of talk with a lot of pictures but no
real words on the slides, the whole talk is what you need and I don't
think DevNexus recorded it (I could be wrong, so please correct me if
I am). I hope to repeat the talk at Devoxx this year, at which point
hopefully a full recording will be available.

Dick

Kevin Wright

unread,
Jun 22, 2011, 7:21:39 PM6/22/11
to java...@googlegroups.com
On 22 June 2011 23:12, Dick Wall <dick...@gmail.com> wrote:
Ha - good point. Well - the slides on their own would be kind of
useless, since it is the kind of talk with a lot of pictures but no
real words on the slides, the whole talk is what you need and I don't
think DevNexus recorded it (I could be wrong, so please correct me if
I am). I hope to repeat the talk at Devoxx this year, at which point
hopefully a full recording will be available.


Oooh, nice.  I have a talk submitted for devoxx too, so I may get to see it live. :) 
Reply all
Reply to author
Forward
0 new messages