Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
|
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 10th, 2003, 07:20 AM
Authorized User
 
Join Date: Oct 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to phpsharma Send a message via Yahoo to phpsharma
Default Experts asked this question

One tech guru asked me [u]what type of coding standards are u using?</u> I stunned by this question.please help any body to answer this question.

what exactly is coding standard?.
give some examples regarding this.

bye
sharma

God Knows better than US
__________________
God Knows better than US
 
Old November 10th, 2003, 03:15 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

A coding standard is a document that specifies HOW a developer should write code. It covers details such as whether to use tabs or spaces, how to structure your parenthesis and curly-braces, etc.

Browsing through a couple coding standards is the best way to learn what a coding standard is.

http://www.google.com/search?q=coding+standard

Also, check out the PEAR coding standard for an example of one written for PHP:
  http://pear.php.net/manual/en/standards.php

Also:
  http://alltasks.net/code/php_coding_standard.html


Keep in mind that there is no ONE TRUE coding standard for ANY language. Every developer has their own "preferred" way of writing code. A coding standard enforces all developers to stick to a concrete set of rules and conventions, regardless of what their personal preferences are. The result is that ALL the code written in an application looks the same, which improves overall readability and comprehension.


Take care,

Nik
http://www.bigaction.org/
 
Old November 11th, 2003, 05:09 AM
Authorized User
 
Join Date: Oct 2003
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to phpsharma Send a message via Yahoo to phpsharma
Default

:)Thank you nik. Perfect answer for me.

God Knows better than US





Similar Threads
Thread Thread Starter Forum Replies Last Post
.net Frequently asked questions ashokparchuri ASP.NET 2.0 Professional 0 January 10th, 2006 11:08 AM
question asked(bring flash page to the top) ExxWhyZee Flash (all versions) 1 April 13th, 2004 12:48 PM
Any xlink experts out there? mountainbiker XML 3 February 29th, 2004 01:49 PM
Explanation asked about XSL/XPath expression PeterMeeuwsen XSLT 2 December 15th, 2003 06:29 PM
How do I.....? One for the Experts!? ziwez0 Access VBA 13 October 20th, 2003 05:44 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.