Identity and Access Management Consultant
IT Search
US-TX-Dallas

Justtechjobs.com Post A Job | Post A Resume

Comprehensible PHP Code
Sujith Nair
Many of you would agree with me when I say that programming is an art. Logic of course is an essential part, but so is the manner in which the whole code is written. I strongly believe that a programmer should not ignore this aspect of documentation of code. For php programmers there is always PEAR that gives you guidelines on "How to's" regarding php programs and packages.
Perhaps the most important part of the PEAR project is finally defining an official standard for creating reusable, well-documented php packages. Since PEAR is still under development, there are many more important guidelines yet to follow.
So, why do we really need to document our code? Answer to this question may differ from programmer to programmer. But I strongly feel, it helps in Debugging, Reverse Engineering, Re-engineering, Testing and giving the code a neat look. Moreover, it's a step towards standardization of coding methodology. It's a common tendency among programmers to make their code so scary that the other programmer would never dare to understand it ;-)
But a good programmer is one who makes his code look so simple and comprehensible that any other programmer can understand it and appreciate it. The program should be such that even in your absence any other authenticated person can go through the well-documented code and make productive changes. This is good for yourself and the organisation as well. Gone are the days when there were closed codes and environments. Now, only those products will survive which have scope of improvement and have the flexibility to perform in ever demanding conditions.
I would like to discuss with you certain aspects of documentation.
[ Next Page ]


Comments:
websiteBob Gaston07/06/07 15:29
RE: PHP BEGINNERcavell05/05/07 16:20
RE: PHP BEGINNERwana04/30/07 00:31
RE: uploading pictures to mySQLwana04/30/07 00:23
RE: time delayGlenn09/27/05 19:56
RE: Help required to configure php_gd.dllRobert Sedlak07/08/05 13:25
PHP BEGINNERdennis gonzales05/07/05 04:17
Main pages doesn't downloadSergio 02/09/05 07:48
connect to databasedina02/01/05 01:25
RE: Finding a good PHP book(free downloads)Abhishek01/31/05 02:02
RE: uploading pictures to mySQLkhan01/13/05 10:22
Finding a good PHP book(free downloads)santhosh kumar01/02/05 01:36
need help (MySQL)Dayananda.MR11/18/04 08:04
RE: Finding a PHP book(free download)hamid11/11/04 13:28
documentationsentayehu11/16/03 04:40
RE: CSS Links3steps11/04/03 23:33
PHP Coding Standardvicen05/26/03 04:58
RE: My if/else stylevicen05/26/03 04:23
RE: good programming styleJim04/07/03 16:58
RE: if/elsekelvin02/26/03 11:33
RE: My if/else styleCarlo01/14/03 17:15
RE: My if/else styleNick12/16/02 23:23
Need HelpMarth16411/20/02 20:16
RE: I need a good php editor in WindowsAdolf11/05/02 10:27
PHP BeginnerPrathaban09/24/02 08:07
PHP editor for windows, but installable zippyGary09/24/02 02:21
RINGTONEmeshal09/16/02 11:33
RE: Indenting and inline commentingakeppel09/14/02 09:31
RE: Who Cares?akeppel09/13/02 13:19
Indenting and inline commentingakeppel09/13/02 13:13
PHP url parameter retrievalJason09/13/02 02:42
RE: I need a good asp editor on linuxVinay09/05/02 06:57
RE: I need a good php editor in WindowsDavid Phillips08/23/02 02:45
RE: I need a good php editor in WindowsMichael McLoughlin08/18/02 19:21
function sql_connectionmajid hussain08/14/02 13:35
Pop up windowsivan08/14/02 13:27
php and c++ programsalat08/05/02 09:00
RE: I need a good php editor in WindowsSachith07/26/02 00:57
program for friendly printer option in phpPraveen07/22/02 06:42
i need magure help.natasha07/20/02 21:42
How to make ODBC Connection in PHPBright07/13/02 03:35
Como limpio la pantalla??Leysner07/12/02 16:31
User Validation==how?Nuker07/05/02 10:13
RE: i have problems with my first steps.iranianguy06/24/02 07:59
RE: i have problems with my first steps.shahin06/24/02 07:43
how to create chat site by using php?farah06/17/02 03:15
pourcentagesyousfi06/12/02 11:43
How do I create Frames using PHP.Unindra 06/11/02 17:47
RE: Use a good editorsteve06/10/02 12:36
RE: Stringssteve06/10/02 12:24
uploading pictures to mySQLMiss_V06/07/02 15:33
PHP-NUKE, Dreamweaver, FrontpageBioHazard06/06/02 14:08
StringsBokkie06/05/02 16:49
Help required to configure php_gd.dllP.V.Raja05/27/02 03:05
PHPDocumentor 1.0.0 STABLE releasedGreg Beaver05/25/02 13:04
PHP editor for LinuxAshok05/23/02 14:14
RE: Finding a PHP book(free download)rajesh kumar05/22/02 07:38
RE: I need a good php editor in WindowsSudhir05/21/02 17:01
IMAP/LDAP : mailbox configurationPenta05/15/02 04:13
How to encrypt strings in PHP?Cin05/13/02 04:30
RE: demande d avoir une Documentation PHPMiguel05/10/02 10:51
RE: Help! How to use Access 2K with PHP?TRos05/06/02 20:25
RE: I need a good php editor in WindowsEarl Cooley05/04/02 00:05
Finding a PHP book(free download)cvdanh05/03/02 06:00
Apache user Authentication against PostgreSQLJackie05/02/02 15:24
send me php buildersuhail04/28/02 17:00
Help! How to use Access 2K with PHP?Simon04/28/02 05:57
RE: File Uploads in PHPAshwin04/24/02 15:03
time delayZorz04/24/02 08:04
how to prepare platform for Php..azmi04/18/02 05:20
RE: i have problems with my first steps.ovi04/18/02 04:49
Who Cares?PHP buff04/17/02 22:55
I interesed php so much!dusit04/17/02 01:52
hoping someone could teach me phpphpbeginner04/15/02 19:29
RE: and i need a php editor for os xGreg04/10/02 11:48
i have problems with my first steps.Naghmeh04/03/02 04:04
File System Objectsocheat04/02/02 01:40
how to send mailbles04/01/02 01:23
RE: I need someone, who can teach me PHP.Paresh Parihar03/28/02 00:00
and i need a php editor for os xradon03/26/02 08:05
RE: I need a good php editor in WindowsMikey03/26/02 05:43
RE: I need a good php editor in Windowsroger03/22/02 00:43
how to create a masck to telphone in PHPThomas03/21/02 07:09
RE: I need a good php editor in Windowsmac03/19/02 03:19
RE: file writingSteven03/16/02 10:54
demande d avoir une Documentation PHPEssayd03/13/02 05:17
RE: I need someone, who can teach me PHP.Ashwini Kumar Rath03/11/02 09:34
file writingKhaos03/09/02 23:22
RE: I need a good php editor in WindowsPaonza03/08/02 07:58
RE: I need a good php editor in Windowstoby03/06/02 14:34
New commerce in PHPRiaghan03/04/02 19:53
i wany to build php on my siteshams02/23/02 21:50
RE: I need a good php editor in WindowsDave Starling02/23/02 12:06
I need someone, who can teach me PHP.Mikael Voss02/22/02 08:11
code php to oracleyoke02/22/02 05:04
RE: I need a good php editor in WindowsJim02/21/02 23:17
RE: I need a good php editor in WindowsSimon B/02/20/02 23:28
I need a good php editor in WindowsSuvendu02/17/02 03:09
PHP deprecationDerek Piper02/15/02 10:14
RE: if/else - function braces and all that...fLIPIS02/12/02 06:56
RE: styleSileNceR02/12/02 02:34
suggest good editor for PHPsachinrase02/11/02 00:47
I am a beginnerEmsi Ell02/08/02 13:06
RE: Use a good editorwill02/08/02 03:16
"populate" Richness01/28/02 03:16
File Uploads in PHPravi01/27/02 13:31
RE: data value and header problem.. what's wrNathan Hyde01/24/02 19:33
coding helpprabhakar01/24/02 05:32
RE: if, and, or, elseRod K01/16/02 07:35
RE: CSS LinksSteve01/16/02 06:57
if, and, or, elsecody6901/15/02 03:01
data value and header problem.. what's wrong?balaburu01/13/02 23:43
How do I update a particular field...sujan01/01/02 09:04
interface base de données et webdali12/27/01 07:30
CSS LinksRuckus12/14/01 12:53
RE: Nice try, but...Pete12/14/01 00:04
html in php? neverAswan12/11/01 00:50
software testing the ICRADIUSjohary anodith 11/23/01 07:38
RE: what about PHPDOC?Joshua Eichorn11/07/01 15:38
There can be only one - WAS: braces and all..blazer10/31/01 23:36
RE: Nice try, but...Richard Samar10/21/01 18:40
good programming styleheadcore10/21/01 05:54
RE: strange coding styleStrudleman10/19/01 01:17
RE: help! what exactly is PHP?Strudleman10/19/01 00:43
RE: if/elseRockMonkey10/18/01 21:04
RE: help! what exactly is PHP?morpheus()10/14/01 01:05
Something to rememberVincent Vollers10/13/01 12:39
RE: Programming is an artSujith Nair10/13/01 06:27
RE: Programming is an artVincent Oostindie10/12/01 18:35
Programming is an artTorkel Lyng10/12/01 07:07
help! what exactly is PHP?mazzy star10/12/01 02:09
RE: Nice try, but...Vincent Oostindie10/11/01 18:13
RE: Nice try, but...Vincent Oostindie10/11/01 18:09
RE: Nice try, but...Vincent Oostindie10/11/01 18:06
Use a good editorMichael Madsen10/11/01 04:01
RE: Nice try, but...sayonion10/10/01 21:14
RE: Nice try, but...Cal Evans10/10/01 20:05
RE: Nice try, but...Peimann10/10/01 17:37
RE: if/elsesluggo10/10/01 16:46
RE: if/else, brackets etcGreg MacLellan10/10/01 16:23
RE: if/elseBarry Kukkuk10/10/01 09:16
RE: strange coding stylephil10/10/01 07:14
styleSte10/10/01 07:10
if/else - function braces and all that...Ranjith10/10/01 02:09
indentationRen10/07/01 19:46
RE: what about phpdoc?paul10/07/01 17:13
Nice try, but...Vincent Oostindie10/07/01 10:20
RE: Openning/Closing TagsDigital Wokan10/07/01 00:33
My if/else styleDigital Wokan10/07/01 00:30
RE: if/elsemorpheus()10/06/01 12:59
RE: strange coding stylemorpheus()10/06/01 12:53
Tabs v. SpacesBrian10/05/01 21:57
RE: strange coding stylelee 10/05/01 21:42
the foo() example Dweezel10/05/01 16:34
RE: if/elseMichael Lidgren10/05/01 06:02
RE: strange coding styleSujith Nair10/05/01 00:33
RE: Openning/Closing TagsSujith Nair10/04/01 23:56
bracing code blocks and indentionNil-Joe Angsioco10/04/01 21:30
if/elsedan10/04/01 11:17
what about PHPDOC?Bryan Alsdorf10/04/01 11:09
strange coding stylemarcel10/04/01 10:11
Openning/Closing TagsFil / RezoX10/04/01 02:02
what about phpdoc?borkazoid10/03/01 23:29
 

If you are looking for help, please post on the appropriate forum here. Your questions will be answered much more quickly.

Add A Comment:

Name:

Email:

Subject:

Message:

To reduce spam posts, messages are now manually approved

You are not [logged in]. That means your account will not get credit for this post.