Top Banner
www.exoplatform.com Copyright 2011 eXo Platform Continuous Integration and PHP Improve your development process
38
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Php day 20 11 e xo continuousintegration php

www.exoplatform.com

Copyright 2011 eXo Platform

Continuous Integration and PHP

Improve your development process

Page 2: Php day 20 11 e xo continuousintegration php

www.exoplatform.com

Copyright 2011 eXo Platform

OR

How to build projects better, faster and

cheaper

Page 3: Php day 20 11 e xo continuousintegration php

3www.exoplatform.com

Copyright 2011 eXo Platform

Page 4: Php day 20 11 e xo continuousintegration php

www.exoplatform.com

Copyright 2011 eXo Platform

Why

do it?

Why do it?

Page 5: Php day 20 11 e xo continuousintegration php

5www.exoplatform.com

Copyright 2011 eXo Platform

Page 6: Php day 20 11 e xo continuousintegration php

6www.exoplatform.com

Copyright 2011 eXo Platform

Risk 1: Fixing bugs late is costly

Page 7: Php day 20 11 e xo continuousintegration php

7www.exoplatform.com

Copyright 2011 eXo Platform

Page 8: Php day 20 11 e xo continuousintegration php

8www.exoplatform.com

Copyright 2011 eXo Platform

Risk 2: Lack of team cohesion

Page 9: Php day 20 11 e xo continuousintegration php

9www.exoplatform.com

Copyright 2011 eXo Platform

Risk 3: Poor quality code base

Page 10: Php day 20 11 e xo continuousintegration php

10www.exoplatform.com

Copyright 2011 eXo Platform

Risk 4: Lack of project visibility

Page 11: Php day 20 11 e xo continuousintegration php

11www.exoplatform.com

Copyright 2011 eXo Platform

Risk 5: Lack of deployable software

Page 12: Php day 20 11 e xo continuousintegration php

12www.exoplatform.com

Copyright 2011 eXo Platform

Use Continuous Integration

To reduce the risks !

Page 13: Php day 20 11 e xo continuousintegration php

www.exoplatform.com

Copyright 2011 eXo Platform

Continuous Integrationat a glance

Page 14: Php day 20 11 e xo continuousintegration php

14www.exoplatform.com

Copyright 2011 eXo Platform

What am I talking about ?

Page 15: Php day 20 11 e xo continuousintegration php

www.exoplatform.com

Copyright 2011 eXo Platform

Why CI is so important ?

Page 16: Php day 20 11 e xo continuousintegration php

16www.exoplatform.com

Copyright 2011 eXo Platform

Didn’t you say better, faster and cheaper ?

Page 17: Php day 20 11 e xo continuousintegration php

17www.exoplatform.com

Copyright 2011 eXo Platform

Write once, then automated every time !

Page 18: Php day 20 11 e xo continuousintegration php

www.exoplatform.com

Copyright 2011 eXo Platform

So what constitutes a build?

Page 19: Php day 20 11 e xo continuousintegration php

19www.exoplatform.com

Copyright 2011 eXo Platform

Build Ingredients

Page 20: Php day 20 11 e xo continuousintegration php

20www.exoplatform.com

Copyright 2011 eXo Platform

Automated test – Quality assurance

Page 21: Php day 20 11 e xo continuousintegration php

21www.exoplatform.com

Copyright 2011 eXo Platform

Build Automation

Apache Anthttp://ant.apache.org/

Apache Mavenhttp://www.php-maven.org/

GNU Makehttp://www.gnu.org/software/make/

Rake (Ruby Make)http://rake.rubyforge.org/

Phing (Phing is not GNU Make)http://phing.info/

Shell scripts

Page 22: Php day 20 11 e xo continuousintegration php

22www.exoplatform.com

Copyright 2011 eXo Platform

Apache Ant

Page 23: Php day 20 11 e xo continuousintegration php

23www.exoplatform.com

Copyright 2011 eXo Platform

Page 24: Php day 20 11 e xo continuousintegration php

24www.exoplatform.com

Copyright 2011 eXo Platform

Page 25: Php day 20 11 e xo continuousintegration php

25www.exoplatform.com

Copyright 2011 eXo Platform

Page 26: Php day 20 11 e xo continuousintegration php

www.exoplatform.com

Copyright 2011 eXo Platform

CI for PHP World

Page 27: Php day 20 11 e xo continuousintegration php

27www.exoplatform.com

Copyright 2011 eXo Platform

Page 28: Php day 20 11 e xo continuousintegration php

www.exoplatform.com

Copyright 2011 eXo Platform

CI in Ecosystem

Page 29: Php day 20 11 e xo continuousintegration php

29www.exoplatform.com

Copyright 2011 eXo Platform

Continuous Integration work flow

Page 30: Php day 20 11 e xo continuousintegration php

www.exoplatform.com

Copyright 2011 eXo Platform

How does it look in reality?

eXo development system

Page 31: Php day 20 11 e xo continuousintegration php

31www.exoplatform.com

Copyright 2011 eXo Platform

Source code repository

Page 32: Php day 20 11 e xo continuousintegration php

32www.exoplatform.com

Copyright 2011 eXo Platform

Review code system

Page 33: Php day 20 11 e xo continuousintegration php

33www.exoplatform.com

Copyright 2011 eXo Platform

Static Code Analysis

Page 34: Php day 20 11 e xo continuousintegration php

34www.exoplatform.com

Copyright 2011 eXo Platform

Continuous Integration Server

Page 35: Php day 20 11 e xo continuousintegration php

35www.exoplatform.com

Copyright 2011 eXo Platform

Email notifications

Page 36: Php day 20 11 e xo continuousintegration php

36www.exoplatform.com

Copyright 2011 eXo Platform

Deployment & Test system

Page 37: Php day 20 11 e xo continuousintegration php

www.exoplatform.com

Copyright 2011 eXo Platform

Continuous Integration

can help you build better quality project faster,with more confidence

Start using it !

Page 38: Php day 20 11 e xo continuousintegration php

www.exoplatform.com

Copyright 2011 eXo Platform

Thank you!