<?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>Sat, 22 Nov 2008 01:45:44 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPBuilder.com: Using the ADOdb library with Oracle and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/11285</guid>
      <link>http://www.phpdeveloper.org/news/11285</link>
      <description><![CDATA[<p>
On the PHPBuilder.com site today there's <a href="http://www.phpbuilder.com/columns/rajeevrakesh20081025.php3">a new tutorial</a> continuing in their Oracle theme about using the ADOdb libraries to access the database from your application.
</p>
<blockquote>
Last week we discussed the use of the OCI8 extension and connection methods for using ADOdb to connect to an Oracle database. This week we'll delve further into the ADOdb library and will disect some example code to get you up to speed!
</blockquote>
<p>
He gives an overview of some of the functions needed to make the connection and fetch results from a simple query. Some sample code and explanation is also included.
</p>]]></description>
      <pubDate>Fri, 24 Oct 2008 09:35:14 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPEverywhere: Octalpussy]]></title>
      <guid>http://www.phpdeveloper.org/news/9559</guid>
      <link>http://www.phpdeveloper.org/news/9559</link>
      <description><![CDATA[<p>
In an <a href="http://www.phpdeveloper.org/news/9543">earlier post</a> <i>John Lim</i> pointed out an interesting issue with how certain numbers are handled in PHP - ones starting with a zero:
</p>
<blockquote>
That's because any number preceded by 0 is treated as an octal number, and 9 is an invalid octal number. [...] The silly thing is that hardly anyone uses octal nowadays, but it continues to be part of the C, C++, Java and PHP standards. The mistake is also <a href="http://mindprod.com/jgloss/octal.html">very common</a>.
</blockquote>
<p>
There's not much way around it, he notes - the format's been in use for a long time now and is so ingrained in just about every C-based language out there that it's "too deeply imprinted in modern compiler DNA" to take out.
</p>]]></description>
      <pubDate>Mon, 04 Feb 2008 10:25:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPEverywhere: Octopussy numbers in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9543</guid>
      <link>http://www.phpdeveloper.org/news/9543</link>
      <description><![CDATA[<p>
<i>John Lim</i> has <a href="http://phplens.com/phpeverywhere/?q=node/view/249">posted about</a> an interesting bug he's come across when working with the output of two strings that should look the same:
</p>
<blockquote>
Someone reported a bug in ADOdb, the open source db library i maintain. I went crazy for half an hour until i realised the problem.
</blockquote>
<p>
According to him, "if you expect the above code to produce the same values, you are sadly mistaken". His example gives an interesting result for the first echo statement - not echoing the 9 in the first character like it seems would make sense. Check out <a href="http://phplens.com/phpeverywhere/?q=node/view/249">his post</a> for the code and try it out for yourself.
</p>]]></description>
      <pubDate>Fri, 01 Feb 2008 09:21:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Floss Valley Blog: Developing AJAX Application using Smarty and Xajax]]></title>
      <guid>http://www.phpdeveloper.org/news/9214</guid>
      <link>http://www.phpdeveloper.org/news/9214</link>
      <description><![CDATA[<p>
On the Floss Valley blog, there's a <a href="http://flossvalley.blogspot.com/2007/11/developing-ajax-application-using.html">tutorial posted</a> on creating a sample PHP-driven, Ajax-enabled website using the Smarty templating system and the Xajax library.
</p>
<blockquote>
This tutorial will explain how to develop a simple AJAX application using Smarty and Xajax with a simple example. The sample application is developed in a Fedora 7 + Apache-2.2 + MySQL-5 server.
</blockquote>
<p>
They require you to already have some software installed (like PHP, MySQL, ADOdb, Xajax and Smarty) before you get started - no installation guides for those though. They do, however show how to:
</p>
<ul>
<li>Create the database structure
<li>Lay out the source code files
<li>Make the configuration
<li>Connection to the database and to the Ajax script
</ul>
]]></description>
      <pubDate>Tue, 11 Dec 2007 07:59:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Hasin Hayder's Blog: Prelude to foundation: Its time to go for a better PHP Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/7686</guid>
      <link>http://www.phpdeveloper.org/news/7686</link>
      <description><![CDATA[<p>
In a <a href="http://hasin.wordpress.com/2007/04/23/prelude-to-foundation-its-time-to-go-for-a-better-php-framework/">new blog entry today</a>, <i>Hasin Hayder</i> tells the reader a "little story" about a journey he made to get to framework happiness with <a href="http://codeigniter.com/">CodeIgniter</a>.
</p>
<p>
He walks through his thoughts and needs at different stages of the development process - a database abstraction library here, version control there - and ending up with the framework choice that faced him. Among his options were offerings by <a href="http://www.pradosoft.com/">Prado</a>, <a href="http://seagullproject.org/">Seagull</a>, <a href="http://www.symfony-project.com/">Symfony</a>, <a href="http://www.cakephp.org/">CakePHP</a> and his pick - <a href="http://codeigniter.com/">CodeIgniter</a>.
</p>
<blockquote>
Suddenly I got codeigniter and I was able to run a whole lot of controllers, templates and models in minutes (well not in minutes, but much less time than previous ones). A rich , pleasing to read, friendly set of documentation, a bunch of in built libraries and less autonomous control gives me full freedom over my application. It was easy to integrate my old friend smarty with it, in case it comes with it's own active record, but it gives me chance to add adoDB with it. I fall in love with code igniter soon after i realize that it comes with almost zero learning time (or i better say learning on demand)
</blockquote>
<p>
He also mentions that, had <a href="http://hasin.wordpress.com/2007/04/23/prelude-to-foundation-its-time-to-go-for-a-better-php-framework/">the post</a> been a bit more technical in nature, other factors would have been included. As it is, though, it flows a bit better this way.
</p>]]></description>
      <pubDate>Mon, 23 Apr 2007 15:54:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPEverywhere: My experience moving to PHP5]]></title>
      <guid>http://www.phpdeveloper.org/news/6814</guid>
      <link>http://www.phpdeveloper.org/news/6814</link>
      <description><![CDATA[<p>
In his <a href="http://phplens.com/phpeverywhere/?q=node/view/235">new post</a> on PHPEverywhere today, <i>John Lim</i> shares some of the experiences he's had so far in making the move up from PHP 4 to PHP 5 in his applications.
</p>
<blockquote>
The transition was relatively painless. [...] What's nice about PHP5 is that it caught some errors that have been lingering in our code: PHP5 no longer allows a function to be defined twice, and some basic variable referencing errors that we missed previously.
</blockquote>
<p>
They made the move to PHP5 for the latest versions of their applications, but have still stuck with the legacy, PHP4 versions for the time being to give customers a buffer period to make the move themselves. He also <a href="http://phplens.com/phpeverywhere/?q=node/view/235">mentions</a> changes to the way they make Ajax calls. <i>John</i> is a lead developer for both the <a href="http://adodb.sourceforge.net/">ADOdb</a> and <a href="http://phplens.com/">PHPLens</a> projects.
</p>]]></description>
      <pubDate>Mon, 04 Dec 2006 08:22:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Christopher Jones' Blog: Review: Easy Oracle PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/6509</guid>
      <link>http://www.phpdeveloper.org/news/6509</link>
      <description><![CDATA[<p>
<i>Christopher Jones</i> has reviewed one of the first Oracle PHP books that has been published ("Easy Oracle PHP: Create Dynamic Web Pages with Oracle Data") in <a href="http://blogs.oracle.com/opal/2006/10/16#a68">his latest blog post</a> today.
</p>
<blockquote>
The writing style of Easy Oracle PHP is very clear.  The book is relatively short at 264 pages but it focuses directly on PHP-Oracle interaction and does not need to be longer (though everyone will always wish for more).
</blockquote>
<p>
Some topics covered in <a href="http://www.rampant-books.com/book_2005_2_php_oracle.htm">the book</a> include the basics of PHP, the OCI8 model, using PEAR, using ADOdb, and installing the PHP5/Apache/PEAR combo. <i>Christopher</i>'s opinion of the good overall is good, but notes that the target it would best fit with is for developers coming from Oracle to PHP (but will work as well for those coming the other way).
</p>]]></description>
      <pubDate>Tue, 17 Oct 2006 07:05:26 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPEverywhere: New Improved Yummy ADOdb Session Handler]]></title>
      <guid>http://www.phpdeveloper.org/news/5949</guid>
      <link>http://www.phpdeveloper.org/news/5949</link>
      <description><![CDATA[<p>
New from <i>John Lim</i> today, there's <a href="http://phplens.com/phpeverywhere/?q=node/view/233">this quick post</a> on PHPEverywhere talking about the new and improved ADOdb session handler.
</p>
<blockquote>
<a href="http://adodb.sourceforge.net/">ADOdb</a>, the database library i maintain, has had support for storing session data in a database for a long time. However there was one limitation that always continued to bug me: the fact that all the PHP servers using database-backed sessions needed to synchronize their times to ensure that the session timers worked properly.
</blockquote>
<p>
In the latest version of this <a href="http://adodb.sourceforge.net/">popular library</a>, his bothersome limitation is gone. The Session2 implementation uses the database server clock to track times.
</p>
<blockquote>
This requires us to change the database table format used, but that is a small price to pay for the added flexibility. You can read more in the <a href="http://phplens.com/lens/adodb/docs-session.htm">ADOdb session docs</a>.
</blockquote>]]></description>
      <pubDate>Thu, 03 Aug 2006 12:06:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPEveryhwere: ADOdb Implementation of Active Record - cloning Zend_Db_DataObject]]></title>
      <guid>http://www.phpdeveloper.org/news/5318</guid>
      <link>http://www.phpdeveloper.org/news/5318</link>
      <description><![CDATA[<p>
<i>John Lim</i> has posted <a href="http://phplens.com/phpeverywhere/?q=node/view/228">an example</a> of using the ADOdb software he's a developer on to clone the functionality of Zend's Zend_Db_DataObject.
</p>
<quote>
<i>
The Zend Framework Preview edition is <a href="http://framework.zend.com/">out</a>. I had look this morning at <a href="http://framework.zend.com/manual/zend.db.dataobject.html">Zend_Db_DataObject</a>, which is an implementation of the Active Record pattern. After reading the tutorial, decided to implement something similar for ADOdb. After a couple of hours coding, I had an implementation that works with both PHP4 and PHP5, and provides a superset of the functionality described in the above link.
</i>
</quote>
<p>
ActiveRecord, a method of database usage where the tables can "self-define" in your script (and you work with objects instead of messing with columns) is cropping up more and more, and <i>John</i> <a href="http://phplens.com/phpeverywhere/?q=node/view/228">gives a code example</a> of how it can be used inside ADOdb as well. He also mentions some of the advantages to using this kind of code/library, including the fact that it will work with both PHP4 and PHP5.
</p>]]></description>
      <pubDate>Mon, 08 May 2006 05:49:16 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP-it.net: Creating a chat script with PHP and Ajax (Part 2)]]></title>
      <guid>http://www.phpdeveloper.org/news/5102</guid>
      <link>http://www.phpdeveloper.org/news/5102</link>
      <description><![CDATA[PHPit.net is following up <a href="http://www.phpit.net/article/creating-chat-script-ajax-php-part1/">This previous article</a> with the next in the series today - <a href="http://www.phpit.net/article/ajax-php-chat-part-two/">Part Two</a> of "Creating a chat script with PHP and Ajax".
<p>
<quote>
<i>
Welcome to the second part of the 'Creating a chat script with PHP and Ajax' series. It's been a while since the previous part, and much has happened since then. 37Signals, a very popular "web 2.0" company, has released a web application called Campfire which is actually a chat script based on Ajax and Ruby on Rails, and it has many of the features we'll be implementing in this article series.
<p>
In this part we'll start from scratch again, but this time we'll start with a solid structure. Unlike the previous part, which was more or less a hack job, we'll start using JSON and several other libraries to make everything easier for us. I will also show you how to add a few more features, like a user list.
</i>
</quote>
<p>
It's definitely good to see that they aren't just building on the <a href="http://www.phpit.net/article/creating-chat-script-ajax-php-part1">previous structure</a>, but setting asside time to really plan out the application before getting started. Instead of hacking together an application that "works, but just barely", they opt for using solid libraries like <a href="http://adodb.sourceforge.net/">ADOdb</a> and <a href="http://prototype.conio.net/">Prototype</a> for the power behind the scenes.
<p>
Right off the bat, they show you how to set up the filesystem structure, the database structure, and the basic framework of PHP code for the client to interface with. From there, it's just the creation of the other pieces of the puzzle - the interface, functions to handle the login form, and a method to ping the server for new messages, and, of course, the backend to handle it all.]]></description>
      <pubDate>Tue, 04 Apr 2006 07:09:48 -0500</pubDate>
    </item>
  </channel>
</rss>
