<?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>/home/nick &#187; php</title>
	<atom:link href="http://whatwouldnickdo.com/wordpress/category/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://whatwouldnickdo.com/wordpress</link>
	<description>Discussions on Programming, Linux, and whatever else.</description>
	<lastBuildDate>Sun, 22 Aug 2010 14:56:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Wicked Cool PHP &#8211; Review</title>
		<link>http://whatwouldnickdo.com/wordpress/465/wicked-cool-php-review/</link>
		<comments>http://whatwouldnickdo.com/wordpress/465/wicked-cool-php-review/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 21:49:20 +0000</pubDate>
		<dc:creator>Nick</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[Reviews]]></category>

		<guid isPermaLink="false">http://whatwouldnickdo.com/wordpress/?p=465</guid>
		<description><![CDATA[I&#8217;ve been reading tons of books lately, mostly to do research into technologies I&#8217;m thinking about trying out. I have several projects going on and I&#8217;m primarily a java developer. For a new project I just started last week I&#8217;ve decided to give it a go using PHP, which I&#8217;ve never touched before. My main [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.amazon.com/gp/product/1593271735?ie=UTF8&#038;tag=homenick-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1593271735"><img border="0" style="float: right;" src="http://whatwouldnickdo.com/wordpress/blog-attachments/512ppzO2mGL._SL160_.jpg"></a><img src="http://www.assoc-amazon.com/e/ir?t=homenick-20&#038;l=as2&#038;o=1&#038;a=1593271735" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />I&#8217;ve been reading tons of books lately, mostly to do research into technologies I&#8217;m thinking about trying out. I have several projects going on and I&#8217;m primarily a java developer. For a new project I just started last week I&#8217;ve decided to give it a go using <a id="o8if" title="PHP" href="http://en.wikipedia.org/wiki/Php">PHP</a>, which I&#8217;ve never touched before. My main reason for this was, from what I hear, that PHP is good for simple projects that need a fast turn around. This is exactly what I&#8217;m looking for, in addition to integrating with <a id="ovdo" title="wordpress" href="http://wordpress.org/">wordpress</a>.  I starting going through a bunch of lame tutorials on the web, but they&#8217;re mostly geared for a beginner and there&#8217;s a lot I can skip over. I decided to get a couple of recommended books on PHP and one that I found very useful is called <a href="http://www.amazon.com/gp/product/1593271735?ie=UTF8&#038;tag=homenick-20&#038;linkCode=as2&#038;camp=1789&#038;creative=9325&#038;creativeASIN=1593271735">Wicked Cool PHP: Real-World Scripts That Solve Difficult Problems</a><img src="http://www.assoc-amazon.com/e/ir?t=homenick-20&#038;l=as2&#038;o=1&#038;a=1593271735" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />by William Steinmetz with Brian Ward.<br />
<span id="more-465"></span><br />
<strong>Why this book is useful</strong></p>
<p>Sure I need to see basics on the PHP syntax, but nothing in depth and not a million pages covering if/then, looping, etc. What I need to know is:</p>
<ul>
<li> how can I quickly parse some <a id="wbr:" title="XML" href="http://en.wikipedia.org/wiki/Xml">XML</a></li>
<li> how can I read and parse a file from a web URL</li>
<li> basics on session handling</li>
<li> how to select some <a id="i.5l" title="mySQL" href="http://www.mysql.com/">mySQL</a> database rows</li>
<li> a rundown on security and making a PHP app more secure</li>
</ul>
<p>This book covered all of this with nice clean short examples.  One of the things that I also like about this book is the layout.  It&#8217;s kind of setup like a cookbook, so you don&#8217;t have to read straight through front to back (although I did).  If you want to read up on manipulating images and <a id="ylcq" title="CAPTCHA" href="http://en.wikipedia.org/wiki/Captcha">CAPTCHA</a> you can flip to that section and you won&#8217;t feel confused because you skipped several chapters.  Hands down the best chapter in the book is <strong>Chapter 3 PHP Security</strong>.  This chapter discusses hashing, <a id="w3qp" title="SQL injection" href="http://en.wikipedia.org/wiki/SQL_injection">SQL injection</a> , and <a id="j0ng" title="XSS attacks" href="http://en.wikipedia.org/wiki/Cross-site_scripting">XSS attacks</a> , but this chapter also has the most important section in the book title &#8220;<strong>Recommended Security Configuration Options</strong>&#8220;.  This, less than a page, section was a bulleted list of what you need to change in your php.ini to get your PHP installation ready to run on a production server.  This was gold.</p>
<p><strong>Who should read this book</strong></p>
<p>If you&#8217;re new to programming then this probably isn&#8217;t the book for you.  In fact, if you&#8217;re new to PHP it may not be the book for you.  This book is for intermediate PHP developers that want to get things done fast.  All in all I give the book a <strong>5 out of 5</strong> because not only is it a good learning tool but becomes a great reference book.  If I had to pick a weak point it would be the last chapter which gave several large examples to pull the book&#8217;s code together, which might be what others like but wasn&#8217;t what I needed.</p>
<p>Lastly, if anyone can recommend some good books on frameworks (MVC or other) for PHP to use with larger projects, please leave a comment with the book name.</p>
]]></content:encoded>
			<wfw:commentRss>http://whatwouldnickdo.com/wordpress/465/wicked-cool-php-review/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
