Making PHP a snap

Written by Ryan Eanes
Published September 12, 2004

Ever since the early days of the internet, literally anybody who has wanted a website of his or her own has been free to create and post one. The dotcom boom has proven this to be the case, without question, and being a web designer or programmer is certainly lucrative, if you can find work.

So, with so many people out there attempting to create websites for themselves and their businesses, all you have to do is just a little browsing and clicking to find a website or two--or a hundred--that, frankly, could use more than a little work. And with good reason, too--web standards seem to be changing all the time, plus learning a new programming language seems daunting, especially when you have little or no experience writing programs, let alone designing websites.

Enter O'Reilly, then, which is probably the best-known of all technology and web-focused publishers. (How can you not notice the random animals on the covers of their books?) One of their newest releases, Learning PHP 5 by David Sklar, is an approachable and surprisingly svelte volume, and is a great place for web programming novices to begin.

But first, a word about the subject at the heart of the book. PHP is a powerful open-source web programming language, renowned for its versatility and its (relative) simplicity, and is a great place for those of us (yes, me included) who just don't really "get" programming. Let's face it, here--I failed pre-calculus in high school, and have to use my fingers to add and subtract. Programming is not, and never has been, my forté--making me the ideal candidate to try this book out.

An important side note--PHP 5 is the newest release of the PHP software, but this book is equally applicable to earlier versions of PHP. Commands that are PHP 5-only are denoted early on in the text, so there's no confusion as to what will and won't work with your server's setup.

Enter Sklar's book, which is about as non-confrontational as they come. The chapters are short and to-the-point, working in sequence beginning with PHP basics and syntax, and then advancing to such relatively nebulous topics as working with and connecting to databases (focusing primarily on MySQL). An inexperienced programmer can easily follow along, though Sklar does move quickly, and I did find myself re-reading passages here and there when I didn't easily grasp a concept at first.

page 1 | 2
Ryan Eanes is a freelance writer, designer and producer based in Brooklyn, New York. He is a graduate of Wake Forest University, and is completing a MA in Media Studies at The New School in New York.
Keep reading for information and comments on this article, and add some feedback of your own!
Buy from Amazon.com
Learning PHP 5 Learning PHP 5
David Sklar
Book,

Making PHP a snap
Published: September 12, 2004
Type:
Section: Books
Filed Under: Books: Computers and Internet, Books: Nonfiction
Writer: Ryan Eanes
Ryan Eanes's BC Writer page
Ryan Eanes's personal site
Spread the Word
Like this article?
Email this
Submit to del.icio.us Save to del.icio.us
RSS Feeds
All RSS Feeds (240+)
Comments on this article
BC articles by Ryan Eanes
Books: Computers and Internet
Books: Nonfiction
All Books Articles
All BC articles
All BC Comments

Comments

#1 — September 12, 2004 @ 13:28PM — Temple Stark [URL]

So good, even I could master this? I 've got all the other HTML tools and programs (Dreamweaver, Flash, Fireworks MX package, Photoshop - only misisng a complete lack of uderstanding of anything CSS ort PHP or ASP.

Have you designed a site or a page with this? What, also, if I may, is the benefit of php over others? I see this site - blogcritics - is php-enabled (if that's the right phrase). Why?

Oh and I'm pretty sure I know the answer is, yes, but this book is good for Macs, too, right?

#2 — September 12, 2004 @ 14:55PM — Ryan Eanes [URL]

While I have not designed a full website with PHP yet, I have used it for a few domain-related tasks (e.g., using it to redirect one domain name to a lower-level directory, etc.)--that was PHP 3, however, and from what I understand v5 seems to be a little more robust and fleshed out than earlier versions.

I think really it's just a matter of what you're comfortable with. The book does, indeed, provide a strong enough foundation to begin dabbling with PHP, and will point you in the right direction when you're ready to learn more.

As to why PHP, I can tell you that, according to Zend (http://www.zend.com/why-php.php), PHP is present on over 42% of Apache web servers--the most common server running on the Web, and the use of PHP is still on the rise. Really it boils down to what you want to learn; while PHP and ASP and, say, JSP all have their strengths and weaknesses, so do C++ and C# and the like.

And yes, PHP is OS-independent--I have a Mac as well. PHP is a server-side language, so the commands all run on the server and not on the client's machine.

#3 — September 12, 2004 @ 20:00PM — Temple Stark [URL]

Cool, they may have a new customer. I need simple :)

Thanks for reply.

#4 — September 12, 2004 @ 21:38PM — Mac Diva [URL]

Temple, I hate to burst your bubble, but I doubt one can really understand PHP from reading even a good book. I've taken a couple classes, including an O'Reilly seminar. You might want to look into that. If you live in or near a city, there should be some available at colleges or related to computer stores or user groups.

Want comments emailed to you? No spam, promise! Address:

Add your comment, speak your mind

(Or ping: http://blogcritics.org/mt/tb/19728)

Personal attacks are not allowed. Please read our comment policy.





Remember Name/URL?

Please preview your comment!

Fresh
Articles
Fresh
Comments