├── .bowerrc ├── .editorconfig ├── .gitignore ├── .jshintrc ├── Gruntfile.coffee ├── README.md ├── assets ├── img │ ├── Design-Patterns-Elements-of-Reusable-Object-Oriented-Software.jpg │ ├── POEAA.jpg │ ├── awesome-moose.gif │ ├── barbara-liskov.jpg │ ├── caution-sign.svg │ ├── chuck-testa.png │ ├── deer.png │ ├── doctrine.svg │ ├── excel-saga-warning.png │ ├── for-the-glory-of-satan.jpg │ ├── gh.svg │ ├── github-white.png │ ├── github.svg │ ├── i-have-no-idea-what-i-m-doing.png │ ├── lazy-loading.png │ ├── nooooo-darth-vader.jpg │ ├── nope.png │ ├── ocramius.gif │ ├── roave-logo.png │ ├── so-what-i-have-a-tie.jpg │ ├── twitter.svg │ └── zf-logo.svg └── style.css ├── bower.json ├── index.html ├── index.tpl ├── js └── loadhtmlslides.js ├── package.json └── slides ├── index.md └── list.json /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "bower_components" 3 | } 4 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 4 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | bower_components 3 | *.log 4 | -------------------------------------------------------------------------------- /.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "esnext": true, 3 | "bitwise": true, 4 | "camelcase": true, 5 | "curly": true, 6 | "eqeqeq": true, 7 | "immed": true, 8 | "indent": 4, 9 | "latedef": true, 10 | "newcap": true, 11 | "noarg": true, 12 | "quotmark": "single", 13 | "regexp": true, 14 | "undef": true, 15 | "unused": true, 16 | "strict": true, 17 | "trailing": true, 18 | "smarttabs": true, 19 | "white": true 20 | } 21 | -------------------------------------------------------------------------------- /Gruntfile.coffee: -------------------------------------------------------------------------------- 1 | # Generated on 2013-10-28 using generator-reveal 0.2.0 2 | module.exports = (grunt) -> 3 | 4 | grunt.initConfig 5 | 6 | watch: 7 | 8 | livereload: 9 | options: 10 | livereload: true 11 | files: [ 12 | 'index.html', 13 | 'slides/*.md', 14 | 'slides/*.html', 15 | 'js/*.js' 16 | ] 17 | 18 | coffeelint: 19 | files: ['Gruntfile.coffee'] 20 | tasks: ['coffeelint'] 21 | 22 | jshint: 23 | files: ['js/*.js'] 24 | tasks: ['jshint'] 25 | 26 | connect: 27 | 28 | livereload: 29 | options: 30 | port: 9000 31 | # Change hostname to '0.0.0.0' to access 32 | # the server from outside. 33 | hostname: 'localhost' 34 | base: '.' 35 | open: true 36 | livereload: true 37 | 38 | coffeelint: 39 | 40 | options: 41 | indentation: 42 | value: 4 43 | 44 | files: ['Gruntfile.coffee'] 45 | 46 | jshint: 47 | 48 | options: 49 | jshintrc: '.jshintrc' 50 | 51 | files: ['js/*.js'] 52 | 53 | # Load all grunt tasks. 54 | require('load-grunt-tasks')(grunt) 55 | 56 | grunt.registerTask 'server', 57 | 'Run presentation locally and start watch process (living document).', [ 58 | 'connect:livereload', 59 | 'watch' 60 | ] 61 | 62 | # Define default task. 63 | grunt.registerTask 'default', [ 64 | 'coffeelint', 65 | 'jshint', 66 | 'connect:livereload', 67 | 'watch' 68 | ] 69 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Proxy Pattern in PHP 2 | ==================== 3 | 4 | This repository contains the source code for the slides that are 5 | live at [http://ocramius.github.io/presentations/proxy-pattern-in-php/](http://ocramius.github.io/presentations/proxy-pattern-in-php/) 6 | -------------------------------------------------------------------------------- /assets/img/Design-Patterns-Elements-of-Reusable-Object-Oriented-Software.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/proxy-pattern-in-php/875f0edd52a9ac2a5c4287e8b6f55fe2037bcbbf/assets/img/Design-Patterns-Elements-of-Reusable-Object-Oriented-Software.jpg -------------------------------------------------------------------------------- /assets/img/POEAA.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/proxy-pattern-in-php/875f0edd52a9ac2a5c4287e8b6f55fe2037bcbbf/assets/img/POEAA.jpg -------------------------------------------------------------------------------- /assets/img/awesome-moose.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/proxy-pattern-in-php/875f0edd52a9ac2a5c4287e8b6f55fe2037bcbbf/assets/img/awesome-moose.gif -------------------------------------------------------------------------------- /assets/img/barbara-liskov.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/proxy-pattern-in-php/875f0edd52a9ac2a5c4287e8b6f55fe2037bcbbf/assets/img/barbara-liskov.jpg -------------------------------------------------------------------------------- /assets/img/caution-sign.svg: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /assets/img/chuck-testa.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/proxy-pattern-in-php/875f0edd52a9ac2a5c4287e8b6f55fe2037bcbbf/assets/img/chuck-testa.png -------------------------------------------------------------------------------- /assets/img/deer.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/proxy-pattern-in-php/875f0edd52a9ac2a5c4287e8b6f55fe2037bcbbf/assets/img/deer.png -------------------------------------------------------------------------------- /assets/img/doctrine.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 169 | -------------------------------------------------------------------------------- /assets/img/excel-saga-warning.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/proxy-pattern-in-php/875f0edd52a9ac2a5c4287e8b6f55fe2037bcbbf/assets/img/excel-saga-warning.png -------------------------------------------------------------------------------- /assets/img/for-the-glory-of-satan.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/proxy-pattern-in-php/875f0edd52a9ac2a5c4287e8b6f55fe2037bcbbf/assets/img/for-the-glory-of-satan.jpg -------------------------------------------------------------------------------- /assets/img/gh.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/img/github-white.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/proxy-pattern-in-php/875f0edd52a9ac2a5c4287e8b6f55fe2037bcbbf/assets/img/github-white.png -------------------------------------------------------------------------------- /assets/img/github.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /assets/img/i-have-no-idea-what-i-m-doing.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/proxy-pattern-in-php/875f0edd52a9ac2a5c4287e8b6f55fe2037bcbbf/assets/img/i-have-no-idea-what-i-m-doing.png -------------------------------------------------------------------------------- /assets/img/lazy-loading.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/proxy-pattern-in-php/875f0edd52a9ac2a5c4287e8b6f55fe2037bcbbf/assets/img/lazy-loading.png -------------------------------------------------------------------------------- /assets/img/nooooo-darth-vader.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/proxy-pattern-in-php/875f0edd52a9ac2a5c4287e8b6f55fe2037bcbbf/assets/img/nooooo-darth-vader.jpg -------------------------------------------------------------------------------- /assets/img/nope.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/proxy-pattern-in-php/875f0edd52a9ac2a5c4287e8b6f55fe2037bcbbf/assets/img/nope.png -------------------------------------------------------------------------------- /assets/img/ocramius.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/proxy-pattern-in-php/875f0edd52a9ac2a5c4287e8b6f55fe2037bcbbf/assets/img/ocramius.gif -------------------------------------------------------------------------------- /assets/img/roave-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/proxy-pattern-in-php/875f0edd52a9ac2a5c4287e8b6f55fe2037bcbbf/assets/img/roave-logo.png -------------------------------------------------------------------------------- /assets/img/so-what-i-have-a-tie.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Ocramius/proxy-pattern-in-php/875f0edd52a9ac2a5c4287e8b6f55fe2037bcbbf/assets/img/so-what-i-have-a-tie.jpg -------------------------------------------------------------------------------- /assets/img/twitter.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/img/zf-logo.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /assets/style.css: -------------------------------------------------------------------------------- 1 | .reveal section img { 2 | border: 0; 3 | background: none; 4 | box-shadow: 0 0 #000; 5 | } 6 | 7 | .php-color { 8 | color: #6C7EB7; 9 | } 10 | 11 | .proxy-color { 12 | color: #FC6A31; 13 | } 14 | 15 | .zf-color { 16 | color: #68B604; 17 | } 18 | 19 | .doctrine-color { 20 | color: #FC6A31; 21 | } 22 | 23 | .soothe .reveal .state-background { 24 | background: rgba(255, 255, 255, 0.6); 25 | } 26 | 27 | .pros-line:before, .cons-line:before { 28 | content: ' '; 29 | position: absolute; 30 | width: 0; 31 | height: 0; 32 | left: -40px; 33 | border: 12px solid transparent; 34 | } 35 | 36 | .pros-line:before { 37 | border-bottom-width: 22px; 38 | border-bottom-color: green; 39 | } 40 | 41 | .cons-line:before { 42 | border-top-width: 22px; 43 | border-top-color: red; 44 | } -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "the-proxy-pattern-in-php", 3 | "version": "1.0.0", 4 | "dependencies": { 5 | "reveal.js": "master" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |