Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
Tool Up Your LAMP Stack
About Me

 • Lorna Mitchell

 • Web Development Consultant

 • Speaker and Author

 • Website: http://lornajane.net

 • Twitter: @lornajane




                                   2
LAMP




       3
LAMP

 • Linux

 • Apache

 • MySQL

 • PHP (or Perl, or Python)




                              4
Technology and Agile
Technology is not the
     problem



                        6
Technology is not the
     solution



                        7
Technology

 • We need good tools




                        8
Technology

 • We need good tools

 • They enable our workflow




                             8
Technology

 • We need good tools

 • They enable our workflow

 • They facilitate our achievements




                                      8
Technology

 • We need good tools

 • They enable our workflow

 • They facilitate our achievements

 • They allow us to meet our deadlines




                                         8
Technology

 • We need good tools

 • They enable our workflow

 • They facilitate our achievements

 • They allow us to meet our deadlines

 • They are not the silver bullet (sorry)




                                            8
Iterative Development




            develop     deploy




                                 9
The Main Ingredients

Preparation time: some years

Ingredients:

   • Source control

   • Development platforms

   • Task tracking

   • Automated testing

   • Static analysis

   • Automated deployment

   • Continuous integration




                               10
Source Control
Source Control: Key Ingredient

  • Central, canonical version

  • Collaboration point

  • Historical information

      • what changed
      • when
      • by whom

  • Can include its own config




                                 12
Source Control Tools

  • Subversion http://subversion.apache.org/

  • Git http://git-scm.com/

  • Mercurial http://mercurial.selenic.com/




                                               13
Branching Strategies

Common patterns:

  • Feature branches

  • Version branches

  • Live/integration branches




                                14
Traditional Centralised Source Control




                       repo



    checkout         checkout            checkout




                                                    15
Distributed Source Control

                     repo


                            repo


              repo


                                   repo


                     repo                 16
Database Version Control

No silver bullet to keep code and database schema in sync

Strategies:

   • All db changes done via script

   • Scripts are numbered

   • Database knows what numbers it already has


Tools:

   • homespun scripts

   • DbDeploy http://dbdeploy.com/

   • Liquibase http://www.liquibase.org/



                                                            17
Development Platforms
Development Platforms

Requirements:

  • Safe area "sandpit" for developers to work

  • All software as-live

  • Isolated




                                                 19
Task Tracking
Task Tracking

Once called ’bug tracking’.

We can track what status everything is in.




                                             21
Task Tracking

Once called ’bug tracking’.

We can track what status everything is in.

Developers understand bug trackers, bug trackers understand your
workflow.




                                                                   21
Workflow


          Backlog    Sprint




                     Active




          Blocked    Verify




                    Complete



                               22
Task Tracking Tools

  • Pivotal Tracker http://www.pivotaltracker.com/

  • GreenHopper
   http://www.atlassian.com/software/greenhopper/

  • Trac http://trac.edgewall.org/




                                                     23
Automated Testing
How do you test a website
           ?




                            25
How do you test a website
       repeatedly
           ?


                            26
Automated Testing

Gives repeatable results

TDD Test-Driven Development

BDD Behaviour-Driven Development




                                   27
Automated Testing Tools

 • Selenium: browser-based record and play of tests

     • Selenium IDE http://seleniumhq.org/projects/ide/
     • Selenium RC
       http://seleniumhq.org/projects/remote-control/

 • PHPUnit: unit testing and automation

     • http://phpunit.de
     • Also generates code coverage graphs




                                                          28
My First Unit Test

require_once '../src/models/MathUtilModel.php';

class MathUtilModelTest extends PHPUnit_Framework_TestCase {
    public function testAddNumbersWithNumbers() {
        $util = new MathUtilModel();
        $result = $util->addNumbers(3,5);
        $this->assertEquals(8, $result);
    }
}




                                                               29
Running One Test

To run our tests, from the tests directory do:
phpunit models/MathUtilModel

Output:
PHPUnit 3.5.13 by Sebastian Bergmann.

.

Time: 0 seconds, Memory: 3.00Mb

OK (1 test, 1 assertion)




                                                 30
Testable Code

 • Testable code is clean and modular

 • Need to be able to separate elements to test

 • Each function does one thing

 • Not too many paths through the code

 • Dependencies are dangerous




                                                  31
Dependency Injection

Passing things in or looking them up.
function getData() {
    $db = new MyDatabaseObject();
    // sql and query
}




function getData($db) {
    // sql and query
}




                                        32
Code Coverage

What percentage of your code is tested?

  • Summary view

  • Drill in to see which lines are run by tests

  • Beware: 100% code coverage does not mean fully tested


Use phpunit -coverage-html and specify where PHPUnit should
write the report files
Examples from http://jenkins.joind.in




                                                              33
Code Coverage




                34
Code Coverage




                35
Static Analysis
Static Analysis

Evaluating code without running it

Allows us to check for quality, commenting, coding standards




                                                               37
Static Analysis Tools

  • PHP Code Sniffer: checks for coding standards

      • http://pear.php.net/PHP_CodeSniffer

  • PHP Mess Detector: detects ’bad smells’

      • http://phpmd.org/

  • PHP Lines of Code: project size, class count

      • https://github.com/sebastianbergmann/phploc




                                                      38
phploc Sample Output (joind.in)

Directories:                                 32
Files:                                      213

Lines of Code (LOC):                       21339
  Cyclomatic Complexity / Lines of Code:    0.10
Comment Lines of Code (CLOC):               4908
Non-Comment Lines of Code (NCLOC):         16431

Namespaces:                                   0
Interfaces:                                   0
Classes:                                     87
  Abstract:                                   1 (1.15%)
  Concrete:                                  86 (98.85%)
  Average Class Length (NCLOC):             116
Methods:                                    532
  Scope:
    Non-Static:                             532 (100.00%)
    Static:                                   0 (0.00%)
  Visibility:
    Public:                                 501 (94.17%)
    Non-Public:                              31 (5.83%)
  Average Method Length (NCLOC):             18             39
API Documentation

Another form of static analysis is to generate documentation

  • Commented documentation in each file, class, function

  • Automatically generate into readable documents

  • Tools:

       • PHPDocumentor http://www.phpdoc.org/
       • DocBlox http://www.docblox-project.org/




                                                               40
API Documentation




                    41
PHPCS Examples

Install:
pear install PHP_CodeSniffer

Run:
phpcs --standard=PEAR example.php

Examples taken from http://bit.ly/kedQrU




                                           42
PHPCS Examples

Source code:
class recipe
{

    protected $_id;

    public $name;

    public $prep_time;

    function getIngredients() {
        $ingredients = Ingredients::fetchAllById($this->_id);
        return $ingredients;
    }
}




                                                                43
PHPCS Examples

Sniffer output:
FILE: /home/lorna/phpcs/recipe.class.php
----------------------------------------------------------------------
FOUND 8 ERROR(S) AND 0 WARNING(S) AFFECTING 5 LINE(S)
----------------------------------------------------------------------
  2 | ERROR | Missing file doc comment
  3 | ERROR | Class name must begin with a capital letter
  3 | ERROR | Missing class doc comment
  6 | ERROR | Protected member variable "_id" must not be prefixed wit
    |       | underscore
 12 | ERROR | Missing function doc comment
 12 | ERROR | Opening brace should be on a new line
 13 | ERROR | Line indented incorrectly; expected at least 8 spaces, f
 13 | ERROR | Spaces must be used to indent lines; tabs are not allowe
----------------------------------------------------------------------




                                                                   44
Automated Deployment
Automated Deployment

 • How many times do you deploy an agile project?




                                                    46
Automated Deployment

 • How many times do you deploy an agile project?

 • Fast

 • Hardened

 • Painless

 • Repeatable




                                                    46
Automated Deployment Tools

 • Phing/Ant: easy automated build scripts

     • http://phing.info/
     • http://ant.apache.org/

 • Capistrano (or Webistrano): scripted releases (with web interface)

     • https://github.com/capistrano/capistrano




                                                                        47
Automating Deployment: Why

 • Minimise mistakes

 • Save time on each deploy

 • Better than documentation

 • Reliable process - use for different platforms

 • Scope for rollback




                                                    48
Automating Deployment: What

 • Application code

     • minimal downtime or time in an inconsistent state
     • easy rollback
     • additional setup steps (upload files, etc) also automated

 • Database

     • apply database patches
     • include rollback patches

 • Config changes

     • useful for large or complex sites
     • config deploys separately, can update quickly and easily



                                                                  49
Code Deployment

 • Get a clean copy of code

 • Place in new directory on server

 • Perform any other preparation tasks

 • Change symlink in web directory to point to new version

 • Tools: shell script or ant/phing




                                                             50
Config Deployment

 • Exactly like code deployment

 • Application needs to be designed with this in mind

     • Default to live config
     • Environment variables set in vhost




                                                        51
Phing Example

<?xml version="1.0" encoding="UTF-8"?>
<project name="example" basedir="." default="deploy">
        <property name="builddir" value="./build" />
        <property name="appdir" value="./build/code" />
        <tstamp><format property="date" pattern="%Y%m%d-%H%M" /></tsta

       <target name="deploy" depends="clean, prepare, export, putlive

       <target name="export">
           <exec command="svn export ${repo} ${appdir}/${date}" />
       </target>

       <target name="putlive">
           <exec command="scp -r ${appdir}/${date} ${destination}
               > ${builddir}/logs/scp.log" />
       </target>




                                                                     52
Phing Example Cont’d

        <target name="clean">
                <delete dir="${builddir}" />
        </target>

        <target name="prepare">
                <mkdir dir="${builddir}" />
                <mkdir dir="${builddir}/logs" />
        </target>
</project>

Phing can also handle upload directories, database versioning, other
deployment recipe steps and post deploy tasks




                                                                       53
Continuous Integration
Continuous Integration

The glue that holds everything together!


   • Source control commit triggers:

       • Static analysis tools
       • Automated tests
       • Document generation

   • CI system centralises:

       • Deployment (to various platforms)
       • Other tasks, cron jobs

   • Centralised dashboard and reporting



                                             55
Continuous Integration Tools

  • Jenkins (née Hudson)

      • http://jenkins-ci.org/

  • PHPUnderControl (PHP-specific CruiseControl project)

      • http://phpundercontrol.org/




                                                          56
Tool Up Your LAMP Stack
The Main Ingredients for LAMP

Preparation time: some years

Ingredients:

   • Source control

   • Development platforms

   • Task tracking

   • Automated testing

   • Static analysis

   • Automated deployment

   • Continuous integration




                                58
Questions?
Thanks




 • Website: http://lornajane.net

 • Twitter: @lornajane




                                   60
Image Credits

 • LAMP http://www.flickr.com/photos/sewpixie/2059308961

 • Sandpit
   http://www.flickr.com/photos/giltastic/3159081924




                                                           61

More Related Content

What's hot

20140406 loa days-tdd-with_puppet_tutorial
20140406 loa days-tdd-with_puppet_tutorial20140406 loa days-tdd-with_puppet_tutorial
20140406 loa days-tdd-with_puppet_tutorial
garrett honeycutt
 
The Hunter Games: How to Find the Adversary with Event Query Language
The Hunter Games: How to Find the Adversary with Event Query LanguageThe Hunter Games: How to Find the Adversary with Event Query Language
The Hunter Games: How to Find the Adversary with Event Query Language
Ross Wolf
 
Fantastic Red Team Attacks and How to Find Them
Fantastic Red Team Attacks and How to Find ThemFantastic Red Team Attacks and How to Find Them
Fantastic Red Team Attacks and How to Find Them
Ross Wolf
 
ONOS System Test - ONS2016
ONOS System Test - ONS2016ONOS System Test - ONS2016
ONOS System Test - ONS2016
Suibin Zhang
 
Invoke-Obfuscation nullcon 2017
Invoke-Obfuscation nullcon 2017Invoke-Obfuscation nullcon 2017
Invoke-Obfuscation nullcon 2017
Daniel Bohannon
 
Java-Jersey 到 Python-Flask 服務不中斷重構之旅
Java-Jersey 到 Python-Flask 服務不中斷重構之旅Java-Jersey 到 Python-Flask 服務不中斷重構之旅
Java-Jersey 到 Python-Flask 服務不中斷重構之旅
Max Lai
 
How to reverse engineer Android applications
How to reverse engineer Android applicationsHow to reverse engineer Android applications
How to reverse engineer Android applications
hubx
 
2016 -11-18 OpenSCAP Workshop Coursebook
2016 -11-18 OpenSCAP Workshop Coursebook2016 -11-18 OpenSCAP Workshop Coursebook
2016 -11-18 OpenSCAP Workshop Coursebook
Shawn Wells
 
Securing Infrastructure with OpenScap The Automation Way !!
Securing Infrastructure with OpenScap The Automation Way !!Securing Infrastructure with OpenScap The Automation Way !!
Securing Infrastructure with OpenScap The Automation Way !!
Jaskaran Narula
 
ProbeDroid - Crafting Your Own Dynamic Instrument Tool on Android for App Beh...
ProbeDroid - Crafting Your Own Dynamic Instrument Tool on Android for App Beh...ProbeDroid - Crafting Your Own Dynamic Instrument Tool on Android for App Beh...
ProbeDroid - Crafting Your Own Dynamic Instrument Tool on Android for App Beh...
ZongXian Shen
 
PSR-7 - Middleware - Zend Expressive
PSR-7 - Middleware - Zend ExpressivePSR-7 - Middleware - Zend Expressive
PSR-7 - Middleware - Zend Expressive
Milad Arabi
 
The why and how of moving to php 8
The why and how of moving to php 8The why and how of moving to php 8
The why and how of moving to php 8
Wim Godden
 
AntiVirus Evasion Reconstructed - Veil 3.0
AntiVirus Evasion Reconstructed - Veil 3.0AntiVirus Evasion Reconstructed - Veil 3.0
AntiVirus Evasion Reconstructed - Veil 3.0
CTruncer
 
No locked doors, no windows barred: hacking OpenAM infrastructure
No locked doors, no windows barred: hacking OpenAM infrastructureNo locked doors, no windows barred: hacking OpenAM infrastructure
No locked doors, no windows barred: hacking OpenAM infrastructure
Andrew Petukhov
 
Workshop: PowerShell for Penetration Testers
Workshop: PowerShell for Penetration TestersWorkshop: PowerShell for Penetration Testers
Workshop: PowerShell for Penetration Testers
Nikhil Mittal
 
Process injection - Malware style
Process injection - Malware styleProcess injection - Malware style
Process injection - Malware style
Sander Demeester
 
Property-based testing an open-source compiler, pflua (FOSDEM 2015)
Property-based testing an open-source compiler, pflua (FOSDEM 2015)Property-based testing an open-source compiler, pflua (FOSDEM 2015)
Property-based testing an open-source compiler, pflua (FOSDEM 2015)
Igalia
 
PVS-Studio and static code analysis technique
PVS-Studio and static code analysis techniquePVS-Studio and static code analysis technique
PVS-Studio and static code analysis technique
Andrey Karpov
 
The why and how of moving to php 7
The why and how of moving to php 7The why and how of moving to php 7
The why and how of moving to php 7
Wim Godden
 
Abusing Adobe Reader’s JavaScript APIs by Abdul-Aziz Hariri & Brian Gorenc - ...
Abusing Adobe Reader’s JavaScript APIs by Abdul-Aziz Hariri & Brian Gorenc - ...Abusing Adobe Reader’s JavaScript APIs by Abdul-Aziz Hariri & Brian Gorenc - ...
Abusing Adobe Reader’s JavaScript APIs by Abdul-Aziz Hariri & Brian Gorenc - ...
CODE BLUE
 

What's hot (20)

20140406 loa days-tdd-with_puppet_tutorial
20140406 loa days-tdd-with_puppet_tutorial20140406 loa days-tdd-with_puppet_tutorial
20140406 loa days-tdd-with_puppet_tutorial
 
The Hunter Games: How to Find the Adversary with Event Query Language
The Hunter Games: How to Find the Adversary with Event Query LanguageThe Hunter Games: How to Find the Adversary with Event Query Language
The Hunter Games: How to Find the Adversary with Event Query Language
 
Fantastic Red Team Attacks and How to Find Them
Fantastic Red Team Attacks and How to Find ThemFantastic Red Team Attacks and How to Find Them
Fantastic Red Team Attacks and How to Find Them
 
ONOS System Test - ONS2016
ONOS System Test - ONS2016ONOS System Test - ONS2016
ONOS System Test - ONS2016
 
Invoke-Obfuscation nullcon 2017
Invoke-Obfuscation nullcon 2017Invoke-Obfuscation nullcon 2017
Invoke-Obfuscation nullcon 2017
 
Java-Jersey 到 Python-Flask 服務不中斷重構之旅
Java-Jersey 到 Python-Flask 服務不中斷重構之旅Java-Jersey 到 Python-Flask 服務不中斷重構之旅
Java-Jersey 到 Python-Flask 服務不中斷重構之旅
 
How to reverse engineer Android applications
How to reverse engineer Android applicationsHow to reverse engineer Android applications
How to reverse engineer Android applications
 
2016 -11-18 OpenSCAP Workshop Coursebook
2016 -11-18 OpenSCAP Workshop Coursebook2016 -11-18 OpenSCAP Workshop Coursebook
2016 -11-18 OpenSCAP Workshop Coursebook
 
Securing Infrastructure with OpenScap The Automation Way !!
Securing Infrastructure with OpenScap The Automation Way !!Securing Infrastructure with OpenScap The Automation Way !!
Securing Infrastructure with OpenScap The Automation Way !!
 
ProbeDroid - Crafting Your Own Dynamic Instrument Tool on Android for App Beh...
ProbeDroid - Crafting Your Own Dynamic Instrument Tool on Android for App Beh...ProbeDroid - Crafting Your Own Dynamic Instrument Tool on Android for App Beh...
ProbeDroid - Crafting Your Own Dynamic Instrument Tool on Android for App Beh...
 
PSR-7 - Middleware - Zend Expressive
PSR-7 - Middleware - Zend ExpressivePSR-7 - Middleware - Zend Expressive
PSR-7 - Middleware - Zend Expressive
 
The why and how of moving to php 8
The why and how of moving to php 8The why and how of moving to php 8
The why and how of moving to php 8
 
AntiVirus Evasion Reconstructed - Veil 3.0
AntiVirus Evasion Reconstructed - Veil 3.0AntiVirus Evasion Reconstructed - Veil 3.0
AntiVirus Evasion Reconstructed - Veil 3.0
 
No locked doors, no windows barred: hacking OpenAM infrastructure
No locked doors, no windows barred: hacking OpenAM infrastructureNo locked doors, no windows barred: hacking OpenAM infrastructure
No locked doors, no windows barred: hacking OpenAM infrastructure
 
Workshop: PowerShell for Penetration Testers
Workshop: PowerShell for Penetration TestersWorkshop: PowerShell for Penetration Testers
Workshop: PowerShell for Penetration Testers
 
Process injection - Malware style
Process injection - Malware styleProcess injection - Malware style
Process injection - Malware style
 
Property-based testing an open-source compiler, pflua (FOSDEM 2015)
Property-based testing an open-source compiler, pflua (FOSDEM 2015)Property-based testing an open-source compiler, pflua (FOSDEM 2015)
Property-based testing an open-source compiler, pflua (FOSDEM 2015)
 
PVS-Studio and static code analysis technique
PVS-Studio and static code analysis techniquePVS-Studio and static code analysis technique
PVS-Studio and static code analysis technique
 
The why and how of moving to php 7
The why and how of moving to php 7The why and how of moving to php 7
The why and how of moving to php 7
 
Abusing Adobe Reader’s JavaScript APIs by Abdul-Aziz Hariri & Brian Gorenc - ...
Abusing Adobe Reader’s JavaScript APIs by Abdul-Aziz Hariri & Brian Gorenc - ...Abusing Adobe Reader’s JavaScript APIs by Abdul-Aziz Hariri & Brian Gorenc - ...
Abusing Adobe Reader’s JavaScript APIs by Abdul-Aziz Hariri & Brian Gorenc - ...
 

Viewers also liked

Presentación Ciencia y Tecnología
Presentación Ciencia y TecnologíaPresentación Ciencia y Tecnología
Presentación Ciencia y Tecnología
MDaniela0304
 
Romania
RomaniaRomania
Romania
yisharah
 
sistema educativo venezolano
sistema educativo venezolano sistema educativo venezolano
sistema educativo venezolano
Luis Ramirez
 
Frank SanPietro Walking
Frank SanPietro WalkingFrank SanPietro Walking
Frank SanPietro Walking
Frank San Pietro
 
social interaction community garden
social interaction community garden social interaction community garden
social interaction community garden
tuttyfuttyminutty
 
Infografía
Infografía Infografía
Infografía
MDaniela0304
 
Aprendizaje Autónomo
Aprendizaje AutónomoAprendizaje Autónomo
Aprendizaje Autónomo
Edgardo Argueta
 
Neurociencias I
Neurociencias INeurociencias I
Neurociencias I
MDaniela0304
 
Cts gabriela
Cts gabrielaCts gabriela
Cts gabriela
MDaniela0304
 
Maria gabriela
Maria gabrielaMaria gabriela
Maria gabriela
MDaniela0304
 
Psicofisiología como ciencia
Psicofisiología como cienciaPsicofisiología como ciencia
Psicofisiología como ciencia
MDaniela0304
 
floor plan
floor planfloor plan
floor plan
kieran99
 
Mag gilberto mori
Mag gilberto moriMag gilberto mori
1. guia esc tiemp_comp+-1
1. guia esc tiemp_comp+-11. guia esc tiemp_comp+-1
ооо экзамен медиа для конференции хабаровск -2013. ppt
ооо экзамен медиа для конференции хабаровск -2013. pptооо экзамен медиа для конференции хабаровск -2013. ppt
ооо экзамен медиа для конференции хабаровск -2013. pptЕвгения Попова
 
Research instruments case study
Research instruments case studyResearch instruments case study
Research instruments case study
AgileOnTheBeach
 
fermentation process &its contribution in pharmacy.
fermentation process &its contribution in pharmacy.fermentation process &its contribution in pharmacy.
fermentation process &its contribution in pharmacy.
Himangshu Sharma
 
Дарунок П. Дорожинського у фонд бібліотеки
Дарунок П. Дорожинського у фонд бібліотекиДарунок П. Дорожинського у фонд бібліотеки
Дарунок П. Дорожинського у фонд бібліотеки
Бібліотека К-ПНУ ім. і. Огієнка
 

Viewers also liked (20)

Presentación Ciencia y Tecnología
Presentación Ciencia y TecnologíaPresentación Ciencia y Tecnología
Presentación Ciencia y Tecnología
 
Romania
RomaniaRomania
Romania
 
sistema educativo venezolano
sistema educativo venezolano sistema educativo venezolano
sistema educativo venezolano
 
Frank SanPietro Walking
Frank SanPietro WalkingFrank SanPietro Walking
Frank SanPietro Walking
 
social interaction community garden
social interaction community garden social interaction community garden
social interaction community garden
 
Infografía
Infografía Infografía
Infografía
 
Aprendizaje Autónomo
Aprendizaje AutónomoAprendizaje Autónomo
Aprendizaje Autónomo
 
Neurociencias I
Neurociencias INeurociencias I
Neurociencias I
 
Cts gabriela
Cts gabrielaCts gabriela
Cts gabriela
 
Maria gabriela
Maria gabrielaMaria gabriela
Maria gabriela
 
Psicofisiología como ciencia
Psicofisiología como cienciaPsicofisiología como ciencia
Psicofisiología como ciencia
 
floor plan
floor planfloor plan
floor plan
 
Mag gilberto mori
Mag gilberto moriMag gilberto mori
Mag gilberto mori
 
1. guia esc tiemp_comp+-1
1. guia esc tiemp_comp+-11. guia esc tiemp_comp+-1
1. guia esc tiemp_comp+-1
 
флейдер доклад 2013
флейдер доклад 2013флейдер доклад 2013
флейдер доклад 2013
 
презентация Mekruphy
презентация  Mekruphyпрезентация  Mekruphy
презентация Mekruphy
 
ооо экзамен медиа для конференции хабаровск -2013. ppt
ооо экзамен медиа для конференции хабаровск -2013. pptооо экзамен медиа для конференции хабаровск -2013. ppt
ооо экзамен медиа для конференции хабаровск -2013. ppt
 
Research instruments case study
Research instruments case studyResearch instruments case study
Research instruments case study
 
fermentation process &its contribution in pharmacy.
fermentation process &its contribution in pharmacy.fermentation process &its contribution in pharmacy.
fermentation process &its contribution in pharmacy.
 
Дарунок П. Дорожинського у фонд бібліотеки
Дарунок П. Дорожинського у фонд бібліотекиДарунок П. Дорожинського у фонд бібліотеки
Дарунок П. Дорожинського у фонд бібліотеки
 

Similar to Tool up your lamp stack

An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...
An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...
An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...
Jean Vanderdonckt
 
20 PHP Static Analysis and Documentation Generators #burningkeyboards
20 PHP Static Analysis and Documentation Generators #burningkeyboards20 PHP Static Analysis and Documentation Generators #burningkeyboards
20 PHP Static Analysis and Documentation Generators #burningkeyboards
Denis Ristic
 
Introduction to Chef - Techsuperwomen Summit
Introduction to Chef - Techsuperwomen SummitIntroduction to Chef - Techsuperwomen Summit
Introduction to Chef - Techsuperwomen Summit
Jennifer Davis
 
Bug Bounty Hunter Methodology - Nullcon 2016
Bug Bounty Hunter Methodology - Nullcon 2016Bug Bounty Hunter Methodology - Nullcon 2016
Bug Bounty Hunter Methodology - Nullcon 2016
bugcrowd
 
[2011 CodeEngn Conference 05] Deok9 - DBI(Dynamic Binary Instrumentation)를 이용...
[2011 CodeEngn Conference 05] Deok9 - DBI(Dynamic Binary Instrumentation)를 이용...[2011 CodeEngn Conference 05] Deok9 - DBI(Dynamic Binary Instrumentation)를 이용...
[2011 CodeEngn Conference 05] Deok9 - DBI(Dynamic Binary Instrumentation)를 이용...
GangSeok Lee
 
Developing PHP Applications Faster
Developing PHP Applications FasterDeveloping PHP Applications Faster
Developing PHP Applications Faster
Adam Culp
 
Continuous Integration In A PHP World
Continuous Integration In A PHP WorldContinuous Integration In A PHP World
Continuous Integration In A PHP World
Idaf_1er
 
Sensu and Sensibility - Puppetconf 2014
Sensu and Sensibility - Puppetconf 2014Sensu and Sensibility - Puppetconf 2014
Sensu and Sensibility - Puppetconf 2014
Tomas Doran
 
Continuous Delivery - Automate & Build Better Software with Travis CI
Continuous Delivery - Automate & Build Better Software with Travis CIContinuous Delivery - Automate & Build Better Software with Travis CI
Continuous Delivery - Automate & Build Better Software with Travis CI
wajrcs
 
To ∞ (~65K) and beyond! - Sebastiano Gottardo - Codemotion Milan 2016
To ∞ (~65K) and beyond! - Sebastiano Gottardo - Codemotion Milan 2016To ∞ (~65K) and beyond! - Sebastiano Gottardo - Codemotion Milan 2016
To ∞ (~65K) and beyond! - Sebastiano Gottardo - Codemotion Milan 2016
Codemotion
 
PyCon AU 2012 - Debugging Live Python Web Applications
PyCon AU 2012 - Debugging Live Python Web ApplicationsPyCon AU 2012 - Debugging Live Python Web Applications
PyCon AU 2012 - Debugging Live Python Web Applications
Graham Dumpleton
 
Goodpractice
GoodpracticeGoodpractice
Goodpractice
Lorna Mitchell
 
Northeast PHP - High Performance PHP
Northeast PHP - High Performance PHPNortheast PHP - High Performance PHP
Northeast PHP - High Performance PHP
Jonathan Klein
 
Behat bdd training (php) course slides pdf
Behat bdd training (php) course slides pdfBehat bdd training (php) course slides pdf
Behat bdd training (php) course slides pdf
seleniumbootcamp
 
Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...
Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...
Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...
Denim Group
 
Continuous feature-development
Continuous feature-developmentContinuous feature-development
Continuous feature-development
nhm taveer hossain khan
 
Security research over Windows #defcon china
Security research over Windows #defcon chinaSecurity research over Windows #defcon china
Security research over Windows #defcon china
Peter Hlavaty
 
Demystifying Binary Reverse Engineering - Pixels Camp
Demystifying Binary Reverse Engineering - Pixels CampDemystifying Binary Reverse Engineering - Pixels Camp
Demystifying Binary Reverse Engineering - Pixels Camp
André Baptista
 
Getting started with RISC-V verification what's next after compliance testing
Getting started with RISC-V verification what's next after compliance testingGetting started with RISC-V verification what's next after compliance testing
Getting started with RISC-V verification what's next after compliance testing
RISC-V International
 
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...
Pantheon
 

Similar to Tool up your lamp stack (20)

An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...
An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...
An Open Source Workbench for Prototyping Multimodal Interactions Based on Off...
 
20 PHP Static Analysis and Documentation Generators #burningkeyboards
20 PHP Static Analysis and Documentation Generators #burningkeyboards20 PHP Static Analysis and Documentation Generators #burningkeyboards
20 PHP Static Analysis and Documentation Generators #burningkeyboards
 
Introduction to Chef - Techsuperwomen Summit
Introduction to Chef - Techsuperwomen SummitIntroduction to Chef - Techsuperwomen Summit
Introduction to Chef - Techsuperwomen Summit
 
Bug Bounty Hunter Methodology - Nullcon 2016
Bug Bounty Hunter Methodology - Nullcon 2016Bug Bounty Hunter Methodology - Nullcon 2016
Bug Bounty Hunter Methodology - Nullcon 2016
 
[2011 CodeEngn Conference 05] Deok9 - DBI(Dynamic Binary Instrumentation)를 이용...
[2011 CodeEngn Conference 05] Deok9 - DBI(Dynamic Binary Instrumentation)를 이용...[2011 CodeEngn Conference 05] Deok9 - DBI(Dynamic Binary Instrumentation)를 이용...
[2011 CodeEngn Conference 05] Deok9 - DBI(Dynamic Binary Instrumentation)를 이용...
 
Developing PHP Applications Faster
Developing PHP Applications FasterDeveloping PHP Applications Faster
Developing PHP Applications Faster
 
Continuous Integration In A PHP World
Continuous Integration In A PHP WorldContinuous Integration In A PHP World
Continuous Integration In A PHP World
 
Sensu and Sensibility - Puppetconf 2014
Sensu and Sensibility - Puppetconf 2014Sensu and Sensibility - Puppetconf 2014
Sensu and Sensibility - Puppetconf 2014
 
Continuous Delivery - Automate & Build Better Software with Travis CI
Continuous Delivery - Automate & Build Better Software with Travis CIContinuous Delivery - Automate & Build Better Software with Travis CI
Continuous Delivery - Automate & Build Better Software with Travis CI
 
To ∞ (~65K) and beyond! - Sebastiano Gottardo - Codemotion Milan 2016
To ∞ (~65K) and beyond! - Sebastiano Gottardo - Codemotion Milan 2016To ∞ (~65K) and beyond! - Sebastiano Gottardo - Codemotion Milan 2016
To ∞ (~65K) and beyond! - Sebastiano Gottardo - Codemotion Milan 2016
 
PyCon AU 2012 - Debugging Live Python Web Applications
PyCon AU 2012 - Debugging Live Python Web ApplicationsPyCon AU 2012 - Debugging Live Python Web Applications
PyCon AU 2012 - Debugging Live Python Web Applications
 
Goodpractice
GoodpracticeGoodpractice
Goodpractice
 
Northeast PHP - High Performance PHP
Northeast PHP - High Performance PHPNortheast PHP - High Performance PHP
Northeast PHP - High Performance PHP
 
Behat bdd training (php) course slides pdf
Behat bdd training (php) course slides pdfBehat bdd training (php) course slides pdf
Behat bdd training (php) course slides pdf
 
Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...
Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...
Threat Modeling the CI/CD Pipeline to Improve Software Supply Chain Security ...
 
Continuous feature-development
Continuous feature-developmentContinuous feature-development
Continuous feature-development
 
Security research over Windows #defcon china
Security research over Windows #defcon chinaSecurity research over Windows #defcon china
Security research over Windows #defcon china
 
Demystifying Binary Reverse Engineering - Pixels Camp
Demystifying Binary Reverse Engineering - Pixels CampDemystifying Binary Reverse Engineering - Pixels Camp
Demystifying Binary Reverse Engineering - Pixels Camp
 
Getting started with RISC-V verification what's next after compliance testing
Getting started with RISC-V verification what's next after compliance testingGetting started with RISC-V verification what's next after compliance testing
Getting started with RISC-V verification what's next after compliance testing
 
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...
Creating a Smooth Development Workflow for High-Quality Modular Open-Source P...
 

More from AgileOnTheBeach

Research instruments case study
Research instruments case studyResearch instruments case study
Research instruments case study
AgileOnTheBeach
 
Sullivan cuff case study
Sullivan cuff case studySullivan cuff case study
Sullivan cuff case study
AgileOnTheBeach
 
Value stream mapping
Value stream mapping  Value stream mapping
Value stream mapping
AgileOnTheBeach
 
The problem solvers problem
The problem solvers problemThe problem solvers problem
The problem solvers problem
AgileOnTheBeach
 
System Error
System ErrorSystem Error
System Error
AgileOnTheBeach
 
Surfing the Agile Wave
Surfing the Agile WaveSurfing the Agile Wave
Surfing the Agile Wave
AgileOnTheBeach
 
Smart Metrics
Smart Metrics  Smart Metrics
Smart Metrics
AgileOnTheBeach
 
Slow and dirty with callouts
Slow and dirty with calloutsSlow and dirty with callouts
Slow and dirty with callouts
AgileOnTheBeach
 
Objective agility
Objective agilityObjective agility
Objective agility
AgileOnTheBeach
 
Lean and lego
Lean and lego Lean and lego
Lean and lego
AgileOnTheBeach
 
Ignition team - creating agile companies
Ignition team - creating agile companiesIgnition team - creating agile companies
Ignition team - creating agile companies
AgileOnTheBeach
 
First build the right thing
First build the right thingFirst build the right thing
First build the right thing
AgileOnTheBeach
 
Embedded storycrafting
Embedded storycraftingEmbedded storycrafting
Embedded storycrafting
AgileOnTheBeach
 
Beware sharp tools
Beware sharp toolsBeware sharp tools
Beware sharp tools
AgileOnTheBeach
 
Lean startup
Lean startupLean startup
Lean startup
AgileOnTheBeach
 
Behaviour Driven Development - Beyond given when then
Behaviour Driven Development - Beyond given when thenBehaviour Driven Development - Beyond given when then
Behaviour Driven Development - Beyond given when then
AgileOnTheBeach
 
Sustaining Test-Driven Development
Sustaining Test-Driven DevelopmentSustaining Test-Driven Development
Sustaining Test-Driven Development
AgileOnTheBeach
 
Agile in Practice
Agile in PracticeAgile in Practice
Agile in Practice
AgileOnTheBeach
 
Oxford Innovation - case study
Oxford Innovation - case studyOxford Innovation - case study
Oxford Innovation - case study
AgileOnTheBeach
 
Feedback Loops in Agile Development
Feedback Loops in Agile DevelopmentFeedback Loops in Agile Development
Feedback Loops in Agile Development
AgileOnTheBeach
 

More from AgileOnTheBeach (20)

Research instruments case study
Research instruments case studyResearch instruments case study
Research instruments case study
 
Sullivan cuff case study
Sullivan cuff case studySullivan cuff case study
Sullivan cuff case study
 
Value stream mapping
Value stream mapping  Value stream mapping
Value stream mapping
 
The problem solvers problem
The problem solvers problemThe problem solvers problem
The problem solvers problem
 
System Error
System ErrorSystem Error
System Error
 
Surfing the Agile Wave
Surfing the Agile WaveSurfing the Agile Wave
Surfing the Agile Wave
 
Smart Metrics
Smart Metrics  Smart Metrics
Smart Metrics
 
Slow and dirty with callouts
Slow and dirty with calloutsSlow and dirty with callouts
Slow and dirty with callouts
 
Objective agility
Objective agilityObjective agility
Objective agility
 
Lean and lego
Lean and lego Lean and lego
Lean and lego
 
Ignition team - creating agile companies
Ignition team - creating agile companiesIgnition team - creating agile companies
Ignition team - creating agile companies
 
First build the right thing
First build the right thingFirst build the right thing
First build the right thing
 
Embedded storycrafting
Embedded storycraftingEmbedded storycrafting
Embedded storycrafting
 
Beware sharp tools
Beware sharp toolsBeware sharp tools
Beware sharp tools
 
Lean startup
Lean startupLean startup
Lean startup
 
Behaviour Driven Development - Beyond given when then
Behaviour Driven Development - Beyond given when thenBehaviour Driven Development - Beyond given when then
Behaviour Driven Development - Beyond given when then
 
Sustaining Test-Driven Development
Sustaining Test-Driven DevelopmentSustaining Test-Driven Development
Sustaining Test-Driven Development
 
Agile in Practice
Agile in PracticeAgile in Practice
Agile in Practice
 
Oxford Innovation - case study
Oxford Innovation - case studyOxford Innovation - case study
Oxford Innovation - case study
 
Feedback Loops in Agile Development
Feedback Loops in Agile DevelopmentFeedback Loops in Agile Development
Feedback Loops in Agile Development
 

Recently uploaded

@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
amitchopra0215
 
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design ApproachesKnowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
Earley Information Science
 
6 Different Types of Printed Circuit Boards.pdf
6 Different Types of Printed Circuit Boards.pdf6 Different Types of Printed Circuit Boards.pdf
6 Different Types of Printed Circuit Boards.pdf
shammikudrat
 
ASIMOV: Enterprise RAG at Dialog Axiata PLC
ASIMOV: Enterprise RAG at Dialog Axiata PLCASIMOV: Enterprise RAG at Dialog Axiata PLC
ASIMOV: Enterprise RAG at Dialog Axiata PLC
Zilliz
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
Eric D. Schabell
 
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
BookNet Canada
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
UiPathCommunity
 
Summer24-ReleaseOverviewDeck - Stephen Stanley 27 June 2024.pdf
Summer24-ReleaseOverviewDeck - Stephen Stanley 27 June 2024.pdfSummer24-ReleaseOverviewDeck - Stephen Stanley 27 June 2024.pdf
Summer24-ReleaseOverviewDeck - Stephen Stanley 27 June 2024.pdf
Anna Loughnan Colquhoun
 
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Erasmo Purificato
 
AI_dev Europe 2024 - From OpenAI to Opensource AI
AI_dev Europe 2024 - From OpenAI to Opensource AIAI_dev Europe 2024 - From OpenAI to Opensource AI
AI_dev Europe 2024 - From OpenAI to Opensource AI
Raphaël Semeteys
 
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
uuuot
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
shanthidl1
 
What's Next Web Development Trends to Watch.pdf
What's Next Web Development Trends to Watch.pdfWhat's Next Web Development Trends to Watch.pdf
What's Next Web Development Trends to Watch.pdf
SeasiaInfotech2
 
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
Mark Billinghurst
 
MYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
MYIR Product Brochure - A Global Provider of Embedded SOMs & SolutionsMYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
MYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
Linda Zhang
 
“Intel’s Approach to Operationalizing AI in the Manufacturing Sector,” a Pres...
“Intel’s Approach to Operationalizing AI in the Manufacturing Sector,” a Pres...“Intel’s Approach to Operationalizing AI in the Manufacturing Sector,” a Pres...
“Intel’s Approach to Operationalizing AI in the Manufacturing Sector,” a Pres...
Edge AI and Vision Alliance
 
beyond-the-hype-capturing-the-potential-of-ai-and-gen-ai-in-tmt.pdf
beyond-the-hype-capturing-the-potential-of-ai-and-gen-ai-in-tmt.pdfbeyond-the-hype-capturing-the-potential-of-ai-and-gen-ai-in-tmt.pdf
beyond-the-hype-capturing-the-potential-of-ai-and-gen-ai-in-tmt.pdf
EVertil1
 
GDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
GDG Cloud Southlake #34: Neatsun Ziv: Automating AppsecGDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
GDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
James Anderson
 
Coordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar SlidesCoordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar Slides
Safe Software
 
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Chris Swan
 

Recently uploaded (20)

@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
@Call @Girls Pune 0000000000 Riya Khan Beautiful Girl any Time
 
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design ApproachesKnowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
Knowledge and Prompt Engineering Part 2 Focus on Prompt Design Approaches
 
6 Different Types of Printed Circuit Boards.pdf
6 Different Types of Printed Circuit Boards.pdf6 Different Types of Printed Circuit Boards.pdf
6 Different Types of Printed Circuit Boards.pdf
 
ASIMOV: Enterprise RAG at Dialog Axiata PLC
ASIMOV: Enterprise RAG at Dialog Axiata PLCASIMOV: Enterprise RAG at Dialog Axiata PLC
ASIMOV: Enterprise RAG at Dialog Axiata PLC
 
Observability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetryObservability For You and Me with OpenTelemetry
Observability For You and Me with OpenTelemetry
 
Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...Transcript: Details of description part II: Describing images in practice - T...
Transcript: Details of description part II: Describing images in practice - T...
 
UiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs ConferenceUiPath Community Day Kraków: Devs4Devs Conference
UiPath Community Day Kraków: Devs4Devs Conference
 
Summer24-ReleaseOverviewDeck - Stephen Stanley 27 June 2024.pdf
Summer24-ReleaseOverviewDeck - Stephen Stanley 27 June 2024.pdfSummer24-ReleaseOverviewDeck - Stephen Stanley 27 June 2024.pdf
Summer24-ReleaseOverviewDeck - Stephen Stanley 27 June 2024.pdf
 
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
Paradigm Shifts in User Modeling: A Journey from Historical Foundations to Em...
 
AI_dev Europe 2024 - From OpenAI to Opensource AI
AI_dev Europe 2024 - From OpenAI to Opensource AIAI_dev Europe 2024 - From OpenAI to Opensource AI
AI_dev Europe 2024 - From OpenAI to Opensource AI
 
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
一比一原版(msvu毕业证书)圣文森山大学毕业证如何办理
 
Cookies program to display the information though cookie creation
Cookies program to display the information though cookie creationCookies program to display the information though cookie creation
Cookies program to display the information though cookie creation
 
What's Next Web Development Trends to Watch.pdf
What's Next Web Development Trends to Watch.pdfWhat's Next Web Development Trends to Watch.pdf
What's Next Web Development Trends to Watch.pdf
 
Research Directions for Cross Reality Interfaces
Research Directions for Cross Reality InterfacesResearch Directions for Cross Reality Interfaces
Research Directions for Cross Reality Interfaces
 
MYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
MYIR Product Brochure - A Global Provider of Embedded SOMs & SolutionsMYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
MYIR Product Brochure - A Global Provider of Embedded SOMs & Solutions
 
“Intel’s Approach to Operationalizing AI in the Manufacturing Sector,” a Pres...
“Intel’s Approach to Operationalizing AI in the Manufacturing Sector,” a Pres...“Intel’s Approach to Operationalizing AI in the Manufacturing Sector,” a Pres...
“Intel’s Approach to Operationalizing AI in the Manufacturing Sector,” a Pres...
 
beyond-the-hype-capturing-the-potential-of-ai-and-gen-ai-in-tmt.pdf
beyond-the-hype-capturing-the-potential-of-ai-and-gen-ai-in-tmt.pdfbeyond-the-hype-capturing-the-potential-of-ai-and-gen-ai-in-tmt.pdf
beyond-the-hype-capturing-the-potential-of-ai-and-gen-ai-in-tmt.pdf
 
GDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
GDG Cloud Southlake #34: Neatsun Ziv: Automating AppsecGDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
GDG Cloud Southlake #34: Neatsun Ziv: Automating Appsec
 
Coordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar SlidesCoordinate Systems in FME 101 - Webinar Slides
Coordinate Systems in FME 101 - Webinar Slides
 
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
Fluttercon 2024: Showing that you care about security - OpenSSF Scorecards fo...
 

Tool up your lamp stack

  • 1. Tool Up Your LAMP Stack
  • 2. About Me • Lorna Mitchell • Web Development Consultant • Speaker and Author • Website: http://lornajane.net • Twitter: @lornajane 2
  • 3. LAMP 3
  • 4. LAMP • Linux • Apache • MySQL • PHP (or Perl, or Python) 4
  • 6. Technology is not the problem 6
  • 7. Technology is not the solution 7
  • 8. Technology • We need good tools 8
  • 9. Technology • We need good tools • They enable our workflow 8
  • 10. Technology • We need good tools • They enable our workflow • They facilitate our achievements 8
  • 11. Technology • We need good tools • They enable our workflow • They facilitate our achievements • They allow us to meet our deadlines 8
  • 12. Technology • We need good tools • They enable our workflow • They facilitate our achievements • They allow us to meet our deadlines • They are not the silver bullet (sorry) 8
  • 13. Iterative Development develop deploy 9
  • 14. The Main Ingredients Preparation time: some years Ingredients: • Source control • Development platforms • Task tracking • Automated testing • Static analysis • Automated deployment • Continuous integration 10
  • 16. Source Control: Key Ingredient • Central, canonical version • Collaboration point • Historical information • what changed • when • by whom • Can include its own config 12
  • 17. Source Control Tools • Subversion http://subversion.apache.org/ • Git http://git-scm.com/ • Mercurial http://mercurial.selenic.com/ 13
  • 18. Branching Strategies Common patterns: • Feature branches • Version branches • Live/integration branches 14
  • 19. Traditional Centralised Source Control repo checkout checkout checkout 15
  • 20. Distributed Source Control repo repo repo repo repo 16
  • 21. Database Version Control No silver bullet to keep code and database schema in sync Strategies: • All db changes done via script • Scripts are numbered • Database knows what numbers it already has Tools: • homespun scripts • DbDeploy http://dbdeploy.com/ • Liquibase http://www.liquibase.org/ 17
  • 23. Development Platforms Requirements: • Safe area "sandpit" for developers to work • All software as-live • Isolated 19
  • 25. Task Tracking Once called ’bug tracking’. We can track what status everything is in. 21
  • 26. Task Tracking Once called ’bug tracking’. We can track what status everything is in. Developers understand bug trackers, bug trackers understand your workflow. 21
  • 27. Workflow Backlog Sprint Active Blocked Verify Complete 22
  • 28. Task Tracking Tools • Pivotal Tracker http://www.pivotaltracker.com/ • GreenHopper http://www.atlassian.com/software/greenhopper/ • Trac http://trac.edgewall.org/ 23
  • 30. How do you test a website ? 25
  • 31. How do you test a website repeatedly ? 26
  • 32. Automated Testing Gives repeatable results TDD Test-Driven Development BDD Behaviour-Driven Development 27
  • 33. Automated Testing Tools • Selenium: browser-based record and play of tests • Selenium IDE http://seleniumhq.org/projects/ide/ • Selenium RC http://seleniumhq.org/projects/remote-control/ • PHPUnit: unit testing and automation • http://phpunit.de • Also generates code coverage graphs 28
  • 34. My First Unit Test require_once '../src/models/MathUtilModel.php'; class MathUtilModelTest extends PHPUnit_Framework_TestCase { public function testAddNumbersWithNumbers() { $util = new MathUtilModel(); $result = $util->addNumbers(3,5); $this->assertEquals(8, $result); } } 29
  • 35. Running One Test To run our tests, from the tests directory do: phpunit models/MathUtilModel Output: PHPUnit 3.5.13 by Sebastian Bergmann. . Time: 0 seconds, Memory: 3.00Mb OK (1 test, 1 assertion) 30
  • 36. Testable Code • Testable code is clean and modular • Need to be able to separate elements to test • Each function does one thing • Not too many paths through the code • Dependencies are dangerous 31
  • 37. Dependency Injection Passing things in or looking them up. function getData() { $db = new MyDatabaseObject(); // sql and query } function getData($db) { // sql and query } 32
  • 38. Code Coverage What percentage of your code is tested? • Summary view • Drill in to see which lines are run by tests • Beware: 100% code coverage does not mean fully tested Use phpunit -coverage-html and specify where PHPUnit should write the report files Examples from http://jenkins.joind.in 33
  • 42. Static Analysis Evaluating code without running it Allows us to check for quality, commenting, coding standards 37
  • 43. Static Analysis Tools • PHP Code Sniffer: checks for coding standards • http://pear.php.net/PHP_CodeSniffer • PHP Mess Detector: detects ’bad smells’ • http://phpmd.org/ • PHP Lines of Code: project size, class count • https://github.com/sebastianbergmann/phploc 38
  • 44. phploc Sample Output (joind.in) Directories: 32 Files: 213 Lines of Code (LOC): 21339 Cyclomatic Complexity / Lines of Code: 0.10 Comment Lines of Code (CLOC): 4908 Non-Comment Lines of Code (NCLOC): 16431 Namespaces: 0 Interfaces: 0 Classes: 87 Abstract: 1 (1.15%) Concrete: 86 (98.85%) Average Class Length (NCLOC): 116 Methods: 532 Scope: Non-Static: 532 (100.00%) Static: 0 (0.00%) Visibility: Public: 501 (94.17%) Non-Public: 31 (5.83%) Average Method Length (NCLOC): 18 39
  • 45. API Documentation Another form of static analysis is to generate documentation • Commented documentation in each file, class, function • Automatically generate into readable documents • Tools: • PHPDocumentor http://www.phpdoc.org/ • DocBlox http://www.docblox-project.org/ 40
  • 47. PHPCS Examples Install: pear install PHP_CodeSniffer Run: phpcs --standard=PEAR example.php Examples taken from http://bit.ly/kedQrU 42
  • 48. PHPCS Examples Source code: class recipe { protected $_id; public $name; public $prep_time; function getIngredients() { $ingredients = Ingredients::fetchAllById($this->_id); return $ingredients; } } 43
  • 49. PHPCS Examples Sniffer output: FILE: /home/lorna/phpcs/recipe.class.php ---------------------------------------------------------------------- FOUND 8 ERROR(S) AND 0 WARNING(S) AFFECTING 5 LINE(S) ---------------------------------------------------------------------- 2 | ERROR | Missing file doc comment 3 | ERROR | Class name must begin with a capital letter 3 | ERROR | Missing class doc comment 6 | ERROR | Protected member variable "_id" must not be prefixed wit | | underscore 12 | ERROR | Missing function doc comment 12 | ERROR | Opening brace should be on a new line 13 | ERROR | Line indented incorrectly; expected at least 8 spaces, f 13 | ERROR | Spaces must be used to indent lines; tabs are not allowe ---------------------------------------------------------------------- 44
  • 51. Automated Deployment • How many times do you deploy an agile project? 46
  • 52. Automated Deployment • How many times do you deploy an agile project? • Fast • Hardened • Painless • Repeatable 46
  • 53. Automated Deployment Tools • Phing/Ant: easy automated build scripts • http://phing.info/ • http://ant.apache.org/ • Capistrano (or Webistrano): scripted releases (with web interface) • https://github.com/capistrano/capistrano 47
  • 54. Automating Deployment: Why • Minimise mistakes • Save time on each deploy • Better than documentation • Reliable process - use for different platforms • Scope for rollback 48
  • 55. Automating Deployment: What • Application code • minimal downtime or time in an inconsistent state • easy rollback • additional setup steps (upload files, etc) also automated • Database • apply database patches • include rollback patches • Config changes • useful for large or complex sites • config deploys separately, can update quickly and easily 49
  • 56. Code Deployment • Get a clean copy of code • Place in new directory on server • Perform any other preparation tasks • Change symlink in web directory to point to new version • Tools: shell script or ant/phing 50
  • 57. Config Deployment • Exactly like code deployment • Application needs to be designed with this in mind • Default to live config • Environment variables set in vhost 51
  • 58. Phing Example <?xml version="1.0" encoding="UTF-8"?> <project name="example" basedir="." default="deploy"> <property name="builddir" value="./build" /> <property name="appdir" value="./build/code" /> <tstamp><format property="date" pattern="%Y%m%d-%H%M" /></tsta <target name="deploy" depends="clean, prepare, export, putlive <target name="export"> <exec command="svn export ${repo} ${appdir}/${date}" /> </target> <target name="putlive"> <exec command="scp -r ${appdir}/${date} ${destination} > ${builddir}/logs/scp.log" /> </target> 52
  • 59. Phing Example Cont’d <target name="clean"> <delete dir="${builddir}" /> </target> <target name="prepare"> <mkdir dir="${builddir}" /> <mkdir dir="${builddir}/logs" /> </target> </project> Phing can also handle upload directories, database versioning, other deployment recipe steps and post deploy tasks 53
  • 61. Continuous Integration The glue that holds everything together! • Source control commit triggers: • Static analysis tools • Automated tests • Document generation • CI system centralises: • Deployment (to various platforms) • Other tasks, cron jobs • Centralised dashboard and reporting 55
  • 62. Continuous Integration Tools • Jenkins (née Hudson) • http://jenkins-ci.org/ • PHPUnderControl (PHP-specific CruiseControl project) • http://phpundercontrol.org/ 56
  • 63. Tool Up Your LAMP Stack
  • 64. The Main Ingredients for LAMP Preparation time: some years Ingredients: • Source control • Development platforms • Task tracking • Automated testing • Static analysis • Automated deployment • Continuous integration 58
  • 66. Thanks • Website: http://lornajane.net • Twitter: @lornajane 60
  • 67. Image Credits • LAMP http://www.flickr.com/photos/sewpixie/2059308961 • Sandpit http://www.flickr.com/photos/giltastic/3159081924 61