O'Reilly logo

PHP Application Development with NetBeans Beginner's Guide by M A Hossain Tonu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Documenting the source code

In this section, we will learn to document functions, methods, classes, interfaces, global variables, constants, and so on, and discuss the benefits of using such a code documentation. As discussed earlier, in the collaborative development environment, the description of methods, classes, and so on, are very important to learn the intent of the code, and we will see that implemented practically in this section.

Now, create a new PHP project named Chapter5 in NetBeans, and use it for all the following tutorials.

Documenting the functions and methods

In this section, we will learn to use the NetBeans auto documentation feature at the beginning of a PHP function or method.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required