Php Notes: The Different between Heredoc and Nowdoc

Heredoc and Nowdoc are two method to define a string in php. They both could define a multiple-line-style string without using \n. They make it easy to define a paragraph.But there are differences between Heredoc and Nowdoc.
The Heredoc is a multiple-line simple string. It will be parsed. All the variable in the string will be [...]



How to configure your vim for php autocomplete

Recently, I try to use vim as my editor for php. I found these usefull tools for using to configure your vim more confortable.
First, if your installation of vim has no php syntax file, you can download php.vim from php.vim. Put the extracted file into syntax folder under vim installation directory. It might be /usr/share/vim/vim7/syntax [...]



Linden Liu’s as series: Beginner guide for ASDoc

The ASDoc is a useful tool for creating documents for your code especially for the code that will be shipped to other develop. If you are struggling in writing documents, the ASdoc is worthy to try. This a brief introduction for using ASDoc in Eclipse and Flex Builder. If you are searching for how to [...]