<?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 06:57:24 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Stuart Herbert's Blog: PHP Components: Shipping Web Pages With Your Components]]></title>
      <guid>http://www.phpdeveloper.org/news/16726</guid>
      <link>http://www.phpdeveloper.org/news/16726</link>
      <description><![CDATA[<p>
<i>Stuart Herbert</i>'s latest post in his "PHP Components" series looks at an optional but handy thing you can include in your component's package - web pages (be they a manual or other kind of information). <a href="http://blog.stuartherbert.com/php/2011/08/16/php-components-shipping-web-pages-with-your-components/">This new post</a> talks about where they should lie in the component's package structure.
</p>
<blockquote>
I'm now going under the bonnet of our components, and looking at the different <a href="http://blog.stuartherbert.com/php/2011/04/04/explaining-file-roles/">file roles</a> that the PEAR installer expects to find when we distribute our component as a PEAR-compatible package. It isn't very often that a component needs to ship web pages too, but should the need arise, here's how to do it.
</blockquote>
<p>
He starts by defining what a "web page" could be (HTML, Javascript, CSS, etc) and gives <a href="http://blog.stuartherbert.com/php/wp-content/uploads/2011/08/php-www-role-11.png">the place in the hierarchy</a> they should fit. When you use the PEAR client to install the package, these files are placed in the "www" folder of your PEAR installation.
</p>]]></description>
      <pubDate>Tue, 16 Aug 2011 13:13:06 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[TechFounder.net: Making web-pages go faster using PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11414</guid>
      <link>http://www.phpdeveloper.org/news/11414</link>
      <description><![CDATA[<p>
The TechFounder blog has a <a href="http://www.techfounder.net/2008/11/16/making-web-pages-go-faster-using-php/">few general tips</a> you can use to help your web pages go a bit faster:
</p>
<blockquote>
As it might be expected, there are several techniques to optimize the delivery of web pages. The <a href="http://developer.yahoo.com/performance/">Exceptional Performance</a> guide by Yahoo is a great resource for a multitude of optimizations practices, including specifically two techniques which I will address in this article - script <a href="http://developer.yahoo.net/blog/archives/2007/07/high_performanc_8.html">minifcation</a> and <A href="http://yuiblog.com/blog/2008/07/21/performance-research-part-6/">concatenation</a>.
</blockquote>
<p>
Suggestions include reducing total request counts and minification of external libraries via the <a href="http://minify.googlecode.com/files/release_2.1.1.zip">Minify</a> tool.
</p>]]></description>
      <pubDate>Mon, 17 Nov 2008 08:42:16 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DeveloperTutorials.com: Scraping Links With PHP  ]]></title>
      <guid>http://www.phpdeveloper.org/news/9414</guid>
      <link>http://www.phpdeveloper.org/news/9414</link>
      <description><![CDATA[<p>
The Developer Tutorials site has posted a new article <a href="http://www.developertutorials.com/tutorials/php/scraping-links-with-php-8-01-05/page1.html">covering the creation</a> of a small application that can help you scrape content from a remote page and pull it into your script.
</p>
<blockquote>
In this tutorial you will learn how to build a PHP script that <a href="http://en.wikipedia.org/wiki/Web_scraping">scrapes</a> links from any web page.
</blockquote>
<p>
You'll learn to use cURL, the DOM functions, XPath and a bit of MySQL to get the job done. It's nice to see that they also include <a href="http://www.developertutorials.com/tutorials/php/scraping-links-with-php-8-01-05/page9.html">a section</a> looking at one of the more touchy aspects of web page scraping - "is it legal?"
</p>]]></description>
      <pubDate>Mon, 14 Jan 2008 08:44:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Building Object-Oriented Web Pages with Inheritance in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/8256</guid>
      <link>http://www.phpdeveloper.org/news/8256</link>
      <description><![CDATA[<p>
DevShed has <a href="http://www.devshed.com/c/a/PHP/Building-Object-Oriented-Web-Pages-with-Inheritance-in-PHP-5/">posted part one</a> of a new pair of articles that show how to use inheritance in your PHP applications.
</p>
<blockquote>
In the two articles in this series I'm going to show you how to build a sample object-based web site from its bare bones structure, by using the encapsulated logic of some parent and child PHP 5 classes. In this way I'll demonstrate how inheritance can be used to tackle a concrete project, such as constructing dynamic web pages.
</blockquote>
<p>
In <a href="http://www.devshed.com/c/a/PHP/Building-Object-Oriented-Web-Pages-with-Inheritance-in-PHP-5/">part one</a>, they build the foundation of their sample application - a web page builder - by defining the WebPage class and abstract methods for it like buildHeader, buildStyles and buildBody. Inheriting from this, they build a HomeWebPage class that defines the methods and values to create a simple page. They take it even a step further and build an AboutUsWebPage to show another implementation.
</p>]]></description>
      <pubDate>Mon, 16 Jul 2007 15:18:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Hasin Hayder's Blog: Creating Thumbnail of WebPages using WebThumb API]]></title>
      <guid>http://www.phpdeveloper.org/news/6197</guid>
      <link>http://www.phpdeveloper.org/news/6197</link>
      <description><![CDATA[<p>
From <i>Hasin Hayder</i>'s blog, there's <a href="http://hasin.wordpress.com/2006/09/04/115/">a new tutorial</a> demonstrating how to use the newly released <a href="http://blog.joshuaeichorn.com/archives/2006/09/01/webthumb-api-released/">WebThumb API</a> from <i>Joshua Eichorn</i> to create thumbnails of websites dynamically.
</p>
<blockquote>
<p>
Using WebThumb API, you can generate a thumbnail in three steps. First you have to place a request containing the URL. As soon as your request is successful, WebThumb store your request in queue. That means you are not getting the thumbnail instantly (well, there are other factors also. to fetch an url requires time, so it is not possible to generate the thumbnail in real time).
</p>
<p>
In second step you have to check whether your thumbnail has been generated or it is still in the queue. If you get a green signal, you will proceed to the third step where you have to request a download URL of your thumbnails.
</p>
</blockquote>
<p>
He <a href="http://hasin.wordpress.com/2006/09/04/115/">shows how to make a request</a> to the API, check how your request is doing (status), and grabbing the thumbnail it's generated. Then, it's on to the code, and a complete PHP script (using cURL) to make the complete request to the API, including waiting for the image to be finished to grab it.
</p>]]></description>
      <pubDate>Wed, 06 Sep 2006 06:15:15 -0500</pubDate>
    </item>
  </channel>
</rss>
