PHP on Java (BarCamp London 7)

Embed Size (px)

Citation preview

Introducing a New Product

PHP on Java

Dads

ad

Robin Fernandes (ibm)[email protected]@rewbs

PHP?

PHP isn't so much a language as a virtual explosion at the keyword and function factory.- Jeff Atwoodfrom PHP sucks, but it doesn't matter

PHP?

in_array($needle, $haystack);strpos($haystack, $needle);

...IteratorIteratorRecursiveIteratorRecursiveIteratorIterator...

strip_tags()stripslashes()SDO_Model_Property::getContainingType()

ReflectionClass::isIterateable()

PHP!

tiobe.com

PHP!

Photo from DragonBe

PHP!

Why integrate
PHP and Java?

PHP Developers to grow from 3 to 5.5 million by 2013

PHP Developers in Corporate IT to grow from 13% to 60% by 2013

Pay special attention to opportunities to use PHP in combination with Java development efforts

- Gartner

Why run
PHP on the JVM?

PHP is an awesome language for web dev

The Java Virtual Machine is a cutting edge language runtime

PHP + JVM =

How PHP runs on the JVM

Operating SystemJava Virtual MachineJITGCBVCL...javacBytecode(.class)

???