<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
    xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:admin="http://webns.net/mvcb/"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
	<channel> 

	<title>Comments on: PerHaPs SeQuentiaLly?</title>
	<link>http://ask.metafilter.com/90482/PerHaPs-SeQuentiaLly/</link>
	<description>Comments on Ask MetaFilter post PerHaPs SeQuentiaLly?</description>
	<pubDate>Sun, 04 May 2008 06:22:15 -0800</pubDate>
	<lastBuildDate>Sun, 04 May 2008 06:22:15 -0800</lastBuildDate>
	<language>en-us</language>
	<docs>http://blogs.law.harvard.edu/tech/rss</docs>
	<ttl>60</ttl>

	<item>
		<title>Question: PerHaPs SeQuentiaLly?</title>
		<link>http://ask.metafilter.com/90482/PerHaPs-SeQuentiaLly</link>	
		<description>Which version of PHP should I start to learn, and how? I know HTML and CSS, and intend to build with Drupal (or similar) and its many extensions. &lt;br /&gt;&lt;br /&gt; I&apos;ve decided to start learning PHP, and I&apos;d like to do it right. My end goal, for this initial project, is to ultimately build a Metafilter-like site with PHP and MySQL, perhaps with something like Drupal on top of it. I&apos;d like to have a strong sense - if not a complete understanding - of each layer of the process, but I need some direction. &lt;br&gt;
&lt;br&gt;
I do well with books and videos (rather than pdfs or websites), but in browsing Amazon, I realize I don&apos;t know if should be reading about PHP 5 or 6 - as I expect most of the modules I&apos;ll want are only 5-friendly. Any advice? Are there specific Dummies, and Dummies-like books you can recommend? Ideally, it will also cover MySQL. I&apos;m also open to books on Drupal, if they&apos;re any good. Does anyone have feedback on the Lynda videos? &lt;br&gt;
&lt;br&gt;
So:&lt;br&gt;
Learn PHP 5 or 6?&lt;br&gt;
How?&lt;br&gt;
&lt;br&gt;
Finally, a bonus question: I&apos;m certainly going to have many questions going forward - from installation right on. Can you recommend a good resource for someone at my level? I know there is certainly no dearth of forums (fora?), but I&apos;m looking for the BEST one to devote myself to and invest in.&lt;br&gt;
&lt;br&gt;
&lt;small&gt; (I have spent days looking through previous threads - they do exist, but they&apos;re either old or not exactly on-target). &lt;/small&gt;</description>
		<guid isPermaLink="false">post:ask.metafilter.com,2008:site.90482</guid>
		<pubDate>Sun, 04 May 2008 05:45:22 -0800</pubDate>
		<dc:creator>prophetsearcher</dc:creator>
		
			<category>php</category>
		
			<category>programming</category>
		
			<category>drupal</category>
		
			<category>mysql</category>
		
			<category>sql</category>
		
			<category>database</category>
		
			<category>dummies</category>
		
			<category>n00b</category>
		
			<category>wannabe</category>
		
	</item> <item>
		<title>By: mattoxic</title>
		<link>http://ask.metafilter.com/90482/PerHaPs-SeQuentiaLly#1328535</link>	
		<description>What platform will you be developing on?&lt;br&gt;
&lt;br&gt;
If windows &lt;a href=&quot;http://www.wampserver.com/en/&quot;&gt;WAMP&lt;/a&gt; pretty good.&lt;br&gt;
&lt;br&gt;
If linux you can apt get the packages pretty easily anyway.&lt;br&gt;
&lt;br&gt;
I&apos;d probably dev in 5, cause you know your hosting company will support it. Nothing worse than functionality that relies on a module your host doesn&apos;t support. Keep an eye on 6.&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.phpbuilder.com/&quot;&gt;PHP Builder&lt;/a&gt; is probably the granddaddy of PHP resource sites.&lt;br&gt;
&lt;br&gt;
You will want to do the &lt;a href=&quot;http://au2.php.net/tut.php&quot;&gt;PHP tutorial&lt;/a&gt;, and the &lt;a href=&quot;http://au2.php.net/manual/en/&quot;&gt;PHP Manual&lt;/a&gt; is indispensable.&lt;br&gt;
&lt;br&gt;
Good luck</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.90482-1328535</guid>
		<pubDate>Sun, 04 May 2008 06:22:15 -0800</pubDate>
		<dc:creator>mattoxic</dc:creator>
	</item><item>
		<title>By: meta_eli</title>
		<link>http://ask.metafilter.com/90482/PerHaPs-SeQuentiaLly#1328553</link>	
		<description>The short answer is it doesn&apos;t really matter. Current versions of Drupal don&apos;t use *any* object-oriented or new PHP6 features (yet).&lt;br&gt;
&lt;br&gt;
I like &lt;em&gt;Pro Drupal Development&lt;/em&gt;, which you can buy as PDF.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.90482-1328553</guid>
		<pubDate>Sun, 04 May 2008 06:52:48 -0800</pubDate>
		<dc:creator>meta_eli</dc:creator>
	</item><item>
		<title>By: odinsdream</title>
		<link>http://ask.metafilter.com/90482/PerHaPs-SeQuentiaLly#1328578</link>	
		<description>In my opinion, you would really benefit from learning the object-oriented version of PHP. I&apos;ve become familiar with it in working with Symfony recently, and it&apos;s been entirely too rewarding.&lt;br&gt;
&lt;br&gt;
However, there&apos;s nothing really &quot;php-specific&quot; about the approach you can take to understanding the language. If you don&apos;t already have a programming foundation, you should consider reading some books on general programming techniques and approaches. These will be useful and necessary no matter what language you&apos;re working in.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.90482-1328578</guid>
		<pubDate>Sun, 04 May 2008 07:30:46 -0800</pubDate>
		<dc:creator>odinsdream</dc:creator>
	</item><item>
		<title>By: prophetsearcher</title>
		<link>http://ask.metafilter.com/90482/PerHaPs-SeQuentiaLly#1328594</link>	
		<description>&lt;em&gt;What platform will you be developing on?&lt;/em&gt;&lt;br&gt;
&lt;br&gt;
I actually cut the part of the question out, since I thought I was getting greedy. In fact, I am on a Mac, and began investigating MAMP, XXAMP, etc., but decided to try to install a Windows XP VM instead and work of that, to keep things relatively simpler.&lt;br&gt;
&lt;br&gt;
Does that make sense?</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.90482-1328594</guid>
		<pubDate>Sun, 04 May 2008 07:56:31 -0800</pubDate>
		<dc:creator>prophetsearcher</dc:creator>
	</item><item>
		<title>By: cCranium</title>
		<link>http://ask.metafilter.com/90482/PerHaPs-SeQuentiaLly#1328642</link>	
		<description>I never really learn a language until I make something with it.  I can read a bunch of books, and follow along with tutorials and mailing lists, but until I think of a project I want, the language is just this interesting thing.  &lt;br&gt;
&lt;br&gt;
PHP 6 looks nice, but I don&apos;t see it being used in any major way for a few years.  I&apos;d start with 5, and second the recommendation to use OO.&lt;br&gt;
&lt;br&gt;
If using a vm got you up and running quick then it&apos;s a great solution, though its worth noting that leopard ships with php and sqllite (or patches them in maybe?  I don&apos;t recall the specifics) which will be a reasonable start for most anything.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.90482-1328642</guid>
		<pubDate>Sun, 04 May 2008 08:43:01 -0800</pubDate>
		<dc:creator>cCranium</dc:creator>
	</item><item>
		<title>By: TravellingDen</title>
		<link>http://ask.metafilter.com/90482/PerHaPs-SeQuentiaLly#1328666</link>	
		<description>I&apos;d start with 5.. 4 is still in wide production use all over the place - 5 is starting to take it&apos;s place.&lt;br&gt;
6 will just be a nice change.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.90482-1328666</guid>
		<pubDate>Sun, 04 May 2008 09:13:19 -0800</pubDate>
		<dc:creator>TravellingDen</dc:creator>
	</item><item>
		<title>By: kamelhoecker</title>
		<link>http://ask.metafilter.com/90482/PerHaPs-SeQuentiaLly#1328680</link>	
		<description>if you&apos;re using a mac, you already have apache installed. You can compile php yourself or &lt;a href=&quot;http://www.entropy.ch/software/macosx/php/&quot;&gt;get a precompiled version&lt;/a&gt; of php5.&lt;br&gt;
&lt;br&gt;
As for learning... you need to learn the language first and not get bogged down in libraries and frameworks. Start with simply adding some simple php &amp;lt;php print &apos;hello&apos;; ?&amp;gt; to webpages. Then start building more elaborate examples. A video tutorial of someone writing code sounds extremely dull. It&apos;s much more engaging to simply type some code, save page, click reload in the browser and see what happens.&lt;br&gt;
&lt;br&gt;
Eventually, you&apos;ll find that mixing php with HTML makes a nasty mess for anything non-trivial, and then you&apos;ll want a templating system. Check out &lt;a href=&quot;http://www.smarty.net/&quot;&gt;Smarty&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
I really wouldn&apos;t mess with something like Drupal for learning PHP. It&apos;s totally overwhelming and you&apos;ll just pick up bad habits, like not using objects, putting all methods in the global namespace, mixing HTML and php together.&lt;br&gt;
&lt;br&gt;
oh, and the &lt;a href=&quot;http://php.net/&quot;&gt;official php website&lt;/a&gt; is an excellent learning resource.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.90482-1328680</guid>
		<pubDate>Sun, 04 May 2008 09:25:11 -0800</pubDate>
		<dc:creator>kamelhoecker</dc:creator>
	</item><item>
		<title>By: beerbajay</title>
		<link>http://ask.metafilter.com/90482/PerHaPs-SeQuentiaLly#1328688</link>	
		<description>Oy! Don&apos;t try to develop PHP under windows if you already have a mac. It&apos;s going to be a lot easier natively or under a Linux VM if you must.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.90482-1328688</guid>
		<pubDate>Sun, 04 May 2008 09:33:31 -0800</pubDate>
		<dc:creator>beerbajay</dc:creator>
	</item><item>
		<title>By: malevolent</title>
		<link>http://ask.metafilter.com/90482/PerHaPs-SeQuentiaLly#1328719</link>	
		<description>Don&apos;t bother with the built-in Apache; get MAMP PRO and you can easily set up multiple sites, keep things tidy and not have to reinstall/reconfigure lots of stuff every time you upgrade the OS. I use it every day despite being perfectly able to manually hack about with httpd.conf etc.&lt;br&gt;
&lt;br&gt;
Learn PHP5 and try out some of the simpler frameworks. You don&apos;t need to dive into heavily-OO stuff right away, you can go a long way with just the basics and pick up OO techniques gradually. It&apos;s hugely important to be aware of security issues such as XSS, CSRF, SQL injection, and email injection.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.90482-1328719</guid>
		<pubDate>Sun, 04 May 2008 10:08:20 -0800</pubDate>
		<dc:creator>malevolent</dc:creator>
	</item><item>
		<title>By: prophetsearcher</title>
		<link>http://ask.metafilter.com/90482/PerHaPs-SeQuentiaLly#1328943</link>	
		<description>MAMP Pro is seeming like a better and better idea --- unfortunately the website has been down since at least yesterday (AFAI can tell...). &lt;br&gt;
&lt;br&gt;
As advised above, I do plan to learn the language by working on a &quot;real-world&quot; project. In this case, trying to replicate a metafilter-type site. It seems to have a lot going for it: user accounts, permissions, intrigue, scandal...&lt;br&gt;
&lt;br&gt;
Sounds like 5 is the way to go.&lt;br&gt;
&lt;br&gt;
I&apos;ll try not to even look at Drupal (or the like) for a good while, until I get the basics down. &lt;br&gt;
&lt;br&gt;
Any other wisdom welcome!</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.90482-1328943</guid>
		<pubDate>Sun, 04 May 2008 14:16:04 -0800</pubDate>
		<dc:creator>prophetsearcher</dc:creator>
	</item><item>
		<title>By: ph00dz</title>
		<link>http://ask.metafilter.com/90482/PerHaPs-SeQuentiaLly#1329351</link>	
		<description>Yeah... if history is any indicator, we&apos;ll have php5 for a good long time. 4.x is still really, really common in shared hosting environments and 5 has been out for what seems like forever.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.90482-1329351</guid>
		<pubDate>Sun, 04 May 2008 21:35:05 -0800</pubDate>
		<dc:creator>ph00dz</dc:creator>
	</item><item>
		<title>By: odinsdream</title>
		<link>http://ask.metafilter.com/90482/PerHaPs-SeQuentiaLly#1330922</link>	
		<description>You&apos;re definitely not making things easier on yourself by going through a Windows virtual machine to install PHP. Stick to the Mac.</description>
		<guid isPermaLink="false">comment:ask.metafilter.com,2008:site.90482-1330922</guid>
		<pubDate>Tue, 06 May 2008 08:03:30 -0800</pubDate>
		<dc:creator>odinsdream</dc:creator>
	</item>
	</channel>
</rss>
