<?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"
	>

<channel>
	<title>Brown PHP</title>
	<atom:link href="http://www.brownphp.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.brownphp.com</link>
	<description>Created and Designed for Object Oriented PHP Developers</description>
	<pubDate>Wed, 19 Nov 2008 19:05:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>November 2008 Content Needs</title>
		<link>http://www.brownphp.com/2008/11/november-2008-content-needs/</link>
		<comments>http://www.brownphp.com/2008/11/november-2008-content-needs/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 18:09:13 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category><![CDATA[Informative Post]]></category>

		<category><![CDATA[Needed Content]]></category>

		<category><![CDATA[buying content]]></category>

		<category><![CDATA[content needed]]></category>

		<category><![CDATA[november content needs]]></category>

		<category><![CDATA[purchase content]]></category>

		<guid isPermaLink="false">http://www.brownphp.com/?p=20</guid>
		<description><![CDATA[At the Informative Post, this November we will be looking for many different topics.  I am going to continually update this blog post with new topics that we will be looking for this November.  Since I&#8217;m not sure about the news that will be &#8220;buzzing&#8221; this month, I&#8217;m going to have to keep coming back [...]]]></description>
			<content:encoded><![CDATA[<p>At the <a title="Informative Post Article Needs" href="http://www.informativepost.com" target="_blank">Informative Post</a>, this November we will be looking for many different topics.  I am going to continually update this blog post with new topics that we will be looking for this November.  Since I&#8217;m not sure about the news that will be &#8220;buzzing&#8221; this month, I&#8217;m going to have to keep coming back and updating the site with new topics.</p>
<p>Just to get the ball rolling, here are a few topics that we are going to be looking for in no specific order:</p>
<ul>
<li>Thanksgiving Content &#8230; DUH</li>
<li>Presidential Election Content &#8230; again &#8230; DUH</li>
<li>Google Chrome</li>
<li>Apple&#8217;s IPhone</li>
<li>Fuel/Gas Prices</li>
<li>Spore Video Game</li>
<li>Phillies and the World Series</li>
</ul>
<div>These topics are just a few that we will be looking for on the Informative Post this month.  So if your AP is low, I would suggest writing a few good articles, covering these topics because we will be looking for these without regard to AP rating.</div>
<div></div>
<div>If any other &#8220;news&#8221; or other topics that pop-up, I&#8217;ll comment on this post to let you all know.</div>
<div></div>
<div><strong>UPDATE (11/19/08): CONTENT NEEDED</strong></div>
<div>In effort to increase our search engine rankings and help get the word out, we will be reviewing articles that discuss buying articles and content for websites.  We are hoping to draw in more clients from the major search engines by adding more content about content providing services.</div>
<div>We are looking for articles contain keywords like:</div>
<div>
<ul>
<li>buy/purchase content</li>
<li>buy/purchase articles</li>
<li>buy articles for website</li>
<li>other synonomous keywords etc&#8230;</li>
</ul>
<div>Article Titles Could Look Like:</div>
<div>
<ul>
<li>Buying Content - Jump Start Your Website</li>
<li>Save Website Development Time by Purchasing Content</li>
<li>Top Content Providers (Obbviously giving the Informative Post a good review.)</li>
<li>etc.</li>
</ul>
<div>Like I said, I am trying to bring work into the Informative Post, and since the service is new to both the public and the search engines, I need to work extra hard to get it noticed.</div>
<div></div>
</div>
<div>If any of you own your own website, and would like to help us out a bit, it would be great if you could give a little link love to <a title="Buy Content from the Informative Post" href="http://www.informativepost.com/buy-content" target="_self">http://www.informativepost.com/buy-content</a>.  If you don&#8217;t own a website, you can also help us by helping us promote our service on forums and other blogs.</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.brownphp.com/2008/11/november-2008-content-needs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Job Post! Shopperama Buying Guides!</title>
		<link>http://www.brownphp.com/2008/11/new-job-post-shopperama-buying-guides/</link>
		<comments>http://www.brownphp.com/2008/11/new-job-post-shopperama-buying-guides/#comments</comments>
		<pubDate>Sat, 08 Nov 2008 15:08:11 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category><![CDATA[Informative Post]]></category>

		<category><![CDATA[Needed Content]]></category>

		<category><![CDATA[job post]]></category>

		<category><![CDATA[write articles]]></category>

		<guid isPermaLink="false">http://www.brownphp.com/?p=23</guid>
		<description><![CDATA[
Hi Informative Post authors!  We have a new job post, Shopperama Buying Guides.  Below is the job description.  So if you think you can write an informative article for our client, please login and do so.
Job Description:
I want to buy articles that are written in the form of buying guides. This is a test order. If [...]]]></description>
			<content:encoded><![CDATA[<div>
<p>Hi Informative Post authors!  We have a new job post, <strong>Shopperama Buying Guides</strong>.  Below is the job description.  So if you think you can write an informative article for our client, please login and do so.</p>
<p><strong>Job Description:</strong><br />
I want to buy articles that are written in the form of buying guides. This is a test order. If I&#8217;m happy I will be buying a LOT more. The full subject list is as follows:<br />
Cameras<br />
Watches<br />
Clocks<br />
Diamond Jewellery<br />
Golf equipment<br />
Childrens Clothes<br />
Model Railways<br />
Collectable Alcolhol Merchandise<br />
Collectable Tobacco Merchandise<br />
Collectable Cigarette Lighters<br />
Clothing &amp; Fashion<br />
Computers and software<br />
Shopping online<br />
Secure online shopping<br />
Electronic comsumer goods (TV, Hi Fi, MP3 players etc. etc.)<br />
Finance, loans, insurance, bank accounts<br />
Gadgets<br />
Gifts<br />
Health and beauty products<br />
Home and garden products<br />
Motoring goods<br />
Telephones &amp; Mobiles<br />
ISP&#8217;s<br />
Buying domain names<br />
Sport and outdoor goods<br />
Toys and games<br />
Buying holidays, cruises, accommodation</p>
<p>I MUST emphasise I&#8217;m interested only in Buying Guides. i.e. How to choose a new TV or Buying a Digital SLR camera etc. etc.</p>
<p><strong>Articles Needed:</strong> 10<br />
<strong>Minimum Word Count:</strong> 500<br />
<strong>Price for Article:</strong> $5.00<br />
<strong>Submissions Yet to Review:</strong> 0<br />
<strong>Submissions Currently Accepted:</strong> 0<br />
<strong>Articles Needed Yet:</strong> 10</p>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.brownphp.com/2008/11/new-job-post-shopperama-buying-guides/feed/</wfw:commentRss>
		</item>
		<item>
		<title>I FEEL Like an American</title>
		<link>http://www.brownphp.com/2008/11/i-feel-like-an-american/</link>
		<comments>http://www.brownphp.com/2008/11/i-feel-like-an-american/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 12:14:59 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<category><![CDATA[election]]></category>

		<category><![CDATA[mccain]]></category>

		<category><![CDATA[obama]]></category>

		<category><![CDATA[president]]></category>

		<guid isPermaLink="false">http://www.brownphp.com/?p=21</guid>
		<description><![CDATA[Barack Obama is now the President of the United States.
I don&#8217;t know if any of you have noticed, but we had an election yesterday.  What an amazing one it was too.  Last night, my wife and I went to the polls to vote, and it was an overall pleasant experience.  There wasn&#8217;t a long wait [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span><strong><span>Barack Obama is now the President of the United States.</span></strong></span><strong></strong></strong></p>
<p><span>I don&#8217;t know if any of you have noticed, but we had an election yesterday.  What an amazing one it was too.  Last night, my wife and I went to the polls to vote, and it was an overall pleasant experience.  There wasn&#8217;t a long wait at all.  Well, it took us an hour, but that was hardly an inconvnience.  Needless to say, the candidate that I voted for did not win, but it isn&#8217;t troubling me.</span></p>
<p><strong><span><span style="font-weight: normal;">I was a bit on the fence about who I was going to vote for, and I already had it in my head that I would be happy with either outcome.  So saying that Barack is now our President doesn&#8217;t bother me in the least.  There were positive and negative with both McCain and Obama.</span></span></strong></p>
<p><strong><span><span style="font-weight: normal;">What was the most positive thing about the election for me?</span><span><span style="font-weight: normal;"> </span></span><span>No more campaign commercials!</span><span><span style="font-weight: normal;"> </span></span></span><span style="font-weight: normal;">I think everyone can agree that they were getting old.  They hardily gave any incite to what the candidate was really like, and I would like to think that most Americans did not base their vote on that marketing.</span></strong></p>
<p>I&#8217;ll be honest in saying that the main reason I voted for McCain and not Obama was because I&#8217;m an advocate believer in Pro-Life, and I am against Pro-Abortion.  That was what I based a lot of my decision off of.  I did love how Barack connected with the majority of Americans.  He had a certain sort of sincerity in his speech that made people want to believe.  Let&#8217;s hope that he didn&#8217;t fool us.</p>
<p>What now?  Where do we go from here?  What is going to happen?  Only time will tell obviously.  Only time will let us know whether the candidate that America chose will follow out with what they promised us all.  Will it happen today?  No, but hopefully it will happen.  We voted, we chose, and now we wait.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brownphp.com/2008/11/i-feel-like-an-american/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Welcome Informative Post Members!</title>
		<link>http://www.brownphp.com/2008/10/informative-post/</link>
		<comments>http://www.brownphp.com/2008/10/informative-post/#comments</comments>
		<pubDate>Fri, 31 Oct 2008 15:52:12 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category><![CDATA[Informative Post]]></category>

		<category><![CDATA[Updates]]></category>

		<category><![CDATA[informative post blog]]></category>

		<category><![CDATA[need for content]]></category>

		<guid isPermaLink="false">http://www.brownphp.com/?p=19</guid>
		<description><![CDATA[I&#8217;m glad to see you found your way to BrownPHP.com!  This is my personal blog that I want to use to post Informative Post updates.  The reason for this is because a lot of what I do on the Informative Post relates to the readers of BrownPHP as well, so there is no reason to [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m glad to see you found your way to BrownPHP.com!  This is my personal blog that I want to use to post Informative Post updates.  The reason for this is because a lot of what I do on the Informative Post relates to the readers of BrownPHP as well, so there is no reason to have two right?!</p>
<p>To find all the articles relating to the Informative Post, just click on the Informative Post category, and it should organize all the posts about the Informative Post chronologically for you.  In the Informative Post category, you can also find a category called, &#8220;Needed Content&#8221;.  This category should help give you an idea about the article topics that we are looking for at the <a title="Informative Post" href="http://www.informativepost.com" target="_blank">Informative Post</a>.</p>
<p> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.brownphp.com/2008/10/informative-post/feed/</wfw:commentRss>
		</item>
		<item>
		<title>IMDb Finally Streaming Media</title>
		<link>http://www.brownphp.com/2008/09/imdb-finally-streaming-media/</link>
		<comments>http://www.brownphp.com/2008/09/imdb-finally-streaming-media/#comments</comments>
		<pubDate>Tue, 16 Sep 2008 16:53:32 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<category><![CDATA[IMDb]]></category>

		<category><![CDATA[streaming media]]></category>

		<guid isPermaLink="false">http://www.brownphp.com/?p=17</guid>
		<description><![CDATA[What took IMDb so long to start streaming TV shows, movies, trailers and other clips?  Who knows.  They&#8217;ve had nothing new on their site in years.  It&#8217;s almost as if they have been locked in the 20th century the past 8 years.  Oh well, I&#8217;m just glad they have figured it out.
Will I use their service? [...]]]></description>
			<content:encoded><![CDATA[<p>What took <a title="IMDb Streams Media" href="http://www.imdb.com" target="_blank">IMDb</a> so long to start streaming TV shows, movies, trailers and other clips?  Who knows.  They&#8217;ve had nothing new on their site in years.  It&#8217;s almost as if they have been locked in the 20th century the past 8 years.  Oh well, I&#8217;m just glad they have figured it out.</p>
<p>Will I use their service?  Probably not.  If you take a look through a couple of their selections, you will find out quickly just how much of their media is being streamed from <a title="Movies and TV Shows at Hulu" href="http://www.hulu.com" target="_blank">Hulu</a>.  I would rather skip the middle man and use Hulu.  Granted they do have a small selection of media that isn&#8217;t from Hulu, but most of the stuff worth watching for me anyway is from there.</p>
<p>I LOVE to hear movements like this though.  The more websites that make streaming <em>legal</em> media, like full movies and TV shows, the more people will see how off-base the movie industry giant, MPAA, is full of shit.  Streaming TV shows and movies from the Internet is in most cases, easier than downloading them through bittorrent, and then watching them.  These websites are giving a viable alternative to piracy, and they are reaping the rewards.  If the MPAA would have learned to do this a long time ago themselves, they could have doubled their profits easily, instead of sticking their heads in the sand and throwing out ceist and decists out like rice at a wedding. Hopefully the music industry (RIAA) learns from this.</p>
<p>I kind of went off on a tangent there, lol.  Anyway, long story short.  Good for them.  IMDb finally added a little web 2.0 to their site streaming popular media. I&#8217;m curious as to why they didn&#8217;t do this sooner, but I&#8217;m just glad they did it. What do you think are going to be their next steps?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brownphp.com/2008/09/imdb-finally-streaming-media/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Review: PHP Job Hunter&#8217;s Handbook</title>
		<link>http://www.brownphp.com/2008/08/review-php-job-hunters-handbook/</link>
		<comments>http://www.brownphp.com/2008/08/review-php-job-hunters-handbook/#comments</comments>
		<pubDate>Thu, 28 Aug 2008 14:02:11 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[job hunter handbook]]></category>

		<category><![CDATA[michael kimsal]]></category>

		<category><![CDATA[php job handbook]]></category>

		<category><![CDATA[php jobs]]></category>

		<category><![CDATA[php positions]]></category>

		<guid isPermaLink="false">http://www.brownphp.com/?p=15</guid>
		<description><![CDATA[It has been a while since I last posted to Brown PHP.  My life has been going through a large transition recently.  I just landed a new job (more on that later), and moved because my wife also accepted a new position in a different location.  If that were enough of a stressful environment, I [...]]]></description>
			<content:encoded><![CDATA[<p>It has been a while since I last posted to Brown PHP.  My life has been going through a large transition recently.  I just landed a new job <em>(more on that later)</em>, and moved because my wife also accepted a new position in a different location.  If that were enough of a stressful environment, I have been re-factoring the <a title="Informative Post" href="http://www.informativepost.com" target="_blank">Informative Post</a> over the last month trying to get it ready before I begin my new job.</p>
<p>Enough about my own struggles, lets focus on the topic at hand.  Michael Kimsal&#8217;s new book,  <a title="PHP Job Hunter's Handbook" href="http://www.phparch.com/c/books/id/9780973862164">PHP Job Hunter&#8217;s Handbook</a>.  I pre-ordered this book a few months ago, and read the PDF version all the way through before I received my hard copy.  Not a big deal, but makes me regret ordering both.  I guess I can just add it to my collection of PHP temples of knowledge!  In this post, I, Douglas Brown, will be reviewing the PHP Job Hunter&#8217;s Handbook and giving a fairly detailed review of my own experiences.</p>
<p>First, let me begin by talking about the author, Michael Kimsal.  I am a subscriber and active listener to his podcast at <a title="Web Dev Radio, Michael Kimsal" href="http://webdevradio.com/" target="_blank">WebDevRadio.com</a>, from which he discusses current events in the web community, and not just PHP.  He is a well respected PHP contributer with a wide array of knowledge with many different languages.  I find him always willing to help another PHP member in need , and he recently started his own PHP job listings board to also help the PHP community.</p>
<h3>What the book covers:</h3>
<ul class="ceresUl">
<li class="ceresLi">Finding a Full Time Job</li>
<li class="ceresLi">Training and Certification</li>
<li class="ceresLi">Contracting and Freelancing</li>
<li class="ceresLi">Applicable Technologies You Should Know</li>
<li class="ceresLi">Interviewing Tips and Tricks</li>
<li class="ceresLi">Advice from Those Doing the Hiring</li>
<li class="ceresLi">Advice from Fellow PHP Developers</li>
</ul>
<p>It wouldn&#8217;t be extreme to go as far as saying that the book covers too much territory, but for it only being 106 pages, it&#8217;s a fair conclusion.  He mentions that this book is not meant for advanced PHP programmers who have been around the block a time or two, but more targeted towards beginners, to help them get started.  The book fits the bill for that purpose.</p>
<h3>Does it contain any useful information?</h3>
<p>It doesn&#8217;t give to much information that could overwhelm a &#8220;noobie&#8221; PHP programmer, but it does give just enough to help them get started.  I for example, have never had a professional PHP programming position.  I do this for my hobby.  What I do professionally is C and C++ programming.  So you can understand why I love PHP so much.  I did get quite a few nuggets of information from the PHP Job Hunter&#8217;s Handbook.  I got a few PHP job listing sites that I have never heard of to add to my bookmarks.  Also what types of information that the HRs look for when going through PHP cover letters and resumes.</p>
<p>So like I said above, I was able to absorb a lot of information from this book that I had no knowledge of previously.  However, there is also a lot of knowledge in here that can be picked off the web faster than opening a book.  It&#8217;s nice that it has been grouped together for a quick reference if needed.</p>
<h3>What is missing?</h3>
<p>The only two things that I would have liked to see in this book would be a whole encyclopedia of example PHP cover letters and resumes.  Don&#8217;t get me wrong, with all the information that he provides in the book, you can easily make these out for yourself.  This is a Job Hunting <em>Handbook</em> however, and I found it lacking that it didn&#8217;t contain any of these in the appendix or somewhere.  If added in the next Rev, 2 or 3 of each would improve the book to give new PHP programmers something to go off of when they are compiling their own.</p>
<h3>Would I recommend this book?</h3>
<p>If you are new to PHP and don&#8217;t know where to find all the great places to find jobs, and information, <strong>absolutely</strong>.  If you are not new with PHP and you already know where to look for PHP jobs, and what employers are looking for when in search of an experienced PHP programmer, probably not.  Like I mention before though, Mr. Kimsal did not write this book for that audience.</p>
<h3>Did it help my job search?</h3>
<p>It did and it didn&#8217;t. :)  I did find a new job, but not in a PHP position.  I also never really had that much time to do all the different techniques that Michael Kimsal recommended to help the search.  The new job I did find was a Software Engineering position working with C and C++, which are my bread and butter.  I&#8217;m sure that I learned something from this book that helped me land this new job though.</p>
<p>I hope you got a better understanding about what to expect if you yourself are looking into a PHP career and would like a little help finding that first job. Maybe sometime in the future, I&#8217;ll be approached by a company offering a PHP postion that is too good to pass up, but until then, it&#8217;s still my hobby! If you have any questions, please feel free to leave comments. Take care!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brownphp.com/2008/08/review-php-job-hunters-handbook/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Twitter Tag Cloud Service</title>
		<link>http://www.brownphp.com/2008/08/twitter-tag-cloud-service/</link>
		<comments>http://www.brownphp.com/2008/08/twitter-tag-cloud-service/#comments</comments>
		<pubDate>Fri, 01 Aug 2008 17:24:56 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[PHP Code Projects]]></category>

		<guid isPermaLink="false">http://www.brownphp.com/?p=14</guid>
		<description><![CDATA[#twitterTagCloud {margin-left:auto;margin-right:auto;margin-top:10;margin-bottom:15px;text-align:center;width:400px;}#twitterTagCloud .tag {}#twitterTagCloud .size5 {font-size:40px;}#twitterTagCloud .size4 {font-size:30px;}	#twitterTagCloud .size3 {font-size:22px;}#twitterTagCloud .size2 {font-size:16px;}	#twitterTagCloud .size1 {font-size:12px;}#twitterTagCloud .size0 {font-size:10px;}
The past few months I have been using Twitter a lot.  I&#8217;m trying to find and follow people that are heavily involved with PHP or at least providing knowledgeable Tweets about PHP.  I guess you could say that I am [...]]]></description>
			<content:encoded><![CDATA[<style type="text/css">#twitterTagCloud {margin-left:auto;margin-right:auto;margin-top:10;margin-bottom:15px;text-align:center;width:400px;}#twitterTagCloud .tag {}#twitterTagCloud .size5 {font-size:40px;}#twitterTagCloud .size4 {font-size:30px;}	#twitterTagCloud .size3 {font-size:22px;}#twitterTagCloud .size2 {font-size:16px;}	#twitterTagCloud .size1 {font-size:12px;}#twitterTagCloud .size0 {font-size:10px;}</style>
<p>The past few months I have been using <a title="Twitter" href="http://www.twitter.com" target="_blank">Twitter</a> a lot.  I&#8217;m trying to find and follow people that are heavily involved with PHP or at least providing knowledgeable Tweets about PHP.  I guess you could say that I am always open to new networking opportunities within the PHP community. <img src='http://www.brownphp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>If you don&#8217;t know what Twitter is, well then you aren&#8217;t keeping up with your current events very well.  I&#8217;m not going to use this post explaining what it is more than a mini-blogging service.  If you don&#8217;t know, check their site out.  I provided a link above.</p>
<p>The problem I was having was actually judging whether or not it would be worth my time following their tweets. I mean, I follow someone that is really respected in a certain field, only to find out that they tweet about their new puppy they just got more than anything. So I made a PHP script that generates a &#8220;Twitter Tag Cloud.&#8221;  Using this, you can generate your own Twitter tag cloud to put on your personal site to display the top keywords that you have been tweeting about.</p>
<p>I also provide a REST service so that you don&#8217;t have to upload or play with any code yourself other than accessing the BrownPHP Twitter Tag Cloud service.  I&#8217;ll show you more about that later. Or you can just use the textbox I have here to check out your own Twitter Cloud or a friends.</p>
<p>This is helpful to judge what the person tweets about the most.  The more the Twitter-er Tweets about a certain keyword, the larger it appears. Like if you would look at mine.  One of the large keywords is &#8220;informative.&#8221;  I also run a site called, <a title="Informative Post" href="http://www.informativepost.com" target="_blank">Informative Post</a>, and I tweet about it often, so it makes sense that this would be the largest keyword.</p>
<h3>View Your Twitter Tag Cloud Now</h3>
<p>Try it yourself! Type in a twitter username to see what that twitter-er tweets about more often:</p>
<form method="get" action="http://www.brownphp.com/2008/08/twitter-tag-cloud-service"><label for="member">Twitter Username:</label><br />
<input name="member" size="50" type="text" />
<input name="submit" type="submit" value="Get Twitter Cloud" /></form>
<p></p>
<p>Pretty cool, huh?  At the bottom of this, I provide a link where you can download the PHP files from.  I am also providing this as a REST service.</p>
<h3>REST Twitter Tag Cloud Service</h3>
<p>Parameters:</p>
<ul>
<li>user (<em>required</em>)
<ul>
<li>Twitter Username</li>
</ul>
</li>
<li>history (<em>optional</em>)
<ul>
<li>Number of past status updates to look for</li>
<li>Defaults to 100</li>
<li>Max is 200</li>
</ul>
</li>
<li>size (<em>optional</em>)
<ul>
<li>Number of Keywords to return</li>
<li>Defaults to 50</li>
<li>Max is 75</li>
</ul>
</li>
</ul>
<p>Example REST call to get my (<a title="Douglas Brown's Twitter" href="http://www.twitter.com/dlbrown06" target="_blank">dlbrown06</a>) Twitter tag cloud:<br />
<code>http://www.brownphp.com/rest/twittertagcloud.php?user=dlbrown06</code><br />
Response:</p>
<p><code>&lt;div id="twitterTagCloud"&gt;&lt;a class="size2 tag" title="dlbrown06's Tweets Covering money" rel="nofollow" href="http://search.twitter.com/search?q=+money+from%3Adlbrown06" target="_blank"&gt;money&lt;/a&gt;<br />
&lt;a class="size2 tag" title="dlbrown06's Tweets Covering taking" rel="nofollow" href="http://search.twitter.com/search?q=+taking+from%3Adlbrown06" target="_blank"&gt;taking&lt;/a&gt;<br />
&lt;a class="size1 tag" title="dlbrown06's Tweets Covering networking" rel="nofollow" href="http://search.twitter.com/search?q=+networking+from%3Adlbrown06" target="_blank"&gt;networking&lt;/a&gt;<br />
&lt;a class="size1 tag" title="dlbrown06's Tweets Covering social" rel="nofollow" href="http://search.twitter.com/search?q=+social+from%3Adlbrown06" target="_blank"&gt;social&lt;/a&gt;<br />
&lt;a class="size2 tag" title="dlbrown06's Tweets Covering would" rel="nofollow" href="http://search.twitter.com/search?q=+would+from%3Adlbrown06" target="_blank"&gt;would&lt;/a&gt;<br />
&lt;a class="size2 tag" title="dlbrown06's Tweets Covering children" rel="nofollow" href="http://search.twitter.com/search?q=+children+from%3Adlbrown06" target="_blank"&gt;children&lt;/a&gt;<br />
&lt;a class="size2 tag" title="dlbrown06's Tweets Covering account" rel="nofollow" href="http://search.twitter.com/search?q=+account+from%3Adlbrown06" target="_blank"&gt;account&lt;/a&gt;<br />
&lt;a class="size4 tag" title="dlbrown06's Tweets Covering working" rel="nofollow" href="http://search.twitter.com/search?q=+working+from%3Adlbrown06" target="_blank"&gt;working&lt;/a&gt;<br />
&lt;a class="size3 tag" title="dlbrown06's Tweets Covering article" rel="nofollow" href="http://search.twitter.com/search?q=+article+from%3Adlbrown06" target="_blank"&gt;article&lt;/a&gt;<br />
&lt;a class="size2 tag" title="dlbrown06's Tweets Covering start" rel="nofollow" href="http://search.twitter.com/search?q=+start+from%3Adlbrown06" target="_blank"&gt;start&lt;/a&gt;<br />
&lt;a class="size2 tag" title="dlbrown06's Tweets Covering currently" rel="nofollow" href="http://search.twitter.com/search?q=+currently+from%3Adlbrown06" target="_blank"&gt;currently&lt;/a&gt;<br />
&lt;a class="size1 tag" title="dlbrown06's Tweets Covering making" rel="nofollow" href="http://search.twitter.com/search?q=+making+from%3Adlbrown06" target="_blank"&gt;making&lt;/a&gt;<br />
&lt;a class="size4 tag" title="dlbrown06's Tweets Covering online" rel="nofollow" href="http://search.twitter.com/search?q=+online+from%3Adlbrown06" target="_blank"&gt;online&lt;/a&gt;<br />
&lt;a class="size2 tag" title="dlbrown06's Tweets Covering twitter" rel="nofollow" href="http://search.twitter.com/search?q=+twitter+from%3Adlbrown06" target="_blank"&gt;twitter&lt;/a&gt;<br />
&lt;a class="size2 tag" title="dlbrown06's Tweets Covering morning" rel="nofollow" href="http://search.twitter.com/search?q=+morning+from%3Adlbrown06" target="_blank"&gt;morning&lt;/a&gt;<br />
&lt;a class="size1 tag" title="dlbrown06's Tweets Covering sites" rel="nofollow" href="http://search.twitter.com/search?q=+sites+from%3Adlbrown06" target="_blank"&gt;sites&lt;/a&gt;<br />
&lt;a class="size2 tag" title="dlbrown06's Tweets Covering right" rel="nofollow" href="http://search.twitter.com/search?q=+right+from%3Adlbrown06" target="_blank"&gt;right&lt;/a&gt;<br />
&lt;a class="size5 tag" title="dlbrown06's Tweets Covering informative" rel="nofollow" href="http://search.twitter.com/search?q=+informative+from%3Adlbrown06" target="_blank"&gt;informative&lt;/a&gt;<br />
&lt;a class="size2 tag" title="dlbrown06's Tweets Covering hosting" rel="nofollow" href="http://search.twitter.com/search?q=+hosting+from%3Adlbrown06" target="_blank"&gt;hosting&lt;/a&gt;<br />
&lt;a class="size1 tag" title="dlbrown06's Tweets Covering until" rel="nofollow" href="http://search.twitter.com/search?q=+until+from%3Adlbrown06" target="_blank"&gt;until&lt;/a&gt;<br />
&lt;a class="size2 tag" title="dlbrown06's Tweets Covering people" rel="nofollow" href="http://search.twitter.com/search?q=+people+from%3Adlbrown06" target="_blank"&gt;people&lt;/a&gt;<br />
&lt;a class="size1 tag" title="dlbrown06's Tweets Covering looking" rel="nofollow" href="http://search.twitter.com/search?q=+looking+from%3Adlbrown06" target="_blank"&gt;looking&lt;/a&gt;<br />
&lt;a class="size2 tag" title="dlbrown06's Tweets Covering starting" rel="nofollow" href="http://search.twitter.com/search?q=+starting+from%3Adlbrown06" target="_blank"&gt;starting&lt;/a&gt;<br />
&lt;a class="size2 tag" title="dlbrown06's Tweets Covering really" rel="nofollow" href="http://search.twitter.com/search?q=+really+from%3Adlbrown06" target="_blank"&gt;really&lt;/a&gt;<br />
&lt;a class="size3 tag" title="dlbrown06's Tweets Covering diablo" rel="nofollow" href="http://search.twitter.com/search?q=+diablo+from%3Adlbrown06" target="_blank"&gt;diablo&lt;/a&gt;&lt;/div&gt;</code></p>
<p>Then you can use CSS to format the cloud however you like!</p>
<h3>Download the Twitter Tag Cloud Source Code:</h3>
<p>If you would like to use this source code yourself, you are free to do so.  All I ask is that you provide a link to this site, or somehow recognize the work that I put into it somehow.  I would love to see what kind of mashups that the PHP community could do with this source code. Enjoy!</p>
<div style="text-align:center;"><a class="dlimg" href="http://www.brownphp.com/downloads/TwitterTagCloud.zip" title="Download Twitter Tag Cloud Source Code Version 1.0"><img src="http://www.brownphp.com/wp-content/plugins/download-monitor/img/download.gif" alt="Download Twitter Tag Cloud Source Code Version 1.0" /></a></p>
<p class="dlstat">Downloaded a total of 117 times</p>
</div>
<p>If there are any problems with the source code, please let me know here.  Then I&#8217;ll update code for future downloads.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brownphp.com/2008/08/twitter-tag-cloud-service/feed/</wfw:commentRss>
		</item>
		<item>
		<title>My Tweets on 2008-07-22</title>
		<link>http://www.brownphp.com/2008/07/my-tweets-on-2008-07-22/</link>
		<comments>http://www.brownphp.com/2008/07/my-tweets-on-2008-07-22/#comments</comments>
		<pubDate>Wed, 23 Jul 2008 03:59:59 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.brownphp.com/2008/07/my-tweets-on-2008-07-22/</guid>
		<description><![CDATA[
New Post: All About Social Networking Sites: Social Networking sites have great potential for .. http://tinyurl.com/5lk49f #
New Post: How to Make Money Online for a Better Lifestyle: Is making money online possible? Ca.. http://tinyurl.com/6nw8fm #
New Post: Children and Games: This article is about the effects of children playing video game.. http://tinyurl.com/6dc3ua #
New Post: Diablo 3 [...]]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>New Post: All About Social Networking Sites: Social Networking sites have great potential for .. <a href="http://tinyurl.com/5lk49f" rel="nofollow">http://tinyurl.com/5lk49f</a> <a href="http://twitter.com/dlbrown06/statuses/864993584">#</a></li>
<li>New Post: How to Make Money Online for a Better Lifestyle: Is making money online possible? Ca.. <a href="http://tinyurl.com/6nw8fm" rel="nofollow">http://tinyurl.com/6nw8fm</a> <a href="http://twitter.com/dlbrown06/statuses/864993596">#</a></li>
<li>New Post: Children and Games: This article is about the effects of children playing video game.. <a href="http://tinyurl.com/6dc3ua" rel="nofollow">http://tinyurl.com/6dc3ua</a> <a href="http://twitter.com/dlbrown06/statuses/864993620">#</a></li>
<li>New Post: Diablo 3 Announced! Expect it to put Diablo 2 to shame!: Diablo 3 has been announced.. <a href="http://tinyurl.com/6emt7s" rel="nofollow">http://tinyurl.com/6emt7s</a> <a href="http://twitter.com/dlbrown06/statuses/864993637">#</a></li>
<li>New Post: Fraternity: To all the victims of hazing in joining fraternities. I wrote this artic.. <a href="http://tinyurl.com/642omg" rel="nofollow">http://tinyurl.com/642omg</a> <a href="http://twitter.com/dlbrown06/statuses/864993655">#</a></li>
<li>PHP Update: CNET&#8217;s 404 Podcast Twitter Tag Cloud: : SimpleXMLElement::__construct() [].. <a href="http://tinyurl.com/6kdjks" rel="nofollow">http://tinyurl.com/6kdjks</a> <a href="http://twitter.com/dlbrown06/statuses/865400052">#</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.brownphp.com/2008/07/my-tweets-on-2008-07-22/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CNET&#8217;s 404 Podcast Twitter Tag Cloud</title>
		<link>http://www.brownphp.com/2008/07/cnets-404-podcast-twitter-tag-cloud/</link>
		<comments>http://www.brownphp.com/2008/07/cnets-404-podcast-twitter-tag-cloud/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 18:49:24 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<category><![CDATA[404 podcast]]></category>

		<category><![CDATA[404 tag cloud]]></category>

		<category><![CDATA[404 twitter tag cloud]]></category>

		<category><![CDATA[cnet 404]]></category>

		<category><![CDATA[cnet 404 podcast]]></category>

		<category><![CDATA[twitter tag cloud]]></category>

		<guid isPermaLink="false">http://www.brownphp.com/?p=11</guid>
		<description><![CDATA[If any of you haven&#8217;t heard of CNET&#8217;s 404 podcast, you are missing some serious entertainment.  I have been listening to them for about a year now, and haven&#8217;t missed a podcast since.  The guys at the 404 (Randell, Jeff, Wilson, and the new and improved Justin) just started Twittering, or at least [...]]]></description>
			<content:encoded><![CDATA[<p>If any of you haven&#8217;t heard of <a href="reviews.cnet.com/the-404-podcast/ ">CNET&#8217;s 404 podcast</a>, you are missing some serious entertainment.  I have been listening to them for about a year now, and haven&#8217;t missed a podcast since.  The guys at the 404 (<span style="text-decoration: line-through;">Randell, </span>Jeff, Wilson, and the new and improved Justin) just started Twittering, or at least telling everyone else that they are twittering.</p>
<p>I decided to make a little php script that monitors their Twitter RSS feeds, and from them, generates a tag cloud from their tweets. From listening to their podcast, I thought it would be pretty interesting to get a quick summary of what they are tweeting about more often.</p>
<p>I see a &#8220;hooters&#8221; tag in Jeff&#8217;s cloud, and I see a &#8220;balls&#8221; tag in Wilson&#8217;s&#8230;?  Coincidence?</p>
<p>require_once &#8216;Brown/FeedTagCloud.php&#8217;;</p>
<p>$tagCloud = new FeedTagCloud();</p>
<p>// The 404 Twitter Posts RSS Feed<br />
$xml_rss_404 = array(&#8217;http://twitter.com/statuses/user_timeline/12298152.rss&#8217;);<br />
$xml_rss_Jeff = array(&#8217;http://twitter.com/statuses/user_timeline/15454949.rss&#8217;);<br />
$xml_rss_Wilson = array(&#8217;http://twitter.com/statuses/user_timeline/2029191.rss&#8217;);<br />
$xml_rss_Justin = array(&#8217;http://twitter.com/statuses/user_timeline/15433229.rss&#8217;);</p>
<p>$cloud_404 = $tagCloud-&gt;showTagCloud($xml_rss_404);<br />
$cloud_Jeff = $tagCloud-&gt;showTagCloud($xml_rss_Jeff);<br />
$cloud_Wilson = $tagCloud-&gt;showTagCloud($xml_rss_Wilson);<br />
$cloud_Justin = $tagCloud-&gt;showTagCloud($xml_rss_Justin);</p>
<p>echo &#8216;</p>
<h1>404 Tag Cloud</h1>
<div style="margin-bottom:25px; margin-left:auto; margin-right:auto; text-align:center;">&#8216;;<br />
foreach ($cloud_404 as $key =&gt; $value) {<br />
echo &#8220;<a href="\" target="\&quot;_blank\&quot;">$value</a> &#8220;;<br />
}<br />
echo &#8216;</div>
<p>&#8216;;</p>
<p>echo &#8216;</p>
<h1>Jeff\&#8217;s Tag Cloud</h1>
<div style="margin-bottom:25px; margin-left:auto; margin-right:auto; text-align:center;">&#8216;;<br />
foreach ($cloud_Jeff as $key =&gt; $value) {<br />
echo &#8220;<a href="\" target="\&quot;_blank\&quot;">$value</a> &#8220;;<br />
}<br />
echo &#8216;</div>
<p>&#8216;;</p>
<p>echo &#8216;</p>
<h1>Wilson\&#8217;s Tag Cloud</h1>
<div style="margin-bottom:25px; margin-left:auto; margin-right:auto; text-align:center;">&#8216;;<br />
foreach ($cloud_Wilson as $key =&gt; $value) {<br />
echo &#8220;<a href="\" target="\&quot;_blank\&quot;">$value</a> &#8220;;<br />
}<br />
echo &#8216;</div>
<p>&#8216;;</p>
<p>echo &#8216;</p>
<h1>Justin\&#8217;s Tag Cloud</h1>
<div style="margin-bottom:25px; margin-left:auto; margin-right:auto; text-align:center;">&#8216;;<br />
foreach ($cloud_Justin as $key =&gt; $value) {<br />
echo &#8220;<a href="\" target="\&quot;_blank\&quot;">$value</a> &#8220;;<br />
}<br />
echo &#8216;</div>
<p>&#8216;;<br />
?&gt;</p>
<p>If any of you are interested in the PHP Twitter RSS Tag Cloud Generator, let me know and I can send it to you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brownphp.com/2008/07/cnets-404-podcast-twitter-tag-cloud/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tweets on 2008-07-21</title>
		<link>http://www.brownphp.com/2008/07/tweets-on-2008-07-21/</link>
		<comments>http://www.brownphp.com/2008/07/tweets-on-2008-07-21/#comments</comments>
		<pubDate>Tue, 22 Jul 2008 03:59:59 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.brownphp.com/2008/07/tweets-on-2008-07-21/</guid>
		<description><![CDATA[
New Post: Why I Love my IPhone: The iPhone, an innovation. It can achieve what was once though.. http://tinyurl.com/6pqtb9 #

]]></description>
			<content:encoded><![CDATA[<ul class="aktt_tweet_digest">
<li>New Post: Why I Love my IPhone: The iPhone, an innovation. It can achieve what was once though.. <a href="http://tinyurl.com/6pqtb9" rel="nofollow">http://tinyurl.com/6pqtb9</a> <a href="http://twitter.com/dlbrown06/statuses/864042384">#</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.brownphp.com/2008/07/tweets-on-2008-07-21/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Douglas Brown is an Impossible Keyword</title>
		<link>http://www.brownphp.com/2008/07/douglas-brown-is-an-impossible-keyword/</link>
		<comments>http://www.brownphp.com/2008/07/douglas-brown-is-an-impossible-keyword/#comments</comments>
		<pubDate>Wed, 09 Jul 2008 14:24:20 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category><![CDATA[Random]]></category>

		<category><![CDATA[brown php]]></category>

		<category><![CDATA[doug brown]]></category>

		<category><![CDATA[douglas brown]]></category>

		<guid isPermaLink="false">http://www.brownphp.com/?p=10</guid>
		<description><![CDATA[Ok, I started this site so that I can work on projects involved with PHP that I wouldn&#8217;t normally do in my current job.  Also in the future, after I have built up a few articles, I would also like using this as a resource to find a job that is heavily involved with PHP [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, I started this site so that I can work on projects involved with PHP that I wouldn&#8217;t normally do in my current job.  Also in the future, after I have built up a few articles, I would also like using this as a resource to find a job that is heavily involved with PHP and web applications.  After doing a little research, I&#8217;m beginning to notice that with my name being, Douglas Brown or Doug Brown for short, it is a bit like having a name like John Smith.</p>
<p>I would like to tell my prospective employers if they would like to find me, just Google Douglas Brown or Doug Brown, and I will be the first result.  I think that this is going to take a lot more work.  Searching &#8216;douglas brown&#8217; today produces results of over 2,250,000.  Perhaps competing for &#8216;doug brown&#8217; would make more sense, as the competition out there is less than 500,000 results.  Either way, this is going to take some time.</p>
<p>I&#8217;m sure that there are a lot of you out there in the same boat as I am, but I know there are a few of you lucky people that can brand your name without any problem.  When a new web app like Twitter pops up, you can just use your real name, rather I need to use some vague alias like <a title="Twitter Douglas Brown" href="http://www.twitter.com" target="_blank">dlbrown06</a>.</p>
<p>Anyway, I just wanted to use this post as a little bit of a rant, and I guess having a post with my name in it won&#8217;t hurt at all.  Today is the day that I begin branding myself, Douglas Brown, as a web recognized PHP Developer! <img src='http://www.brownphp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> lol</p>
<p>If any of you have a name you feel is impossible to brand, take a moment and mourn with me please.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.brownphp.com/2008/07/douglas-brown-is-an-impossible-keyword/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Zend_Cache is Saving me Money!</title>
		<link>http://www.brownphp.com/2008/07/zend_cache-is-saving-me-money/</link>
		<comments>http://www.brownphp.com/2008/07/zend_cache-is-saving-me-money/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 22:23:04 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Zend Framework]]></category>

		<category><![CDATA[cache]]></category>

		<category><![CDATA[caching]]></category>

		<category><![CDATA[loadcache]]></category>

		<category><![CDATA[zend]]></category>

		<category><![CDATA[zend cache]]></category>

		<category><![CDATA[zend_cache]]></category>

		<guid isPermaLink="false">http://www.brownphp.com/?p=9</guid>
		<description><![CDATA[Let me tell you a little story.  My latest site I have been working on for some time was written using the Zend Framework.  Since it was launched in Oct 07, it has been growing rapidly enough where I am now starting to feel growing pains.
One morning I went into the site to check some [...]]]></description>
			<content:encoded><![CDATA[<p>Let me tell you a little story.  My latest site I have been working on for some time was written using the Zend Framework.  Since it was launched in Oct 07, it has been growing rapidly enough where I am now starting to feel growing pains.</p>
<p>One morning I went into the site to check some analytics, and my site was displaying a 403 Forbidden error!  I suddenly got a cold nervous sweat down the back of my spine.  Why was it forbidden?  It was fine when I checked it out last night?!  So I tried to login to my FTP account.  No go!  I I thought a hacker has some how blocked me out of my own account. [Exit dramatic build up].</p>
<p>I come to find out that my hosting company revoked my access to the folder that I was using for the domain.  I called them up immediately after I noticed that.  They responded by telling me that on a shared server, they limit their clients to use only 2% of the servers resources before they shut them down.  My site was using 30%. They were then forced to shut the site down without notice, because it was most likely affecting the performance of the other sites running from that shared server.</p>
<p>After some negotiating and explaining to them that I was going to come up with a solution, they temporarily gave me back access to the folder so that I could diagnose further what was going on.  The first thing that I did was looked through the server logs.  Because of my unfortunate neglect, the server log file was <span style="text-decoration: line-through;">freaking enormous</span> bigger than normal.</p>
<p>Nearly all of the errors I was getting were:</p>
<p><code>[03-Jul-2008 09:41:19] PHP Fatal error:  Uncaught exception &#8216;Zend_Db_Adapter_Exception&#8217; with message &#8216;SQLSTATE[42000] [1203] User blank already has more than &#8216;max_user_connections&#8217; active connections&#8217; in blah blah blah</code></p>
<p>I&#8217;ll admit, I was in a huge hurry to get this project done, so I wasn&#8217;t thinking about the long tern effects.  Needless to say, I wasn&#8217;t caching my MySQL query results. I know, tisk tisk.  Once I discovered this, I added this private method to my classes:</p>
<p><code><br />
private function loadCache()<br />
{<br />
$frontendOptions = array(<br />
'lifetime' =&gt; 7200, // cache lifetime of 2 hours<br />
'automatic_serialization' =&gt;<br />
true);<br />
$backendOptions = array(<br />
'cache_dir' =&gt; './cache/' // Directory where to put the cache files<br />
); // getting a Zend_Cache_Core object<br />
return Zend_Cache::factory('Core', 'File', $frontendOptions, $backendOptions);<br />
}</code></p>
<p>Then in each of my classes where I needed to cache my query results, I implemented the above method. Here is an example:</p>
<p><code><br />
class IndexController extends Zend_Controller_Action {<br />
/**<br />
* Index Action<br />
*<br />
*/<br />
public function indexAction() {<br />
$db = new SomeDB;<br />
$cache = $this-&gt;loadCache();<br />
if (!$results = $cache-&gt;load('cache_variable')) {<br />
$results = $db-&gt;fetchAll('columnName="whatIWant"');<br />
$cache-&gt;save($results, 'cache_variable');<br />
}<br />
}<br />
}</code></p>
<p>It&#8217;s pretty much as simple as that.  Once I did this, it dropped the server load tremendously, which now buys me more time from upgrading my hosting package.  About 10 minutes of coding just saved me about $50 a month in hosting fees!  That feels good.</p>
<p>Keep in mind that this is not the best approach to solving this problem.  If you too are using the Zend Framework in your own design.  It was be better to initialize the Zend_Cache in your bootstrap file.  Doing it the way I did above will force you to replicate the code method, <em>loadCache</em>, in all of your classes which I dont&#8217; have to explain to you why this is inefficient, and just plain old bad OOP technique! <img src='http://www.brownphp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brownphp.com/2008/07/zend_cache-is-saving-me-money/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Email Made Simple with the Zend_Mail Tutorial</title>
		<link>http://www.brownphp.com/2008/06/email-made-simple-with-the-zend_mail-tutorial/</link>
		<comments>http://www.brownphp.com/2008/06/email-made-simple-with-the-zend_mail-tutorial/#comments</comments>
		<pubDate>Mon, 30 Jun 2008 17:22:58 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category><![CDATA[Zend Framework]]></category>

		<category><![CDATA[PHP]]></category>

		<category><![CDATA[php tutorial]]></category>

		<category><![CDATA[zend framework tutorial]]></category>

		<category><![CDATA[zend_mail]]></category>

		<guid isPermaLink="false">http://www.brownphp.com/?p=7</guid>
		<description><![CDATA[I just got finished with an update to one of my sites, the Informative Post, which uses the Zend_Mail component frequently.  Zend_Mail is a component that is apart of the Zend Framework, and if you haven&#8217;t ever used it, now is as good of a time as any!
It is my first time working with Zend_Mail [...]]]></description>
			<content:encoded><![CDATA[<p>I just got finished with an update to one of my sites, the <a title="Informative Post" href="http://www.informativepost.com" target="_self">Informative Post</a>, which uses the <a title="Zend Mail" href="http://framework.zend.com/manual/en/zend.mail.html" target="_blank">Zend_Mail </a>component frequently.  Zend_Mail is a component that is apart of the Zend Framework, and if you haven&#8217;t ever used it, now is as good of a time as any!</p>
<p>It is my first time working with Zend_Mail and I must say that I am impressed.  This component alone would influence me to use the Zend Framework.  It makes emailing from your site so simple.  You don&#8217;t have to deal with the HTTP headers or anything.  Let me show you the code that I used to send a simple email notifying a member that I have received an article that they just submitted.</p>
<p><code>&lt;?php<br />
include_once 'Zend/Mail.php';</p>
<p>$subject = 'We Have Received Your Article';<br />
$fromEmail = 'admin@gmail.com';<br />
$fromName = 'Administrator';<br />
$toEmail = 'author@email.com';<br />
$toName = 'Author Name';<br />
$message= &lt;&lt;&lt;EMAIL<br />
Hi $toName!</p>
<p>I just wanted to notify you and let you know that I received your article and it will be reviewed shortly.</p>
<p>Regards,<br />
Douglas Brown<br />
Follow Me On Twitter: http://www.twitter.com/dlbrown06<br />
EMAIL;</p>
<p>$mail = new Zend_Mail();<br />
$mail-&gt;setSubject($subject);<br />
$mail-&gt;setFrom($fromEmail, $fromName);<br />
$mail-&gt;addTo($toEmail, $toName);<br />
$mail-&gt;setBodyText($message);<br />
$mail-&gt;send();<br />
?&gt;</code></p>
<p>It is as simple as that.  Not too bad is it?  You can also send an HTML email.  It is just as simple.  You would just add <strong><span style="color: #888888;">setBodyHtml($messageHTML)</span></strong>.  $messageHTML would contain the HTML and text that you would like to email.  You should still add the setBodyText method so that if someone who opens up their email doesn&#8217;t not want to display the email in HTML, they have the alternative to view it in plain text.</p>
<p><strong>Zend_Mail Tutorial Conclusion</strong></p>
<p>I know that you are thinking that this is a relatively short tutorial, and your right!  The Zend Framework&#8217;s Zend_Mail is very simple to use with a minimal amount of code to produce to let you take better advantage of your available time.  You can send an email in 6 lines of code if you would like!  If you feel that I made a mistake in the above code or that you have a better method to use, please let me know, as I would love to learn how to use this component more efficiently.</p>
<p>In my next post, I am planning on showing you how to use the Flickr API to bring your photos to your own site with ease!<span id="more-7"></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brownphp.com/2008/06/email-made-simple-with-the-zend_mail-tutorial/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Welcome to BrownPHP.com</title>
		<link>http://www.brownphp.com/2008/06/welcome-to-brownphp/</link>
		<comments>http://www.brownphp.com/2008/06/welcome-to-brownphp/#comments</comments>
		<pubDate>Sat, 07 Jun 2008 22:46:08 +0000</pubDate>
		<dc:creator>Doug</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[find php developer]]></category>

		<category><![CDATA[php development blog]]></category>

		<guid isPermaLink="false">http://www.brownphp.com/?p=3</guid>
		<description><![CDATA[This is officially the first post of many to come.  I have never really had the chance to start a Wordpress blog before.  Well, maybe mentioning that I never really had the time to work on one would be better.  I always enjoyed building a site from the ground up.  Starting to think about how [...]]]></description>
			<content:encoded><![CDATA[<p>This is officially the first post of many to come.  I have never really had the chance to start a Wordpress blog before.  Well, maybe mentioning that I never really had the time to work on one would be better.  I always enjoyed building a site from the ground up.  Starting to think about how I will design the file structure, and what design pattern to choose from always get me excited.  I don&#8217;t think I need to mention the gratification you get from launching a site that you have been working on for months to the public eye.</p>
<p>So I am admittedly late to the Wordpress blog show, but I am doing this to contribute everything that I have learned along the way about PHP and other web technologies to the PHP community.  My motivation behind continued work on this site comes from all the developers out there that have offered advice or have troubleshooted my PHP design mistakes in the past.  I hope that I can use this site as a conduit to other PHP developers to share ideas that we can all learn and grow from.</p>
<p>I am currently in a living situation that cuts me out of the loop from the Web 2.0 world.  I live in Indiana/Ohio and believe it or not, the only way I can hear about or learn more about PHP is from blogs, and <a href="http://www.php.net" target="_blank">php.net</a>.  I&#8217;m sure I am not the only person in this situation.  Some day, I do plan on moving the West Coast or New York, where I can be around more like-minded people.</p>
<p>I just wanted to use this first post on Brown PHP to welcome you and hope you stick around to contribute and learn more about the great things that PHP can do to make the world a better place! <img src='http://www.brownphp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.brownphp.com/2008/06/welcome-to-brownphp/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
