<?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>Fri, 29 Aug 2008 19:50:42 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPBuilder.com: Beginning Ajax with PHP: From Novice to Professional]]></title>
      <guid>http://www.phpdeveloper.org/news/8660</guid>
      <link>http://www.phpdeveloper.org/news/8660</link>
      <description><![CDATA[<p>
PHPBuilder has posted <a href="http://www.phpbuilder.com/columns/beginning_ajax20070104.php3">an excerpt</a> from an Apress book today - "Beginning Ajax with PHP: From Novice to Professional". It's from the third chapter that introduces the PHP and Ajax combination.
</p>
<blockquote>
While the concept of Ajax contains a handy set of functionality for creating actions on the fly, if you are not making use of its ability to connect to the server, you are really just using basic JavaScript. Not that there is anything truly wrong with that, but the real power lies in joining the client-side functionality of JavaScript with the server-side processing of the PHP language using the concept of Ajax.
</blockquote>
<p>
The <a href="http://www.phpbuilder.com/columns/beginning_ajax20070104.php3">article</a>'s pretty light on the code, but it does give a full example of showing and hiding dynamic content pulled from a backend PHP script (calendar information). Outside of that they just discuss general topics like "Why PHP and Ajax?" and the difference between client-side and server-side processing.
</p>]]></description>
      <pubDate>Mon, 17 Sep 2007 07:57:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Databases: Finishing a Listing Service]]></title>
      <guid>http://www.phpdeveloper.org/news/8186</guid>
      <link>http://www.phpdeveloper.org/news/8186</link>
      <description><![CDATA[<p>
DevShed wraps up their look at databases in PHP (a excerpted from "Programming PHP, Second Edition") with <a href="http://www.devshed.com/c/a/PHP/Databases-Finishing-a-Listing-Service/">this new tutorial</a> showing how to insert and work with PDO prepared statements.
</p>
<blockquote>
Concluding our discussion of databases and PHP, we'll finish building the [administration portion of the website] example that we started last week. 
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Databases-Finishing-a-Listing-Service/">start with the code</a> for the administration page for adding a new record to the table - in this case, a business. They give the code to handle the submit and how to display a list of the current businesses. They wrap it up with a look at working with PHP Data Objects (PDO) and using them to create prepared statements.
</p>]]></description>
      <pubDate>Thu, 05 Jul 2007 11:23:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Database Techniques and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8099</guid>
      <link>http://www.phpdeveloper.org/news/8099</link>
      <description><![CDATA[<p>
Continuing on from <a href="http://www.phpdeveloper.org/news/8048">this previous post</a>, DevShed has <a href="http://www.devshed.com/c/a/PHP/Database-Techniques-and-PHP/">this new tutorial</a> posted. Another excerpt from O'Reilly's "Programming PHP, Second Edition" (by <i>Kevin Tatroe</i>, <i>Rasmus Lerdorf</i>, and <i>Peter MacIntyre</i>), this section gets more into connecting to the database, making a query and returning some information.
</p>
<p>
They start off looking at the DSNs mentioned previously and include a bit of error checking around it to handle anything that might come up. The next step is, of course, to make a query against the information in your database. They also include an example of the fetchRow method to push the returned results into a variable.
</p>
<p>
The variable is built out as an array, so they show what that array looks like "on the inside" and how you can reference the different values that make it up.
</p>]]></description>
      <pubDate>Thu, 21 Jun 2007 13:02:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Databases and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/8048</guid>
      <link>http://www.phpdeveloper.org/news/8048</link>
      <description><![CDATA[<p>
DevShed has started a new series looking at working with PHP and databases with <a href="http://www.devshed.com/c/a/PHP/Databases-and-PHP/">this new tutorial</a> posted today, an excerpt from the O'Reilly book "Programming PHP, Second Edition".
</p>
<blockquote>
We focus on the PEAR DB system, which lets you use the same functions to access any database, rather than on the myriad database-specific extensions. In this chapter, you'll learn how to fetch data from the database, how to store data in the database, and how to handle errors. We finish with a sample application that shows how to put various database techniques into action.
</blockquote>
<p>
In <a href="http://www.devshed.com/c/a/PHP/Databases-and-PHP/">this first part</a> of the series, they look at what kinds of things are possible with the database connection, some of the basics of using the PEAR DB class and working with data source names to help with the connection.
</p>]]></description>
      <pubDate>Thu, 14 Jun 2007 12:08:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Sessions and Cookies]]></title>
      <guid>http://www.phpdeveloper.org/news/8001</guid>
      <link>http://www.phpdeveloper.org/news/8001</link>
      <description><![CDATA[<p>
DevShed has <a href="http://www.devshed.com/c/a/PHP/Sessions-and-Cookies/">a new book excerpt</a> from a good standby security resource from O'Reilly - <i>Chris Shiflett</i>'s "Essential PHP Security". This time, they focus on the chapter talking about sessions and cookie security.
</p>
<blockquote>
This chapter discusses sessions and the inherent risks associated with stateful web applications. You will first learn the fundamentals of state, cookies, and sessions; then I will discuss several concerns - cookie theft, exposed session data, session fixation, and session hijacking-along with practices that you can employ to help prevent them.
</blockquote>
<p>
<a href="http://www.devshed.com/c/a/PHP/Sessions-and-Cookies/">The chapter</a> talks about how the statelessness of HTTP causes problems, how cookies can be stolen because of it and what kinds of things you can do to keep you and your users safe (like session fixation).
</p>]]></description>
      <pubDate>Thu, 07 Jun 2007 13:15:43 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[WebReference.com: Security Techniques]]></title>
      <guid>http://www.phpdeveloper.org/news/7836</guid>
      <link>http://www.phpdeveloper.org/news/7836</link>
      <description><![CDATA[<p>
Filed under their "Advanced Topics" sections today is a <a href="http://www.webreference.com/programming/php/php5-advanced/index.html">new article</a> from WebReference.com that looks at some security techniques developers can use in their apps to help keep their and their user's information safe from prying eyes. It's an excerpt from <i>Larry Ullman</i>'s book "PHP 5 Advanced: Visual QuickPro Guide".
</p>
<blockquote>
<p>
This chapter will begin by rehashing the fundamentals of secure PHP programming. These are the basic things that I hope/assume you're already doing. After that a quick example shows ways to validate different kinds of data that might come from an HTML form. 
</p>
<p>
The third topic is the new-to-PHP 5 PECL library called Filter. Its usage isn't very programmer-friendly, but the way it wraps all of the customary data filtering and sanitizing methods into one interface makes it worth knowing. After that, two different uses of the PEAR Auth package show an alternative way to implement authorization in your Web applications. The chapter will conclude with coverage of the MCrypt library, demonstrating how to encrypt and decrypt data.
</p>
</blockquote>
<p>
The <a href="http://www.webreference.com/programming/php/php5-advanced/index.html">security tips</a> in this part of the series range from turning off register_globals (you do have it off, don't you?) to form validation with things like regular expressions and the ctype functions. 
</p>]]></description>
      <pubDate>Mon, 14 May 2007 11:43:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: PHP in Action - Chapter 7, Design Patterns. Part - III]]></title>
      <guid>http://www.phpdeveloper.org/news/7393</guid>
      <link>http://www.phpdeveloper.org/news/7393</link>
      <description><![CDATA[<p>
The Zend Developer Zone has posted <a href="http://devzone.zend.com/node/view/id/1755">the final part</a> of their excerpts from the Manning Publishing book "PHP in Action" today with <a href="http://devzone.zend.com/content/pdfs/PHPinAction_part3of3.pdf">part three</a> of the Design Patterns chapter.
</p>
<blockquote>
You know you've been waiting for it, here it is. The final installment of Chapter 7 of PHP in Action by Dagfinn Reiersol. Without further comment, here's the introduction to this section in Dagfinn's own words: "In this section we discuss an Iterator and a Composite."
</blockquote>
<p>
<i>Dagfinn</i> briefly mentions what the two patterns are about - a "canned loop" and making tree structures easy. Check out <a href="http://devzone.zend.com/content/pdfs/PHPinAction_part3of3.pdf">the PDF</a> for the remainder of the chapter.
</p>]]></description>
      <pubDate>Tue, 06 Mar 2007 12:13:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: PHP in Action - Chapter 7, Design Patterns. Part - II]]></title>
      <guid>http://www.phpdeveloper.org/news/7353</guid>
      <link>http://www.phpdeveloper.org/news/7353</link>
      <description><![CDATA[<p>
On the Zend Developer Zone, there's a <a href="http://devzone.zend.com/node/view/id/1734">new post</a> pointing to the second part of their look at the Manning Publishing book "PHP in Action".
</p>
<blockquote>
If you've been anxiously awaiting part two of this series then your wait is over. Here's a short introduction to the section part of this series written by the author of the book, Dagfinn Reiersol. I had the privilege of meeting Dagfinn at phpuk last week. Below the introduction is the link I know you've been waiting for.
</blockquote>
<p>
The <a href="http://devzone.zend.com/content/pdfs/PHPinAction_part2of3.pdf">new PDF</a> they link to focus on two different patterns - the Decorator (a wrapper class) pattern and the Null Object (an object that works like the others but does nothing behind the scenes) pattern.
</p>]]></description>
      <pubDate>Tue, 27 Feb 2007 12:24:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Foundations of Pear: Authentication]]></title>
      <guid>http://www.phpdeveloper.org/news/7168</guid>
      <link>http://www.phpdeveloper.org/news/7168</link>
      <description><![CDATA[<p>
PHPBuilder.com has <a href="http://www.phpbuilder.com/columns/foundations_of_pear20070125.php3">posted a new article</a> (an excerpt from the "Foundations of PEAR" book from APress) focusing on the authentication aspect and components PEAR has to offer.
</p>
<blockquote>
After all, nearly all authentication is identical in its basic functionality, and there's usually no good reason to spin off your own code if it's already written for you.
</blockquote>
<p>
They <a href="http://www.phpbuilder.com/columns/foundations_of_pear20070125.php3">talk about</a> three packages - the Auth package, Auth_HTTP, and the Auth_PrefManager. They describe the Auth package in depth in this article - common uses, related packages, required packages, what the constructor is like and descriptions of the functions the package provides.
</p>]]></description>
      <pubDate>Fri, 26 Jan 2007 08:37:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Beginning Ajax with PHP: From Novice to Professional, Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/7082</guid>
      <link>http://www.phpdeveloper.org/news/7082</link>
      <description><![CDATA[<p>
PHPBuilder.com is back with <a href="http://www.phpbuilder.com/columns/beginning_ajax20070111.php3">part two</a> of their look at building an application combining PHP and Ajax (as excerpted from the Apress book "Beginning Ajax with PHP: From Novice to Professional"). Part one for the series is <a href="http://www.phpdeveloper.org/news/7033">here</a>.
</p>
<blockquote>
A nice feature that I first noticed as being received positively by the Internet community is the auto-complete feature in Gmail. [...] The next example will show you how to do the same thing - although it's not quite as in-depth as the Gmail solution. 
</blockquote>
<p>
They <a href="http://www.phpbuilder.com/columns/beginning_ajax20070111.php3">start with the CSS and Javascript</a> to make the application work, including a simple XMLHttpRequest object for the Ajax connection. The "autocomplete" function is called via an onKeyPress event in the form on the page, grabbing the content and firing off a request to the backend script. The also include a series of screenshots that show the different steps of the process from entering the information down to outputting the results.
</p>]]></description>
      <pubDate>Fri, 12 Jan 2007 07:04:41 -0600</pubDate>
    </item>
  </channel>
</rss>
