<?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>Sat, 22 Nov 2008 05:47:22 -0600</pubDate>
    <ttl>30</ttl>
    <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>
    <item>
      <title><![CDATA[Wez Furlong's Blog: PHP Objective-C Bridge]]></title>
      <guid>http://www.phpdeveloper.org/news/8972</guid>
      <link>http://www.phpdeveloper.org/news/8972</link>
      <description><![CDATA[<p>
<i>Wez Furlong</i> has <a href="http://netevil.org/blog/2007/11/php-objective-c-bridge">posted an example</a> showing a cool little tool that he's whipped up that looks to bridge the gap between PHP and the Objective-C runtime:
</p>
<blockquote>
<p>
I've had some code hanging around on my laptop for the better part of a year (feels like two, but I don't think I've had my MBP that long), that implements a bridge between PHP and the Objective-C runtime. 
</p>
<p>
Yesterday I debugged the last portion that I regarded as a total showstopper for anyone else that might want to use it, and added a script that pulls in your PHP installation and dependent libraries (such as Fink or Mac Ports libraries) and generates a "Bundle" and optionally a DMG containing the Bundle.
</p>
</blockquote>
<p>
He had a <a href="http://jan.prima.de/">fellow developer</a> try it out on Leopard too (things broke, but most are fixed) who also created a <a href="http://netevil.org/media/c72e02f1-a574-4fd3-a60f-067d0a50751f-110407_1734_PHPObjectiv1.jpg">simple ping example</a> to show off this project in its (very early) alpha stages. He mentions in the post how to get to the code, but if you can't locate it, just wait a bit - he'll have it posted up soon enough.
</p>
<p>
Also check out <a href="http://blog.phpdoc.info/archives/81-WezJan++-php-objc.html">Sean Coates'</a> and <a href="http://josephcrawford.com/2007/11/06/php-objective-c-bridge/">Joseph Crawford</a>'s comments on the project too.
</p>]]></description>
      <pubDate>Mon, 05 Nov 2007 12:04:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Fernando Bassani's Blog: Putting the PHP/Java Bridge to work - I ]]></title>
      <guid>http://www.phpdeveloper.org/news/8364</guid>
      <link>http://www.phpdeveloper.org/news/8364</link>
      <description><![CDATA[<p>
In a <a href="http://fernandobassani.com/php/putting-the-phpjava-bridge-to-work-i/">new post</a> today, <i>Fernando Bassani</i> puts the PHP-Java bridge to the test in an effort to stretch the abilities of PHP to fit his needs.
</p>
<blockquote>
Last week, in a meeting with my boss and another developer, we've decided to test the <a href="http://php-java-bridge.sourceforge.net/pjb/">PHP/Java Bridge</a>. As the project that we are currenlty working (a manager for <a href="http://en.wikipedia.org/wiki/Power_line_communication">PLC</a> networks) has grown a lot, we have noticed that we need to do some things that PHP can't do by itself. We often use <a href="http://www.php.net/shell_exec">shell_exec()</a> to execute some shell commands. But it wouldn't fit in this case, as we need some specific things.
</blockquote>
<p>
He <a href="http://fernandobassani.com/php/putting-the-phpjava-bridge-to-work-i/">goes through the decision process on with implementation to use (they went with the <a href="http://php-java-bridge.sourceforge.net/">Java bridge</a>) and the process of getting it set up and working on a Ubuntu system. Sample code to test that everything's in working order is included.
</p>]]></description>
      <pubDate>Tue, 31 Jul 2007 18:05:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: PHP Abstract Podcast Episode 9: PHP-Java Bridge]]></title>
      <guid>http://www.phpdeveloper.org/news/8187</guid>
      <link>http://www.phpdeveloper.org/news/8187</link>
      <description><![CDATA[<p>
On the Zend Developer Zone today, they've <a href="http://devzone.zend.com/article/2280-PHP-Abstract-Podcast-Episode-9-PHP-Java-Bridge">posted the latest PHP Abstract Podcast</a> covering the PHP-Java Bridge:
</p>
<blockquote>
Our special guest today is Kevin Schroder. Kevin is a technical consultant for Zend Technologies' Professional Services Group. He has wide range of experience from large scale system administration to software development in multiple languages. Based out of Dallas, TX, he travels throughout the country for Zend providing consulting, programming and architecture services centered on PHP.
</blockquote>
<p>
Topics mentioned include the <a href="http://sourceforge.net/projects/php-java-bridge/">Java Bridge</a> (obviously), the <a href="http://www.zend.com/products/zend_platform">Zend Platform</a> and <a href="http://www.zend.com/products/consulting_services">Zend's Professional Services</a>. 
</p>
<p>
You can either grab the show <a href="http://s3.amazonaws.com/php_abstract_2007/php_abstract_episode_009.mp3">directly from here</a> or <a href="http://feeds.feedburner.com/phpabstract">subscribe to their feed</a> and get this and other great shows in the PHP Abstract series.
</p>]]></description>
      <pubDate>Thu, 05 Jul 2007 12:11:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Daniel Krook's Blog: Technology of the day: Bridging Java and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/7899</guid>
      <link>http://www.phpdeveloper.org/news/7899</link>
      <description><![CDATA[<p>
In a <a href="http://krook.net/archives/191">new post</a> to his blog today, <i>Danial Krook</i> shines a spotlight on a the technology that bridges the gap between two different languages - Java and PHP.
</p>
<blockquote>
In the time since I wrote that post [talking about <a href="http://krook.net/archives/160">PHP with WebSphere</a>], and particularly in the past month, there have been several items published which demonstrate the value of this technology. I still need to delve deeper, but here's a quick summary of what's going on.
</blockquote>
<p>
He looks quickly at this combination, <a href="http://krook.net/archives/191">breaking it out</a> into four parts - what the technology is, how it allows PHP and Java to work together, where you can download the needed software from and some resources where you can find out more information on implementation and examples of it in action.
</p>]]></description>
      <pubDate>Wed, 23 May 2007 08:43:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ivo Jansch's Blog: System.out.print in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/7410</guid>
      <link>http://www.phpdeveloper.org/news/7410</link>
      <description><![CDATA[<p>
<i>Ivo Jansch</i> discovered something interesting by way of an applicant's resume - a hidden "trick" that PHP pulls on the user when they try to use a Java-like syntax with System.
</p>
<blockquote>
<p>
So yesterday I was reviewing a code sample that a job applicant had written during a test and I encountered the following line of code: <?php System.out.print($result); ?> It's not hard to guess what his background was :), but I was initially stunned that this actually works in php.
</p>
</blockquote>
<p>
After a little investigating (and ruling out the Java Bridge), <i>Ivo</i> found that the line was being interpreted literally and was just being handled as a string instead of a constant. He gives two other examples to help with clarification.
</p>]]></description>
      <pubDate>Fri, 09 Mar 2007 07:12:44 -0600</pubDate>
    </item>
  </channel>
</rss>
