Applied PHP
September 24th, 2008
I wanted to write a series of articles, reflecting PHP in the real world.
You can learn how to write functions and classes from hundreds of PHP related books, but how about using salting when storing passwords, how to manage database connections, how to optimize your script’s memory usage or why you should unset global variables ?
I will show you all the tips, tricks, patterns and best practices of using PHP in real world applications.
I’m thinking about covering the following stuff for now:
- password salting
- different database privileges for reading and writing data
- why it’s good to unset unused global variables
- why you should cast your variable types
- why you should unset and reuse variables
- what are database sessions and how to use them
This is the introductory article to the series of articles. You will find all the articles under applied, php categories.
If you have any suggestions, you’d want to be covered in the upcoming articles please share with me in the comments.


Leave your reply