News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Ant Phillips' Blog:
PHP/Groovy Bridge
January 14, 2009 @ 10:23:46

In a recent post Ant Phillips looks at another bridge that's offered to combine PHP with another language (besides the Java one) - a link over to Groovy.

Up until recently the PHP runtime was treating Groovy code just the same as Java. Anyone could compile a Groovy class to Java class files using the Groovy compiler. Those class files could then be dropped into a Zero application and used in PHP through the PHP/Java Bridge. The problem is that Groovy isn't the same as Java.

He compares the way its works when its Java-esque and how it should work as combined with the Groovy bridge. The code is much cleaner and, by making it more readable, makes it easier to maintain in the future. You can see some slides from a presentation hes given on the subject here.

0 comments voice your opinion now!
groovy language bridge java example slides


blog comments powered by Disqus

Similar Posts

Matt Butcher: 5 Strengths of PHP

Bradley Holt: Entity Relationships in a Document Database at ZendCon 2012 (Video & Slides)

Jan Lehnardt's Blog: Using the Zend Framework with Code Igniter (an alternative)

LoopPo Blog: PDML PHP tricks

Alexey Zakhlestin's Blog: YAML: Syck for PHP is not read-only anymore


Community Events

Don't see your event here?
Let us know!


podcast interview install extension opinion framework laravel5 voicesoftheelephpant community php7 release series api library xdebug example introduction unittest language laravel

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework