Php Development Stack

Post on 26-Aug-2014

6,850 views 0 download

Tags:

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

I am

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

“sharmishtha_gupta@satyam.com”

He is

He also work for Satyam Computer Services Ltd.You can reach him at “shah_neeraj@satyam.com”

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