Slide 1

Slide 1 text

Open%source%development%trends Thijs%Feryn Evangelist +32%(0)9%218%79%06 [email protected] donderdag 25 april 13

Slide 2

Slide 2 text

Hi# my#name# is#Thijs donderdag 25 april 13

Slide 3

Slide 3 text

I’m# an#evangelist#at donderdag 25 april 13

Slide 4

Slide 4 text

I’m# a#board#member# at donderdag 25 april 13

Slide 5

Slide 5 text

donderdag 25 april 13

Slide 6

Slide 6 text

donderdag 25 april 13

Slide 7

Slide 7 text

Modern%web%developer donderdag 25 april 13

Slide 8

Slide 8 text

Modern%web%developer Code Infrastructure Agile%processes Quality%assurance Frontend%vs% backend Project% management Build%&%release%cycles Performance%&%scalability Security Flexibility donderdag 25 april 13

Slide 9

Slide 9 text

Internet donderdag 25 april 13

Slide 10

Slide 10 text

Military donderdag 25 april 13

Slide 11

Slide 11 text

ScienTfic donderdag 25 april 13

Slide 12

Slide 12 text

Public%(hobbyism) donderdag 25 april 13

Slide 13

Slide 13 text

Corporate donderdag 25 april 13

Slide 14

Slide 14 text

EVcommerce%&%web%applicaTons donderdag 25 april 13

Slide 15

Slide 15 text

Web%2.0 donderdag 25 april 13

Slide 16

Slide 16 text

SoXware%As%A%Service donderdag 25 april 13

Slide 17

Slide 17 text

Social%media donderdag 25 april 13

Slide 18

Slide 18 text

Cloud donderdag 25 april 13

Slide 19

Slide 19 text

Mobile donderdag 25 april 13

Slide 20

Slide 20 text

Big%data donderdag 25 april 13

Slide 21

Slide 21 text

EvoluTon%of%programming%languages donderdag 25 april 13

Slide 22

Slide 22 text

EvoluTon%of%programming%languages ✓C ✓C++ ✓C# ✓ObjecTve%C ✓Perl ✓VB(A) ✓Java ✓Javascript ✓PHP ✓Ruby ✓Python ✓Node.js donderdag 25 april 13

Slide 23

Slide 23 text

TradiTonal%languages%are%sTll%there donderdag 25 april 13

Slide 24

Slide 24 text

Mix%&%match donderdag 25 april 13

Slide 25

Slide 25 text

ScripTng%languages%are%accepted/respected PHP,% Perl,%Javascript,% Ruby,%Python,%Bash donderdag 25 april 13

Slide 26

Slide 26 text

donderdag 25 april 13

Slide 27

Slide 27 text

Proprietary%vs%(free%&)%open%source%soXware donderdag 25 april 13

Slide 28

Slide 28 text

donderdag 25 april 13

Slide 29

Slide 29 text

Security through obscurity donderdag 25 april 13

Slide 30

Slide 30 text

donderdag 25 april 13

Slide 31

Slide 31 text

Liability donderdag 25 april 13

Slide 32

Slide 32 text

Linux%is%a% cancer Steve%Ballmer,%CEO%of%MicrosoX,%%June%2001 donderdag 25 april 13

Slide 33

Slide 33 text

donderdag 25 april 13

Slide 34

Slide 34 text

Microsoft has changed as a company and is becoming more open in the way that we work with and collaborate with others in the industry, in how we listen to customers, and in our approach to the cloud. We contribute to and partner with open source communities and promote interoperability to make it easier and less costly for customers to develop and manage mixed IT environments. We actively participate in the standards setting process and support established and emerging standards in our products. In the cloud, we support key standards that provide the building blocks for open, interoperable cloud services, and we support developer choice of programming languages. We support data portability and believe customers own and control their data, no matter where it resides. donderdag 25 april 13

Slide 35

Slide 35 text

Passion donderdag 25 april 13

Slide 36

Slide 36 text

donderdag 25 april 13

Slide 37

Slide 37 text

Frontend%vs%backend donderdag 25 april 13

Slide 38

Slide 38 text

Design%pacerns donderdag 25 april 13

Slide 39

Slide 39 text

Decorator%pacern donderdag 25 april 13

Slide 40

Slide 40 text

interface ServiceClient { function getData(); } class MyWebServiceClient implements ServiceClient { private $data; function MyWebServiceClient() { $client = new SoapClient("some.wsdl"); $this->data = $client->getDataFunction(); } function getData() { return $this->data; } } donderdag 25 april 13

Slide 41

Slide 41 text

$client = new MyWebServiceClient(); // Later in your code, and possibly in multiple places print $client->getData(); donderdag 25 april 13

Slide 42

Slide 42 text

abstract class ServiceClientDecorator implements ServiceClient { protected $serviceClient; public function __construct(ServiceClient $serviceClient) { $this->serviceClient = $serviceClient; } } class HtmlEntitiesDecorator extends ServiceClientDecorator { public function getData() { return htmlentities($this->serviceClient->getData()); } } class ParagraphDecorator extends ServiceClientDecorator { public function getData() { return '

'.$this->serviceClient->getData().'

'; } } donderdag 25 april 13

Slide 43

Slide 43 text

$client = new MyWebServiceClient(); // Add our decorators $client = new HtmlEntititesDecorator($client); $client = new ParagraphDecorator($client); // Later in your code, and possibly in multiple places print $client->getData(); donderdag 25 april 13

Slide 44

Slide 44 text

Factory%pacern donderdag 25 april 13

Slide 45

Slide 45 text

class DatabaseFactory { // The factory function takes as an argument the // name of the class to produce public static function getInstance($driver) { // Attempt to include the the file containing the class // (not necessary if you use a custom autoloader) if(include_once(dirname(__FILE__).'/drivers/database_'. $driver.'.php')) { // Build the name of the class, instantiate, and return $driver_class = 'Database_'.$driver; return new $driver_class; } else { throw new Exception('Database driver not found'); } } } // To use, call the factory's static method: $db = DatabaseFactory::getInstance('MySQL'); donderdag 25 april 13

Slide 46

Slide 46 text

Singleton%pacern donderdag 25 april 13

Slide 47

Slide 47 text

class Database { // A static property to hold the single instance of the class private static $instance; // The constructor is private so that outside code cannot instantiate private function __construct() { } // All code that needs to get and instance of the class should call // this function like so: $db = Database::getInstance(); public function getInstance() { // If there is no instance, create one if (!isset(self::$instance)) { $c = __CLASS__; self::$instance = new $c; } return self::$instance; } // Block the clone method private function __clone() {} } // To use, call the static method to get the only instance $db = Database::getInstance(); donderdag 25 april 13

Slide 48

Slide 48 text

Dependency%injecTon%pacern donderdag 25 april 13

Slide 49

Slide 49 text

class Book { ! public function __construct() { ! ! $registry = RegistrySingleton::getInstance(); ! ! $this->_database = $registry->database; ! ! // or ! ! global $databaseConnection; ! ! $this->_database = $database; ! } } $book = new Book(); donderdag 25 april 13

Slide 50

Slide 50 text

class Book { ! private $_databaseConnection; ! public function __construct() { } ! public function setDatabaseConnection($databaseConnection) { ! ! $this->_databaseConnection = $databaseConnection; ! } } $book = new Book(); $book->setDatabase($databaseConnection); donderdag 25 april 13

Slide 51

Slide 51 text

Welcome%back%Javascript! donderdag 25 april 13

Slide 52

Slide 52 text

donderdag 25 april 13

Slide 53

Slide 53 text

donderdag 25 april 13

Slide 54

Slide 54 text

HTML5%features ✓Canvas%drawing ✓Movie%support ✓Offline%data ✓Document%ediTng ✓Drag%&%drop ✓GeolocaTon ✓File%manipulaTon ✓New%intuiTve%tags%&%elements donderdag 25 april 13

Slide 55

Slide 55 text

donderdag 25 april 13

Slide 56

Slide 56 text

donderdag 25 april 13

Slide 57

Slide 57 text

Request & Response donderdag 25 april 13

Slide 58

Slide 58 text

Methods & Status0 codes donderdag 25 april 13

Slide 59

Slide 59 text

Headers & Body donderdag 25 april 13

Slide 60

Slide 60 text

GET$/$HTTP/1.1 Host:$www.cvoleerstad.be User8Agent:$Mozilla/5.0$(Macintosh;$Intel$Mac$OS$X$ 10.8;$rv:20.0)$Gecko/20100101$Firefox/20.0 Accept:$text/html,application/xhtml+xml,application/ xml;q=0.9,*/*;q=0.8 Accept8Language:$nl,en;q=0.7,fr8be;q=0.3 Accept8Encoding:$gzip,$deflate Cookie:$ 52aaaa602e4730981271b4385bdb39c7=8ff0e3dd7f1ec82d1e83 f000e467e500;$ __utma=206997569.1837407744.1366871232.1366871232.136 6871232.1;$__utmb=206997569.1.10.1366871232;$ __utmc=206997569;$ __utmz=206997569.1366871232.1.1.utmcsr=(direct)| utmccn=(direct)|utmcmd=(none) Connection:$keep8alive donderdag 25 april 13

Slide 61

Slide 61 text

HTTP/1.1$200$OK Date:$Thu,$25$Apr$2013$06:27:20$GMT Server:$Apache/1.3.42$(Unix)$PHP/5.2.17$ mod_log_bytes/1.2$mod_bwlimited/1.4$ mod_auth_passthrough/1.8$FrontPage/5.0.2.2635$ mod_ssl/2.8.31$OpenSSL/0.9.7a X8Powered8By:$PHP/5.2.17 P3P:$CP="NOI$ADM$DEV$PSAi$COM$NAV$OUR$OTRo$STP$IND$ DEM" Expires:$Mon,$1$Jan$2001$00:00:00$GMT Last8Modified:$Thu,$25$Apr$2013$06:27:21$GMT Cache8Control:$no8store,$no8cache,$must8revalidate,$ post8check=0,$pre8check=0 Pragma:$no8cache Keep8Alive:$timeout=15,$max=93 Connection:$Keep8Alive Transfer8Encoding:$chunked Content8Type:$text/html;$charset=utf88 donderdag 25 april 13

Slide 62

Slide 62 text

Status0 codes hcp://www.w3.org/Protocols/rfc2616/rfc2616Vsec10.html hcp://en.wikipedia.org/wiki/List_of_HTTP_status_codes donderdag 25 april 13

Slide 63

Slide 63 text

1000range Magic,' fuggedaboudid! donderdag 25 april 13

Slide 64

Slide 64 text

2000range Check! donderdag 25 april 13

Slide 65

Slide 65 text

200 201 202 203 OK Created Accepted Non3Authorita7ve9 Informa7on donderdag 25 april 13

Slide 66

Slide 66 text

204 205 206 No9Content Reset9Content Par7al9Content donderdag 25 april 13

Slide 67

Slide 67 text

3000range Talk'to'that'guy'over' there donderdag 25 april 13

Slide 68

Slide 68 text

301 302 303 304 Moved9permanently Found See9other Not9modified donderdag 25 april 13

Slide 69

Slide 69 text

305 306 307 Use9Proxy Unused Temporary9Redirect donderdag 25 april 13

Slide 70

Slide 70 text

4000range Dude,'you'f’d'up! donderdag 25 april 13

Slide 71

Slide 71 text

400 403 404 405 408 Bad9request Forbidden Not9found Method9not9allowed Request97meout donderdag 25 april 13

Slide 72

Slide 72 text

400 401 402 403 404 Bad9Request Unauthorized Payment9Required Forbidden Not9Found donderdag 25 april 13

Slide 73

Slide 73 text

405 406 407 408 409 Method9Not9Allowed Not9Acceptable Proxy9Authen7ca7on9 Required Request9Timeout Conflict donderdag 25 april 13

Slide 74

Slide 74 text

410 411 412 413 414 Gone Length9Required Precondi7on9Failed Request9En7ty9Too9Large Request3URI9Too9Long donderdag 25 april 13

Slide 75

Slide 75 text

415 416 417 Unsupported9Media9Type Requested9Range9Not9 Sa7sfiable Expecta7on9Failed donderdag 25 april 13

Slide 76

Slide 76 text

5000range Sorry'man,'we'f’d' up! donderdag 25 april 13

Slide 77

Slide 77 text

500 501 502 503 504 505 Internal9server9error Not9implemented Bad9gateway Service9unavailable Gateway97meout HTTP9Version9Not9 Supported donderdag 25 april 13

Slide 78

Slide 78 text

Request Headers donderdag 25 april 13

Slide 79

Slide 79 text

Accept Accept3Charset Accept3Encoding Accept3language Authorization Cache3control Connection Cookie Content3length Date text/plain u^8 gzip,9deflate en,nl;q=0.7,fr3be;q=0.3 Basic9QWxhZGRpbjpvcGVuIHNlc2FtZQ== no3cache close bla=ja;9foo=bar 1024 Tue,9159Nov91994908:12:319GMT donderdag 25 april 13

Slide 80

Slide 80 text

Host If3None3Match Pragma Proxy3Authorization Referer Upgrade User3Agent Via www.fronteers.nl "737060cd8c284d8af7ad3082f209582d" no3cache Basic9 QWxhZGRpbjpvcGVuIHNl c2FtZQ== h=p://www.combell.com Mozilla/5.09 websocket 1.09fred,91.19example.com9(Apache/1.1) donderdag 25 april 13

Slide 81

Slide 81 text

Response Headers donderdag 25 april 13

Slide 82

Slide 82 text

Age Allow Cache3control Connection Content3Encoding Content3Language Content3Length Content3Type Date 12 GET,HEAD max3age=3600 close gzip nl 1024 text/html;9charset=u^38 Tue,9159Nov91994908:12:319GMT donderdag 25 april 13

Slide 83

Slide 83 text

ETag Expires Last3Modified Location Pragma Server Set3Cookie Transfer3Encoding Vary 737060cd8c284d8af7ad3082f209582d Thu,9019Dec91994916:00:009GMT Thu,9019Dec91994916:00:009GMT hkp://www.combell.com no3cache My9magic9server bla=abc;9session=12345 chuncked Accept3encoding donderdag 25 april 13

Slide 84

Slide 84 text

GET$/$HTTP/1.1 Host:$www.cvoleerstad.be User8Agent:$Mozilla/5.0$(Macintosh;$Intel$Mac$OS$X$ 10.8;$rv:20.0)$Gecko/20100101$Firefox/20.0 Accept:$text/html,application/xhtml+xml,application/ xml;q=0.9,*/*;q=0.8 Accept8Language:$nl,en;q=0.7,fr8be;q=0.3 Accept8Encoding:$gzip,$deflate Cookie:$ 52aaaa602e4730981271b4385bdb39c7=8ff0e3dd7f1ec82d1e83 f000e467e500;$ __utma=206997569.1837407744.1366871232.1366871232.136 6871232.1;$__utmb=206997569.1.10.1366871232;$ __utmc=206997569;$ __utmz=206997569.1366871232.1.1.utmcsr=(direct)| utmccn=(direct)|utmcmd=(none) Connection:$keep8alive donderdag 25 april 13

Slide 85

Slide 85 text

HTTP/1.1$200$OK Date:$Thu,$25$Apr$2013$06:27:20$GMT Server:$Apache/1.3.42$(Unix)$PHP/5.2.17$ mod_log_bytes/1.2$mod_bwlimited/1.4$ mod_auth_passthrough/1.8$FrontPage/5.0.2.2635$ mod_ssl/2.8.31$OpenSSL/0.9.7a X8Powered8By:$PHP/5.2.17 P3P:$CP="NOI$ADM$DEV$PSAi$COM$NAV$OUR$OTRo$STP$IND$ DEM" Expires:$Mon,$1$Jan$2001$00:00:00$GMT Last8Modified:$Thu,$25$Apr$2013$06:27:21$GMT Cache8Control:$no8store,$no8cache,$must8revalidate,$ post8check=0,$pre8check=0 Pragma:$no8cache Keep8Alive:$timeout=15,$max=93 Connection:$Keep8Alive Transfer8Encoding:$chunked Content8Type:$text/html;$charset=utf88 donderdag 25 april 13

Slide 86

Slide 86 text

Caching donderdag 25 april 13

Slide 87

Slide 87 text

ETag If#Non#Match:-"3e86#410#35968bc" ETag:-"3e86#410#35968bc" donderdag 25 april 13

Slide 88

Slide 88 text

Expires Expires-"Wed,-1-Jan-2014-20:00:00-GMT" donderdag 25 april 13

Slide 89

Slide 89 text

CacheJcontrol Cache#Control-“max#age=3600,-s# maxage=1000,-public,-must#revalidate” donderdag 25 april 13

Slide 90

Slide 90 text

Max9Age S9maxage Public Private No9cache No9store Must9revalidate Proxy9revalidate TTL9for9browsers9in9seconds TTL9for9proxies9in9seconds Proxies9&9browsers9can9cache Only9browsers9can9cache Revalidate9before9dropping9from9cache Don’t9cache9at9all Browser9revalidate9before9serving9from9 cache9 Proxy9revalidate9before9serving9from9 cache9 donderdag 25 april 13

Slide 91

Slide 91 text

Cookies donderdag 25 april 13

Slide 92

Slide 92 text

Cookies Tracking Sessions Language donderdag 25 april 13

Slide 93

Slide 93 text

Cookies HTTP cookie request header via browser HTTP set-cookie response header via webserver donderdag 25 april 13

Slide 94

Slide 94 text

Service%Oriented%Architecture donderdag 25 april 13

Slide 95

Slide 95 text

API Webservice donderdag 25 april 13

Slide 96

Slide 96 text

WSDL9=9HTTP9GET RPC9call9=9HTTP9POST Not9cacheable No9HTTP9vocabuliary9re3use Complex9markup SOAP donderdag 25 april 13

Slide 97

Slide 97 text

REpresentational- State- Transfer donderdag 25 april 13

Slide 98

Slide 98 text

Developed-in- parallel-with- HTTP/1.1 donderdag 25 april 13

Slide 99

Slide 99 text

The-way-the- web -*should*- work donderdag 25 april 13

Slide 100

Slide 100 text

Resources Stateless Cacheable Layered Uniform-interface Vocabulary-re#use HATEOAS Keywords donderdag 25 april 13

Slide 101

Slide 101 text

donderdag 25 april 13

Slide 102

Slide 102 text

David0 Zülke 0@dzuelke donderdag 25 april 13

Slide 103

Slide 103 text

✓A%URL%idenTfies%a%resource.% ✓Resources%have%a%hierarchy,%so%you%know%that% something%with%addiTonal%slashes%is%a%subordinate% resource ✓Verbs%are%used%to%perform%operaTons%on% resources ✓The%operaTon%is%implicit%and%not%part%of%the%URL ✓A%hypermedia%format%is%used%to%represent%the% data ✓Link%relaTons%are%used%to%navigate%a%service QuoSng0 David0Zülke 0@dzuelke donderdag 25 april 13

Slide 104

Slide 104 text

GET POST PUT DELETE Retrieve Insert Update Remove donderdag 25 april 13

Slide 105

Slide 105 text

HATEOAS WTF? donderdag 25 april 13

Slide 106

Slide 106 text

Hypertext As The Engine Of Application State donderdag 25 april 13

Slide 107

Slide 107 text

GET$/products/1234$HTTP/1.1 Host:$example.com Accept:$application/vnd.com.example+xml$ HTTP/1.1$200$OK Content8Type:$application/vnd.com.example+xml;$charset=utf88 Allow:$GET,$PUT,$DELETE $xml$version="1.0"$encoding="utf88"$?> $$1234 $$My$product $$Mijn$product 5 6.5 $ Thx9 David! donderdag 25 april 13

Slide 108

Slide 108 text

Implementations donderdag 25 april 13

Slide 109

Slide 109 text

Javascript Ajax Jquery Backbone.js Websockets donderdag 25 april 13

Slide 110

Slide 110 text

Open%data donderdag 25 april 13

Slide 111

Slide 111 text

Open%data ✓hcp://appsforghent.be ✓hcp://opendata.antwerpen.be/appsVantwerp ✓hcp://www.openbelgium.be% donderdag 25 april 13

Slide 112

Slide 112 text

Version%control donderdag 25 april 13

Slide 113

Slide 113 text

donderdag 25 april 13

Slide 114

Slide 114 text

donderdag 25 april 13

Slide 115

Slide 115 text

donderdag 25 april 13

Slide 116

Slide 116 text

donderdag 25 april 13

Slide 117

Slide 117 text

donderdag 25 april 13

Slide 118

Slide 118 text

donderdag 25 april 13

Slide 119

Slide 119 text

donderdag 25 april 13

Slide 120

Slide 120 text

Popular%GitHub%projects ✓Twicer%Bootstrap ✓Homebrew ✓Ruby%On%Rails ✓HTML5%Boilerplate ✓Jquery ✓Node.js ✓Phonegap ✓Backbone ✓Linux%Kernel ✓Symfony2%Framework ✓Django%Framework ✓Zend%Framework%2 ✓Git donderdag 25 april 13

Slide 121

Slide 121 text

Not Invented Here donderdag 25 april 13

Slide 122

Slide 122 text

donderdag 25 april 13

Slide 123

Slide 123 text

Manage%dependencies donderdag 25 april 13

Slide 124

Slide 124 text

Manage%dependencies ✓Add%to%project ✓Share%across%environment ✓Beste%of%both%worlds:%package%managers donderdag 25 april 13

Slide 125

Slide 125 text

Manage%dependencies ✓Ruby:%Gem ✓Python:%Pip ✓Perl:%CPAN ✓PEAR,%PECL%&%Composer ✓.NET:%NuGet ✓Linux:%yum,%aptVget donderdag 25 april 13

Slide 126

Slide 126 text

Dependency Injection Pattern donderdag 25 april 13

Slide 127

Slide 127 text

Webservers donderdag 25 april 13

Slide 128

Slide 128 text

donderdag 25 april 13

Slide 129

Slide 129 text

donderdag 25 april 13

Slide 130

Slide 130 text

donderdag 25 april 13

Slide 131

Slide 131 text

GWS 3%9 of9the9 internet donderdag 25 april 13

Slide 132

Slide 132 text

Database%servers donderdag 25 april 13

Slide 133

Slide 133 text

donderdag 25 april 13

Slide 134

Slide 134 text

donderdag 25 april 13

Slide 135

Slide 135 text

donderdag 25 april 13

Slide 136

Slide 136 text

donderdag 25 april 13

Slide 137

Slide 137 text

“I#wish#I#had#enough#money#to#run#Oracle# instead#of#Postgres."# “Why#do#you#want#to#do#that?"# “I#dont,#I#just#wish#I#had#enough#money#to”# donderdag 25 april 13

Slide 138

Slide 138 text

Addressing the needs of today’s internet donderdag 25 april 13

Slide 139

Slide 139 text

Maturity%&%stability donderdag 25 april 13

Slide 140

Slide 140 text

Availability donderdag 25 april 13

Slide 141

Slide 141 text

Performance donderdag 25 april 13

Slide 142

Slide 142 text

Security donderdag 25 april 13

Slide 143

Slide 143 text

Scalability donderdag 25 april 13

Slide 144

Slide 144 text

Social Mobile Cloud Data donderdag 25 april 13

Slide 145

Slide 145 text

donderdag 25 april 13

Slide 146

Slide 146 text

Mobile donderdag 25 april 13

Slide 147

Slide 147 text

Data%...%big%data donderdag 25 april 13

Slide 148

Slide 148 text

The tools have evolved donderdag 25 april 13

Slide 149

Slide 149 text

Not-only-SQL donderdag 25 april 13

Slide 150

Slide 150 text

donderdag 25 april 13

Slide 151

Slide 151 text

donderdag 25 april 13

Slide 152

Slide 152 text

donderdag 25 april 13

Slide 153

Slide 153 text

Message%queues donderdag 25 april 13

Slide 154

Slide 154 text

donderdag 25 april 13

Slide 155

Slide 155 text

Varnish donderdag 25 april 13

Slide 156

Slide 156 text

donderdag 25 april 13

Slide 157

Slide 157 text

✓Async,%nonVblocking,%eventVdriven ✓Javascript%based ✓Callbacks ✓Data%intensive ✓CK10%problem ✓Not%for%websites ✓RealVTme%communicaTon ✓Websockets ✓Hipsters Node.js donderdag 25 april 13

Slide 158

Slide 158 text

var http = require('http'); http.createServer(function (req, res) { res.writeHead(200, {'Content-Type': 'text/plain'}); res.end('Hello World\n'); }).listen(1337, '127.0.0.1'); console.log('Server running at http:// 127.0.0.1:1337/'); donderdag 25 april 13

Slide 159

Slide 159 text

Change donderdag 25 april 13

Slide 160

Slide 160 text

Flexibility/elasTcity Scalability Distributed%systems Any%server%could%die%any%moment Clustering ReplicaTon Sharding Modularity donderdag 25 april 13

Slide 161

Slide 161 text

Developers Agile donderdag 25 april 13

Slide 162

Slide 162 text

Agile ✓Persons%>%processes ✓Usability%>%documentaTon ✓Late%requirement%changes ✓Fast%changes ✓Prototype%~%producTon ✓ConTnuous%delivery ✓Short%cycles ✓Quick%releases donderdag 25 april 13

Slide 163

Slide 163 text

Fail fast donderdag 25 april 13

Slide 164

Slide 164 text

Move fast & break things donderdag 25 april 13

Slide 165

Slide 165 text

donderdag 25 april 13

Slide 166

Slide 166 text

donderdag 25 april 13

Slide 167

Slide 167 text

Sysadmins DevOps donderdag 25 april 13

Slide 168

Slide 168 text

Patrick Debois “What is this DevOps thing anyway?” http://www.jedi.be/blog/2010/02/12/ what-is-this-devops-thing-anyway @PatrickDebois donderdag 25 april 13

Slide 169

Slide 169 text

✓Fear of change ✓Risky deployment ✓It work on my machine ✓Siloisation http://www.jedi.be/blog/2010/02/12/ what-is-this-devops-thing-anyway donderdag 25 april 13

Slide 170

Slide 170 text

Kris Buytaert “Building Clouds since before the bookstore” http://www.krisbuytaert.be/blog/what-devops “Everything is a Freaking DNS problem” @KrisBuytaert donderdag 25 april 13

Slide 171

Slide 171 text

That sweet spot between "operating system" or platform stack and the application layer http://www.krisbuytaert.be/blog/what-devops donderdag 25 april 13

Slide 172

Slide 172 text

Culture collaboration, tool-chains http://www.krisbuytaert.be/blog/what-devops donderdag 25 april 13

Slide 173

Slide 173 text

The systematic process of building, deploying, managing, and using an application or group of applications http://www.krisbuytaert.be/blog/what-devops donderdag 25 april 13

Slide 174

Slide 174 text

Tearing%down%silos donderdag 25 april 13

Slide 175

Slide 175 text

Infrastructure9 =9 code donderdag 25 april 13

Slide 176

Slide 176 text

donderdag 25 april 13

Slide 177

Slide 177 text

class$apache$( $$$default_mods$=$true, $$$service_enable$=$true, $$$serveradmin$$=$'root@localhost', $$$sendfile$$$$$=$false, $$$purge_vdir$$$=$true )${ $$include$apache::params $$package${$'httpd': $$$$ensure$=>$installed, $$$$name$$$=>$$apache::params::apache_name, $$} !!#!true/false!is!sufficient!for!both!ensure!and!enable $$validate_bool($service_enable) $$service${$'httpd': $$$$ensure$$$$=>$$service_enable, $$$$name$$$$$$=>$$apache::params::apache_name, $$$$enable$$$$=>$$service_enable, $$$$subscribe$=>$Package['httpd'], donderdag 25 april 13

Slide 178

Slide 178 text

donderdag 25 april 13

Slide 179

Slide 179 text

Vagrant::Config.run$do$|config| $$config.vm.box$=$"lucid32" $$config.vm.box_url$=$"http://files.vagrantup.com/lucid32.box" $$config.vm.customize$[ $$$$$$$$"modifyvm",$:id, $$$$$$$$"88name",$"Varnish$Training", $$$$$$$$"88memory",$"512" $$] $$config.vm.network$:hostonly,$"12.12.12.6" $$config.vm.share_folder$"v8data",$"/home/data",$"./" $$config.vm.provision$:chef_solo$do$|chef| $$$$chef.cookbooks_path$=$"./tools/chef/cookbooks" $$$$chef.json$=${ $$$$$$:varnish$=>${ $$$$$$$$$$$$:vcl_dir$=>$"/home/data",$$$$$$$$$$$$ $$$$$$$$$$$$:version$=>$"3.0", $$$$$$$$$$$$:listen_port$=>$"80", $$$$$$$$$$$$:storage$=>$"malloc", $$$$$$$$$$$$:storage_size$=>$"256m", $$$$$$$$$$}, $$$$$$:apache$=>${ $$$$$$$$$$$$:listen_ports$=>$["8080"] $ $ }$$$$$$$$$$$$$$ $ } $$$$chef.add_recipe("vim") $$$$chef.add_recipe("apache2") $$$$chef.add_recipe("apache2::mod_php5")$$$$ $$$$chef.add_recipe("varnish::apt_repo") $$$$chef.add_recipe("varnish::default") $$end end donderdag 25 april 13

Slide 180

Slide 180 text

Measure donderdag 25 april 13

Slide 181

Slide 181 text

Measure ✓Google%AnalyTcs ✓Access_logs ✓Logstash ✓Graphite ✓Collectd ✓Statsd ✓New%Relic ✓Datadog donderdag 25 april 13

Slide 182

Slide 182 text

The%community donderdag 25 april 13

Slide 183

Slide 183 text

Move%fast.%Keep%up. donderdag 25 april 13

Slide 184

Slide 184 text

And# on#that# bombshell#... donderdag 25 april 13

Slide 185

Slide 185 text

donderdag 25 april 13

Slide 186

Slide 186 text

Thanks donderdag 25 april 13