Meeting Tomorrow!

0 views
Skip to first unread message

DaveKlein

unread,
Sep 6, 2010, 1:22:40 PM9/6/10
to Gateway Groovy Users
Be sure to join us tomorrow (9/7/2010) at 6:00pm, as Jack Frosch,
President of the Gateway JUG presents:

It's Hard To Top MOP

As someone regularly immersed in Java programming, I often find myself
wishing Java had the dynamic characteristics of Groovy. (That is, when
I'm
not wishing I was coding directly in Groovy!) But what makes Groovy so
groovy ... and by groovy I mean dynamic? A key aspect of Groovy's
grooviness
is its Meta-Object Protocol, or MOP.

In Java, we're used to changing an object's state at runtime; we do
that all
the time. Using MOP, we can dynamically change the *behavior* of an
object
at runtime. More significantly, we can change the behavior of a class
at
runtime, bestowing the new behavior to all objects of that type.

So let's have some fun with metaprogramming using MOP by exploring the
following concepts:

- Injecting Dynamic methods and Constructors
- Using Dynamic Classes & Delegation
- How does it all work under the Groovy covers?

If you've seen Jack present you know how good he is at getting new
ideas across. Metaprogramming can seem frighteningly complex if
you're not used to it, but Jack will show you how easy it is to take
advantage of this powerful tool in Groovy!

Don't miss it!

Dave

More info at: http://bit.ly/GatewayGroovy-910
Reply all
Reply to author
Forward
0 new messages