PHP is the most widely used programming language on the Web. Introducing thirty-some of the best tricks for beginners who want to learn basic skills - php for beginners.
Make Friends with the PHP Reference
If you're new to PHP, then it's time to take a look at the respectful PHP reference. The PHP reference is incredibly comprehensive and contains really useful comments for each article. Before asking questions or trying to solve the problem yourself, save time and just take a course on the reference. The answers to your questions are already conveniently posted in a useful article on PHP.net.Enable error reporting
The bug report in PHP is very useful. You will find errors in your code that you have not noticed before, but not all of them interfere with the application. There are different levels of detail of the report that you can use, but E_ALL will equally represent you all errors, critical situations and warnings.When your application is ready for productive operation, you will have to turn off the error report, otherwise your visitors will see strange messages in which they understand nothing.
Try IDE
IDEs (Integrated Development Environments) are useful tools for any developer. Although they are not suitable for everyone, IDEs definitely have their own meaning. IDEs provide tools such as:- Syntax highlighting
- Code completion (identifier hints in the code editor)
- Error warnings
- Code refactoring (code alteration)
No hay comentarios.:
Publicar un comentario