How hard is PHP?

Status
Not open for further replies.

pelican

Wise, Aged Ars Veteran
184
It's pretty easy - C syntax similarities are nice. Like Perl, there are 10,000 ways to do each and every thing in PHP, which can make code-reading hard some times. But, the number of arcane &(@#&^%
*@#^%@! (&#$ characters commonly used is smaller than in Perl.

The absolutely massive amount of functions is excellent and boggling at the same time. Database integration with MySQL is EXCELLENT, however, with other databases there may be some things to improve upon.

--pelican
 

svdsinner

Ars Legatus Legionis
15,152
Subscriptor
I'm not a coder by trade, but am currently acting as head coder for a web developement project. (I'm normally a net admin) Myself, and one other guy were able to go from not knowing .PHP or .HTML at all to productively writing code in less than a week, just by using www.php.net and some tutorials on www.zend.com.
If you have any coding base, you can learn this stuff easily. The hardest part about the whole thing (by far) is getting .PHP set up on your web server. Not too hard, but not user-friendly either.
 

pelican

Wise, Aged Ars Veteran
184
(Off-topic)

The PEAR DBI: It definately works - don't get me wrong - but I've always been a fan of writing things for the DB you're using, simply because it then executes faster. One less layer of abstraction. But then your code is more dependent on whatever database you wrote it for. Tradeoff.

This has been discussed ad nauseum on the PHP-DB list. ;)
 

TheChief

Ars Scholae Palatinae
1,196
Well, as an update, I installed the PHP/Apache/MySQL triad and they are all functioning.

The last time I touched any C code was in 1994, meaning basically I remember nothing. I've been dinking around with PHP it doesn't seem that difficult, though I feel bad going from Pretty Damn Good(tm) in ColdFusion to Utter Newbie in PHP.

Hux, I read over that thread and looked through some of those links, which were most excellent. Hopefully, I'll be productive with PHP pretty quick.

Does anybody have any books that they would recommend, or are the web manuals thorough enough?

TheChief
 

GavN

Ars Scholae Palatinae
912
I agree the Greenspan & Bulger book is good, I have it along with a couple of others. When coding though I tend to rely on the web, just becasue I can find what I want easily. I got the books when I was starting out because I wanted all the info in one place (on my bookshelf!), that I could read anywhere. they can be quite useful for generating ideas. So if you're into books and are a bit lost on the web then get one or two, but otherwise the web will give you all the info you need...

A quick point to make is that there are loads of libraries and bits of source that you can find around which mean you don't need to re-invent the wheel - most useful!

Gav
 
Status
Not open for further replies.