Kiss Phpnw08

36
PHP Northwest - Manchester, UK November 22nd, 2008 Derick Rethans - [email protected] http://derickrethans.nl/talks.php

description

Derick Rethans' PHPNW08 key note slides: One of PHP’s strengths has always been its low barrier-of-entry. It’s also one of its weaknesses however. In this keynote I will talk about the first steps of getting to know PHP, its community and developers. Of course times have changed now, and we are in the Web 2.0 era now, but the KISS principle still applies; for application design, for UI design and for server set-ups. I will also take you to the application development side of the KISS principle, with simpler architectures you can more easily make powerful complex applications.

Transcript of Kiss Phpnw08

Page 1: Kiss Phpnw08

PHP Northwest - Manchester, UKNovember 22nd, 2008

Derick Rethans - [email protected]://derickrethans.nl/talks.php

Page 2: Kiss Phpnw08

K.I.S.S.KeepItSimpleStupid

Page 3: Kiss Phpnw08

descriptive URLs

Page 4: Kiss Phpnw08

http://ez.no/solutions/mobile

http://www.caranddriver.com/reviews/hot_lists/high_performance/supercars_and_exotics/2011_ferrari_fx_fx70_spied

http://www.cnn.com/2008/TECH/09/08/lhc.collider/index.html

http://news.bbc.co.uk/2/hi/science/nature/7604721.stm

http://www.foxnews.com/story/0,2933,417344,00.html

Page 5: Kiss Phpnw08

following links

Page 6: Kiss Phpnw08

download links

Page 7: Kiss Phpnw08

JavaScript

Page 8: Kiss Phpnw08

don't break the back button

Page 9: Kiss Phpnw08
Page 10: Kiss Phpnw08
Page 11: Kiss Phpnw08

language selection

Page 12: Kiss Phpnw08
Page 13: Kiss Phpnw08

flashturbation

Page 14: Kiss Phpnw08

<blink/>

Page 15: Kiss Phpnw08
Page 16: Kiss Phpnw08
Page 17: Kiss Phpnw08
Page 18: Kiss Phpnw08
Page 19: Kiss Phpnw08

Java (applets)

Page 20: Kiss Phpnw08
Page 21: Kiss Phpnw08
Page 22: Kiss Phpnw08

<html><title>Hello World!</title><body><?php echo "Hello World!";?></body></html>

Page 23: Kiss Phpnw08

<?phpecho "<html>\n";echo "<title>Hello World!</title>\n";echo "<body>\n";echo "\tHello World!\n";echo "</body>\n";echo "</html>\n";?>

Page 24: Kiss Phpnw08

<?php $xw = new xmlWriter(); $xw->openMemory();

$xw->startDocument('1.0','UTF-8'); $xw->startElement('html');

$xw->startElement('head'); $xw->writeElement('title', 'Hello World!'); $xw->endElement();

$xw->startElement('body'); $xw->text('Hello World!'); $xw->endElement(); $xw->endElement(); $xw->endDocument();

echo $xw->outputMemory(true);?>

Page 25: Kiss Phpnw08

gotois not evil

Page 26: Kiss Phpnw08
Page 27: Kiss Phpnw08

don't abuse goto

Page 28: Kiss Phpnw08

hammers

Page 29: Kiss Phpnw08
Page 30: Kiss Phpnw08
Page 31: Kiss Phpnw08
Page 32: Kiss Phpnw08
Page 33: Kiss Phpnw08
Page 34: Kiss Phpnw08

avoid dependencies

Page 35: Kiss Phpnw08
Page 36: Kiss Phpnw08