<?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 00:31:39 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[SitePoint PHP Blog: How to Split WordPress Content Into Two or More Columns]]></title>
      <guid>http://www.phpdeveloper.org/news/13976</guid>
      <link>http://www.phpdeveloper.org/news/13976</link>
      <description><![CDATA[<p>
On the SitePoint PHP blog there's a recent post from <i>Craig Buckler</i> showing how to <a href="http://www.sitepoint.com/blogs/2010/02/04/split-wordpress-content-into-multiple-sections/">split up your WordPress content</a> into two or more columns quickly and easily.
</p>
<blockquote>
WordPress is a great CMS, but implementing some features within your theme can require a little lateral thinking. The content for your page or post is usually output by the theme code using a single function call. But what if you need to split the content into two or more blocks? That might be necessary if your theme requires multiple columns or sections on the page.
</blockquote>
<p>
There's a built in call WordPress includes, "get_the_content", that returns the content rather than just echoing it out. With this handy function giving you just the content, you're free to split up the content however you want - on certain tags or as they suggest, using the "more..." tag and a few modifications to a few other scripts to split it out into DIV blocks.
</p>]]></description>
      <pubDate>Fri, 05 Feb 2010 12:58:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Jones' Blog: Inserting and Updating Oracle XMLType columns in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/12858</guid>
      <link>http://www.phpdeveloper.org/news/12858</link>
      <description><![CDATA[<p>
All of you Oracle users out there might want to check out <a href="http://blogs.oracle.com/opal/2009/07/inserting_and_updating_oracle_1.html">this recent post</a> from <i>Chris Jones</i>, especially if you've been using the XMLType columns in your tables.
</p>
<blockquote>
Today a reader mailed me about manipulating XMLType columns when the data is longer than the 4K limit that character-type handling imposes. My free book (see sidebar) has examples of how to do this using CLOB handling in PHP. I noticed that my xmlinsert.php example in the book does a SELECT and UPDATE, but never actually does an INSERT.
</blockquote>
<p>
To correct the problem of the missing example he includes <a href="http://blogs.oracle.com/opal/2009/07/inserting_and_updating_oracle_1.html">example code</a> to connect to the database, push the XML into a bind variable and select the row back out to ensure everything's still structured correctly. You need to set up a new descriptor for the insert to work (CLOB).
</p>]]></description>
      <pubDate>Mon, 13 Jul 2009 08:14:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sameer Borate's Blog: Selecting all except some columns in MySQL]]></title>
      <guid>http://www.phpdeveloper.org/news/12045</guid>
      <link>http://www.phpdeveloper.org/news/12045</link>
      <description><![CDATA[<p>
<i>Sameer Borate</i> <a href="http://www.codediesel.com/mysql/selecting-all-except-some-columns-in-mysql/">shows how</a> to turn things around in your application's SQL statement and, instead of selecting the columns you need, showing how to remove the columns you don't need dynamically.
</p>
<blockquote>
The MySQL SELECT is a ubiquitous statement. You can select rows using the '˜*' operator or by listing the individual column names. But many times you may require using all the columns from a table except a couple of them. For example you may have a table containing twelve columns from which you require only eleven columns.
</blockquote>
<p>
Sometimes that extra column can contain larger content you might not need or want. He creates a get_column_names and create_statement functions that grab the column names and, based on an "exclude" array, takes out the unwanted records. The array is then looped through and appended back together as the new column list for the select.
</p>]]></description>
      <pubDate>Mon, 02 Mar 2009 11:13:08 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP Women: PHPWomen in php|architect]]></title>
      <guid>http://www.phpdeveloper.org/news/11639</guid>
      <link>http://www.phpdeveloper.org/news/11639</link>
      <description><![CDATA[<p>
According to <a href="http://www.phpwomen.org/wordpress/2008/12/29/phpwomen-in-phparchitect/">this quick note</a> on the PHP Women site, the group has been featured in the latest issue (Dec 2008) of <a href="http://www.phparch.com">php|architect</a> magazine.
</p>
<blockquote>
PHPWomen are featured in the December issue of the <a href="http://www.phparch.com/">php|architect</a> magazine, we're the subject of this month's /etc column!  If you aren't already a subscriber - then go and check out the options, they even have a free issue offer so there are no excuses.
</blockquote>
<p>
The column, written by PHP Women's own <i>Lorna Mitchell</i>, looks at some of the goals of the group, the work they do sponsoring female developers where they can, their mentoring programs and the communication methods - IRC and forums - that are open to all, not just female developers.
</p>
<p>
You can <a href="http://www.phparch.com/c/magazine/issue/88">check out the issue here</a> (and order a copy too!)
</p>]]></description>
      <pubDate>Tue, 30 Dec 2008 09:38:02 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Lee Blue's Blog: How To Sort A Zend_Db_Table_Rowset]]></title>
      <guid>http://www.phpdeveloper.org/news/9638</guid>
      <link>http://www.phpdeveloper.org/news/9638</link>
      <description><![CDATA[<p>
<i>Lee Blue</i> has <a href="http://www.refreshinglyblue.com/2008/02/14/how-to-sort-a-zend_db_table_rowset/">posted a handy tip</a> for users of the Zend Framework, specifically when sorting the results from a query to tables linked in a Zend_Db_Table setup.
</p>
<blockquote>
So you figured out how to define the <a href="http://framework.zend.com/manual/en/zend.db.table.relationships.html">relationships between your Zend_Db_Tables</a> and you have issued a call to findDependentRowset(). You get your Rowset back but you need to sort the results by one of the columns in the dependent table. How do you do that?
</blockquote>
<p>
Unfortunately, he's found out that you just simply can't - well, not without a custom function (until the 1.5 release of the framework rolls around). He shows his table set up and some sample database classes to relate to the tables (and link between them). The magic comes in with his DU_Utils class that takes in the data and sorts it based on the given column name in the given direction.
</p>]]></description>
      <pubDate>Thu, 14 Feb 2008 17:11:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect: January 2008 Issue Released]]></title>
      <guid>http://www.phpdeveloper.org/news/9481</guid>
      <link>http://www.phpdeveloper.org/news/9481</link>
      <description><![CDATA[<p>
This month's edition of <a href="http://www.phparch.com">php|architect magazine</a> has been released - the <a href="http://phparch.com/c/magazine/issue/65">January 2008</a> edition. Articles included in this month's issue include:
</p>
<ul>
<li>PHAR: PHP Archive Files from <i>Gregory Beaver</i>
<li>Webmail 2.0: Introducing RoundCube by <i>Tim Klampackel</i>
<li>Killing the For Loop from <i>Paul Chandler</i>
<li>The Doctrine Framework by <i>Nicolas Berard-Nault</i>
<li>and the usual columns - /Etc and Test Pattern
</ul>
<p>
If you're already subscribed, you should be getting your issue any time now but, if you're not, there's two ways you can get your hands on a copy - either <a href="http://phparch.com/c/magazine/buynow/65">"quick buy"</a> it from the php|architect website or <a href="http://phparch.com/c/magazine/subscribe">subscribe</a> and get this and other great future issues jam packed full of great PHP content.
</p>]]></description>
      <pubDate>Wed, 23 Jan 2008 16:34:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect: December 2007 Issue Released]]></title>
      <guid>http://www.phpdeveloper.org/news/9270</guid>
      <link>http://www.phpdeveloper.org/news/9270</link>
      <description><![CDATA[<p>
The php|architect group has released their <a href="http://www.phparch.com/c/news/view/20071218-december_issue_released.src">December 2007 issue</a> today. Articles featured in this issue include:
</p>
<ul>
<li>Going Native With mysqlnd by Andrey Hristov and Ulf Wendel 
<li>Understanding CLI by Dirk Merkel 
<li>Web Scraping by Matthew Turland 
<li>Product review: SQLyog MySQL GUI-Enterprise Edition by Eddie Peloke 
</ul>
<p>
...and the three usual columns - /etc, Security Corner and exit(0) from <i>Marco Tabini</i>.
</p>
<p>
You can get more information about this issue and on ordering it (or a year's subscription) from <a href="http://www.phparch.com/c/magazine/issue/63">this page</a> on the php|architect website.
</p>
]]></description>
      <pubDate>Tue, 18 Dec 2007 14:33:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jeff Moore's Blog: Dependency Injection in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/5694</guid>
      <link>http://www.phpdeveloper.org/news/5694</link>
      <description><![CDATA[<p>
In his <a href="http://www.procata.com/blog/archives/2006/06/26/dependency-injection-in-php/">latest blog post</a>, <i>Jeff Moore</i> adds a bit more background to his column in the <a href="http://www.phparch.com/issue.php?mid=82">newest issue</a> of php|architect covering "dependency injection".
</p>
<blockquote>
<p>
The June issue of PHP Architect is out. My column this month is on dependency injection, a topic which I've been warming up to lately.
</p>
<p>
First there was <a href="http://acmqueue.com/modules.php?name=Content&pa=showpage&pid=396">CORBA</a>. Then insane complexity of CORBA was supplanted by the intolerable complexity of <a href="http://acmqueue.com/modules.php?name=Content&pa=showpage&pid=398">EJB</a>. Influenced by an agile mindset and the power of Unit testing, a group of java programmers began to construct simpler alternatives to EJB. Thus, the inversion of control frameworks were born. Martin Fowler came along, clarified and renamed the pattern <a href="http://www.martinfowler.com/articles/injection.html">dependency injection</a>. This activity has originated in the Java world, but the pattern applies in PHP as well.
</p>
<p>
It is heartening to see an industry solve a problem over the course of a decade, moving from complex vendor driven middle-ware to simple patterns. The thing I like most about DI is how dead simple it really is.
</p>
</blockquote>
<p>
He <a href="http://www.procata.com/blog/archives/2006/06/26/dependency-injection-in-php/">goes on</a> to say that <i>Fowler</i>'s <a href="http://www.martinfowler.com/articles/injection.html">article</a> on the topic is a "must read" for anyone who will even be looking into dependency injection. He also mentions two issues he has with most of the other introductions - the examples they use and the "over-emphasis on the container".  
</p>
<p>
His goal in writing <a href="http://www.phparch.com/issue.php?mid=82">this month's column</a> was to help to avoid some of those problems while still keeping it relevant and easy to understand.
</p>]]></description>
      <pubDate>Tue, 27 Jun 2006 06:00:15 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Professional PHP Blog: php|architect Test Pattern]]></title>
      <guid>http://www.phpdeveloper.org/news/5028</guid>
      <link>http://www.phpdeveloper.org/news/5028</link>
      <description><![CDATA[The Professional PHP blog has <a href="http://www.procata.com/blog/archives/2006/03/21/phparchitect-test-pattern/">this post</a> today with a highlight of an article in the <a href="http://phparch.com/issue.php?mid=76">latest issue</a> of php|architect magazine. Specifically, he (<i>Jeff Moore</i>) mentions taking on the duties of the "Test Pattern" column from the previous author, <a href="http://www.lastcraft.com/blog/">Marcus Baker</a>.
<p>
<quote>
<i>
This month's column takes on the topic of organizing code. I wanted to convey some of the fundamental principles underlying the object oriented paradigm, but in a way that goes beyond objects. In the mid 90's, I had what I consider a major professional epiphany when I finally understood object oriented programming. This month's column is my best attempt to concisely explain the heart of that epiphany.
</i>
</quote>
<p>
To check out this latest issue, head over to <a href="http://phparch.com/issue.php?mid=76">the php|architect site</a> and order your copy today.]]></description>
      <pubDate>Wed, 22 Mar 2006 06:53:09 -0600</pubDate>
    </item>
  </channel>
</rss>
