<?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>Tue, 21 May 2013 03:59:41 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Ulf Wendel's Blog: Using MySQL stored procedures with PHP mysqli]]></title>
      <guid>http://www.phpdeveloper.org/news/17088</guid>
      <link>http://www.phpdeveloper.org/news/17088</link>
      <description><![CDATA[<p>
<i>Ulf Wendel</i> has a new post today with details on <a href="http://blog.ulf-wendel.de/2011/using-mysql-stored-procedures-with-php-mysqli/">using stored procedures with mysqli</a> - not overly difficult if you know how to handle the IN, OUT and INOUT parameters. He includes a few code examples showing how to use them.
</p>
<blockquote>
Out of curiosity I asked another friend, a team lead, how things where going with their PHP MySQL project, for which they had planned to have most of their business logic in stored procedures. I got an email in reply stating something along the lines: "Our developers found that mysqli does not support stored procedures correctly. We use PDO.". Well, the existing documentation from PHP 5.0 times is not stellar, I confess. But still, that's a bit too much... it ain't that difficult. And, it works.
</blockquote>
<p>
He describes the three parameters (IN, OUT and INOUT) and gives some examples of setting/getting them from your SQL statements. They're all still set up using the <a href="http://us2.php.net/manual/en/mysqli.query.php">query method</a> on your connection as well as handling the result sets that come back and working with prepared statements.
</p>]]></description>
      <pubDate>Fri, 04 Nov 2011 11:39:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Till Klampaeckel's Blog: Zend Framework: Writing an IN-Clause with Zend_Db]]></title>
      <guid>http://www.phpdeveloper.org/news/15612</guid>
      <link>http://www.phpdeveloper.org/news/15612</link>
      <description><![CDATA[<p>
In <a href="http://till.klampaeckel.de/blog/archives/129-Zend-Framework-Writing-an-IN-Clause-with-Zend_Db.html">a new post</a> to his blog <i>Till Klampaeckel</i> looks at something the Zend Framework's Zend_Db component dosen't seem to support - an "IN" on a fetchAll - and how he worked around it.
</p>
<blockquote>
The IN-clause is only supported when I wrap my statement with Zend_Db_Select, which is something I rarely do. Part of the reason is that I still don't feel comfortable writing my SQL in a DSL which doesn't really do anything besides wrapping a string into an object and IMHO it doesn't add to readability either. And the other reason is that I don't plan to run this import against any other database than MySQL. Which is why I don't see the need for abstraction either.
</blockquote>
<p>
He shows some failing code where the IN isn't populated correctly when an array is passed in and the warnings that come with it. He solution's pretty simple, though - rewrite the query string before sending it with the correct number of bind locations ("?") for the number of parameters. In the comments, other approaches are suggested including using a simple select() call or tricking the bindings with a special kind of array. 
</p>]]></description>
      <pubDate>Tue, 21 Dec 2010 13:16:07 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Job Posting: Purdue University Seeks Web Programmer/Analyst (West Lafayette, IN)]]></title>
      <guid>http://www.phpdeveloper.org/news/10436</guid>
      <link>http://www.phpdeveloper.org/news/10436</link>
      <description><![CDATA[<table cellpadding="3" cellspacing="2" border="0">
<tr>
	<td style="font-weight:bold;vertical-align:top;font-size:11px">Company</td>
	<td style="font-size:11px">Purdue University</td>
</tr>
<tr>
	<td style="font-weight:bold;vertical-align:top;font-size:11px">Location</td>
	<td style="font-size:11px">West Lafayette, IN</td>
</tr>
<tr>
	<td style="font-weight:bold;vertical-align:top;font-size:11px">Title</td>
	<td style="font-size:11px">Web Programmer/Analyst</td>
</tr>
<tr>
	<td style="font-weight:bold;vertical-align:top;font-size:11px">Summary</td>
	<td style="font-size:11px">
	<p>
	Responsible for designing, developing, and maintaining complex Web applications. Duties can include: meeting with customers to understand application requirements, developing technical specifications for application, programming application, testing that application satisfies requirements, is secure, and is accessible to all users, interfacing Web application with a Database Management System (DBMS), and documenting application and creating user manuals. Develop, support, and administer database server software. Provide help desk support for faculty, staff and graduate students. Serve as a member of the Department of Mathematics Web Committee. Supervise one regular service staff member. Assign, instruct and review the work of staff.
	</p>
	<p><b>Qualifications</b></p>
	<p>Required:</p>
	<ul>
	<li>Bachelor's degree.
	<li>One year experience designing and interfacing database applications that interact with the web, and database administration.
	<li>Experience developing database-driven web applications using PHP and MySQL or PostgreSQL.
	<li>UNIX and Linux web server experience.
	<li>Good oral/written communication skills.
	<li>Capable of working both independently and with others, while managing multiple projects.
	</ul>
	<p>Preferred:</p>
	<ul>
	<li>Experience with CGI scripting in Perl.
	<li>Knowledge of Shell scripting, Java, Subversion, XML.
	</ul>
	<p>Additional Information:</p>
	<ul>
	<li>FLSA: Exempt (Not Eligible For Overtime)
	<li>Retirement Eligibility: TIAA/CREF Contribution Waiting Period.
	</ul>
	<p>
	See this page for more information: <a href="http://purdue.taleo.net/careersection/wl/jobdetail.ftl?lang=en&job=42620">http://purdue.taleo.net/careersection/wl/jobdetail.ftl?lang=en&job=42620</a>
	</p>
	</td>
</tr>
<tr>
	<td style="font-weight:bold;vertical-align:top;font-size:11px">Link</td>
	<td style="font-size:11px"><a href="http://purdue.taleo.net/careersection/wl/jobdetail.ftl?lang=en&job=42620">More Information</a></td>
</tr>
</table>]]></description>
      <pubDate>Wed, 18 Jun 2008 12:44:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer.com: Authentication in Applications]]></title>
      <guid>http://www.phpdeveloper.org/news/5226</guid>
      <link>http://www.phpdeveloper.org/news/5226</link>
      <description><![CDATA[<p>
While not directly PHP related, Developer.com has an interesting article covering the <a href="http://www.developer.com/design/article.php/3600351">use of authentication</a> in your applications.
</p>
<quote>
<i>
<p>
Authentication is the act of establishing identity via the presentation of information that allows the verifier to know the presenter is who or what it claims. This identity could be any number of things, including people, systems, applications, messages.
</p>
<p>
Why would one want to verify an identity in the first place? Hopefully, most people reading this recognize that as sarcastic humor. This article presents different types of authentication and ways of adding it to your applications.
</p>
</i>
</quote>
<p>
They discuss a range of authentication types - all the way from simple authentication out to cryptographic and multi-factor authentication. They wrap it up with a look at how you can choose the appropriate authentication methods for your applications as well.
</p>
<p>
I've seen several sites moving more and more to the next step up from the basic level of authentication up to even just the multi-factor. The more levels of security you can put on your application the better, especially if you're housing any kind of personal data about your users.
</p>]]></description>
      <pubDate>Mon, 24 Apr 2006 07:21:15 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Magazine: What Would You Like to See In PHP 6?]]></title>
      <guid>http://www.phpdeveloper.org/news/4980</guid>
      <link>http://www.phpdeveloper.org/news/4980</link>
      <description><![CDATA[PHP Magazine has posted <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,25610,nodeid,5.html">their results</a> from a poll they took after the "PHP Developers Meeting" that happened in Paris about what developers would like to see in PHP6.
<p>
<quote>
<i>
Following release of the PHP Developers Meeting in Paris (November 11th and 12th, 2005), the International PHP Magazine polled the community to find out What they were looking our for, the most, in PHP 6?
<p>
The results of the poll suggest almost an equal weightage to all of the points noted in the developer meeting minutes. Of the 809 members polled, 15-20% of the respondents were looking out for OO functionality changes, functionality cleanup, performance boost, Security enhancements, and unicode support, in that order. Only 7% were keen to see additions made to the PHP engine. Less than 3% clicked on the "others" option.
</i>
</quote>
<p>
The <a href="http://www.php-mag.net/magphpde/magphpde_news/psecom,id,25610,nodeid,5.html">votes</a> were pretty close, with "Functionality" only barely edging out "Performance Boost". "OO Functionality Changes", however, topped the list with points to spare.]]></description>
      <pubDate>Mon, 13 Mar 2006 07:41:50 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[SitePoint PHP Blog: What won't be in PHP 6]]></title>
      <guid>http://www.phpdeveloper.org/news/4978</guid>
      <link>http://www.phpdeveloper.org/news/4978</link>
      <description><![CDATA[In <a href="http://www.sitepoint.com/blogs/2006/03/10/what-wont-be-in-php-6/">this post</a> on the Sitepoint PHP Blog, <i>Harry Fuecks</i> makes a quick mention of <a href="http://blog.thepimp.net/index.php/2006/03/08/45-magic-s-gone">another blog post</a> dealing with the enhancements in PHP6 and another handy feature he noticed as well.
<p>
<quote>
<i>
Pierre-Alain Joye picked this one up last week, and it needs repeating. For PHP6 the following are already gone from CVS: Register globals, Magic quotes, Safe mode.
<p>
As blogged a <a href="http://www.sitepoint.com/blogs/2005/11/23/php6-planning/">while back</a>, you'll find these changes discussed <a href="http://www.php.net/~derick/meeting-notes.html">here</a>. Nice use of carrot and stick in fact - for the pain on fixing your apps to run under PHP6, you get Unicode.
</i>
</quote>
<p>
The other feature he's noticed pertains to the php.ini settings file that PHP uses:
<p>
<quote>
<i>
Just noticed a new ini setting <a href="http://www.php.net/manual/en/ini.php#ini.list">here</a>: "allow_url_include - PHP_INI_SYSTEM Available since PHP 6.0.0." Excellent! That eliminates another major source of exploits (perhaps the biggest) have moaned about that before <a href="http://www.sitepoint.com/blogs/?p=1311">here</a> and <a href="http://www.sitepoint.com/blogs/2004/04/01/php-virus-attacking-web-hosts/">here</a>.]]></description>
      <pubDate>Mon, 13 Mar 2006 07:31:38 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Abstract Classes in PHP - Working with PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/4819</guid>
      <link>http://www.phpdeveloper.org/news/4819</link>
      <description><![CDATA[DevShed has posted the <a href="http://www.devshed.com/c/a/PHP/Abstract-Classes-in-PHP-Working-with-PHP-5/">last part</a> of their "Abstract Classes in PHP" series today - "Working with PHP5".
<p>
<quote>
<i>
In this last part of the series, I'll explain the key points of abstract classes in PHP 5, and additionally provide you with some hands-on examples. This should give you a clear idea of how to utilize them within the powerful Object Model implemented in the latest version of PHP.
</i>
</quote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Abstract-Classes-in-PHP-Working-with-PHP-5/">start with</a> an overview of the PHP5 object model and how it make sabstract classes much easier than before. They continue, mentioning a "pointless and unusual" practice of calling class methods out of context. Finally, they set up an example of the use of an abstract class in the structure of the PHP5 object model...]]></description>
      <pubDate>Thu, 09 Feb 2006 06:47:12 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Davey Shafik's Blog: A Year in Retrospect]]></title>
      <guid>http://www.phpdeveloper.org/news/4658</guid>
      <link>http://www.phpdeveloper.org/news/4658</link>
      <description><![CDATA[On his blog today, <i>Davey Shafik</i> has <a href="http://pixelated-dreams.com/archives/209-A-Year-in-Retrospect.html">his personal look</a> back at his year in 2005 and what kinds of things he accomplished.
<p>
<quote>
<i>
Just like <a href="http://www.pixelated-dreams.com/archives/61-Why,-thats-a-nice-bandwagon-you-have-there!.html">Last Year</a> I'm jumping on <a href="http://shiflett.org/archive/181">the bandwagon</a> again.
<p>
Despite the fact that it is hard to top some of the feats I managed last year (I for one, am not planning to marry anybody else!) it has been a very productive and exciting year for me.
</i>
</quote>
<p>
Of the things he mentions, here's a few of the more memorable ones:
<ul>
<li>the release of the <a href="http://pear.php.net/PHP_CompatInfo">PHP_CompatInfo</a> and <a href="http://www.pixelated-dreams.com/archives/114-Crtx_PEAR_Channel_Frontend-Released!.html">Crtx_PEAR_Channel_Frontend</a> packages
<li>the release of the <a href="http://www.pixelated-dreams.com/archives/131-PHAR-Is-Here!.html">PHAR/PHP_Archive</a> packages/utilities
<li>public releases of his <a href="http://www.pixelated-dreams.com/archives/147-Cerebral-Cortex-0.4.0-dev-Released!.html">Cerebral Cortex</a> framework
<li>The release of his <a href="http://tooltip.crtx.org/">Tooltip.js</a> library
<li>and, finally, his being included in the development of the <a href="http://www.zend.com/collaboration/">Zend Framework</a> team.
</ul>
<p>
So, thanks to <i>Davey</i>, especially for all his work - especially on the PHAR/PHP_Archive project - it's already proved invaluable to the community as a whole...]]></description>
      <pubDate>Fri, 13 Jan 2006 07:08:47 -0600</pubDate>
    </item>
  </channel>
</rss>
