<?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>KILLERPHP.COM &#187; Beginners PHP Articles</title>
	<atom:link href="http://www.killerphp.com/articles/category/beginners_articles/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.killerphp.com/articles</link>
	<description>Dedicated to teaching web designers PHP.</description>
	<lastBuildDate>Wed, 25 Jan 2012 21:28:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Android and iOS Development &#8211; the easy way!</title>
		<link>http://www.killerphp.com/articles/android-and-ios-development-the-easy-way/</link>
		<comments>http://www.killerphp.com/articles/android-and-ios-development-the-easy-way/#comments</comments>
		<pubDate>Tue, 15 Feb 2011 20:23:47 +0000</pubDate>
		<dc:creator>Stefan Mischook</dc:creator>
				<category><![CDATA[Beginners PHP Articles]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[iPad]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=1192</guid>
		<description><![CDATA[
Hi,
I&#8217;ve been getting a lot of emails lately that are kinda like this:
Stef, I want to learn how to create apps for iPhones, iPads and Android devices &#8230; can you teach me!
Well the good news is that I am looking into this now. The bad news is that I don&#8217;t have anything ready &#8230; yet. [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.killerphp.com/articles/wp-content/uploads/2011/02/android-logo.png" alt="" title="android-logo" width="203" height="199" class="alignright size-full wp-image-1199" style="float: right; margin: 10px" /></p>
<p>Hi,</p>
<p>I&#8217;ve been getting a lot of emails lately that are kinda like this:</p>
<blockquote><p>Stef, I want to learn how to create apps for iPhones, iPads and Android devices &#8230; can you teach me!</p></blockquote>
<p>Well the good news is that I am looking into this now. The bad news is that I don&#8217;t have anything ready &#8230; yet. That said, I do have some useful information and strategies for people who want to jump on this bandwagon quickly and easily. </p>
<p>Listen up &#8230;</p>
<p><strong>iOS is for iPhones and iPads</strong></p>
<p>That means you need to learn objective C &#8230; if you want to have total control over the iOS device. More on that later. </p>
<p><strong>Google&#8217;s Android &#8211; on phones and tablets.</strong></p>
<p>That means you need to learn a subset of Java (basically stripped down Java) if you want to have total control of the devices. </p>
<p><strong>About objective C and Java</strong></p>
<p>I don&#8217;t know much about objective C (but I&#8217;ve heard things &#8230;) but I do know a lot about Java. In both cases, many junior level PHP programmers might have a hard time with these languages because they require a deeper understanding of OOP. </p>
<p><strong>The solution: HTML 5 and CSS3</strong></p>
<p>The great thing about mobile applications, is that we expect that most of the time, they will be connected to the Internet &#8211; we assume that the apps will interact online at some point if not all the time. </p>
<p>This opens up the possibility of moving some of the heavy lifting over to the server where PHP can take care of biz for you. This MAY minimize the need to have to go down to the core of the device, forcing you to use Java or Objective C &#8230; depending on the device of course.</p>
<p>In the meantime, you can use HTML 5&#8217;s nifty new ability for local storage (of files,) to handle the times when a smart-phone is NOT online. How often does that happen &#8230;?</p>
<p>Stefan Mischook<br />
killerphp.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killerphp.com/articles/android-and-ios-development-the-easy-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Password Protecting Pages with PHP</title>
		<link>http://www.killerphp.com/articles/password-protecting-pages-with-php/</link>
		<comments>http://www.killerphp.com/articles/password-protecting-pages-with-php/#comments</comments>
		<pubDate>Sat, 29 Jan 2011 20:57:31 +0000</pubDate>
		<dc:creator>Stefan Mischook</dc:creator>
				<category><![CDATA[Beginners PHP Articles]]></category>

		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=384</guid>
		<description><![CDATA[
Hi,
I recently got an email asking how to create password protected pages .. in an easy fast way for a beginner to PHP. From the email:
I was wondering if there is some premade script and setup for database I can utilize to get this up faster and still proceed to educate myself. 
As any experience [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.killerphp.com/articles/wp-content/uploads/2011/01/004.png" alt="password protect pages with php" title="password-protect" width="128" height="128" class="size-full wp-image-1188" style="float: right; margin: 10px;"/></p>
<p>Hi,</p>
<p>I recently got an email asking how to create password protected pages .. in an easy fast way for a beginner to PHP. From the email:</p>
<blockquote><p>I was wondering if there is some premade script and setup for database I can utilize to get this up faster and still proceed to educate myself. </p></blockquote>
<p>As any experience PHP nerd knows, there are several approaches one could take. But since this guy is new to PHP and programming, I decided on something simple: </p>
<p><span id="more-384"></span></p>
<p>Hi Bob,</p>
<p>First, let me thank you for your kind words about the site &#8230; I love hearing from people.</p>
<p>To answer your question; if you simply need to password protect a directory/folder in your site, you can simple use CPANEL to create something called an .htaccess file. This will will protect ALL your content in that directory. The thing is though is that you will have to manually add users to this file (it is a text file) and you have to have a Linux based server&#8230; most are these days.</p>
<p>That said, with a little PHP file manipulating knowledge, you could use PHP to dynamically add users to the .htaccess file. Another option is to use something called PHP sessions to password protect pages:</p>
<p><a href="http://www.killerphp.com/tutorials/beginners-php/">http://www.killerphp.com/tutorials/beginners-php/</a></p>
<p>&#8230; it is found under:</p>
<p>More Basic PHP Continued</p>
<p>   * Making decisions with PHP: conditional statements (14:35)<br />
   * PHP Loops (12:10)<br />
   * PHP Functions &#8211; part 1 (8:31)<br />
   * PHP Functions &#8211; part 2 (8:57)<br />
   * PHP Functions &#8211; part 3 (8:12)<br />
   * Creating Customs PHP Functions Part 1 (6:47)<br />
   * Creating Customs PHP Functions Part 2 (8:45)<br />
   * Creating Customs PHP Functions Part 3 (6:09)<br />
   * PHP Sessions Part 1 (4:55)<br />
   * PHP Sessions Part 2 (8:24)<br />
   * PHP Sessions Part 3 (7:08)</p>
<p>You can see the first of the sessions videos here:</p>
<p><a href="http://www.killerphp.com/videos/php-sessions-part1.php">http://www.killerphp.com/videos/php-sessions-part1.php</a></p>
<p>There are other methods like using a CMS like Drupal or a blog like Wordpress  &#8230; they have built in ability to protect pages.</p>
<p>I hope that helps,</p>
<p>Stefan<br />
www.killerphp.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killerphp.com/articles/password-protecting-pages-with-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Killersites Community Blog &#8211; Basic PHP System: View, Edit, Add, Delete records with MySQLi</title>
		<link>http://www.killerphp.com/articles/killersites-community-blog-basic-php-system-view-edit-add-delete-records-with-mysqli/</link>
		<comments>http://www.killerphp.com/articles/killersites-community-blog-basic-php-system-view-edit-add-delete-records-with-mysqli/#comments</comments>
		<pubDate>Mon, 06 Dec 2010 10:18:40 +0000</pubDate>
		<dc:creator>Jody</dc:creator>
				<category><![CDATA[Beginners PHP Articles]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[forum]]></category>

		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=1146</guid>
		<description><![CDATA[
Hey Everyone,
Here&#8217;s some helpful info on a basic PHP system, from our Killersites Community Forum!

Basic PHP System: View, Edit, Add, Delete records with MySQLi 
This is a revised version of my previous tutorial (http://www.killersit&#8230;eteadd-records/) which uses MySQLi rather than regular MySQL to connect to the database. MySQLi, often called MySQL Improved, has several advantages over [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.killersites.com/community/"><img src="http://www.killersites.com/magazine/wp-content/uploads/2010/11/108.png" alt="Forum" title="Forum" width="128" height="128" class="alignright size-full wp-image-1887" /></a><br />
Hey Everyone,</p>
<p>Here&#8217;s some helpful info on a basic PHP system, from our <a href="http://www.killersites.com/community/">Killersites Community Forum!</a><br />
<a href="http://www.killersites.com/community/index.php?%2Ftopic%2F3064-basic-php-system-view-edit-add-delete-records-with-mysqli%2F"><br />
<strong>Basic PHP System: View, Edit, Add, Delete records with MySQLi </strong></a></p>
<p>This is a revised version of my previous tutorial (http://www.killersit&#8230;eteadd-records/) which uses MySQLi rather than regular MySQL to connect to the database. MySQLi, often called MySQL Improved, has several advantages over regular MySQL, including support for prepared statements (which helps prevent SQL injection, a common security issue) and object-oriented code. I&#8217;ve also provided a modified view.php file that shows one way to do basic pagination.</p>
<p>I have also recorded a 8 part video tutorial (a bit over an an hour worth of video) showing how to build this system and explaining it as I go. It&#8217;s available in the KillerSites University (http://www.killersites.com/university &#8211; subscription required) under PHP > PHP CRUD Videos.</p>
<p>&#8212;</p>
<p>(Anyone with PHP knowledge is welcome to comment on the code. If there are issues I haven&#8217;t noticed, please let me know. Do realize that it is intended for beginners, so I didn&#8217;t want to do anything too advanced that might lead to confusion. Yes, I realize I could use OOP, or could separate some of these out into methods, etc. etc.)</p>
<p>OK&#8230; Here&#8217;s some code for you to play with. It&#8217;s a basic system that allows you to:<br />
&#8211; view existing records<br />
&#8211; edit existing records<br />
&#8211; delete existing records<br />
&#8211; add new records</p>
<p>Online demo:</p>
<p>http://www.falkencre&#8230;mysqli/view.php</p>
<p>Basically, just imagine that you are in charge of a sports team, and you want to keep a list of all your player&#8217;s contact information. The code I&#8217;ve created could be a starting point for that (it only includes fields for their first name/last name, but could obviously could be expanded to use more fields).</p>
<p>This is just a basic starting point for projects that require view/edit/delete functionality. I know it may seem a lot to understand at first, but read all the comments in the code &#8212; I try to explain what I am doing step by step. I&#8217;m also happy to help with any questions (please post questions in a new topic.)</p>
<p>How to create a system that allows a user to add/edit/remove data in a database seems to be a commonly asked topic, so I may adapt this into an actual tutorial at some point in the future.</p>
<p>DATABASE:<br />
&#8211; You&#8217;ll need to create a database (I named mine &#8216;records&#8217; but it can be changed) using PHPMyAdmin<br />
&#8211; Save the included sql file on your desktop as a .txt file<br />
&#8211; Once you&#8217;ve created the database, make sure the database is selected, then click the &#8220;import&#8221; tab<br />
&#8211; Select the .txt file on your desktop, and import it into your database. PHPMyAdmin will create all of the necessary tables/import some test data for you to play with</p>
<p><strong>Written by: Ben</strong></p>
<p>For the test data and the rest of the post, <a href="http://www.killersites.com/community/index.php?%2Ftopic%2F3064-basic-php-system-view-edit-add-delete-records-with-mysqli%2F">click here!</a></p>
<p>Thanks,</p>
<p>Jody<br />
Killersites.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killerphp.com/articles/killersites-community-blog-basic-php-system-view-edit-add-delete-records-with-mysqli/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Learning Java OOP gently &#8230;. through PHP!</title>
		<link>http://www.killerphp.com/articles/learning-java-oop-gently-through-php/</link>
		<comments>http://www.killerphp.com/articles/learning-java-oop-gently-through-php/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 21:15:04 +0000</pubDate>
		<dc:creator>Stefan Mischook</dc:creator>
				<category><![CDATA[Beginners PHP Articles]]></category>

		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=1073</guid>
		<description><![CDATA[Hi,
Some of you may know that I am an old Java programmer &#8230; big into POJO&#8217;s and I loved servlet filters. Those days are long gone now (for a whole host of reasons) but I still clearly remember how hard it was for me to learn Java. It could have been much easier though!
Learning OOP [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.killerphp.com/articles/wp-content/uploads/2010/11/java_logo.png" alt="" title="java_logo" width="150" height="278" class="alignright size-full wp-image-1078" />Hi,</p>
<p>Some of you may know that I am an old Java programmer &#8230; big into POJO&#8217;s and I loved servlet filters. Those days are long gone now (for a whole host of reasons) but I still clearly remember how hard it was for me to learn Java. It could have been much easier though!</p>
<p><strong>Learning OOP Java easily through PHP</strong></p>
<p>If you already know OOP from another language, then by all means, jump right into Java &#8230; you should have know problems. If on the other hand you are like I was, where you don&#8217;t understand OOP yet or you haven&#8217;t even programmed before, do yourself a big favor and learn the principles of OOP (object oriented programming) with a much easier to understand language like PHP.</p>
<p>&#8230; Yes, PHP doesn&#8217;t look a lot like Java but the OOP constructs and principles are the same. Except with PHP, it is much less complicated. I won&#8217;t get into the specifics why, but let&#8217;s just say Java makes you do a lot more work to get the same things done as compared to PHP.</p>
<p><strong>When Learning to fight, better to start with an easier opponent.</strong></p>
<p>Besides getting my nose broken 3 times, boxing taught me that when you are first learning to fight, it&#8217;s a good idea to not get into the ring with Mike Tyson. Otherwise you will probably get knocked out and you might even get your ears bitten off. </p>
<p>The same is true for learning object oriented programming; better to learn this style of programming with an easier to understand (and use) language like PHP, instead of Java &#8211; the Mike Tyson of languages.</p>
<p><strong>Where to learn OOP programming?</strong></p>
<p>So if you think what I say makes sense, then head over to my very popular, super easy to understand <a href="http://www.killerphp.com/tutorials/object-oriented-php/">FREE lessons on PHP and OOP.</a></p>
<p>&#8230; I&#8217;m sure many Java wannabe&#8217;s will find the lessons useful.</p>
<p>See you on Live!</p>
<p>Stefan Mischook<br />
www.killerphp.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killerphp.com/articles/learning-java-oop-gently-through-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Complete Web Programmer vs. Complete PHP Programmer?</title>
		<link>http://www.killerphp.com/articles/complete-web-programmer-vs-complete-php-programmer/</link>
		<comments>http://www.killerphp.com/articles/complete-web-programmer-vs-complete-php-programmer/#comments</comments>
		<pubDate>Mon, 15 Nov 2010 15:48:01 +0000</pubDate>
		<dc:creator>Stefan Mischook</dc:creator>
				<category><![CDATA[Beginners PHP Articles]]></category>

		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=1026</guid>
		<description><![CDATA[
I got an interesting email question today:

As ever I am always planning ahead.  Since I am now half way through your Complete Web Designer course I am looking to complete the Complete Web Programmer next.
But I have noticed the Complete PHP Programmer also.  Looking at the modules these seem quite alike.  Has [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.killerphp.com/articles/wp-content/uploads/2010/01/ks-university.png" alt="" title="killersites university logo" width="175" height="158" class="alignright size-full wp-image-513" /></p>
<p>I got an interesting email question today:</p>
<blockquote><p>
As ever I am always planning ahead.  Since I am now half way through your Complete Web Designer course I am looking to complete the Complete Web Programmer next.</p>
<p>But I have noticed the Complete PHP Programmer also.  Looking at the modules these seem quite alike.  Has one replaced the other?  Which one is better suited to the beginner (me) and why?
</p></blockquote>
<p>Hi Mick,</p>
<p>The <a href="http://www.killervideostore.com/video-courses/complete-php.php">Complete PHP Programmer</a> has the same content as the Complete Web Programmer minus the Javascript and JQuery material.</p>
<p>We added that course because some people only want to learn PHP. I recommend the <a href="http://www.killervideostore.com/video-courses/complete-web-programmer.php">Complete Web Programmer</a> if you want to become a web programmer though, since Javascript is so central these days to dynamic websites.</p>
<p>Mick continues &#8230;</p>
<blockquote><p>Im still thinking of purchasing your HTML5/CSS3 DVD first and getting the best grasp of HTML/CSS before branching out, but I like to plan ahead also.  I aim to get through all of your courses that are relevant to myself at one point and as such trying to work out a rough order.
</p></blockquote>
<p>The order of learning things, is ultimately a personal thing. That said, I generally believe that learning the basics of the big four is first priority:</p>
<p>1. HTML<br />
2. CSS<br />
3. PHP<br />
4. Javascript</p>
<p>&#8230; I would then move on to <a href="http://www.killervideostore.com/video-courses/html5css3.php">HTML 5 and CSS 3</a> simply because they are still niche technologies &#8230; growing, but still niche.</p>
<p>Stefan Mischook<br />
killerphp.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killerphp.com/articles/complete-web-programmer-vs-complete-php-programmer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP Programming: 1 part code, 2 parts testing.</title>
		<link>http://www.killerphp.com/articles/php-programming-1-part-code-2-parts-testing/</link>
		<comments>http://www.killerphp.com/articles/php-programming-1-part-code-2-parts-testing/#comments</comments>
		<pubDate>Sun, 14 Nov 2010 15:58:07 +0000</pubDate>
		<dc:creator>Stefan Mischook</dc:creator>
				<category><![CDATA[Beginners PHP Articles]]></category>

		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=1016</guid>
		<description><![CDATA[
Any programmer with more than 3.2 days of experience knows that programming has a lot more to do with testing than coding. 
Most errors in software are human related &#8211; typos, failed attempts at logical-construct construction etc …. This knowledge make two things clear:
1. Using proven frameworks or libraries  (like Zend, CodeIgniter, PHPCake etc) [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.killerphp.com/articles/wp-content/uploads/2007/07/php-med-trans-light.gif" alt="" title="php logo" width="95" height="51" class="alignright size-full wp-image-55" /></p>
<p>Any programmer with more than 3.2 days of experience knows that programming has a lot more to do with testing than coding. </p>
<p>Most errors in software are human related &#8211; typos, failed attempts at logical-construct construction etc …. This knowledge make two things clear:</p>
<p>1. Using proven frameworks or libraries  (like Zend, CodeIgniter, PHPCake etc) will save you a lot of time and you will end up with more robust applications since the framework&#8217;s codebase will be cleaner than a from scratch solution you create.</p>
<p>2. Testing should be significant part of the regime &#8211; test and retest, I like to say. I would even suggest a testing protocol be put in place (unit testing on the object level can make sense) where with each update to the codebase, a series of related test of the application is initiated. </p>
<p><strong>How Simple Errors Can Cause Big Problems</strong></p>
<p>We&#8217;ve recently been updating the shopping cart system on <a href="http://www.killervideostore.com/">killervideostore.com</a> and I found errors creeping into the application that prevented some buyers from actually buying product … this is a problem for a store!</p>
<p> <img src='http://www.killerphp.com/articles/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>The funny thing is, that the problem was a simple UI bug (simple CSS fix for IE) that pushed buttons out of view and so the buying process was made impossible. A simple retest of the UI on all the major browser <strong>before publishing</strong> would have been a good idea IMHO. </p>
<p>… That&#8217;s the funny thing about bugs, they show up where YOU DON&#8217;T EXPECT THEM.</p>
<p>Stefan</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killerphp.com/articles/php-programming-1-part-code-2-parts-testing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Perl Programming in the Modern Web?</title>
		<link>http://www.killerphp.com/articles/perl-programming-in-the-modern-web/</link>
		<comments>http://www.killerphp.com/articles/perl-programming-in-the-modern-web/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 05:06:41 +0000</pubDate>
		<dc:creator>Stefan Mischook</dc:creator>
				<category><![CDATA[Beginners PHP Articles]]></category>

		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=1007</guid>
		<description><![CDATA[
Hi,
It has been a while since I&#8217;ve written an article on killerPHP &#8230; and so it&#8217;s time for another one of my inflammatory articles! 
Before I begin, I should point out that I&#8217;ve written articles so vexing to other geeks out there, that it caused them to quit other sites and flame wars so brutal [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.killerphp.com/articles/wp-content/uploads/2010/01/ks-university.png" alt="" title="killersites university logo" width="175" height="158" class="alignright size-full wp-image-513" /></p>
<p>Hi,</p>
<p>It has been a while since I&#8217;ve written an article on killerPHP &#8230; and so it&#8217;s time for another one of my inflammatory articles! </p>
<p>Before I begin, I should point out that I&#8217;ve written articles so <a href="http://www.killerphp.com/articles/what-happened-to-ruby-and-why-php-is-king-of-the-web/">vexing to other geeks</a> out there, that it caused them to quit other sites and flame wars so brutal developed, that threads had to be closed and apologies issued. </p>
<p>Fortunately, this little article on <a href="http://www.killersites.com/blog/2010/perl-programming-in-the-modern-web/">Perl&#8217;s place in the modern Web</a> will only mildly annoy a few old-school Perl nerds. Yes, click on the link just above to read it &#8230; I don&#8217;t want to post it twice.</p>
<p>Thanks,</p>
<p>Stefan Mischook.<br />
killerphp.com</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killerphp.com/articles/perl-programming-in-the-modern-web/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Three good PHP IDE&#8217;s &#8230; that&#8217;s &#8216;nerd&#8217; for PHP Programs</title>
		<link>http://www.killerphp.com/articles/three-good-php-ides/</link>
		<comments>http://www.killerphp.com/articles/three-good-php-ides/#comments</comments>
		<pubDate>Mon, 20 Sep 2010 14:36:47 +0000</pubDate>
		<dc:creator>Stefan Mischook</dc:creator>
				<category><![CDATA[Beginners PHP Articles]]></category>
		<category><![CDATA[PHP Editors and IDE's]]></category>

		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=905</guid>
		<description><![CDATA[
Hi,
So you want to write PHP code but you are not sure what program to use? Well, there are many options out there for PHP nerds (which is good) but again, which one to use? 
Many times, this comes down to personal taste and I don&#8217;t know all the options out there &#8230; so I [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.killerphp.com/articles/wp-content/uploads/2007/07/php-med-trans-light.gif" alt="" title="php logo" width="95" height="51" class="alignright size-full wp-image-55" /></p>
<p>Hi,</p>
<p>So you want to write PHP code but you are not sure what program to use? Well, there are many options out there for PHP nerds (which is good) but again, which one to use? </p>
<p>Many times, this comes down to personal taste and I don&#8217;t know all the options out there &#8230; so I will limit it to three:</p>
<p><a href="http://netbeans.org/features/php/">http://netbeans.org/features/php/</a></p>
<p>From the Netbeans site:</p>
<blockquote><p> The NetBeans project offers a version of the IDE tailor-made for developing PHP web sites that comprise a variety of scripting and mark-up languages. The PHP editor is dynamically integrated with HTML, JavaScript and CSS editing features.</p>
<p>Focus on the code and speed up code scanning by excluding individual directories in the Project properties. The NetBeans IDE fully supports iterative development, so testing PHP projects follows the classic patterns familiar to web developers. </p></blockquote>
<p><a href="http://www.eclipse.org/downloads/">http://www.eclipse.org/downloads/</a></p>
<p><a href="http://www.adobe.com/products/dreamweaver/">http://www.adobe.com/products/dreamweaver/</a></p>
<p>I encourage you to try all three options and see what you prefer. Netbeans and Eclipse are more for programmers and have very powerful tool sets in that regard (that means they have all the bells &#038; whistles) but for web designers getting into PHP, Dreamweaver maybe the choice. </p>
<p>&#8230; OK, Dreamweaver is not the best at PHP and I would probably not recommend it for hardcore PHP application development. But if you are building small to medium sized PHP applications, then it can more that handle the job with its&#8217; basic code hinting, macros etc. </p>
<p>Stefan</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killerphp.com/articles/three-good-php-ides/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>My Killer PHP Learning Tips</title>
		<link>http://www.killerphp.com/articles/my-killer-php-learning-tips/</link>
		<comments>http://www.killerphp.com/articles/my-killer-php-learning-tips/#comments</comments>
		<pubDate>Thu, 03 Sep 2009 11:49:46 +0000</pubDate>
		<dc:creator>Stefan Mischook</dc:creator>
				<category><![CDATA[Beginners PHP Articles]]></category>
		<category><![CDATA[PHP Podcast]]></category>

		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=245</guid>
		<description><![CDATA[
Hi,
Learning to program can be a frustrating process for a lot of people; especially for designer types wanting to learn a little PHP. The following tips should help a lot of you along the way to becoming a PHP nerd. My PHP learning tips:
1. Be patient:
Patience is a virtue, especially when learning to program. Don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.killerphp.com/articles/wp-content/uploads/2007/07/php-med-trans-light.gif" alt="php logo" title="php logo" width="95" height="51" class="alignright size-full wp-image-55" /></p>
<p>Hi,</p>
<p>Learning to program can be a frustrating process for a lot of people; especially for designer types wanting to learn a little PHP. The following tips should help a lot of you along the way to becoming a PHP nerd. My PHP learning tips:</p>
<p><strong>1. Be patient:</strong></p>
<p>Patience is a virtue, especially when learning to program. Don&#8217;t be discouraged if something doesn&#8217;t sink in right away. It will come with time.</p>
<p><strong>2. Learn to write code on faith:</strong></p>
<p>&#8230; That means writing PHP code that you may not fully understand. The process of actually writing out the code, seems to help the brain take it in.</p>
<p><strong>3. Learning PHP programming is a lot like learning a sport;</strong> you can pick up stuff by sitting on the sidelines and watching, but you don&#8217;t really know what you&#8217;re doing until you actually get into the game. In PHP, that means actually writing code and not just sitting listening or reading about it.</p>
<p><strong>4. Take a breather:</strong></p>
<p>If something is not sinking in right away, move on to something else and come back to it later &#8230; actually, give it 24 hrs to sink in.  I find that the brain will work on problems over night and almost magically, things that you could not understand the day before, will become obvious. </p>
<p><strong>5. Try variations in your code:</strong></p>
<p>Play with different ways of doing things, try to add variation to your code. If for instance you are learning something as simple as a conditional statement .. like the &#8216;if&#8217; statement, try some examples with mathematical equations and then maybe try something using a function that returns a true/false value.</p>
<p><strong>6. Break your code:</strong></p>
<p>One of the best ways to learn any programming language is to purposefully break code. Why? Basically it comes down to seeing what type of error messages you get for certain types of mistakes in your code. In time, you will see that particular errors will give you consistent error messages. Once you know these, debugging code will be a lot easier. </p>
<p>I&#8217;ve found that breaking things on purpose and in a controlled manner, can really help down the road when you run into real errors, because you will recognize the error messages.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killerphp.com/articles/my-killer-php-learning-tips/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP vs. Perl vs. Java &#8211; a student&#8217;s question.</title>
		<link>http://www.killerphp.com/articles/php-vs-perl-vs-java-a-students-question/</link>
		<comments>http://www.killerphp.com/articles/php-vs-perl-vs-java-a-students-question/#comments</comments>
		<pubDate>Tue, 18 Aug 2009 02:49:52 +0000</pubDate>
		<dc:creator>Stefan Mischook</dc:creator>
				<category><![CDATA[Beginners PHP Articles]]></category>

		<guid isPermaLink="false">http://www.killerphp.com/articles/?p=207</guid>
		<description><![CDATA[Once and a while, I get a question from a student about PHP and programming that I use in a blog post &#8230; here we go again:
&#8230; you mentioned that you used to use mostly Java but have switched to mostly PHP.  Would you recommend learning PHP as a primary method of creating dynamic [...]]]></description>
			<content:encoded><![CDATA[<p>Once and a while, I get a question from a student about PHP and programming that I use in a blog post &#8230; here we go again:</p>
<blockquote><p>&#8230; you mentioned that you used to use mostly Java but have switched to mostly PHP.  Would you recommend learning PHP as a primary method of creating dynamic web pages or is its strength in data base manipulation.  I was learning Perl form processing which led me to your site when I was having trouble with mySQL, and I noticed PHP is very similar (at least in the basics) as Perl.  Do you have much experience in using Perl to help create web pages and would you recommend using it at all?  </p></blockquote>
<p><strong>About PHP vs. PERL vs. Java:</strong></p>
<p>PHP is the way to go. Perl is a  good language but it was not designed initially for web development &#8211; that functionality was added later. </p>
<p>Whereas PHP (which borrows from Perl btw) was designed specifically for web development, and so Perl is just clunkier compared to PHP when it comes to creating dynamic web sites.</p>
<p>I&#8217;ve used Perl in the past, mostly creating simple string parsing scripts and other little things. But I would NOT call myself an Perl programmer &#8211; so take that into consideration. </p>
<p>That said, I&#8217;ve always liked a common strategy used in Perl, where they generate static pages from dynamic code. For example, in our <a href="http://killersites.com/directory/Web_Design_Firms/index.html">web designers directory</a>, I used a Perl based directory script that uses that strategy.</p>
<p>&#8230; What&#8217;s interesting is that it generates the directory pages as static HTML pages. The advantage of this is that the directory itself is more portable and much less resource intensive because for the most part, the directory is just of pages that people just read &#8230; no need for them to be dynamically generated every time a user request it.</p>
<p><span id="more-207"></span></p>
<p><strong>Perl&#8217;s Problems</strong></p>
<p>The problem I had with Perl, was its&#8217; practically unreadable code. The language is so flexible in terms of the syntax and structure of the code (for lack of better words) &#8230; it becomes esoteric. Trying to decipher old Perl scripts is almost always a nightmare &#8211; even for the programmer who wrote it! </p>
<p>Java is great for the enterprise &#8230; that means, if you plan to be working for very large companies. But it takes a lot longer to create anything in Java vs PHP. The Java community likes to think their code will be more secure and stable, thus justifying the increased time in development. This perception is simply not true &#8230; in fact, my experience has actually shown it to be the opposite.</p>
<p>You can find the SQL videos you were looking for here:</p>
<p><a href="http://www.killerphp.com/mysql/">http://www.killerphp.com/mysql/</a></p>
<p>Stefan</p>
]]></content:encoded>
			<wfw:commentRss>http://www.killerphp.com/articles/php-vs-perl-vs-java-a-students-question/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

