<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 23 May 2013 18:19:54 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Ibuildings Blog: Integrating PHP And Java]]></title>
      <guid>http://www.phpdeveloper.org/news/14589</guid>
      <link>http://www.phpdeveloper.org/news/14589</link>
      <description><![CDATA[<p>
New on the Ibuildings blog there's <a href="http://www.ibuildings.co.uk/blog/archives/1593-Integrating-PHP-And-Java.html">a post from Ian Barber</a> looking at the powerful combination of PHP and Java to make your applications even more robust.
</p>
<blockquote>
There are many reasons to want to integrate these new developments with Java rather than just creating a separate silo - existing libraries or systems that would be difficult or expensive to replicate, well-tested systems providing key functionality, and an existing team of developers are just a few. So, the best way is often to mix and match the two - which is easier than it might first appear.
</blockquote>
<p>
He looks at the four main ways to integrate the two technologies, some being a bit easier to implement than others:
</p>
<ul>
<li>Indirect integration (shared data source)
<li>PHP on the JVM
<li>PHP to Java (bridge)
<li>PHP consuming Java services
</ul>]]></description>
      <pubDate>Wed, 02 Jun 2010 09:14:25 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Alvaro Videla's Blog: Erlang as a Fast Key Value Store for PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/14149</guid>
      <link>http://www.phpdeveloper.org/news/14149</link>
      <description><![CDATA[<p>
<i>Alvaro Videla</i> has submitted a new post he's written up combining PHP and Erlang yet again, but this time he's using it to just <a href="http://obvioushints.blogspot.com/2010/03/erlang-as-fast-key-value-store-for-php.html">store key/value pairs</a> rather than for <a href="http://www.phpdeveloper.org/news/13871">session data</a>.
</p>
<blockquote>
In this post I want to show you some of the neat things that can be done with the <a href="http://code.google.com/p/mypeb/">PHP-Erlang Bridge extension</a>: A Key Value Store. Erlang comes packed with a Key Value store in the form of the ETS module. This is database is pretty fast and efficient for storing the Erlang terms in memory.
</blockquote>
<p>
He tried a proof of concept to see how well the system would respond and was able to push over 150k items into the storage in one second. Sample code and instructions on getting the bridge working are included in the post.
</p>]]></description>
      <pubDate>Mon, 08 Mar 2010 13:37:51 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Liip Blog: Jackalope - JCR for PHP started]]></title>
      <guid>http://www.phpdeveloper.org/news/12497</guid>
      <link>http://www.phpdeveloper.org/news/12497</link>
      <description><![CDATA[<p>
In <a href="http://blog.liip.ch/archive/2009/05/11/jackalope-started.html">this new post</a> to the Liip blog <i>Tobias Ebnother</i> looks at <a href="http://liip.to/jackalope">Jackalope</a> that's looking to bring <a href="http://jcp.org/en/jsr/detail?id=283">JCR functionality</a> into the toolset offered to PHP developers.
</p>
<blockquote>
We initiated a new open source project called <A href="http://liip.to/jackalope">Jackalope</a>. Its purpose is to bring <a href="http://jcp.org/en/jsr/detail?id=283">JCR</a> via <a href="http://jackrabbit.apache.org/">Jackrabbit</a> to the PHP world. [...] JCR provides a great standardized storage for hierarchical content and supports some nice features like full text search, versioning, transactions, observation, and more. Our main goal is to create a PHP Connector for Jackrabbit without using any Java.
</blockquote>
<p>
To accomplish this, they're doing things in two steps. First, they've created a setup with the Java bridge (from Zend Server) to make the connection back to the Jackrabbit server and making writing tests to that API. The second step is to swap out the Java bridge with the Jackalope connection piece. You can check out the current state of the project on its <a href="http://github.com/jackalope">Github page</a> or come and ask questions of the team on the <a href="http://freenode.net/">Freenode</a> IRC network (#jackalope).
</p>]]></description>
      <pubDate>Tue, 12 May 2009 10:21:15 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ant Phillips' Blog: Integrating SAP NetWeaver in Zero PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/12177</guid>
      <link>http://www.phpdeveloper.org/news/12177</link>
      <description><![CDATA[<p>
In a <a href="http://antblah.blogspot.com/2009/03/integrating-sap-netweaver-in-zero-php.html">recent post</a> to his blog <i>Ant Phillips</i> looks at how you can integrate the SAP Netweaver softare into Zero PHP (a Java PHP clone).
</p>
<blockquote>
I thought it would be interesting to hook up a Zero PHP application with a SAP NetWeaver system. So last weekend I summoned up the courage and, armed with a bottle of red wine, set about the task. Surprisingly enough it wasn't too difficult (setting aside finding 20GB of disk space needed by the installer).
</blockquote>
<p>
He talks about making the connection via SAP's <a href="http://help.sap.com/saphelp_nw04/helpdata/en/6f/1bd5c6a85b11d6b28500508b5d5211/content.htm">JCo</a> middleware component and the <a href="http://www.projectzero.org/zero/sebring/latest/docs/zero.devguide.doc/zero.php/ZeroAdvancedPHPJavaBridge.html">PHP/Java bridge</a> that comes with the standard Zero installation. Code is included showing how to make the connection and grab information from the SAP data store.
</p>]]></description>
      <pubDate>Fri, 20 Mar 2009 09:02:25 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ant Phillips' Blog: PHP/Groovy Bridge]]></title>
      <guid>http://www.phpdeveloper.org/news/11739</guid>
      <link>http://www.phpdeveloper.org/news/11739</link>
      <description><![CDATA[<p>
In a <a href="http://antblah.blogspot.com/2009/01/phpgroovy-bridge.html">recent post</a> <i>Ant Phillips</i> looks at another bridge that's offered to combine PHP with another language (besides the <a href="http://php-java-bridge.sourceforge.net/">Java one</a>) - a link over to Groovy.
</p>
<blockquote>
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. 
</blockquote>
<p>
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 <a href="http://www.slideshare.net/AntPhillips/groovy-bridge-presentation/">here</a>.
</p>]]></description>
      <pubDate>Wed, 14 Jan 2009 10:23:46 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPFreaks.com: Design Patterns - Strategy/Bridge, Value Object, Singleton (Registry)]]></title>
      <guid>http://www.phpdeveloper.org/news/11183</guid>
      <link>http://www.phpdeveloper.org/news/11183</link>
      <description><![CDATA[<p>
Following up on their <a href="http://www.phpdeveloper.org/news/11174">introduction to design patterns</a>, the PHP Freaks have posted tutorials covering three of the more popular patterns - strategy/bridge, value object and singleton.
</p>
<ul>
<li><a href="http://www.phpfreaks.com/tutorial/design-patterns---strategy-and-bridge">Strategy and Bridge</a> - The Strategy and Bridge patterns provide solutions to apply polymorphism in more flexible way than you can accomplish with only inheritance.
<li><a href="http://www.phpfreaks.com/tutorial/design-patterns---value-object">Value Object</a> - The Value Object pattern has, just like the Singleton, to do with referencing and instances. In a way, the Value Object is the opposite of the Singleton: it's goal is to ensure NOT to use the same instance, under certain conditions.
<li><a href="http://www.phpfreaks.com/tutorial/design-patterns---singleton-and-singleton-registry">Singleton and Singleton Registry</a> - The Singleton pattern ensures that you are always dealing with the same, single instance, wherever in your application. The Registry pattern usually utilizes the Singleton pattern (hence "Singleton Registry") to make the same 'globalness' apply to objects who's classes weren't necessarily designed to
</ul>
<p>
Keep checking back to <a href="http://www.phpfreaks.com/tutorials">their tutorials section</a> for more design pattern tutorials.
</p>]]></description>
      <pubDate>Fri, 10 Oct 2008 09:33:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[IBM developerWorks: Integrating Java and PHP in WebSphere sMash]]></title>
      <guid>http://www.phpdeveloper.org/news/11128</guid>
      <link>http://www.phpdeveloper.org/news/11128</link>
      <description><![CDATA[<p>
The IBM developerWorks site has <a href="http://www.ibm.com/developerworks/websphere/library/techarticles/0809_phillips/0809_phillips.html?ca=drs-tp4008">this new tutorial</a> posted showing how to combine two different languages, PHP and Jave, with the help of the Java bridge in the WebSphere sMash environment.
</p>
<blockquote>
The WebSphere sMash environment enables rapid development of interactive Web applications based on popular Web technologies such as PHP, and it lets you reuse existing Java assets from PHP scripts. This article introduces the Java Bridge and shows how to access Java classes from PHP. 
</blockquote>
<p>
They create a sample project to work with in sMash and show how to implement and create a new the Java object that automatically loads and makes available to PHP the functionality inside. They look at accessing static methods and fields, catching exceptions, type conversion, and working with SQL connections.
</p>]]></description>
      <pubDate>Wed, 01 Oct 2008 15:35:29 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPImpact Blog: Building Web Applications Using PHP and Java]]></title>
      <guid>http://www.phpdeveloper.org/news/10333</guid>
      <link>http://www.phpdeveloper.org/news/10333</link>
      <description><![CDATA[<p>
<a href="http://phpimpact.wordpress.com/2008/06/01/building-web-applications-using-php-and-java/">This recent post</a> on the PHP::Impact blog spotlights a useful little tool for those developers needing to span the gap between PHP and Java in their applications - the <a href="http://php-java-bridge.sourceforge.net/doc/">PHP/Java Bridge</a>.
</p>
<blockquote>
The <a href="http://php-java-bridge.sourceforge.net/doc/">PHP/Java bridge</a> allows you to quickly access Java classes from within your PHP classes without having to know Java and vice versa. Because of this two-way flexibility, you can access hundreds of pre-built Java classes from PHP, and hundreds of pre-built PHP classes from Java opening up your applications to greater flexibility and enhanced functionality.
</blockquote>
<p>
The post includes an introduction to the bridge's functionality - its functions/methods, how to make a new instance of it, catching exceptions and the type conversion it automatically does (like lang.java.String directly to the PHP String type).
</p>
<p>
They also mention the Zend Platform bridge functionality for a more commercial solution.
</p>]]></description>
      <pubDate>Tue, 03 Jun 2008 13:42:39 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: Rails for PHP Developers Website Launched]]></title>
      <guid>http://www.phpdeveloper.org/news/9351</guid>
      <link>http://www.phpdeveloper.org/news/9351</link>
      <description><![CDATA[<p>
<i>Mike Naberezny</i> has start up a new resource to try to bridge some of the gap between PHP and Ruby and to help developers of either to get a bit more insight into the others' side - <a href="http://railsforphp.com/">Rails for PHP Developers</a> (based on <a href="http://www.pragprog.com/titles/ndphpr">the book</a> published by the Pragmatic Programmers).
</p>
<blockquote>
Rails for PHP Developers is a new site for PHP developers who are also interested in Rails and Ruby.  PHP and Ruby are great complementary tools that are sometimes seen as adversarial, which is really unfortunate.  We use both and we'll be writing regular articles to help cross-pollinate ideas and promote collaboration between the communities. 
</blockquote>
<p>
There's already some good content there - <a href="http://railsforphp.com/2008/01/03/useful-perlisms-in-ruby/">useful perlisms in ruby</a>, a look at <a href="http://railsforphp.com/2007/12/21/accessing-attributes-in-php-objects/">PHP object attributes and some information about <a href="http://railsforphp.com/2007/12/11/beta-2-released/">the</a> <a href="http://railsforphp.com/2007/11/08/about-the-book/">release</a> of the site itself. 
</p>]]></description>
      <pubDate>Thu, 03 Jan 2008 14:52:15 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Vinu Thomas' Blog: Installing the PHP Java Bridge in Ubuntu (Gutsy Gibbon)]]></title>
      <guid>http://www.phpdeveloper.org/news/9098</guid>
      <link>http://www.phpdeveloper.org/news/9098</link>
      <description><![CDATA[<p>
On his blog, <i>Vinu Thomas</i> has <a href="http://blogs.vinuthomas.com/2007/11/22/installing-the-php-java-bridge-in-ubuntu-gutsy-gibbon/">posted a guide</a> to installing the Java bridge for PHP on an Ubuntu system:
</p>
<blockquote>
If you're looking for the easiest way to install the PHP Java Bridge in Ubuntu, follow these simple steps...
</blockquote>
<p>
The basic steps are quick and easy - be sure you have Java installed on your system (commands to install are included), download the Java bridge from <a href="http://downloads.sourceforge.net/php-java-bridge/php-java-bridge_4.3.0-1_i386.deb">Sourceforge</a> and issue the commands (again, included) to install it into your apache2 package.
</p>]]></description>
      <pubDate>Thu, 22 Nov 2007 18:48:00 -0600</pubDate>
    </item>
  </channel>
</rss>
