How To Become A Php Geek
-
Upload
kazi-mohammad-ekram -
Category
Documents
-
view
2.628 -
download
3
description
Transcript of How To Become A Php Geek
![Page 1: How To Become A Php Geek](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/1.jpg)
How to become a PHP Geek?
Kazi Mohammad EkramWeb Developer
13th November 2009
![Page 2: How To Become A Php Geek](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/2.jpg)
Introduction
Presentation Focus:
- Increase Efficient Development- Personal Improvement
![Page 3: How To Become A Php Geek](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/3.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/4.jpg)
1. Follow Coding Standards
- Code Formatting (Readable)- Comment your code- Make a documentation- Make Versions
![Page 5: How To Become A Php Geek](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/5.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/6.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/7.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/8.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/9.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/10.jpg)
Documentation Software
phpDocumentor - http://www.phpdoc.org
![Page 11: How To Become A Php Geek](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/11.jpg)
Make Versions
- Keep track of each versions- Back up the files
![Page 12: How To Become A Php Geek](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/12.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/13.jpg)
3. Maintain the Code Quality
- Simple Code- Scalable Code- Maintainable Code
![Page 14: How To Become A Php Geek](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/14.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/15.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/16.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/17.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/18.jpg)
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](https://reader036.fdocuments.in/reader036/viewer/2022082606/558dee9e1a28ab307e8b462a/html5/thumbnails/19.jpg)
Questions
Kazi Mohammad Ekram
Email: [email protected]: +966-558066327Website: http://www.ekram.infoBlog: http://kaziekram.wordpress.com