SlideShare a Scribd company logo
How to become a PHP Geek?Kazi Mohammad EkramWeb Developer13th November 2009
IntroductionPresentation Focus:- Increase Efficient Development- Personal Improvement
Increase Efficient DevelopmentFocus:1. Follow Coding Standards2. Don’t Reinvent the wheel3. Maintain The Code Quality4. Use Framework5. Use CMS6. PHP IDE
1. Follow Coding Standards Code Formatting (Readable)
Comment your code
 Make a documentation
 Make VersionsCode Formatting(Not Readable)<?PHPFunction temp($a){If($a==0) return 1; Else return $a*test($a - 1);}?>
Code Formatting(Readable)<?PHPFunction factorial($n){	If($n == 0)	{	 return 1;} Else {	return $a*test($a - 1);}}?>
StandardsPEAR Coding Standardhttp://pear.php.net/manual/en/standards.php Zend Coding Standardhttp://framework.zend.com/manual/en/coding-standard.html
Comment Your Code<?phpecho "Hello World!"; // This will print out Hello World! $age = 52; //Assigning age?>
Make A Documentation<?php/** * Sample File 2, phpDocumentor Quickstart *  * This file demonstrates the rich information that can be included in * in-code documentation through DocBlocks and tags. * @author Greg Beaver <cellog@php.net> * @version 1.0 * @package sample */?>
Documentation SoftwarephpDocumentor - http://www.phpdoc.org
Make Versions Keep track of each versions
Back up the files2. Don’t Reinvent the wheel Don’t write the class or function that already build
 Don’t repeat yourself
Try to use Class and functionsSource Forgehttp://sourceforge.net/PHP Classeshttp://www.phpclasses.org/
3. Maintain the Code Quality Simple Code
 Scalable Code
Maintainable Code4. Use Framework Simple To Update

More Related Content

Similar to How To Become A Php Geek (20)

PPT
Php Best Practices
Ansar Ahmed
 
PPT
Php Best Practices
Ansar Ahmed
 
PDF
Becoming A Php Ninja
Mohammad Emran Hasan
 
PPT
Phpwebdevelping
mohamed ashraf
 
PPTX
Coding conventions
systemcrashed
 
PPT
PHP coding tips and review guides
Konstantin Shamko
 
PDF
6 Months Industrial Project Training in PHP Delhi/NCR
shane99
 
PDF
Miami2015
DevinVinson
 
PPT
Php
TSUBHASHRI
 
PPT
Php
TSUBHASHRI
 
PPT
Php
TSUBHASHRI
 
PPTX
PHP Powerpoint -- Teach PHP with this
Ian Macali
 
PDF
Improved PHP Development
PHPBelgium
 
PDF
How to write code you won't hate tomorrow
Pete McFarlane
 
PPTX
Php Extensions for Dummies
Elizabeth Smith
 
PPT
Phpwebdev
Luv'k Verma
 
PDF
Demystifying Object-Oriented Programming - PHP[tek] 2017
Alena Holligan
 
PDF
Best Practices with Zend Framework - Matthew Weier O'Phinney
dpc
 
PDF
Writing Clean, Standards Compliant, Testable Code for WordPress
Shawn Hooper
 
PPT
Introduction To Php For Wit2009
cwarren
 
Php Best Practices
Ansar Ahmed
 
Php Best Practices
Ansar Ahmed
 
Becoming A Php Ninja
Mohammad Emran Hasan
 
Phpwebdevelping
mohamed ashraf
 
Coding conventions
systemcrashed
 
PHP coding tips and review guides
Konstantin Shamko
 
6 Months Industrial Project Training in PHP Delhi/NCR
shane99
 
Miami2015
DevinVinson
 
PHP Powerpoint -- Teach PHP with this
Ian Macali
 
Improved PHP Development
PHPBelgium
 
How to write code you won't hate tomorrow
Pete McFarlane
 
Php Extensions for Dummies
Elizabeth Smith
 
Phpwebdev
Luv'k Verma
 
Demystifying Object-Oriented Programming - PHP[tek] 2017
Alena Holligan
 
Best Practices with Zend Framework - Matthew Weier O'Phinney
dpc
 
Writing Clean, Standards Compliant, Testable Code for WordPress
Shawn Hooper
 
Introduction To Php For Wit2009
cwarren
 

How To Become A Php Geek