<?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 07:18:22 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Matthew Weier O'Phinney: RESTful APIs with ZF2, Part 3]]></title>
      <guid>http://www.phpdeveloper.org/news/19234</guid>
      <link>http://www.phpdeveloper.org/news/19234</link>
      <description><![CDATA[<p>
<i>Matthew Weier O'Phinney</i> has posted the <a href="http://mwop.net/blog/2013-02-25-restful-apis-with-zf2-part-3.html">third part of his series</a> about making RESTful APIs with Zend Framework 2 (parts <a href="http://phpdeveloper.org/news/19170">one</a> and <a href="http://phpdeveloper.org/news/19180">two</a>). In this latest part of the series, he talks more about documenting the API and what commands can be executed.
</p>
<blockquote>
In this post, I'll be covering documenting your API -- techniques you can use to indicate what HTTP operations are allowed, as well as convey the full documentation on what endpoints are available, what they accept, and what you can expect them to return. [...] hy Document? If you're asking this question, you've either never consumed software, or your software is perfect and self-documenting. I frankly don't believe either one.
</blockquote>
<p>
He covers a few reasons why you should document your API and where he thinks it should live to be the most useful. He includes a few different ideas and two things he definitely thinks should exist for your API - the use of OPTIONS and end-user documentation. The first is a HTTP header (ZF2 code example included) that tells the API consumer what they can do with an endpoint. The second type is more useful for the human reader, giving them a better overall perspective on what the API can do - still served through the API but in a bit more understandable format.
</p>]]></description>
      <pubDate>Mon, 25 Feb 2013 12:21:30 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Roane's Blog: Options for Building a Website from a Developers Perspective]]></title>
      <guid>http://www.phpdeveloper.org/news/18130</guid>
      <link>http://www.phpdeveloper.org/news/18130</link>
      <description><![CDATA[<p>
<i>Chris Roane</i> has a new post to his blog outlining a few different options web developers today have for <a href="http://www.montanaprogrammer.com/work-smarter/developing-website-options/">creating new websites or applications</a> - static, custom, framework-based or CMS.
</p>
<blockquote>
Over the years I've built many different types of websites. These range from being a few pages, to being very customized with advanced features. I've learned there is no clear definition in the best way to create a website. But I do think there are advantages and disadvantages to pursuing different methods. This article takes an analytical look at each option. Let's take a closer look at the different approaches in building a website.
</blockquote>
<p>
He includes a brief summary talking about each method and mentions things like benefits and downfalls of the approach and what can be involved in their development.
</p>]]></description>
      <pubDate>Mon, 25 Jun 2012 08:28:27 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Henrik Bj&oslash;rnskov's Blog: Symfony2: Using the validator symfony1 style]]></title>
      <guid>http://www.phpdeveloper.org/news/17495</guid>
      <link>http://www.phpdeveloper.org/news/17495</link>
      <description><![CDATA[<p>
In <a href="http://henrik.bjrnskov.dk/symfony2-using-the-validator-symfony1-style/">this quick new post</a> to his blog <i>Henrik Bj&oslash;rnskov</i> shows how to use the validators in <a href="http://symfony.com">Symfony2</a> in a more traditional Symfony 1 style for a form.
</p>
<blockquote>
Two of the more complicated components in Symfony2 is the Form and Validator component. The Validator is created in such a way it "always" need an Domain Object with Constraints associated through metadata. This is <a href="http://symfony.com/doc/2.0/book/validation.html">explained in detail here</a>. But there is another way. A way that resemble's the symfony1 forms. Where you could specify the validations directly in your form class.
</blockquote>
<p>
Code is included in the post to show how to load in a few of the validators (like NotBlank, Email and Choice) and how to use them in the settings defined in the "getDefaultOptions" method. 
</p>]]></description>
      <pubDate>Fri, 03 Feb 2012 11:15:01 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Amazium Blog: PHP in the Dark: Input/Output]]></title>
      <guid>http://www.phpdeveloper.org/news/16815</guid>
      <link>http://www.phpdeveloper.org/news/16815</link>
      <description><![CDATA[<p>
On the Amazium blog <i>Jeroen Keppens</i> has a recent post looking at some of tools available to you when needing to <a href="http://www.amazium.com/blog/php-in-the-dark-input-output">filter input and escape output</a> in your applications. This post specifically covers filtering on command line applications.
</p>
<blockquote>
When you need data input in a web context, you send a GET/POST request to your script. On the command line, things work differently. In this blog post, we will talk obout input and output in php-cli.
</blockquote>
<p>The post is broken up into a few different sections:</p>
<ul>
<li><a href="http://www.amazium.com/blog/php-in-the-dark-input-output/#arguments">Handling arguments</a>
<li><a href="http://www.amazium.com/blog/php-in-the-dark-input-output/#file_descriptors">File descriptors</a>
<li><a href="http://www.amazium.com/blog/php-in-the-dark-input-output/#interactive_input">Interactive input</a>
<li><a href="http://www.amazium.com/blog/php-in-the-dark-input-output/#resources">Resources mentioned in the post</a>
</ul>
<p>
Tools mentioned include everything from <a href="http://php.net/getopt">getopt</a> and <a href="http://pear.php.net/package/Console_Getopt">PEAR's' Console_Getopt</a> out to using file descriptors and working with readline.
</p>]]></description>
      <pubDate>Mon, 05 Sep 2011 11:25:32 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect Blog: PHP in the Cloud - New Options for Application Hosting]]></title>
      <guid>http://www.phpdeveloper.org/news/15871</guid>
      <link>http://www.phpdeveloper.org/news/15871</link>
      <description><![CDATA[<p>
On the php|architect blog today there's a new post from <i>Joel Clermont</i> about some of the <a href="http://www.phparch.com/2011/02/php-in-the-cloud-new-options-for-application-hosting/">recent cloud-based offerings</a> that have popped up in the PHP world - Platform as a Service solutions that can help take the effort out of the usual application hosting issues.
</p>
<blockquote>
Enter the newcomer to the world of PHP deployment options: Platform as a Service (PaaS). You may be rolling your eyes at the introduction of yet another buzzword and acronym, but before you dismiss it, consider how it might fit in to your application hosting strategy. I've heard Platform as a Service described as a "layer above the cloud," that is, it builds on the existing cloud infrastructure, like Amazon's EC2, but abstracts away all the setup and maintenance tasks of running an entire server. As <a href="http://twitter.com/#!/davidcoallier">David Coallier</a> described it to me, the goal is to "deploy apps, not servers."
</blockquote>
<p>
<i>Joel</i> mentions two different offerings that have popped up recently - <a href="http://phpfog.com/">PHPFog</a> and <a href="http://orchestra.io/">Orchestra</a>. Both services have some nice features that he gets into including application templates, git integration and configuration for specific kinds of technologies (like database support and memcache availability).
</p>]]></description>
      <pubDate>Tue, 08 Feb 2011 09:14:19 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Gonzalo Ayuso's Blog: Looking for the perfect PHP IDE]]></title>
      <guid>http://www.phpdeveloper.org/news/15023</guid>
      <link>http://www.phpdeveloper.org/news/15023</link>
      <description><![CDATA[<p>
In <a href="http://gonzalo123.wordpress.com/2010/08/24/looking-for-the-perfect-php-ide/">this new post</a> to his blog <i>Gonzalo Ayuso</i> talks about his quest for the perfect PHP IDE (well, for his needs at least) and several of the contenders he tried out along the way.
</p>
<blockquote>
I've got a problem. I haven't found the perfect IDE for me. Yet. I've got problems with every software. Now I will try to explain the problems I have and maybe someone shows me the light and helps me to discover the perfect editor/IDE.
</blockquote>
<p>
His needs include that it be able to run on Linux, that it include code auto-completion, syntax highlighting and a built-in debugger. He tried out a whole list of IDEs including Zend Studio 7, Eclipse PDT, Netbeans and Vim. For each he describes his opinions and talks about what's right and wrong as far as his needs. If you're on a quest for that "perfect IDE" for yourself, you might read his thoughts as well as the <a href="http://gonzalo123.wordpress.com/2010/08/24/looking-for-the-perfect-php-ide/#comments">suggestions of others</a> on the comments.
</p>]]></description>
      <pubDate>Thu, 26 Aug 2010 10:21:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: How to Override PHP Configuration Options]]></title>
      <guid>http://www.phpdeveloper.org/news/14129</guid>
      <link>http://www.phpdeveloper.org/news/14129</link>
      <description><![CDATA[<p>
<i>Craig Buckler</i> has added a new post to the SitePoint PHP blog today that looks at some of the PHP configuration options and <a href="http://www.sitepoint.com/blogs/2010/03/04/how-to-override-php-configuration-settings/">how you can change them</a> from two different places (besides the php.ini file).
</p>
<blockquote>
Configuring PHP is easy. You can change almost any aspect of the interpreter within the php.ini configuration file, e.g. modify error handling, increase memory usage, etc. Unfortunately, problems can occur when you move your application to a live hosting environment or are distributing the code to customers. ISPs usually lock down the php.ini configuration file - especially on shared hosting. This could cause your application to fail.
</blockquote>
<p>
If you're lucky enough to be able to use htaccess files, his first method will work for you - using the "php_flag" or "php_value" directives to change settings for your entire application. The other option is more on an as needed basis - using the <a href="http://php.net/ini_set">ini_set</a> method to change configuration options. Be careful, though, only some configuration options can be changed using these methods. Some still require changes to the php.ini and a restart of the web server.
</p>]]></description>
      <pubDate>Thu, 04 Mar 2010 10:09:45 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Digimantra.com: Treat any file as PHP in Netbeans]]></title>
      <guid>http://www.phpdeveloper.org/news/13931</guid>
      <link>http://www.phpdeveloper.org/news/13931</link>
      <description><![CDATA[<p>
If you're a NetBeans user and have been frustrated by it's default handling of non-PHP extension files as PHP, you should check out <a href="http://www.digimantra.com/howto/treat-file-php-netbeans/">this new post</a> from <i>Sachin Khosl</i> on digimantra.com on how to fix the issue.
</p>
<blockquote>
You love coding in Netbeans and you find it pretty uneasy when it does not function the way you want it to. That was the same with me when I started development in drupal and I was unable to associate the .module as PHP in my favorite editor Netbeans. However with little play around with options I was able to associate .module files as PHP file in Netbeans IDE. So for doing so follow [these] steps.
</blockquote>
<p>
You can change the setting for plenty of different extensions (and add your own custom ones) in the Options under the Miscellaneous section's Files tab. Check out <a href="http://www.digimantra.com/blog/wp-content/uploads/2010/01/netbeans_file_association.jpg">this screenshot</a> to see the location.
</p>]]></description>
      <pubDate>Thu, 28 Jan 2010 14:03:40 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Brandon Savage's Blog: Scaling Up: Picking The Right Setup]]></title>
      <guid>http://www.phpdeveloper.org/news/12239</guid>
      <link>http://www.phpdeveloper.org/news/12239</link>
      <description><![CDATA[<p>
<i>Brandon Savage</i> has <a href="http://www.brandonsavage.net/scaling-up-picking-the-right-setup/">a few recommendations</a> when it comes to taking your application to the next level - scaling it up to meet the needs of the masses using your application every day.
</p>
<blockquote>
The modern age has brought us lots of new ways to take a growing site and scale it. From Amazon Web Services to cloud computing and grid computing, to Mosso and Akamai, there are lots of options we should consider. This article won't make a recommendation as to which you should pick; it will simply discuss what each service has to offer and leave it up to you.
</blockquote>
<p>
He suggests four different alternatives to pick from when making the move up - the old standby of purchasing more hardware, making use of the Amazone Web Services, using a "cloud" like Mosso or implementing a Content Delivery Network to lighten the load and spread it out across a wider range of servers.
</p>]]></description>
      <pubDate>Tue, 31 Mar 2009 07:52:15 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[O'Reilly: PHP Search Engine Showdown]]></title>
      <guid>http://www.phpdeveloper.org/news/7490</guid>
      <link>http://www.phpdeveloper.org/news/7490</link>
      <description><![CDATA[<p>
On the O'Reilly OnLamp.com website today, there's <a href="http://www.onlamp.com/pub/a/php/2006/02/16/search-engine-showdown.html?CMP=OTC-6YE827253101&ATT=PHP+Search+Engine+Showdown">a new article</a> that compares searching methods on a site - a "search engine showdown".
</p>
<blockquote>
It's a universal frustration. You just know that the piece of information you're looking for is somewhere on a site. You click one link, then another, and another. You go back to the home page and try a different branch of the site. After dozens of clicks, you still can't find the information you need. Then it's back to Google and on to another site. At last you find one with an internal search engine. You enter your search term, and voilá!--the information you need pops up in less than a second.
</blockquote>
<p>
They compare these two types - <a href="http://www.onlamp.com/pub/a/php/2006/02/16/search-engine-showdown.html?CMP=OTC-6YE827253101&ATT=PHP+Search+Engine+Showdown">hosted versus local</a> - and show how to get started on integrating one, the local option, into your site. They start with a few things consider before getting into the choices - the physical issues involved, the page information itself, and how the engine will index.
</p>
<p>
The rest of the article is devoted to the different options they'd recommend along with ratings, what technology they use, if they're PHP5 compatible, difficulty of installation, and many more criteria. Their list of leading local search engines for your site are:
<ul>
<li>Sphider
<li>MnogoSearch
<li>TSEP
<li>PHPDig
<li>iSearch
<li>RiSearch
</ul>
</p>]]></description>
      <pubDate>Fri, 23 Mar 2007 07:48:00 -0500</pubDate>
    </item>
  </channel>
</rss>
