php development stack

23

Upload: bipin-upadhyay

Post on 26-Aug-2014

6.853 views

Category:

Self Improvement


0 download

DESCRIPTION

A presentation on PHP Development Stack (tools for PHP Development) by my colleagues Neeraj Shah & Sharmishtha Gupta. It was presented at PHPCamp, Pune, on Sept'20th, 2008.

TRANSCRIPT

Page 1: Php Development Stack
Page 2: Php Development Stack

I am

I work for Satyam Computer Services Ltd.You can reach me at

[email protected]

Page 3: Php Development Stack

He is

He also work for Satyam Computer Services Ltd.You can reach him at “[email protected]

Page 4: Php Development Stack

How many PHP tools you have used?

Page 5: Php Development Stack

Layer ToolContinuous Integration XincVersion Control Subversion, GitTesting PHPUnit, SeleniumBuild PhingDebugging XDebug, KrumoLibraries/Utilities PEAR, PECL, PHPClasses.orgCode Coverage XDebugFramework CakePHPIDE vim, PHPEclipse, NetBeans, KomodoProfiling XDebugRefactoring XDebugPerformance Testing JMeterWeb Server Apache HTTPD ServerDatabase MySQL, PostrgreSQLOperating System Linux, Windows

Page 6: Php Development Stack

Brief about:PHPUnitXDebugPhingXinc

Page 7: Php Development Stack

What

Why

How

Page 8: Php Development Stack

It is a debugging toolUrl is http://xdebug.org

Page 9: Php Development Stack

We can perform operations like:Code coverageStack traceFunction traceProfiling

Page 10: Php Development Stack

Code CoverageStack traceProfiling

Page 11: Php Development Stack

Code CoverageStack traceProfiling

Page 12: Php Development Stack

Code CoverageStack traceProfiling

Page 13: Php Development Stack

It is a unit testing toolUrl is http://www.phpunit.de

Page 14: Php Development Stack

Test the correctness of parts(units) of the software, in short to maintain solutions

Page 15: Php Development Stack

Write test cases

Page 16: Php Development Stack

It is a project build toolUrl is http://www.phing.info

Page 17: Php Development Stack

“building” is really any non development task that supports your application.

This could include– Configuring– Packaging– Uploading– Testing– Etc.

Page 18: Php Development Stack

Phing provides a simple shell script (“phing”) that launches the Phing PHP application.

You create build files in XML

Page 19: Php Development Stack

It is a Continuous Integration server for PHP

Url is http://xinc.googlecode.com

What does integration mean?Integrating a change( code,

database structure…) into the source code repository without breaking the project

Page 20: Php Development Stack

For any change that might break the functionality

More developers with more components = more complexity

Page 21: Php Development Stack

Integrate Phing and svnStart the server as

/etc/init.d/xinc startAccess it from localhost:8080

Page 22: Php Development Stack
Page 23: Php Development Stack

Thank You