How To Become A Php Geek

19
How to become a PHP Geek? Kazi Mohammad Ekram Web Developer 13 th November 2009

description

how to become a php geek. How you can Upgrade your skill and yourself.

Transcript of How To Become A Php Geek

Page 1: How To Become A Php Geek

How to become a PHP Geek?

Kazi Mohammad EkramWeb Developer

13th November 2009

Page 2: How To Become A Php Geek

Introduction

Presentation Focus:

- Increase Efficient Development- Personal Improvement

Page 3: How To Become A Php Geek

Increase Efficient Development

Focus:

1. Follow Coding Standards2. Don’t Reinvent the wheel3. Maintain The Code Quality4. Use Framework5. Use CMS6. PHP IDE

Page 4: How To Become A Php Geek

1. Follow Coding Standards

- Code Formatting (Readable)- Comment your code- Make a documentation- Make Versions

Page 5: How To Become A Php Geek

Code Formatting(Not Readable)

<?PHPFunction temp($a){If($a==0) return 1; Else return $a*test($a - 1);}?>

Page 6: How To Become A Php Geek

Code Formatting(Readable)

<?PHPFunction factorial($n){

If($n == 0){

return 1;} Else {

return $a*test($a - 1);}

}

?>

Page 7: How To Become A Php Geek

Standards

PEAR Coding Standardhttp://pear.php.net/manual/en/standards.php

Zend Coding Standardhttp://framework.zend.com/manual/en/coding-standard.html

Page 8: How To Become A Php Geek

Comment Your Code

<?php echo "Hello World!"; // This will print out Hello World! $age = 52; //Assigning age

?>

Page 9: How To Become A Php Geek

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 <[email protected]> * @version 1.0 * @package sample */?>

Page 10: How To Become A Php Geek

Documentation Software

phpDocumentor - http://www.phpdoc.org

Page 11: How To Become A Php Geek

Make Versions

- Keep track of each versions- Back up the files

Page 12: How To Become A Php Geek

2. Don’t Reinvent the wheel

- Don’t write the class or function that already build- Don’t repeat yourself- Try to use Class and functions

Source Forgehttp://sourceforge.net/

PHP Classeshttp://www.phpclasses.org/

Page 13: How To Become A Php Geek

3. Maintain the Code Quality

- Simple Code- Scalable Code- Maintainable Code

Page 14: How To Become A Php Geek

4. Use Framework

- Simple To Update- Lots of libraries- Maintainable Code- Solved Most real life problems

Code Igniterhttp://codeigniter.com/

Zend Frameworkhttp://framework.zend.com/

Cake PHPhttp://cakephp.org/

Page 15: How To Become A Php Geek

5. Use CMS

- Content Management System(CMS)- Lots of Plug-in- Maintainable Code- Most of the project requirement fulfilled

Joomlahttp://www.joomla.org/

Drupalhttp://drupal.org/

Wordpresshttp://wordpress.org/

Page 16: How To Become A Php Geek

6. PHP IDE

- Increase Development Efficiency- Save your time- Debug your code

Netbeans IDEhttp://netbeans.org/

Eclipse IDEhttp://www.eclipse.org/

Zend Studiohttp://www.zend.com/en/

Page 17: How To Become A Php Geek

Personal Improvement

- Communicate with Other developers- Read Blogs- Write Blogs- Before writing code search for existing one- Contribute in Open Source Projects- Read Some PHP website RSS Feed everyday- Learn JavaScript Frameworks (Jquery, Motools etc.)- Learn Different Database (Mysql, PostgreSQL, SQLite etc).- Share Your Thoughts and Experience with others.

Page 18: How To Become A Php Geek

Some Useful Links

-http://ajaxian.com/-http://kore-nordmann.de/blog/-http://www.ibm.com/developerworks/-http://mashable.com/-http://tech.groups.yahoo.com/group/phpexperts/-http://www.phpdeveloper.org/-http://blog.programmableweb.com/-http://www.techcrunch.com/-http://derickrethans.nl/-http://www.sitepoint.com/blogs/-http://www.smashingmagazine.com/

Page 19: How To Become A Php Geek

Questions

Kazi Mohammad Ekram

Email: [email protected]: +966-558066327Website: http://www.ekram.infoBlog: http://kaziekram.wordpress.com