Slashdot Log In
Recommended Reading List for PHP
Posted by
Zonk
on Thu Mar 16, 2006 05:25 PM
from the i'm-told-that's-a-popular-drug dept.
from the i'm-told-that's-a-popular-drug dept.
Steve writes "IBM developerWorks has put together a PHP recommended reading list. It provides resources for developers and admins adopting PHP and tackling advanced topics such as building extensions and writing secure code. There's also a list of books and blogs for keeping up with changes to the language itself."
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
Forgot one (Score:5, Funny)
http://uncyclopedia.org/wiki/PHP [uncyclopedia.org]
Re:Forgot one (Score:2)
Try the Wikipedia article [wikipedia.org] instead.
Re:Forgot one (Score:3, Funny)
PHP 5 Power Programming (Gutmans) (Score:5, Interesting)
NOTE: It's better to have some PHP programming experience before reading.
ISBN: 0-13-147149-X
ISBN-13 is upon us! (Score:3, Informative)
Useful article++... Am I lost? (Score:4, Funny)
Actually useful...
First post wasn't about a Beowulf cluster or Soviet Russia...
What happened to Slashdot???
My faith will be restored if this article is duped within 24 hours.
Re:Useful article++... Am I lost? (Score:2)
PHP, the web standard (Score:2)
I just hope there's an emacs mode for PHP, I'd hate to have to go back to using VIM to code.
Re:PHP, the web standard (Score:5, Insightful)
It has always seemed like the bash of web programming, except uglier and slightly more difficult to use. It works, but if you push it too hard or the wrong way it feels like you are trying to make a mud sculpture.
Parent
Re:PHP, the web standard (Score:4, Interesting)
Fun stuff like this...
<cfloop index="i" from="0" to="10" step="1">
<cfif i mod 2 is 1>
<cfoutput>#i# is odd</cfoutput>
<cfelse>
<cfoutput>#i# is even</cfoutput>
</cfif>
</cfloop>
You also get some really odd language decisions. For example, when they first added support for functions there were no return values. To work around this, you had a special local variable called "caller" which was a structure containing the local variables of the previous scope. They eventually fixed this, but PHP's language problems don't look so bad compared to that.
Parent
Re:PHP, the web standard (Score:2)
I have learned just last week that the best way to learn PHP is to suddenly become a webmaster hosted on a Linux server using various installed content-management tools like b2evolution or WordPress for blogging and Coppermine for image gallery. You will simply be *thrust* into PHP with no second option. In fact, my host has something like 50 tools available to use and I think only 3 of them aren't PHP.
Call it geek-fatigue, but the thing
Security is *advanced*!? (Score:2, Insightful)
If security is threated as advanced topic in PHP, no wonder this language has such lousy reputation.
Nooo!!!! (Score:5, Insightful)
It provides resources for developers and admins adopting PHP and tackling advanced topics such as building extensions and writing secure code.
Why is this considered an advanced topic? Security should be the first thing anyone writing software for the web learns. And web programing languages need to make it easy to write secure code by default. *Sigh*
Re:Nooo!!!! (Score:3, Interesting)
This itself raises the issue that if a language is too easy to write securely by default, people starting out in it won't learn to think about security when they code, which is a short term vs long term thing. The phrase "too secure" does sound a little moronic though...
For the record, my code is incredibly p
Re:Nooo!!!! (Score:5, Funny)
Perl: Take every programming language you know now. Mix them all together. That's Perl. No, not the functionality, just the syntax.
Parent
Re:Nooo!!!! (Score:4, Informative)
I've found this out first-hand with a few PHP scripts I've run. It's amazingly easy to set up, but it's also a discipline in itself to ensure it keeps crackers out.
Parent
Re:Nooo!!!! (Score:2)
The core language is huge. PHP lacks namespaces, making all variables global.
PHP is _extremely_ easy for newbie programmers to mess with. This has practically made it the visual basic of the Linux/Unix world.
On the other hand, Perl went through this evolution a few years ago. (The lack of use strict and use warnings by default is _still_ a known bug). Perl has a taint mode, where the
Re:Nooo!!!! (Score:2)
I am more or less an intermediate PHP hacker. Most of my experience is in Perl and mod_perl.
Right now, what I find the most frustrating about PHP is the embedded model. It seems that you have to jump through a lot of hoops to work around that. Maybe once you get used to jumping through those hoops it is okay, but (for me anyway) it seems like I am working against the language when I want to abstract webpages away from their files, for example.
It seems to me that this is one of those areas where the easy
Re:Nooo!!!! (Score:2)
Indeed. The one thing that makes the absurdity of this point of view apparent is when you point out that "secure code" is a synonym for "correct code". If you write bug-free code, then you've basically eliminated security holes. That reduces "security is an advanced topic" to "writing code that isn't full of bugs is an advanced topic", which isn't exactly defensible.
Just learn from the examples. (Score:3, Insightful)
Templating systems (Score:3, Informative)
http://www.sitepoint.com/article/beyond-template-
Re:Templating systems (Score:2)
Re:Templating systems (Score:2)
It's not supported in PHP4. Sure, there are the extensions, but they're NOT installed by default in common server configs, so you'd have to do it by hand, and that's SLOOOOOOWWW.
5 good PHP sites (Score:5, Informative)
Their list is great -- I'll be reading some of those articles for weeks before I get through them all. I'm especially interested in the 7 security blunders article. Nice!
But they did leave off a lot of sites that are useful. Here are a few:
Anyone want to pitch in with some more? I'm sure there are some very useful sites that I've completely missed (and which the IBM site missed, too).
PHP Rocks in time spent! (Score:3, Interesting)
It's a breeze in the ocean!
http://www.codingheaven.net/ [codingheaven.net] http://www.codingheaven.net/ [codingheaven.net]
Re:PHP Rocks in time spent! (Score:2)
Some mods failed to catch the subtle sarcasm of the parent post, eh?
Re:PHP Rocks in time spent! (Score:4, Insightful)
It might not be the cleanest language around, but it allows for fairly rapid script development when you're familiar with it. Also, it has the most useful documentation of any scripting language I have ever seen, even more useful than Java's API documentation.
Parent
Schlossnagle's "Advanced PHP Programming" (Score:4, Interesting)
One useful article (Score:2)
You forgot one (Score:2)
Re:Queue anti-PHP jokes... (Score:5, Funny)
If PHP developers could read they would be using Python...
Thanks, I will be here all week...
Parent
Re:Queue anti-PHP jokes... (Score:3, Funny)
Troll status, here I come!
Re:Queue anti-PHP jokes... (Score:3)
There, fixed that type for you.
Re:Queue anti-PHP jokes... (Score:5, Funny)
There, fixed that typo for you.
Parent
Re:Queue anti-PHP jokes... (Score:2)
Re:Queue anti-PHP jokes... (Score:2)
FOREIGNER (Score:2)
Re:Queue anti-PHP jokes... (Score:2)
http://www.perl.org/ [perl.org]
Re:Queue anti-PHP jokes... (Score:2)
Re:Queue anti-PHP jokes... (Score:5, Insightful)
Seriously, I love PHP, but I think that it is designed to require having the docs handy...
Parent
Re:Ah, yes (Score:4, Insightful)
But then what would you call it? An egg? No...that's taken by those round things chickens lay. I've no idea really. I'll just go with programming language and leave the modifiers out.
Parent
Re:How about this (Score:3, Insightful)
Re:How about this (Score:2)
Re:How about this (Score:2)
never code while angry (Score:2)
Re:How about this (Score:2)
Sweetheart, 20 years ago he would have been bragging. *Now* he's just trying to KEEP UP. (Notes lack of Python or Ruby) and he's losing!
Re:Why all of the PHP postings? (Score:3, Funny)
Thanks - I've only just stopped laughing.
Are you here all week?
Re:Why all of the PHP postings? (Score:2)
Re:Sooo hate to say it.... (Score:2)
Re:Sooo hate to say it.... (Score:2)