<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: PHP for Beginners: Building Your First Simple CMS</title>
	<atom:link href="http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/feed/" rel="self" type="application/rss+xml" />
	<link>http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/</link>
	<description>Tips, Tricks, and Techniques on using Cascading Style Sheets.</description>
	<lastBuildDate>Thu, 23 May 2013 21:59:33 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
	<item>
		<title>By: Emmauel</title>
		<link>http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/#comment-53268</link>
		<dc:creator>Emmauel</dc:creator>
		<pubDate>Thu, 05 Mar 2009 05:40:14 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=1907#comment-53268</guid>
		<description><![CDATA[I like your style of dishing it out.
Thanks a lot ..
Te world need people like you.Good job]]></description>
		<content:encoded><![CDATA[<p>I like your style of dishing it out.<br />
Thanks a lot ..<br />
Te world need people like you.Good job</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Germán</title>
		<link>http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/#comment-53230</link>
		<dc:creator>Germán</dc:creator>
		<pubDate>Wed, 04 Mar 2009 00:13:44 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=1907#comment-53230</guid>
		<description><![CDATA[@Jorge, para ver algo más básico podés ver en http://w3schools.com/php/
Saludos!]]></description>
		<content:encoded><![CDATA[<p>@Jorge, para ver algo más básico podés ver en <a href="http://w3schools.com/php/" rel="nofollow">http://w3schools.com/php/</a><br />
Saludos!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Murmp - PHP for Beginners: Building Your First Simple CMS</title>
		<link>http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/#comment-53189</link>
		<dc:creator>Murmp - PHP for Beginners: Building Your First Simple CMS</dc:creator>
		<pubDate>Tue, 03 Mar 2009 05:13:28 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=1907#comment-53189</guid>
		<description><![CDATA[[...] PHP for Beginners: Building Your First Simple CMS   Currently 11/3   Submitted January 01, 2009 by jsuggs  Tags: mysql! php! web development! It’s safe to say that nearly every website that’s up-to-date these days is using some form of content management system (CMS). While there are a ton of great free options that provide us with a CMS to power a website (Wordpress, Drupal, etc.), it doesn’t hurt to peek under the hood and get a feel for how these systems work. [...]]]></description>
		<content:encoded><![CDATA[<p>[...] PHP for Beginners: Building Your First Simple CMS   Currently 11/3   Submitted January 01, 2009 by jsuggs  Tags: mysql! php! web development! It’s safe to say that nearly every website that’s up-to-date these days is using some form of content management system (CMS). While there are a ton of great free options that provide us with a CMS to power a website (WordPress, Drupal, etc.), it doesn’t hurt to peek under the hood and get a feel for how these systems work. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 20 Useful PHP Components &#38; Tutorials for Everyday Project &#124; Noupe</title>
		<link>http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/#comment-53129</link>
		<dc:creator>20 Useful PHP Components &#38; Tutorials for Everyday Project &#124; Noupe</dc:creator>
		<pubDate>Mon, 02 Mar 2009 04:45:13 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=1907#comment-53129</guid>
		<description><![CDATA[[...] 6. Building Your First Simple CMS [...]]]></description>
		<content:encoded><![CDATA[<p>[...] 6. Building Your First Simple CMS [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: The Smart One</title>
		<link>http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/#comment-51972</link>
		<dc:creator>The Smart One</dc:creator>
		<pubDate>Mon, 16 Feb 2009 19:40:44 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=1907#comment-51972</guid>
		<description><![CDATA[It&#039;s a nice piece.

Security is not a relevant topic for beginners trying to learn how to do things.  Let&#039;s be realistic, do you really think a newbie stumbled on to this tutorial to develop an online banking platform?  (Wouldn&#039;t shock me, actually, but I doubt this was the writer&#039;s target). 

A newb is more likely to build a little &quot;Hello World&quot; site or display pictures of his kids using this.  So it is open to SQL injection, sure... but when the newb finds that PedoBear has been superimposed into the photos of his kids, he will hone his security skills.

Any serious developer takes a more robust course on professional development, followed by occasional security refreshers.  Everyone knows this.

Now... No one who works with open source technologies should dare bash another for freely sharing knowledge.  Ever.  Correct mistakes out of respect for the readers, but don&#039;t bash the author.  He&#039;s merely trying to contribute to the community.  That&#039;s what open source is all about.]]></description>
		<content:encoded><![CDATA[<p>It&#8217;s a nice piece.</p>
<p>Security is not a relevant topic for beginners trying to learn how to do things.  Let&#8217;s be realistic, do you really think a newbie stumbled on to this tutorial to develop an online banking platform?  (Wouldn&#8217;t shock me, actually, but I doubt this was the writer&#8217;s target). </p>
<p>A newb is more likely to build a little &#8220;Hello World&#8221; site or display pictures of his kids using this.  So it is open to SQL injection, sure&#8230; but when the newb finds that PedoBear has been superimposed into the photos of his kids, he will hone his security skills.</p>
<p>Any serious developer takes a more robust course on professional development, followed by occasional security refreshers.  Everyone knows this.</p>
<p>Now&#8230; No one who works with open source technologies should dare bash another for freely sharing knowledge.  Ever.  Correct mistakes out of respect for the readers, but don&#8217;t bash the author.  He&#8217;s merely trying to contribute to the community.  That&#8217;s what open source is all about.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Suyanthan</title>
		<link>http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/#comment-51598</link>
		<dc:creator>Suyanthan</dc:creator>
		<pubDate>Tue, 10 Feb 2009 23:02:09 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=1907#comment-51598</guid>
		<description><![CDATA[Hi SIr,
This is really a super php class exam!. I was searching for this last few days and finally got it!!

Thank you very much!!!]]></description>
		<content:encoded><![CDATA[<p>Hi SIr,<br />
This is really a super php class exam!. I was searching for this last few days and finally got it!!</p>
<p>Thank you very much!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: software developement</title>
		<link>http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/#comment-51478</link>
		<dc:creator>software developement</dc:creator>
		<pubDate>Tue, 10 Feb 2009 02:42:07 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=1907#comment-51478</guid>
		<description><![CDATA[great articles. good thing i stumbled your site.thanks for sharing this helpful site.thumbs up!]]></description>
		<content:encoded><![CDATA[<p>great articles. good thing i stumbled your site.thanks for sharing this helpful site.thumbs up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Moksha Solutions</title>
		<link>http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/#comment-51148</link>
		<dc:creator>Moksha Solutions</dc:creator>
		<pubDate>Sat, 07 Feb 2009 21:38:51 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=1907#comment-51148</guid>
		<description><![CDATA[why all is in php why not asp.net i think its far better then php, now i dont want to learn again a new language. please also give some asp.net exp]]></description>
		<content:encoded><![CDATA[<p>why all is in php why not asp.net i think its far better then php, now i dont want to learn again a new language. please also give some asp.net exp</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jasn_001</title>
		<link>http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/#comment-51070</link>
		<dc:creator>jasn_001</dc:creator>
		<pubDate>Sat, 07 Feb 2009 05:25:33 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=1907#comment-51070</guid>
		<description><![CDATA[My comment got lost in cyberspace so I will recreate it (quickly).

On the article, I will not mention some of the previous comments but:
 - OOP.  Cleaner code and good practice - if done right.  If you are going to show a technique, please utilize it correctly.  If any of these users study more into OOP, hen they would be disappointed to see thy cannot fully utilize what you have taught them.
 - SQL.  SELECT * FROM.. is slow and bad practice when your application gets bigger.  Please use SELECT this, that FROM.. instead, you don&#039;t want to do full table searches.]]></description>
		<content:encoded><![CDATA[<p>My comment got lost in cyberspace so I will recreate it (quickly).</p>
<p>On the article, I will not mention some of the previous comments but:<br />
 &#8211; OOP.  Cleaner code and good practice &#8211; if done right.  If you are going to show a technique, please utilize it correctly.  If any of these users study more into OOP, hen they would be disappointed to see thy cannot fully utilize what you have taught them.<br />
 &#8211; SQL.  SELECT * FROM.. is slow and bad practice when your application gets bigger.  Please use SELECT this, that FROM.. instead, you don&#8217;t want to do full table searches.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jasn</title>
		<link>http://css-tricks.com/php-for-beginners-building-your-first-simple-cms/#comment-51045</link>
		<dc:creator>jasn</dc:creator>
		<pubDate>Sat, 07 Feb 2009 00:59:39 +0000</pubDate>
		<guid isPermaLink="false">http://css-tricks.com/?p=1907#comment-51045</guid>
		<description><![CDATA[Sorry to chime in with the negativity, but I feel if you are teaching how to write a basic CMS, then some more things need to be mentioned. (I won&#039;t go into some of the other things mentioned already)


OOP - You note that it is good practice to use OOP, but you are not using OOP effectively in your example nor teaching it correctly.  When users begin learning about furthering OOP practices and trying it out on your example, they will get frustrated because it doesn&#039;t work.  You have a super class that combines alot of functions.  You can&#039;t extend this class like so:


&lt;blockquote&gt;
  class blah extends simpleCMS { }
&lt;/blockquote&gt;


SELECT * FROM... is slow and bad practice.  Start new users right! When your application gets bigger then your mysql queries will take longer because mysql has to search through the entire table to get the 1 (or 2) things you need. Try:


&lt;blockquote&gt;
  SELECT title, bodytext FROM....
&lt;/blockquote&gt;


Why did you user HEREDOC instead of echoing strings or breaking out of PHP?
Curly braces should be always be used. Google &quot;PHP Coding Standards&quot; or I recommend this from &lt;a href=&quot;http://www.evolt.org/article/PHP&#095;coding&#095;guidelines/18/60247/&quot; rel=&quot;nofollow&quot;&gt;Evolt.org&lt;/a&gt;
]]></description>
		<content:encoded><![CDATA[<p>Sorry to chime in with the negativity, but I feel if you are teaching how to write a basic CMS, then some more things need to be mentioned. (I won&#8217;t go into some of the other things mentioned already)</p>
<p>OOP &#8211; You note that it is good practice to use OOP, but you are not using OOP effectively in your example nor teaching it correctly.  When users begin learning about furthering OOP practices and trying it out on your example, they will get frustrated because it doesn&#8217;t work.  You have a super class that combines alot of functions.  You can&#8217;t extend this class like so:</p>
<blockquote><p>
  class blah extends simpleCMS { }
</p></blockquote>
<p>SELECT * FROM&#8230; is slow and bad practice.  Start new users right! When your application gets bigger then your mysql queries will take longer because mysql has to search through the entire table to get the 1 (or 2) things you need. Try:</p>
<blockquote><p>
  SELECT title, bodytext FROM&#8230;.
</p></blockquote>
<p>Why did you user HEREDOC instead of echoing strings or breaking out of PHP?<br />
Curly braces should be always be used. Google &#8220;PHP Coding Standards&#8221; or I recommend this from <a href="http://www.evolt.org/article/PHP&#95;coding&#95;guidelines/18/60247/" rel="nofollow">Evolt.org</a></p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk (User agent is rejected)
Content Delivery Network via cdn.css-tricks.com

 Served from: css-tricks.com @ 2013-05-23 15:50:08 by W3 Total Cache -->