ID:185475
 
I was just going to ask anyone who knows PHP about how complicated it is, and about how long it'd take to learn it. If learning it is dependant on knowledge of HTML, CSS, or JS, I know the 3 of those pretty fluently.

Learning it isn't one of my priorities, but is something I want to do, so I'm trying to decide if I should make it into a short-term goal(if it won't take long), or a long-term goal(for when I have more time to do so). I don't really have the type of free time I did when I was learning DM and C++, but things like JavaScript, HTML, and CSS took about a day or less to get on.

Thanks,
Hiead
If you know DM or C++ PHP will take a few afternoons to learn.

Just read the online documentation. That should get you going.

If you're looking for something to do with it to practice, checkout http://www.codewalkers.com and do the examples in some tutorials. That'll help build practical experience.
In response to DarkView
Thanks!
/me bookmarks codewalkers.com.

Hiead
In response to Airjoe
Yeah, I know w3s, but I was just wanting to know how long it should take to learn it(I have books on it lying around). DV said a few days, so I'll probably start tomorrow.

Hiead
PHP is very nice to know, and pretty easy to learn. I find the best resource for learning is actually their official website at http://www.php.net, it includes a VERY nice reference and many resources for people looking to learn. (The reference is probably the best language reference online, anything you need to know is easy to find.)
As long as you have a decent programming background, you should be able to learn it quickly. It took me only two afternoons.

That said, I think you will find it a very different style than most languages. Most PHP programs will just be run straight through in a fraction of a second, and every time the user does something it is a new instance of the program. This makes for an interesting, if annoying at times, style of programming.
In response to Loduwijk
Sounds...fun. I'll start my learning later this week(probably this weekend).

Hiead
In response to Loduwijk
Yeah, PHP isn't all that hard to learn, but like most languages it has its own set of weird quirks that take a little while getting used to. Learning basically how to use the language shouldn't take too long; figuring out all its little idiosyncracies will have you running back to check the manual frequently for weeks or months to come - longer if you go for a long period without using PHP much.
I recommend EasyPHP for simple development in PHP using windows. It is a bundle with a preconfigured apache server. It also has php and MySQL, both preconfigured. It is not made for use over the internet, and is configured to work on a local machine only, which is good if you are testing, no worrys about security or anthing of the sort. EasyPHP really is the easy way to test and tinker with php on Windows.
In response to Scoobert
shouldn't be a problem if you are comfortable with DM, C/C++, or Javascript.

heck, i'm somehow able to make $40/hour doing brower-based apps in PHP!
In response to digitalmouse
0.0

I want your job, but in a C-based programming language. Example, C++, C, C#, or anything similar to those. The closest thing to DM is something I'd like. (Excluding Visual Basic if that may be the closest)
Just go to hostscripts.com and you can get tuts there. I made a BYOND server status script that lets me join BYOND games when they are up...just from looking around at tuts...http://www.rockriver.net/~ian/bf/

It's a simple server pinger script that shows join links when a server is up.=)
In response to Scoobert
Scoobert wrote:
I recommend EasyPHP for simple development in PHP using windows. It is a bundle with a preconfigured apache server. It also has php and MySQL, both preconfigured.

EasyPHP looks pretty good from the quick glance I just did, but since many docs are in french, and because it crashed when it couldn't connect to internet, I'm sticking to WebAmpIT. Yes of course I'm biased, but check it out anyway! It's very convenient and useful for instant Apache/Mysql/PHP tinkering.

http://sourceforge.net/projects/ampit


/Gazoot
In response to Gazoot
The more the marier, or something to that degree. Anywho, I have not checked out WebAmpIT yet, and have never had the problem with EasyPHP crashing when not on the net, but you are right, a lot of the documentation is in french. I have used easyPHP a lot, and find it really easy, it also comes with MyPHPAdmin, which is actualy a MySQL admin console. Rather useful. I will have to check out WebAmpIT though.