--
You received this message because you are subscribed to the Google Groups "gosu-lang" group.
To post to this group, send email to gosu...@googlegroups.com.
To unsubscribe from this group, send email to gosu-lang+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gosu-lang?hl=en.
I just want to comment... that I *LOVE* Ronin's basic-approach... including it's easy-config for its DB and it's approach to convention over configuration (ie: controller and method names become the http-path).
Having said that, I'm hoping at some point Ronin will incorporate some DI as well as annotations to override conventions with configurations where/when desired... ie:
@Controller( pathname="admin", extension="rpg" )
class MyController {
@Controller( pathname="viewAllUsers" )
function myMethod() {
}
}
would be called by:
http:.../admin/viewAllUsers.rpg
as opposed to:
http:.../MyController/myMethod
Why can’t you just bury the Gosu-accessing details behind a Java API/library for the Java-minded on your project? That’s what I’d be doing with my Scala or Groovy objects anyway (for that same crowd)…
Ted Neward
Java, .NET, XML Services
Consulting, Teaching, Speaking, Writing
From: gosu...@googlegroups.com [mailto:gosu...@googlegroups.com] On Behalf Of Fred Janon
Sent: Thursday, December 23, 2010 4:53 PM
To: gosu...@googlegroups.com
I'm being too lazy to move the conversation to the ronin group, but this
is way too spring mvc-ish for my liking.
Not that that is inherently evil...but it's close. :-)
- Stephen
IOW, you wouldn't need to touch the springiness stuff!
;)
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
Given the bytecode retrieved from the gosu classloader implements real
Java methods and interfaces, and there is the general assertion that
gosu compiles to bytecode that is very close to the .java bytecode, why
is saving/loading the gosu bytecode to/from disk so difficult that it
must wait until 2012?
Or is it trivial, but just realistically that low on the priority list?
I am admittedly not an expert on exactly what happens between
the .class file and a classloader.
Thanks,
Stephen
-Alan
Ah, okay--it sounds vaguely like the type metadata that Scala squirrels
away inside of annotations in the .class file.
> , such as method parameter names
Makes sense.
> and even, in other cases, the actual parse tree of some expressions.
Ooh...tricky. Sounds vaguely like LINQ. What features use this?
I just came across call site validators on lazygosu--sounds very
spiffy. I'm a big fan of compile-time metaprogramming.
> So the difficult parts are not around the Java classloading at all,
> they're around changing the parts of Gosu that expect dynamic
> compilation to work properly with up-front compilation.
Cool, thanks for the explanation.
- Stephen
In general I think compiletime metaprogramming is something we'd like
to explore more in the language in the future; there's probably a lot
we can do there, but we'll be making sure we really nail down what we
already have before we starting pushing more in that direction, and as
with other language features we'll be looking for the simplest things
we can do that will be maximally useful, rather than trying to allow
for the absolute most power or flexibility.
-Alan