<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Adam Trachtenberg &#187; Writing</title>
	<atom:link href="http://www.trachtenberg.com/blog/category/writing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.trachtenberg.com/blog</link>
	<description>Thoughts on PHP, eBay, and too many technical topics for my family's liking.</description>
	<lastBuildDate>Tue, 24 Aug 2010 21:39:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Google Command Line Calculator</title>
		<link>http://www.trachtenberg.com/blog/2005/02/08/google-command-line-calculator/</link>
		<comments>http://www.trachtenberg.com/blog/2005/02/08/google-command-line-calculator/#comments</comments>
		<pubDate>Tue, 08 Feb 2005 06:00:00 +0000</pubDate>
		<dc:creator>Adam Trachtenberg</dc:creator>
				<category><![CDATA[Writing]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[hacks]]></category>

		<guid isPermaLink="false">http://www.trachtenberg.com/wordpress/?p=4</guid>
		<description><![CDATA[In a somewhat shocking move, my Google Command Line Calculator hack was picked up for the second edition of Google Hacks.
I found this out from Rael back in October at Web 2.0, but I forgot to blog about it. I finally picked up a copy when I crashed the O&#8217;Reilly booth at MacWorld. Sure enough, [...]]]></description>
			<content:encoded><![CDATA[<p>In a somewhat shocking move, my <a href="http://www.oreillynet.com/pub/h/797">Google Command Line Calculator</a> hack was picked up for the second edition of <a href="http://www.amazon.com/exec/obidos/ASIN/0596008570/ref=nosim/trachtenberg-20">Google Hacks</a>.</p>
<p>I found this out from <a href="http://www.raelity.org/">Rael</a> back in October at <a href="http://www.web2con.com/">Web 2.0</a>, but I forgot to blog about it. I finally picked up a copy when I crashed the O&#8217;Reilly booth at MacWorld. Sure enough, I am Hack #47: Bring the Google Calculator to the Command Line.</p>
<p>I know hard core Unix weenies use bc and dc, but I don&#8217;t want to bother with the reverse-polish, thank you very much. Besides, Google supports a variety of non-standard features, like unit conversion, roman numerals, and physical constants.</p>
<p>In exchange for contributing my hack, I receive fame, glory, my bio at the front of the book, and blogging rights.</p>
<img src="http://www.trachtenberg.com/blog/?ak_action=api_record_view&id=4&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.trachtenberg.com/blog/2005/02/08/google-command-line-calculator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Programming eBay Web Services with PHP 5 and Services_Ebay</title>
		<link>http://www.trachtenberg.com/blog/2005/01/29/programming-ebay-web-services-with-php-5-and-services_ebay/</link>
		<comments>http://www.trachtenberg.com/blog/2005/01/29/programming-ebay-web-services-with-php-5-and-services_ebay/#comments</comments>
		<pubDate>Sun, 30 Jan 2005 03:21:00 +0000</pubDate>
		<dc:creator>Adam Trachtenberg</dc:creator>
				<category><![CDATA[Web Services]]></category>
		<category><![CDATA[Writing]]></category>
		<category><![CDATA[ebay]]></category>
		<category><![CDATA[pear]]></category>

		<guid isPermaLink="false">http://www.trachtenberg.com/wordpress/?p=7</guid>
		<description><![CDATA[My latest article is now available on the O&#8217;Reilly Network. &#34;Programming eBay Web Services with PHP 5 and Services_Ebay&#34; provides an introduction to eBay Web services and Stephan Schmidt&#8217;s awesome PEAR package, Services_Ebay.
As I&#8217;ve blogged before, Services_Ebay is a PHP 5-only module that makes it drop dead simple to interact with eBay Web services. This [...]]]></description>
			<content:encoded><![CDATA[<p>My latest article is now available on the O&#8217;Reilly Network. &quot;<a href="http://www.onlamp.com/pub/a/php/2005/01/27/ebay_webservices.html">Programming eBay Web Services with PHP 5 and Services_Ebay</a>&quot; provides an introduction to <a href="http://developer.ebay.com">eBay Web services</a> and <a href="http://www.php-tools.net">Stephan Schmidt&#8217;s</a> awesome <a href="http://pear.php.net">PEAR</a> package, <a href="http://pear.php.net/package/Services_Ebay">Services_Ebay</a>.</p>
<p>As I&#8217;ve <a href="http://www.trachtenberg.com/blog/programming/php/services-ebay.html">blogged before</a>, Services_Ebay is a PHP 5-only module that makes it drop dead simple to interact with eBay Web services. This piece walks you through getting started with Services_Ebay, shows you how to search the eBay listing database, and then displays the found items in a variety of ways.</p>
<p>As a extra special bonus, I highlight all the cool behind-the-scenes PHP 5 magic that&#8217;s taking place. I also do some nifty stuff by overriding Stephan&#8217;s model classes to provide an alternative data view. I&#8217;m sure this will lead to nasty comments from the peanut gallery about my lack of respect for MVC.</p>
<img src="http://www.trachtenberg.com/blog/?ak_action=api_record_view&id=7&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.trachtenberg.com/blog/2005/01/29/programming-ebay-web-services-with-php-5-and-services_ebay/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Writing for PHP 4 and PHP 5</title>
		<link>http://www.trachtenberg.com/blog/2004/09/22/writing-for-php-4-and-php-5/</link>
		<comments>http://www.trachtenberg.com/blog/2004/09/22/writing-for-php-4-and-php-5/#comments</comments>
		<pubDate>Wed, 22 Sep 2004 05:26:00 +0000</pubDate>
		<dc:creator>Adam Trachtenberg</dc:creator>
				<category><![CDATA[Writing]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[upgrading to php 5]]></category>

		<guid isPermaLink="false">http://www.trachtenberg.com/wordpress/?p=31</guid>
		<description><![CDATA[A few weeks ago, John Lim kindly reviewed Upgrading to PHP 5. Overall, I was very happy with his comments, particularly when he said:
Even though I have read widely about PHP5, I still found this book a useful reference, because it delves deeper into the new features than most articles I have seen.
There&#8217;s a lot [...]]]></description>
			<content:encoded><![CDATA[<p>A few weeks ago, John Lim <a href="http://phplens.com/phpeverywhere/?q=node/view/109">kindly reviewed</a> <em><a href="http://www.amazon.com/exec/obidos/ASIN/0596006365/ref=nosim/trachtenberg-20">Upgrading to PHP 5</a></em>. Overall, I was very happy with his comments, particularly when he said:</p>
<blockquote><p>Even though I have read widely about PHP5, I still found this book a useful reference, because it delves deeper into the new features than most articles I have seen.</p></blockquote>
<p>There&#8217;s a lot of free PHP 5 material, and I was a little worried that people wouldn&#8217;t find anything new in the book. It&#8217;s a good sign if John, who reads widely on PHP 5, learns something.</p>
<p>He also had one critique: that I didn&#8217;t spend enough time covering how to port code from PHP 4 to PHP 5. At first, this surprised me, as I specifically provide <em>both</em> PHP 4 and PHP 5 code examples.</p>
<p>Then I realized our PHP migration experiences are totally different. When I moved to a new version (and I&#8217;ve made many, as I started PHP programming with PHP/FI, aka PHP 2), I ported <em>internal</em> applications. I didn&#8217;t worry about other people running my code.</p>
<p>In contrast, John writes <a href="http://adodb.sourceforge.net/">ADODB</a>. This is an <em>external</em> application. He&#8217;s not writing for his personal or corporate use. He&#8217;s writing for everyone and anyone.</p>
<p>I could control my environment. While I know people would be running under shared hosts, I figured they could at least control whether they&#8217;re using PHP 4 or PHP 5.</p>
<p>John, however, doesn&#8217;t have that luxury. He needs to write code that can run under <em>both</em> PHP 4 <em>and</em> PHP 5. That&#8217;s why he wants me to discuss &#8220;features such as <tt>PHP_VERSION</tt>, <tt>phpversion()</tt>, <tt>extension_loaded()</tt>, <tt>function_exists()</tt>. I don&#8217;t cover that at all.</p>
<p>If you need these this, I guess you&#8217;ll have to wait for the second edition. :) However, I think if I was in this situation, I&#8217;d create a separate PHP 5 branch. There are so many PHP 5 specific features that just don&#8217;t play well with PHP 4, and I wouldn&#8217;t want to limit myself.</p>
<p>I&#8217;m interesting in hearing what other people are doing. I&#8217;ve only been following the PEAR folks a little bit. How has this been playing out?</p>
<img src="http://www.trachtenberg.com/blog/?ak_action=api_record_view&id=31&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.trachtenberg.com/blog/2004/09/22/writing-for-php-4-and-php-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP and REST</title>
		<link>http://www.trachtenberg.com/blog/2003/10/30/php-and-rest/</link>
		<comments>http://www.trachtenberg.com/blog/2003/10/30/php-and-rest/#comments</comments>
		<pubDate>Thu, 30 Oct 2003 04:00:00 +0000</pubDate>
		<dc:creator>Adam Trachtenberg</dc:creator>
				<category><![CDATA[Web Services]]></category>
		<category><![CDATA[Writing]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.trachtenberg.com/wordpress/?p=51</guid>
		<description><![CDATA[My follow-up piece, on PHP and REST, is now available on ONLamp.Com.
]]></description>
			<content:encoded><![CDATA[<p>My follow-up piece, on <a href="http://www.onlamp.com/pub/a/php/2003/10/30/amazon_rest.html">PHP and REST</a>, is now available on ONLamp.Com.</p>
<img src="http://www.trachtenberg.com/blog/?ak_action=api_record_view&id=51&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://www.trachtenberg.com/blog/2003/10/30/php-and-rest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

