Jump to content

Must-Know Topics of PHP


denniss

Recommended Posts

Personally, I think learning PHP is very incremental. What you "must know" is dependent on what you already know. If you don't know proper syntax, for example, you really don't need to know what a for each loop is, or how to define a new class. Getting your syntax down pat is more important.

 

On the other hand, if you're comfortable with PHP but aren't familiar with good use of classes and developing OO code, then that's where you need to be headed.

 

If you're familiar with syntax and you have basic programming methodology (knowledge of how to break problems down into "yes or no" questions, and what order to put those questions in) then you should probably be focusing on security. There's certainly other important things to learn, like database interaction (if you don't already know it) and optimizing code, but IMO both of those are secondary to good knowledge of security. You shouldn't be messing around with databases or be worrying about if your code is efficient if the pages you develop are easily manipulated by a malicious user.

$_SESSION is related to session handling in PHP. $_POST (along with $_GET) is related to user inputted data.

 

These are good places to start learning. If you want specific details about session handling or about using user inputted data (user inputted data should probably be something you look into first) you can google tutorials related to it, here's a few:

 

http://www.phpf1.com/tutorial/php-form.html

http://myphpform.com/

http://www.thesitewizard.com/archive/feedbackphp.shtml

Thanks for the replies =P but I was expecting answers like Garethp's. I think i am very comfortable with OO concept already. I did programming in Java and currently in C. What topics are there that are only unique to php that I must know?

 

so far I see regex as something that I have never seen before.. and I need to practice more with PHP OO.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.