When a request for a page is sent by a browser , this request is received by the server hosting a drupal site. Suppose a request is sent for the page http://drupal.org/user/1 this request is received by drupal installation directory as URL user/1.
We have an .htaccess file inside drupal installation directory which is read on every request.
You can easily intergrate drupal coding standards, files extention using following file. Netbeans Config.zip
Goto : Tools->Options