Successfully reported this slideshow.
Your SlideShare is downloading. ×

Keynote, PHP World Kongress Munich

Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad
Ad

Check these out next

1 of 26 Ad

More Related Content

Similar to Keynote, PHP World Kongress Munich (20)

Advertisement

Recently uploaded (20)

Advertisement

Keynote, PHP World Kongress Munich

  1. 1. PHP Straßenkreuzung<br />24./25. November 2009<br />München<br />
  2. 2. Stay in contact<br />pierre@php.net<br />http://twitter.com/pierrejoye<br />http://www.facebook.com/pierre.joye<br />http://www.linkedin.com/in/pierrejoye<br />http://www.xing.com/profile/Pierre_Joye<br />
  3. 3. ?<br />?<br />?<br />?<br />5.2<br />5.3<br />?<br />?<br />?<br />?<br />?<br />4 !?<br />6 ?!<br />?<br />?<br />
  4. 4. Die Geschichte von PHP<br />2001<br />2001<br />2002<br />2005<br />2006<br />2009<br />2005<br />2000<br />2004<br />2012<br />
  5. 5. SchlechteNachricht<br />Gute (alte) Nachricht<br />
  6. 6. intl<br />phar<br />ifsetor<br />windows<br />enchant<br />closure<br />namespace<br />
  7. 7. Ifsetor<br />$id = $_GET[&apos;id&apos;] ?: 0; <br />var_dump($id);<br />
  8. 8. Namespacenclude<br />namespace Fooarubnamespace; const FOO = &apos;FooBarsubnamespace&apos;; function foo() {} <br />classfoo { <br />staticfunctionstaticmethod() {<br /> echo&quot;static method FooBarsubnamespace&quot;;}<br />} <br />
  9. 9. Namespace<br />include &apos;namespace1_inc.php&apos;;<br />constFOO = &apos;FooBar&apos;;<br />functionfoo() {}<br />classfoo {<br />staticfunctionstaticmethod() {<br /> echo&quot;static method FooBar&quot;; <br />}<br />} <br />
  10. 10. Namespacenqualified<br />/* Unqualified name */<br />foo::staticmethod();<br />echoFOO; <br />
  11. 11. Namespaceualified<br />subnamespaceoo::staticmethod();<br />echosubnamespaceOO;<br />
  12. 12. Namespaceullyualified<br />ooaroo(); <br />ooaroo::staticmethod();<br />echoooarOO;<br />
  13. 13. Closures<br />$myarray= array(3, 9, 2);<br />$myarray= array_filter(<br />$myarray,<br />function ($elm){<br /> return $elm &gt; 5;<br />}<br />);<br />var_dump($myarray);<br />
  14. 14. static vs self w/ lsb<br />classBase { <br />publicstaticfunction m() { self::printName();<br /> static::printName();<br />}<br />staticfunctionprintName() {<br /> echo__CLASS__; echo &apos;&lt;br/&gt;&apos;;<br />}<br />}<br />Base::m();<br />
  15. 15. static vs self w/ lsb<br />classExtendedextends Base {<br />static functionprintName() {<br />echo__CLASS__;<br />echo&apos;&lt;br/&gt;&apos;;<br />}<br />}<br />
  16. 16. intl<br />$fmt2 = newMessageFormatter(&quot;de_DE&quot;, &quot;{0,number,integer} Affen auf {1,number,integer} Baumensind {2,number} Affen pro Baum&quot;); <br />echo$fmt2-&gt;format(array(4560, 123, 4560/123)); echo &quot;&lt;br/&gt;&quot;;<br />$fmt = newMessageFormatter(&quot;en_US&quot;, &quot;{0,number,integer} monkeys on {1,number,integer} trees make {2,number} monkeys per tree&quot;); <br />echo$fmt-&gt;format(array(4560, 123, 4560/123)); <br />
  17. 17. phar<br />Jar for PHP<br />Easy way to distribute applications<br />Custom format or use tar/zip<br />Mapping requests to a file inside the phar<br />
  18. 18. enchant<br />UTF-8 support<br />MySpell/HunSpell (OpenOffice) support<br />Zemberek (Tuerkisch)<br />One API<br />AppleSpell on Mac OS X<br />Aspell/Pspell<br />
  19. 19.
  20. 20.
  21. 21.
  22. 22.
  23. 23. <ul><li>CouchDB
  24. 24. MongoDB
  25. 25. MemCache(d)
  26. 26. SimpleDB</li></li></ul><li><ul><li>Mashups
  27. 27. JS
  28. 28. Apps
  29. 29. Web 2.0 apps</li></li></ul><li>

Editor's Notes

  • 5.2 …. 5.3PHP4, wirklich?Oh, und 6?
  • PHP 4.0 6 bug fixes releases and one drittel release with 4.0.7, war dann 4.1.0PHP 4.1 2 bug fixes releases PHP 4.2 Binary Compatibility break, quick release 3 bug fixes releasesPHP 4.3 8.5 bug fixes releasesPHP 4.4 190 Fixes/bugs 9 bug fixes releasesPHP 5.0 5 bug fixes releasesPHP 5.1 6 bug fixes releasesPHP 5.2 12 or more releasesPHP 5.3 already one
  • SN: PHP 6 ist tot.. Ok er hat gar nichtexistiertaberjetztisterdoch totGN: 5.3 istraus, und wirhabensogarletzteWoche 5.3.1 freigegeben!
  • Windows separator (MS hat nichtsmit das zutun!)Ifsetor, faulzuseinist gut Enchant, openoffice and vielmehrWindowsSynchronizierte releasesSchneller (30%) fast 100% portable ACL support all extensions sindjetztdabei
  • Namespace1.php
  • // resolves to class FooBarfoo, method staticmethod // resolves to constant FooBarFOO
  • // resolves to class FooBarsubnamespacefoo, method staticmethod // resolves to constant FooBarsubnamespaceFOO
  • // resolves to function FooBarfoo // resolves to class FooBarfoo, method staticmethod// resolves to constant FooBarFOO
  • Closure.php
  • Lsb.php
  • Lsb2.php
  • Intl.php
  • Amazon: EC2, S3, SQSAzure: SQLAzure, Blobs, Tables, QueuesRackspaceSun’s Cloud

×