剛剛在Programming板上看到的,是stOOrz發表的一篇文章,"[心得] PHP 程式設計必知重點",我覺得還蠻重要的,就轉過來這邊。原作者是Jeffery Vaska


10 Tips That Every PHP Newbie Should Know
Tip 1: MySQL Connection Class
Tip 2: Dealing with Magic Quotes
Tip 3: Safely Query Database with mysql_real_escape_string
Tip 4: Debugging
Tip 5: Writing Functions (and Classes)



10 Tips That Every PHP Developer Should Know, Part 2
Tip 6: Single and double quotes
Tip 7: Problems of style
Tip 8: Ternary Operator
Tip 9: Safe Queries
Tip 10: A Strategy for Success


參考資料:
10 Tips That Every PHP Newbie Should Know
10 Tips That Every PHP Developer Should Know, Part 2
PHP 程式設計必知重點

kewang 發表在 痞客邦 留言(1) 人氣()