<?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>Sun, 19 May 2013 03:37:24 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Martin Sikora's Blog: Silex + Doctrine 2 ORM]]></title>
      <guid>http://www.phpdeveloper.org/news/17924</guid>
      <link>http://www.phpdeveloper.org/news/17924</link>
      <description><![CDATA[<p>
<i>Martin Sikora</i> has shared some of his experience with setting up a Silex instance to <a href="http://martinsikora.com/silex-doctrine2-orm">work with Doctrine2</a> in a new post to his blog. The popular microframework comes with a built-in Doctrine service provider, so integration isn't overly difficult.
</p>
<blockquote>
<a href="http://silex.sensiolabs.org/">Silex</a> is great for its simplicity, however for larger projects you probably want to use some ORM like <a href="http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/index.html">Doctrine</a> but there's <a href="http://silex.sensiolabs.org/doc/providers/doctrine.html">build-in service provider only for Doctrine DBAL</a> and not ORM.
</blockquote>
<p>He breaks it up into five smaller steps, each with code samples to help clarify:</p>
<ul>
<li>Doctrine 2 ORM Service Provider
<li>Create your entity classes
<li>Mind Doctrine DBAL and Doctrine ORM versions
<li>Doctrine CLI
<li>Working with Doctrine ORM
</ul>]]></description>
      <pubDate>Tue, 08 May 2012 11:12:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: Building a Domain Model - Integrating Data Mappers]]></title>
      <guid>http://www.phpdeveloper.org/news/17691</guid>
      <link>http://www.phpdeveloper.org/news/17691</link>
      <description><![CDATA[<p>
In <a href="http://phpdeveloper.org/news/17591">this previous post</a> PHPMaster.com introduced you to the concept of "domain models", structures defining how data should be formatted for consistency. In <a href="http://phpmaster.com/integrating-the-data-mappers/">this second part</a> of the series, <i>Alejandro</i> show show to integrate them with a data access layer (DAL) to make them easier to work with.
</p>
<blockquote>
The phrase may sound like an cheap clich&eacute;, I know, but I'm not particularly interested in reinventing the wheel each time I tackle a software problem (unless I need a nicer and faster wheel, of course). In this case, the situation does warrant some additional effort considering we'll be trying to connect a batch of mapping classes to a blog's domain model. Given the magnitude of the endeavor, the idea is to set up from scratch a basic Data Access Layer (DAL) so that domain objects can easily be persisted in a MySQL database, and in turn, retrieved on request through some generic finders.
</blockquote>
<p>
He includes all the code you'll need to create a (namespaced) database adapter (PDO), the mapping layer to tie the domain models together and using it all in a practical "blog" example with posts, comments and users.
</p>]]></description>
      <pubDate>Mon, 19 Mar 2012 11:27:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: Selenium 2 from PHP code]]></title>
      <guid>http://www.phpdeveloper.org/news/17135</guid>
      <link>http://www.phpdeveloper.org/news/17135</link>
      <description><![CDATA[<p>
On DZone.com today <i>Girogio Sironi</i> <a href="http://css.dzone.com/articles/selenium-2-php-code">shares some of his experiences</a> testing out the PHP bindings currently offered to work with <a href="http://seleniumhq.org/">Selenium</a>, the web application frontend testing tool that's become a standard over the past few years.
</p>
<blockquote>
After trying out Selenium 2, it was natural for me to look for its support in PHP code; however, there isn't an official PHP Api distributed on Selenium's website. I tested all the PHP bindings I could find to see which is the best choice today.
</blockquote>
<p>
He tried out a few different technologies: 
</p>
<ul>
<li><a href="https://github.com/sebastianbergmann/phpunit-selenium">PHPUnit_Selenium</a>
<li>Facebook's <a href="https://github.com/facebook/php-webdriver">php-webdriver</a>
<li>the <a href="http://code.google.com/p/php-webdriver-bindings/">php-webdriver-bindings</a> project
<li><a href="https://github.com/chibimagic/WebDriver-PHP/">WebDriver-PHP</a>
</ul>
<p>
The finishes the post with a quick summary for each of the offerings including strengths each has and situations where you might want to use them.
</p>]]></description>
      <pubDate>Wed, 16 Nov 2011 10:06:01 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Kevin Schroeder's Blog: Connecting to PHPCloud.com through Zend Studio 9]]></title>
      <guid>http://www.phpdeveloper.org/news/17133</guid>
      <link>http://www.phpdeveloper.org/news/17133</link>
      <description><![CDATA[<p>
If you're a Zend Studio user and have been wondering how to hook it directly into the <a href="http://phpcloud.com">phpcloud</a> service from Zend, <i>Kevin Schroeder</i> has <a href="http://www.eschrade.com/page/connecting-to-phpcloud-com-through-zend-studio-9">posted complete instructions</a> in a new post today (complete with screenshots).
</p>
<blockquote>
PHPCloud.com is the landing page for our new cloud offering.  Using the <a href="http://www.eschrade.com/page/what-is-phpcloud-com/">Zend Application Fabric</a> you can build your applications in the same environment as you will be deploying your apps to.  The application is built on my.phpcloud.com and you can then deploy it onto any platform where the Fabric is supported. But how do you get started?  Phpcloud.com has been built in a way where you can connect with any IDE.  With Zend Studio 9 that connectivity has been built directly in to the IDE.
</blockquote>
<p>
It's a simple six (well, technically seven) step process that involves setting up a new project, configuring some deployment options and hitting "deploy". Zend Studio makes it super simple to launch your application as many times as you need - a one-click deploy once things are all set up.
</p>]]></description>
      <pubDate>Wed, 16 Nov 2011 08:02:19 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Lukas Smith's Blog: Drupal using Symfony2 HttpFoundation is huge]]></title>
      <guid>http://www.phpdeveloper.org/news/16820</guid>
      <link>http://www.phpdeveloper.org/news/16820</link>
      <description><![CDATA[<p>
As <i>Lukas Smith</i> mentions in his <a href="http://pooteeweet.org/blog/0/1985#m1985">latest post</a>, the <a href="http://drupal.org/">Drupal</a> project has made a switch to use the HttpFoundation component of the <a href="http://symfony-project.org">Symfony2</a> project as a integral part of their HTTP handling.
</p>
<blockquote>
[...] The fact that Drupal8 will use Symfony'2 <a href="https://github.com/symfony/HttpFoundation">HttpFoundation</a> component is huge, because it will make integration a breeze. Basically Symfony2 converts a Request instance to a Response. So if both Symfony2 and Drupal8 use the same <a href="https://github.com/symfony/HttpFoundation/blob/master/Request.php">Request</a> and <a href="https://github.com/symfony/HttpFoundation/blob/master/Response.php">Response</a> classes it means that creating a sub-request and handing the response from Drupal8 into Symfony2 (or vice versa) will require no conversion at all.
</blockquote>
<p>
He also points out Drupal's use of the <a href="https://github.com/symfony/ClassLoader">ClassLoader</a> component will make integration even easier. This is great news for Symfony fans out there that have been needing to work directly with a Drupal install (or even those wanting to create new Drupal additions in the environment they're familiar with). You'll have to wait for Drupal 8 to get these benefits, though.
</p>]]></description>
      <pubDate>Tue, 06 Sep 2011 11:37:35 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Integrate Facebook Comments Code with Wordpress or PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/16512</guid>
      <link>http://www.phpdeveloper.org/news/16512</link>
      <description><![CDATA[<p>
On DevShed today there's a new tutorial showing you how to <a href="http://www.devshed.com/c/a/PHP/How-to-Add-Facebook-Comment-Boxes-with-PHP/">integrate Facebook commenting</a> with your PHP application via the Facebook Connect API.
</p>
<blockquote>
Facebook comments are a great way to optimize your site for social media and add a level of user-engagement to you site. Quality website comments can increase your website's credibility, as well as its traffic. This tutorial will teach you how to use Facebook's API Connect to integrate comment boxes on your website in a few simple steps, utilizing a little PHP and some elbow grease.
</blockquote>
<p>
You'll need to <a href="http://www.facebook.com/developers/createapp.php">set up an application</a> for your PHP app to make the connection. This will give you the unique keys for your application that'll be used in setting up the commenting. By including a Facebook javascript file, all you'll need to do is output a special "fb" HTML tag with the right attributes and a meta tag or two to configure it with your application's keys.
</p>]]></description>
      <pubDate>Thu, 23 Jun 2011 12:16:19 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Juhana Rasanen's Blog: Using MongoDB with CodeIgniter]]></title>
      <guid>http://www.phpdeveloper.org/news/15391</guid>
      <link>http://www.phpdeveloper.org/news/15391</link>
      <description><![CDATA[<p>
On the Juhana Rasanen's blog today there's <a href="http://westcoastwinds.wordpress.com/2010/11/03/using-mongodb-with-codeigniter/">a new tutorial</a> showing you how to use the popular NoSQL database MongoDB with an application written in the <a href="http://codeigniter.com">CodeIgniter</a> framework.
</p>
<blockquote>
Considering using MongoDB instead of a SQL DB in your next CodeIgniter project? Well, we were and decided to take a stab at it, and fairly soon discovered that it is pretty straightforward. Even more so, if you don't try to use CI Active Record, but use native PHP Mongo interface to store and query your data. That suits our case, as we are planning to access the data mostly from Javascript UI over Ajax - in which case it is quite simple to just get the document from Mongo as an array and then serialize it to the UI using PHP JSON functions.
</blockquote>
<p>
He talks about his extension of CI_Session to handle the session management and user authentication pulled from the MongoDB and used as normal in your application. He's made the package <a href="http://precond.com/internal.html#cimongosession">available for for download</a> if you'd like to see how its implemented (there's a README for installation instructions).
</p>]]></description>
      <pubDate>Fri, 05 Nov 2010 11:01:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mike Willbanks' Blog: Integrating Gearman Into Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/15294</guid>
      <link>http://www.phpdeveloper.org/news/15294</link>
      <description><![CDATA[<p>
In <a href="http://blog.digitalstruct.com/2010/10/17/integrating-gearman-into-zend-framework/">this new post</a> to his blog <i>Mike Willbanks</i> shows you how you can integrate the <a href="http://gearman.org/">Gearman</a> tool (for automating multiple workers to do jobs behind the scenes) into a Zend Framework application, creating a full setup and a sample job.
</p>
<blockquote>
This article will go into incorporating Gearman workers into Zend Framework (rather a lightweight approach that can and likely should be scaled out) as you work with "Workers". I have implemented these much to be like "Controllers" in the current MVC model, however, they do lack quite a bit of functionality at this point in the process. Basically, they do not support any plugins or action helpers. However, if you are looking for some form of consistency in your Gearman workers, this is a fairly unique approach of getting them incorporated into your application.
</blockquote>
<p>
He starts with an overview of how things will work - some of the abilities he was looking for in the interface and his solution for having a "supervisor" of the processes in case they might need to be killed off. He includes the code for the different parts of the technique:
</p>
<ul>
<li>The Worker script itself that checks for Gearman support and creates some basic settings
<li>A Dispatcher that creates a Gearman worker and executes it
<li>and a Bootstrap that brings them all together.
</ul>
<p>
He also includes a sample worker script that just executes and echos out a message talking about its current workload.
</p>]]></description>
      <pubDate>Mon, 18 Oct 2010 10:28:24 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Oracle Technology Network: Integrate PHP & Java Applications w/Oracle WebLogic Server & Zend Server]]></title>
      <guid>http://www.phpdeveloper.org/news/14900</guid>
      <link>http://www.phpdeveloper.org/news/14900</link>
      <description><![CDATA[<p>
As is mentioned in <a href="http://devzone.zend.com/article/12373-PHP-and-Java-play-nice-in-the-OracleZend-sandbox">this new post</a> to the Zend Developer Zone</a> today, Oracle has <a href="http://www.oracle.com/technetwork/articles/dsl/oracle-java-zend-server-152557.html">released a new article</a> on their Technology Network about getting PHP and Java applications to work together via the Oracle WebLogic Server and Zend Server.
</p>
<blockquote>
Whether you're experienced in Java, or PHP, or both, the ability to integrate these two development environments together is a "best of both worlds" scenario for enterprise Web application developers. [...] Zend Server, a high-performance, enterprise-ready PHP stack that runs on both Windows and Linux and that comes with a built-in "Java bridge" to connect PHP with JEE applications and services. This article will tell you more, demonstrating just how simple it is to use Zend Server to connect PHP applications with Java classes deployed on Oracle WebLogic middleware.
</blockquote>
<p>
They talk about the Java bridge that comes with <a href="http://www.oracle.com/technology/tech/php/zend-server.html">Zend Server</a> - how to install it and make it active - as well as including some code showing how to access a sample Java class via a new Java object. They also show how to access custom Java classes and how to work with an enterprise JavaBeans server.
</p>]]></description>
      <pubDate>Wed, 04 Aug 2010 08:16:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed.com: Asirra Captcha PHP Integration]]></title>
      <guid>http://www.phpdeveloper.org/news/14869</guid>
      <link>http://www.phpdeveloper.org/news/14869</link>
      <description><![CDATA[<p>
On DevShed.com today there's <a href="http://www.devshed.com/c/a/PHP/Asirra-Captcha-PHP-Integration/">a new tutorial</a> about implementing the <a href="http://research.microsoft.com/en-us/um/redmond/projects/asirra/">Asirra</a> CAPTCHA system (from Microsoft) into your application for spam prevention.
</p>
<blockquote>
Unlike other types of captcha that utilize difficult text obfuscation techniques (such as Google reCaptcha), this system utilizes images of dogs and cats, such as those shown in <a href="http://images.devshed.com/ds/stories/.Codex/asirra1.jpg">this screenshot</a>.
</blockquote>
<p>
They describe some of the reasons to use the system (hard to break, doesn't use sessions, easy to integrate) and how it works. They show how to implement the system on both the server and client side.
</p>
]]></description>
      <pubDate>Thu, 29 Jul 2010 10:36:28 -0500</pubDate>
    </item>
  </channel>
</rss>
