Entries Categorized as 'Java'
December 1, 2008
The December 2008 GroovyMag is out now. I could tell you all about the articles contained within – some meta-thoughts on GORM’s strategy, iUI iPhone development with Grails, Testing Plugin use, Rich Swing Apps with Groovy, and so on. Or… you could just watch the video below before you go buy your copy. :)
Posted in Grails, Groovy, Java, Web
No Comments »
November 22, 2008
This is a repost from my post over at GroovyMag.
I’m planning to do this on a couple other projects, and thought I’d share this with you. It’s not specifically something related to GroovyMag magazine, but is a technique I’m using in a Grails project to make it easy to switch layouts based on the user.
All [...]
Posted in Grails, Groovy, Java, Web
3 Comments »
November 13, 2008
So having recently launched a magazine on the Groovy language, I decided to check out the TIOBE index and see where Groovy sits. Not terribly high (#41) but not too bad for a relatively new language. Certainly higher than many others with much longer pedigrees. The TIOBE index also has a couple other interesting notes:
The [...]
Posted in Development, Grails, Groovy, Java, Software
3 Comments »
November 11, 2008
I wrote up a small synopsis over at the GroovyMag blog about the acquisition, then just got pinged that my own quote about it made it in to PC World. I’m famous. ;)
My initial reaction was that this might hurt Groovy and Grails development, but I don’t think that’ll happen. At least unless Spring ends up [...]
Posted in Grails, Groovy, Java, Software, Web
No Comments »
November 10, 2008
This was the analogy I came up with when teaching a PHP class recently. I needed to review the topic of regular expressions, but it’s one that neither I nor the students seemed to have much interest in. The examples that I had were adequate, but explaining the examples was still unnatural. The students didn’t [...]
Posted in Grails, Groovy, Java, PHP, Software
14 Comments »
November 5, 2008
To celebrate our US elections, GroovyMag is on sale for $3.49 today only (November 5, 2008). President-elect Obama won 349 electoral votes, and in an effort to ’spread the wealth’, GroovyMag has lowered the price to reflect the electoral vote count. Visit http://www.groovymag.com/main.issues to purchase your copy today!
Posted in Grails, Groovy, Java
No Comments »
October 29, 2008
I’m getting ready to launch GroovyMag – the magazine for Groovy and Grails developers – next week. This will initially be a PDF-only product, tentatively priced at $4.99 – but we may move to print quickly if the demand is there. The first issue is a bit over 30 pages (we’re playing with layout right [...]
Posted in Grails, Groovy, Java
No Comments »
August 27, 2008
Someone recently asked how to get a random element from an array. In PHP it’s pretty straightforward – array_rand($x) – but there’s not (AFAICT) a built-in way in Groovy to do this. So I wrote a little something which should hopefully demonstrate the power of the metaClass stuff to boot.
ArrayList.metaClass.getRand = { number ->
if(number==0) [...]
Posted in Groovy, Java, Uncategorized
4 Comments »
August 27, 2008
I put together a small change to Grails’ scaffolding templates to help with one to many and many to many relationships. Grails (well, GORM really) will manage these relationships under the hood, but you were always left to do the interface on your own. This small set of file changes will give you better relationship [...]
Posted in Grails, Groovy, Java, Web
8 Comments »
August 5, 2008
I’ve been cautiously exploring the idea of a Groovy and Grails magazine. I’ve got some interest from some well-known community members about writing articles, and I’ve got some leads on advertisers. The last missing piece of the equation is readers. Are you interested in a Groovy and Grails monthly magazine? I’m envisioning this as PDF [...]
Posted in Grails, Groovy, Java, Web
17 Comments »