Upload
bipin-upadhyay
View
6.855
Download
0
Embed Size (px)
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.
Citation preview
How many PHP tools you have used?
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
Brief about:PHPUnitXDebugPhingXinc
What
Why
How
It is a debugging toolUrl is http://xdebug.org
We can perform operations like:Code coverageStack traceFunction traceProfiling
Code CoverageStack traceProfiling
Code CoverageStack traceProfiling
Code CoverageStack traceProfiling
It is a unit testing toolUrl is http://www.phpunit.de
Test the correctness of parts(units) of the software, in short to maintain solutions
Write test cases
It is a project build toolUrl is http://www.phing.info
“building” is really any non development task that supports your application.
This could include– Configuring– Packaging– Uploading– Testing– Etc.
Phing provides a simple shell script (“phing”) that launches the Phing PHP application.
You create build files in XML
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
For any change that might break the functionality
More developers with more components = more complexity
Integrate Phing and svnStart the server as
/etc/init.d/xinc startAccess it from localhost:8080
Thank You