IBM IMPACT 2009 Conference Session 2078 - Extending and Integrating Popular PHP Applications with IBM WebSphere sMash

Post on 11-May-2015

4289 Views

Category:

Technology

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

Session 2078 at IBM IMPACT 2009 Conference.

Transcript

copy 2009 IBM Corporation

Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash

Rob Nicholson IBM Senior Technical Staff Member

2078

2copy 2009 IBM Corporation

AbstractIBM WebSpherereg sMash is a platform for developing and running agile

Web applications using scripting languages and Web 20 technologies such as RESTful Web services JavaScript Object Notation and Atom and RSS feeds It supports the Groovy language familiar to Javaprogrammers and PHP for access to thousands of PHP applicationsand librariesand the huge PHP developer community IBM WebSphere sMash is focused on significant improvement in time-to-value for Situational Applications and Mashups Partners and community have found that by combining PHP applications and libraries with new code written in PHP or Groovy for the IBM WebSphere sMash platform they can achieve significant reduction in development time for Situational Applications and Mashups We cover an overview of the PHP support in IBM WebSphere sMash and the support for generating new PHP code before exploring more detailed scenarios demonstrating PHP Applications being extended integrated and mashed up

3copy 2009 IBM Corporation

Agenda

bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

4copy 2009 IBM Corporation

Agenda

bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

5copy 2009 IBM Corporation

WebSphere sMashAgile development of dynamic Web 20 based applications

IntroducingWebSphere sMash

bull Improves developer productivity and efficiency through the support of dynamic scripting languages (Groovy and PHP) on Java

bull Leverages Web 20 technologies for service invocation service composition and data interchange

bull Provides visual tools for developers to build and assemble web20 applications

6copy 2009 IBM Corporation

Speed

Simplicity

Agility

Dynamic scripting languagesTemplates amp Pre-built services

Visual EditorsAssemble style development

Application ldquoisrdquo the serverClean short-lived runtime

WebSphere sMash

7copy 2009 IBM Corporation

WebSphere sMash Tooling

Dynamic Scripting Editor

Visual UI Editor

Visual Flow Editor

8copy 2009 IBM Corporation

Agenda

bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

9copy 2009 IBM Corporation

Why PHP

bull 20M+ web domains use PHPbull 3M+ Programmers know PHPbull Huge repository of reusable modules snippets extensionsbull Easy language to learn -gt Mashupsbull Language has evolved to be easy to use

TIOBE Programming Community Index (Sep 2008)Gartner (Dec 2007)bull PHP Developers to grow from 3 to

55 million by 2013bull PHP Developers in Commercial or

Corporate IT to grow from 13 to 60 by 2013

bull ldquoPay special attention to opportunities to leverage PHP in combination with Java development effortsrdquo

10copy 2009 IBM Corporation

WebSphere sMash PHP Supportbull PHP runtime built in Java

ndashTo PHPnet as Jruby is to Ruby and Jython is to Pythonbull Compile PHP into Java bytecodes and run on a Java

Virtual Machinebull Powerful blending of PHP and Java code

ndashJava and PHP code run in the same process on the same Threadbull No need for Inter-process communication

ndashEfficient calls between PHP Java Groovy on the same stack

ndashPass data between Java Groovy and PHP without copyingbull Avoids serialising and passing data between processes

ndashImport Java classes as PHP Classesbull Easy access to the many Java libraries from PHP code

11copy 2009 IBM Corporation

Java Virtual Machine

PHP in WebSphere sMash

bull Runs PHP 5 scripts bull Requires Java 5 SE or later

bull Extensibility via XAPIbull XAPI-C for C extensions from phpnetbull XAPI-J for Java extensions native

libraries invoked over JNI and Project Zero interface

bull Extension language choice opaque to PHP script

bull Java Bridgebull Debug using via xdebug protocol using

Eclipse with PDT

P8 RuntimeInterpreterCompiler

PHP runtime

Java ExtensionsC

Extensions

Debug

XAPI-JXAPI-C

PDT2

Java

-Brid

geJARJAR

JARJAR

Groovyruntime

WebSphere sMash

HTTP server

Zero Programming Model

xdebug

12copy 2009 IBM Corporation

Benefits of PHP in sMashbull Develop quickly by using the best tools and

materials for the jobndash PHP code such as smarty SimpleXML drupal phpBB ndash Java code such as Apache Lucene POI and Eclipse BIRT

bull Start simple using sMash tooling such as ZRM Flow

ndash Customise and extend using PHP scripts and snippets

bull Unleash agile teams using Java and PHP skillsndash Allow teams to use their full range of skills

bull Build on a solid base ndash PHP built on the Java VM at the heart of IBMrsquos enterprise software stack

bull Familiar to many enterprises bull Vast investment in JIT Garbage Collector RAS and tools

13copy 2009 IBM Corporation

PHP ndash JavaGroovy InteractionbullPHP JavaGroovy Bridge allows PHP to

ndash Instantiate Java Classesndash Call static and instance methodsndash Access static and instance fieldsndash Extend Java Classes (not abstract)ndash Implement Java Interfacesndash Interact with Groovy Classes objects Closures and Ranges

bullZero programming model allows PHP tondash Interact with other Modules built using Groovy Java PHP Flow by

bull Handle and fire Zero eventsbull Fetch and store to the global context

14copy 2009 IBM Corporation

PHP ndash Java Bridge ndash Basic use

Basic access to Java methods and fields - types

are automatically converted at boundary of PHP runtime

Static methods and fields are accessible by using the

built in JavaClass class

Java exceptions can be caught in PHP scripts

15copy 2009 IBM Corporation

PHP- Java Bridge ndash Iterators and overloads

Bridging between PHP and Java iterators

Signatures provide explicit control for overloaded constructors and methods

16copy 2009 IBM Corporation

Java Bridge ndash Importing Java Classes

Importing a Java class creates a PHP class that has the same shape

17copy 2009 IBM Corporation

Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

possible but has some limitations

Java bean access maps field access onto getset method calls

18copy 2009 IBM Corporation

Groovy Bridge ndash Importing Scripts

19copy 2009 IBM Corporation

Other Groovy Bridge Features

bull Method and Field Accessbull Closures and Curry

ndash PHP Functions can be passed to Groovy as a closure

20copy 2009 IBM Corporation

Invoking PHP - Events

bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

21copy 2009 IBM Corporation

Invoking PHP - Script Activity in Flow

22copy 2009 IBM Corporation

Agenda

bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

23copy 2009 IBM Corporation

PHP Applications that run on sMash

Forums

CRM

wiki

Desktop Virtualisation

Ajax Debugging

Content Management Blogging

FirePHP

24copy 2009 IBM Corporation

ZSL develops Web 20 Assets 3x faster with WebSphere sMash

Downloaded sMash DE from projectzeroorg

Assets built in 3frac12 weeks

Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

67 reduction in time-to-market for developing Web 20 assets

90 less time to implement best-of-breed programs

Ability to reuse 25 of code

Out-of-the-box functionality vs 2frac12 days to install comparable software

25copy 2009 IBM Corporation

Energy Commons Overviewwwwenergycommonscombull Concept

ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

bull Value Propositionndash Interconnection of parties for knowledge share

and exchange on demand in a silorsquod industry through shared cost model for development and operations

bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

utilizing global reach large ecosystem and utility channel to create scale

ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

for energy and climate

26copy 2009 IBM Corporation

Energy Commons Architecture Overview

27copy 2009 IBM Corporation

SugarCRM Integration scenario

MQ

MQ

28copy 2009 IBM Corporation

Demonstrations

29copy 2009 IBM Corporation

Agenda

bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

30copy 2009 IBM Corporation

31copy 2009 IBM Corporation

Referencesbull WebSphere sMash site httpwwwprojectzeroorg

bull WebSphere sMash forums httpwwwprojectzeroorgforum

bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

32copy 2009 IBM Corporation

We love your Feedback

bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

33copy 2009 IBM Corporation

copy IBM Corporation 2009 All Rights Reserved

The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

  • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
  • Abstract
  • Agenda
  • Agenda
  • WebSphere sMashAgile development of dynamic Web 20 based applications
  • WebSphere sMash
  • Agenda
  • Why PHP
  • WebSphere sMash PHP Support
  • PHP in WebSphere sMash
  • Benefits of PHP in sMash
  • PHP ndash JavaGroovy Interaction
  • PHP ndash Java Bridge ndash Basic use
  • PHP- Java Bridge ndash Iterators and overloads
  • Java Bridge ndash Importing Java Classes
  • Java Bridge ndash Extending Java in PHP
  • Groovy Bridge ndash Importing Scripts
  • Other Groovy Bridge Features
  • Invoking PHP - Events
  • Invoking PHP - Script Activity in Flow
  • Agenda
  • PHP Applications that run on sMash
  • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
  • Energy Commons Overviewwwwenergycommonscom
  • Energy Commons Architecture Overview
  • SugarCRM Integration scenario
  • Demonstrations
  • Agenda
  • References
  • We love your Feedback

    2copy 2009 IBM Corporation

    AbstractIBM WebSpherereg sMash is a platform for developing and running agile

    Web applications using scripting languages and Web 20 technologies such as RESTful Web services JavaScript Object Notation and Atom and RSS feeds It supports the Groovy language familiar to Javaprogrammers and PHP for access to thousands of PHP applicationsand librariesand the huge PHP developer community IBM WebSphere sMash is focused on significant improvement in time-to-value for Situational Applications and Mashups Partners and community have found that by combining PHP applications and libraries with new code written in PHP or Groovy for the IBM WebSphere sMash platform they can achieve significant reduction in development time for Situational Applications and Mashups We cover an overview of the PHP support in IBM WebSphere sMash and the support for generating new PHP code before exploring more detailed scenarios demonstrating PHP Applications being extended integrated and mashed up

    3copy 2009 IBM Corporation

    Agenda

    bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

    4copy 2009 IBM Corporation

    Agenda

    bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

    5copy 2009 IBM Corporation

    WebSphere sMashAgile development of dynamic Web 20 based applications

    IntroducingWebSphere sMash

    bull Improves developer productivity and efficiency through the support of dynamic scripting languages (Groovy and PHP) on Java

    bull Leverages Web 20 technologies for service invocation service composition and data interchange

    bull Provides visual tools for developers to build and assemble web20 applications

    6copy 2009 IBM Corporation

    Speed

    Simplicity

    Agility

    Dynamic scripting languagesTemplates amp Pre-built services

    Visual EditorsAssemble style development

    Application ldquoisrdquo the serverClean short-lived runtime

    WebSphere sMash

    7copy 2009 IBM Corporation

    WebSphere sMash Tooling

    Dynamic Scripting Editor

    Visual UI Editor

    Visual Flow Editor

    8copy 2009 IBM Corporation

    Agenda

    bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

    9copy 2009 IBM Corporation

    Why PHP

    bull 20M+ web domains use PHPbull 3M+ Programmers know PHPbull Huge repository of reusable modules snippets extensionsbull Easy language to learn -gt Mashupsbull Language has evolved to be easy to use

    TIOBE Programming Community Index (Sep 2008)Gartner (Dec 2007)bull PHP Developers to grow from 3 to

    55 million by 2013bull PHP Developers in Commercial or

    Corporate IT to grow from 13 to 60 by 2013

    bull ldquoPay special attention to opportunities to leverage PHP in combination with Java development effortsrdquo

    10copy 2009 IBM Corporation

    WebSphere sMash PHP Supportbull PHP runtime built in Java

    ndashTo PHPnet as Jruby is to Ruby and Jython is to Pythonbull Compile PHP into Java bytecodes and run on a Java

    Virtual Machinebull Powerful blending of PHP and Java code

    ndashJava and PHP code run in the same process on the same Threadbull No need for Inter-process communication

    ndashEfficient calls between PHP Java Groovy on the same stack

    ndashPass data between Java Groovy and PHP without copyingbull Avoids serialising and passing data between processes

    ndashImport Java classes as PHP Classesbull Easy access to the many Java libraries from PHP code

    11copy 2009 IBM Corporation

    Java Virtual Machine

    PHP in WebSphere sMash

    bull Runs PHP 5 scripts bull Requires Java 5 SE or later

    bull Extensibility via XAPIbull XAPI-C for C extensions from phpnetbull XAPI-J for Java extensions native

    libraries invoked over JNI and Project Zero interface

    bull Extension language choice opaque to PHP script

    bull Java Bridgebull Debug using via xdebug protocol using

    Eclipse with PDT

    P8 RuntimeInterpreterCompiler

    PHP runtime

    Java ExtensionsC

    Extensions

    Debug

    XAPI-JXAPI-C

    PDT2

    Java

    -Brid

    geJARJAR

    JARJAR

    Groovyruntime

    WebSphere sMash

    HTTP server

    Zero Programming Model

    xdebug

    12copy 2009 IBM Corporation

    Benefits of PHP in sMashbull Develop quickly by using the best tools and

    materials for the jobndash PHP code such as smarty SimpleXML drupal phpBB ndash Java code such as Apache Lucene POI and Eclipse BIRT

    bull Start simple using sMash tooling such as ZRM Flow

    ndash Customise and extend using PHP scripts and snippets

    bull Unleash agile teams using Java and PHP skillsndash Allow teams to use their full range of skills

    bull Build on a solid base ndash PHP built on the Java VM at the heart of IBMrsquos enterprise software stack

    bull Familiar to many enterprises bull Vast investment in JIT Garbage Collector RAS and tools

    13copy 2009 IBM Corporation

    PHP ndash JavaGroovy InteractionbullPHP JavaGroovy Bridge allows PHP to

    ndash Instantiate Java Classesndash Call static and instance methodsndash Access static and instance fieldsndash Extend Java Classes (not abstract)ndash Implement Java Interfacesndash Interact with Groovy Classes objects Closures and Ranges

    bullZero programming model allows PHP tondash Interact with other Modules built using Groovy Java PHP Flow by

    bull Handle and fire Zero eventsbull Fetch and store to the global context

    14copy 2009 IBM Corporation

    PHP ndash Java Bridge ndash Basic use

    Basic access to Java methods and fields - types

    are automatically converted at boundary of PHP runtime

    Static methods and fields are accessible by using the

    built in JavaClass class

    Java exceptions can be caught in PHP scripts

    15copy 2009 IBM Corporation

    PHP- Java Bridge ndash Iterators and overloads

    Bridging between PHP and Java iterators

    Signatures provide explicit control for overloaded constructors and methods

    16copy 2009 IBM Corporation

    Java Bridge ndash Importing Java Classes

    Importing a Java class creates a PHP class that has the same shape

    17copy 2009 IBM Corporation

    Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

    possible but has some limitations

    Java bean access maps field access onto getset method calls

    18copy 2009 IBM Corporation

    Groovy Bridge ndash Importing Scripts

    19copy 2009 IBM Corporation

    Other Groovy Bridge Features

    bull Method and Field Accessbull Closures and Curry

    ndash PHP Functions can be passed to Groovy as a closure

    20copy 2009 IBM Corporation

    Invoking PHP - Events

    bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

    21copy 2009 IBM Corporation

    Invoking PHP - Script Activity in Flow

    22copy 2009 IBM Corporation

    Agenda

    bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

    23copy 2009 IBM Corporation

    PHP Applications that run on sMash

    Forums

    CRM

    wiki

    Desktop Virtualisation

    Ajax Debugging

    Content Management Blogging

    FirePHP

    24copy 2009 IBM Corporation

    ZSL develops Web 20 Assets 3x faster with WebSphere sMash

    Downloaded sMash DE from projectzeroorg

    Assets built in 3frac12 weeks

    Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

    67 reduction in time-to-market for developing Web 20 assets

    90 less time to implement best-of-breed programs

    Ability to reuse 25 of code

    Out-of-the-box functionality vs 2frac12 days to install comparable software

    25copy 2009 IBM Corporation

    Energy Commons Overviewwwwenergycommonscombull Concept

    ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

    bull Value Propositionndash Interconnection of parties for knowledge share

    and exchange on demand in a silorsquod industry through shared cost model for development and operations

    bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

    utilizing global reach large ecosystem and utility channel to create scale

    ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

    for energy and climate

    26copy 2009 IBM Corporation

    Energy Commons Architecture Overview

    27copy 2009 IBM Corporation

    SugarCRM Integration scenario

    MQ

    MQ

    28copy 2009 IBM Corporation

    Demonstrations

    29copy 2009 IBM Corporation

    Agenda

    bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

    30copy 2009 IBM Corporation

    31copy 2009 IBM Corporation

    Referencesbull WebSphere sMash site httpwwwprojectzeroorg

    bull WebSphere sMash forums httpwwwprojectzeroorgforum

    bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

    bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

    32copy 2009 IBM Corporation

    We love your Feedback

    bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

    bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

    bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

    33copy 2009 IBM Corporation

    copy IBM Corporation 2009 All Rights Reserved

    The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

    References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

    Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

    All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

    The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

    A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

    Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

    • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
    • Abstract
    • Agenda
    • Agenda
    • WebSphere sMashAgile development of dynamic Web 20 based applications
    • WebSphere sMash
    • Agenda
    • Why PHP
    • WebSphere sMash PHP Support
    • PHP in WebSphere sMash
    • Benefits of PHP in sMash
    • PHP ndash JavaGroovy Interaction
    • PHP ndash Java Bridge ndash Basic use
    • PHP- Java Bridge ndash Iterators and overloads
    • Java Bridge ndash Importing Java Classes
    • Java Bridge ndash Extending Java in PHP
    • Groovy Bridge ndash Importing Scripts
    • Other Groovy Bridge Features
    • Invoking PHP - Events
    • Invoking PHP - Script Activity in Flow
    • Agenda
    • PHP Applications that run on sMash
    • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
    • Energy Commons Overviewwwwenergycommonscom
    • Energy Commons Architecture Overview
    • SugarCRM Integration scenario
    • Demonstrations
    • Agenda
    • References
    • We love your Feedback

      3copy 2009 IBM Corporation

      Agenda

      bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

      4copy 2009 IBM Corporation

      Agenda

      bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

      5copy 2009 IBM Corporation

      WebSphere sMashAgile development of dynamic Web 20 based applications

      IntroducingWebSphere sMash

      bull Improves developer productivity and efficiency through the support of dynamic scripting languages (Groovy and PHP) on Java

      bull Leverages Web 20 technologies for service invocation service composition and data interchange

      bull Provides visual tools for developers to build and assemble web20 applications

      6copy 2009 IBM Corporation

      Speed

      Simplicity

      Agility

      Dynamic scripting languagesTemplates amp Pre-built services

      Visual EditorsAssemble style development

      Application ldquoisrdquo the serverClean short-lived runtime

      WebSphere sMash

      7copy 2009 IBM Corporation

      WebSphere sMash Tooling

      Dynamic Scripting Editor

      Visual UI Editor

      Visual Flow Editor

      8copy 2009 IBM Corporation

      Agenda

      bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

      9copy 2009 IBM Corporation

      Why PHP

      bull 20M+ web domains use PHPbull 3M+ Programmers know PHPbull Huge repository of reusable modules snippets extensionsbull Easy language to learn -gt Mashupsbull Language has evolved to be easy to use

      TIOBE Programming Community Index (Sep 2008)Gartner (Dec 2007)bull PHP Developers to grow from 3 to

      55 million by 2013bull PHP Developers in Commercial or

      Corporate IT to grow from 13 to 60 by 2013

      bull ldquoPay special attention to opportunities to leverage PHP in combination with Java development effortsrdquo

      10copy 2009 IBM Corporation

      WebSphere sMash PHP Supportbull PHP runtime built in Java

      ndashTo PHPnet as Jruby is to Ruby and Jython is to Pythonbull Compile PHP into Java bytecodes and run on a Java

      Virtual Machinebull Powerful blending of PHP and Java code

      ndashJava and PHP code run in the same process on the same Threadbull No need for Inter-process communication

      ndashEfficient calls between PHP Java Groovy on the same stack

      ndashPass data between Java Groovy and PHP without copyingbull Avoids serialising and passing data between processes

      ndashImport Java classes as PHP Classesbull Easy access to the many Java libraries from PHP code

      11copy 2009 IBM Corporation

      Java Virtual Machine

      PHP in WebSphere sMash

      bull Runs PHP 5 scripts bull Requires Java 5 SE or later

      bull Extensibility via XAPIbull XAPI-C for C extensions from phpnetbull XAPI-J for Java extensions native

      libraries invoked over JNI and Project Zero interface

      bull Extension language choice opaque to PHP script

      bull Java Bridgebull Debug using via xdebug protocol using

      Eclipse with PDT

      P8 RuntimeInterpreterCompiler

      PHP runtime

      Java ExtensionsC

      Extensions

      Debug

      XAPI-JXAPI-C

      PDT2

      Java

      -Brid

      geJARJAR

      JARJAR

      Groovyruntime

      WebSphere sMash

      HTTP server

      Zero Programming Model

      xdebug

      12copy 2009 IBM Corporation

      Benefits of PHP in sMashbull Develop quickly by using the best tools and

      materials for the jobndash PHP code such as smarty SimpleXML drupal phpBB ndash Java code such as Apache Lucene POI and Eclipse BIRT

      bull Start simple using sMash tooling such as ZRM Flow

      ndash Customise and extend using PHP scripts and snippets

      bull Unleash agile teams using Java and PHP skillsndash Allow teams to use their full range of skills

      bull Build on a solid base ndash PHP built on the Java VM at the heart of IBMrsquos enterprise software stack

      bull Familiar to many enterprises bull Vast investment in JIT Garbage Collector RAS and tools

      13copy 2009 IBM Corporation

      PHP ndash JavaGroovy InteractionbullPHP JavaGroovy Bridge allows PHP to

      ndash Instantiate Java Classesndash Call static and instance methodsndash Access static and instance fieldsndash Extend Java Classes (not abstract)ndash Implement Java Interfacesndash Interact with Groovy Classes objects Closures and Ranges

      bullZero programming model allows PHP tondash Interact with other Modules built using Groovy Java PHP Flow by

      bull Handle and fire Zero eventsbull Fetch and store to the global context

      14copy 2009 IBM Corporation

      PHP ndash Java Bridge ndash Basic use

      Basic access to Java methods and fields - types

      are automatically converted at boundary of PHP runtime

      Static methods and fields are accessible by using the

      built in JavaClass class

      Java exceptions can be caught in PHP scripts

      15copy 2009 IBM Corporation

      PHP- Java Bridge ndash Iterators and overloads

      Bridging between PHP and Java iterators

      Signatures provide explicit control for overloaded constructors and methods

      16copy 2009 IBM Corporation

      Java Bridge ndash Importing Java Classes

      Importing a Java class creates a PHP class that has the same shape

      17copy 2009 IBM Corporation

      Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

      possible but has some limitations

      Java bean access maps field access onto getset method calls

      18copy 2009 IBM Corporation

      Groovy Bridge ndash Importing Scripts

      19copy 2009 IBM Corporation

      Other Groovy Bridge Features

      bull Method and Field Accessbull Closures and Curry

      ndash PHP Functions can be passed to Groovy as a closure

      20copy 2009 IBM Corporation

      Invoking PHP - Events

      bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

      21copy 2009 IBM Corporation

      Invoking PHP - Script Activity in Flow

      22copy 2009 IBM Corporation

      Agenda

      bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

      23copy 2009 IBM Corporation

      PHP Applications that run on sMash

      Forums

      CRM

      wiki

      Desktop Virtualisation

      Ajax Debugging

      Content Management Blogging

      FirePHP

      24copy 2009 IBM Corporation

      ZSL develops Web 20 Assets 3x faster with WebSphere sMash

      Downloaded sMash DE from projectzeroorg

      Assets built in 3frac12 weeks

      Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

      67 reduction in time-to-market for developing Web 20 assets

      90 less time to implement best-of-breed programs

      Ability to reuse 25 of code

      Out-of-the-box functionality vs 2frac12 days to install comparable software

      25copy 2009 IBM Corporation

      Energy Commons Overviewwwwenergycommonscombull Concept

      ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

      bull Value Propositionndash Interconnection of parties for knowledge share

      and exchange on demand in a silorsquod industry through shared cost model for development and operations

      bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

      utilizing global reach large ecosystem and utility channel to create scale

      ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

      for energy and climate

      26copy 2009 IBM Corporation

      Energy Commons Architecture Overview

      27copy 2009 IBM Corporation

      SugarCRM Integration scenario

      MQ

      MQ

      28copy 2009 IBM Corporation

      Demonstrations

      29copy 2009 IBM Corporation

      Agenda

      bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

      30copy 2009 IBM Corporation

      31copy 2009 IBM Corporation

      Referencesbull WebSphere sMash site httpwwwprojectzeroorg

      bull WebSphere sMash forums httpwwwprojectzeroorgforum

      bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

      bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

      32copy 2009 IBM Corporation

      We love your Feedback

      bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

      bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

      bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

      33copy 2009 IBM Corporation

      copy IBM Corporation 2009 All Rights Reserved

      The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

      References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

      Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

      All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

      The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

      A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

      Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

      • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
      • Abstract
      • Agenda
      • Agenda
      • WebSphere sMashAgile development of dynamic Web 20 based applications
      • WebSphere sMash
      • Agenda
      • Why PHP
      • WebSphere sMash PHP Support
      • PHP in WebSphere sMash
      • Benefits of PHP in sMash
      • PHP ndash JavaGroovy Interaction
      • PHP ndash Java Bridge ndash Basic use
      • PHP- Java Bridge ndash Iterators and overloads
      • Java Bridge ndash Importing Java Classes
      • Java Bridge ndash Extending Java in PHP
      • Groovy Bridge ndash Importing Scripts
      • Other Groovy Bridge Features
      • Invoking PHP - Events
      • Invoking PHP - Script Activity in Flow
      • Agenda
      • PHP Applications that run on sMash
      • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
      • Energy Commons Overviewwwwenergycommonscom
      • Energy Commons Architecture Overview
      • SugarCRM Integration scenario
      • Demonstrations
      • Agenda
      • References
      • We love your Feedback

        4copy 2009 IBM Corporation

        Agenda

        bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

        5copy 2009 IBM Corporation

        WebSphere sMashAgile development of dynamic Web 20 based applications

        IntroducingWebSphere sMash

        bull Improves developer productivity and efficiency through the support of dynamic scripting languages (Groovy and PHP) on Java

        bull Leverages Web 20 technologies for service invocation service composition and data interchange

        bull Provides visual tools for developers to build and assemble web20 applications

        6copy 2009 IBM Corporation

        Speed

        Simplicity

        Agility

        Dynamic scripting languagesTemplates amp Pre-built services

        Visual EditorsAssemble style development

        Application ldquoisrdquo the serverClean short-lived runtime

        WebSphere sMash

        7copy 2009 IBM Corporation

        WebSphere sMash Tooling

        Dynamic Scripting Editor

        Visual UI Editor

        Visual Flow Editor

        8copy 2009 IBM Corporation

        Agenda

        bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

        9copy 2009 IBM Corporation

        Why PHP

        bull 20M+ web domains use PHPbull 3M+ Programmers know PHPbull Huge repository of reusable modules snippets extensionsbull Easy language to learn -gt Mashupsbull Language has evolved to be easy to use

        TIOBE Programming Community Index (Sep 2008)Gartner (Dec 2007)bull PHP Developers to grow from 3 to

        55 million by 2013bull PHP Developers in Commercial or

        Corporate IT to grow from 13 to 60 by 2013

        bull ldquoPay special attention to opportunities to leverage PHP in combination with Java development effortsrdquo

        10copy 2009 IBM Corporation

        WebSphere sMash PHP Supportbull PHP runtime built in Java

        ndashTo PHPnet as Jruby is to Ruby and Jython is to Pythonbull Compile PHP into Java bytecodes and run on a Java

        Virtual Machinebull Powerful blending of PHP and Java code

        ndashJava and PHP code run in the same process on the same Threadbull No need for Inter-process communication

        ndashEfficient calls between PHP Java Groovy on the same stack

        ndashPass data between Java Groovy and PHP without copyingbull Avoids serialising and passing data between processes

        ndashImport Java classes as PHP Classesbull Easy access to the many Java libraries from PHP code

        11copy 2009 IBM Corporation

        Java Virtual Machine

        PHP in WebSphere sMash

        bull Runs PHP 5 scripts bull Requires Java 5 SE or later

        bull Extensibility via XAPIbull XAPI-C for C extensions from phpnetbull XAPI-J for Java extensions native

        libraries invoked over JNI and Project Zero interface

        bull Extension language choice opaque to PHP script

        bull Java Bridgebull Debug using via xdebug protocol using

        Eclipse with PDT

        P8 RuntimeInterpreterCompiler

        PHP runtime

        Java ExtensionsC

        Extensions

        Debug

        XAPI-JXAPI-C

        PDT2

        Java

        -Brid

        geJARJAR

        JARJAR

        Groovyruntime

        WebSphere sMash

        HTTP server

        Zero Programming Model

        xdebug

        12copy 2009 IBM Corporation

        Benefits of PHP in sMashbull Develop quickly by using the best tools and

        materials for the jobndash PHP code such as smarty SimpleXML drupal phpBB ndash Java code such as Apache Lucene POI and Eclipse BIRT

        bull Start simple using sMash tooling such as ZRM Flow

        ndash Customise and extend using PHP scripts and snippets

        bull Unleash agile teams using Java and PHP skillsndash Allow teams to use their full range of skills

        bull Build on a solid base ndash PHP built on the Java VM at the heart of IBMrsquos enterprise software stack

        bull Familiar to many enterprises bull Vast investment in JIT Garbage Collector RAS and tools

        13copy 2009 IBM Corporation

        PHP ndash JavaGroovy InteractionbullPHP JavaGroovy Bridge allows PHP to

        ndash Instantiate Java Classesndash Call static and instance methodsndash Access static and instance fieldsndash Extend Java Classes (not abstract)ndash Implement Java Interfacesndash Interact with Groovy Classes objects Closures and Ranges

        bullZero programming model allows PHP tondash Interact with other Modules built using Groovy Java PHP Flow by

        bull Handle and fire Zero eventsbull Fetch and store to the global context

        14copy 2009 IBM Corporation

        PHP ndash Java Bridge ndash Basic use

        Basic access to Java methods and fields - types

        are automatically converted at boundary of PHP runtime

        Static methods and fields are accessible by using the

        built in JavaClass class

        Java exceptions can be caught in PHP scripts

        15copy 2009 IBM Corporation

        PHP- Java Bridge ndash Iterators and overloads

        Bridging between PHP and Java iterators

        Signatures provide explicit control for overloaded constructors and methods

        16copy 2009 IBM Corporation

        Java Bridge ndash Importing Java Classes

        Importing a Java class creates a PHP class that has the same shape

        17copy 2009 IBM Corporation

        Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

        possible but has some limitations

        Java bean access maps field access onto getset method calls

        18copy 2009 IBM Corporation

        Groovy Bridge ndash Importing Scripts

        19copy 2009 IBM Corporation

        Other Groovy Bridge Features

        bull Method and Field Accessbull Closures and Curry

        ndash PHP Functions can be passed to Groovy as a closure

        20copy 2009 IBM Corporation

        Invoking PHP - Events

        bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

        21copy 2009 IBM Corporation

        Invoking PHP - Script Activity in Flow

        22copy 2009 IBM Corporation

        Agenda

        bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

        23copy 2009 IBM Corporation

        PHP Applications that run on sMash

        Forums

        CRM

        wiki

        Desktop Virtualisation

        Ajax Debugging

        Content Management Blogging

        FirePHP

        24copy 2009 IBM Corporation

        ZSL develops Web 20 Assets 3x faster with WebSphere sMash

        Downloaded sMash DE from projectzeroorg

        Assets built in 3frac12 weeks

        Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

        67 reduction in time-to-market for developing Web 20 assets

        90 less time to implement best-of-breed programs

        Ability to reuse 25 of code

        Out-of-the-box functionality vs 2frac12 days to install comparable software

        25copy 2009 IBM Corporation

        Energy Commons Overviewwwwenergycommonscombull Concept

        ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

        bull Value Propositionndash Interconnection of parties for knowledge share

        and exchange on demand in a silorsquod industry through shared cost model for development and operations

        bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

        utilizing global reach large ecosystem and utility channel to create scale

        ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

        for energy and climate

        26copy 2009 IBM Corporation

        Energy Commons Architecture Overview

        27copy 2009 IBM Corporation

        SugarCRM Integration scenario

        MQ

        MQ

        28copy 2009 IBM Corporation

        Demonstrations

        29copy 2009 IBM Corporation

        Agenda

        bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

        30copy 2009 IBM Corporation

        31copy 2009 IBM Corporation

        Referencesbull WebSphere sMash site httpwwwprojectzeroorg

        bull WebSphere sMash forums httpwwwprojectzeroorgforum

        bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

        bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

        32copy 2009 IBM Corporation

        We love your Feedback

        bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

        bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

        bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

        33copy 2009 IBM Corporation

        copy IBM Corporation 2009 All Rights Reserved

        The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

        References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

        Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

        All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

        The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

        A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

        Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

        • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
        • Abstract
        • Agenda
        • Agenda
        • WebSphere sMashAgile development of dynamic Web 20 based applications
        • WebSphere sMash
        • Agenda
        • Why PHP
        • WebSphere sMash PHP Support
        • PHP in WebSphere sMash
        • Benefits of PHP in sMash
        • PHP ndash JavaGroovy Interaction
        • PHP ndash Java Bridge ndash Basic use
        • PHP- Java Bridge ndash Iterators and overloads
        • Java Bridge ndash Importing Java Classes
        • Java Bridge ndash Extending Java in PHP
        • Groovy Bridge ndash Importing Scripts
        • Other Groovy Bridge Features
        • Invoking PHP - Events
        • Invoking PHP - Script Activity in Flow
        • Agenda
        • PHP Applications that run on sMash
        • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
        • Energy Commons Overviewwwwenergycommonscom
        • Energy Commons Architecture Overview
        • SugarCRM Integration scenario
        • Demonstrations
        • Agenda
        • References
        • We love your Feedback

          5copy 2009 IBM Corporation

          WebSphere sMashAgile development of dynamic Web 20 based applications

          IntroducingWebSphere sMash

          bull Improves developer productivity and efficiency through the support of dynamic scripting languages (Groovy and PHP) on Java

          bull Leverages Web 20 technologies for service invocation service composition and data interchange

          bull Provides visual tools for developers to build and assemble web20 applications

          6copy 2009 IBM Corporation

          Speed

          Simplicity

          Agility

          Dynamic scripting languagesTemplates amp Pre-built services

          Visual EditorsAssemble style development

          Application ldquoisrdquo the serverClean short-lived runtime

          WebSphere sMash

          7copy 2009 IBM Corporation

          WebSphere sMash Tooling

          Dynamic Scripting Editor

          Visual UI Editor

          Visual Flow Editor

          8copy 2009 IBM Corporation

          Agenda

          bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

          9copy 2009 IBM Corporation

          Why PHP

          bull 20M+ web domains use PHPbull 3M+ Programmers know PHPbull Huge repository of reusable modules snippets extensionsbull Easy language to learn -gt Mashupsbull Language has evolved to be easy to use

          TIOBE Programming Community Index (Sep 2008)Gartner (Dec 2007)bull PHP Developers to grow from 3 to

          55 million by 2013bull PHP Developers in Commercial or

          Corporate IT to grow from 13 to 60 by 2013

          bull ldquoPay special attention to opportunities to leverage PHP in combination with Java development effortsrdquo

          10copy 2009 IBM Corporation

          WebSphere sMash PHP Supportbull PHP runtime built in Java

          ndashTo PHPnet as Jruby is to Ruby and Jython is to Pythonbull Compile PHP into Java bytecodes and run on a Java

          Virtual Machinebull Powerful blending of PHP and Java code

          ndashJava and PHP code run in the same process on the same Threadbull No need for Inter-process communication

          ndashEfficient calls between PHP Java Groovy on the same stack

          ndashPass data between Java Groovy and PHP without copyingbull Avoids serialising and passing data between processes

          ndashImport Java classes as PHP Classesbull Easy access to the many Java libraries from PHP code

          11copy 2009 IBM Corporation

          Java Virtual Machine

          PHP in WebSphere sMash

          bull Runs PHP 5 scripts bull Requires Java 5 SE or later

          bull Extensibility via XAPIbull XAPI-C for C extensions from phpnetbull XAPI-J for Java extensions native

          libraries invoked over JNI and Project Zero interface

          bull Extension language choice opaque to PHP script

          bull Java Bridgebull Debug using via xdebug protocol using

          Eclipse with PDT

          P8 RuntimeInterpreterCompiler

          PHP runtime

          Java ExtensionsC

          Extensions

          Debug

          XAPI-JXAPI-C

          PDT2

          Java

          -Brid

          geJARJAR

          JARJAR

          Groovyruntime

          WebSphere sMash

          HTTP server

          Zero Programming Model

          xdebug

          12copy 2009 IBM Corporation

          Benefits of PHP in sMashbull Develop quickly by using the best tools and

          materials for the jobndash PHP code such as smarty SimpleXML drupal phpBB ndash Java code such as Apache Lucene POI and Eclipse BIRT

          bull Start simple using sMash tooling such as ZRM Flow

          ndash Customise and extend using PHP scripts and snippets

          bull Unleash agile teams using Java and PHP skillsndash Allow teams to use their full range of skills

          bull Build on a solid base ndash PHP built on the Java VM at the heart of IBMrsquos enterprise software stack

          bull Familiar to many enterprises bull Vast investment in JIT Garbage Collector RAS and tools

          13copy 2009 IBM Corporation

          PHP ndash JavaGroovy InteractionbullPHP JavaGroovy Bridge allows PHP to

          ndash Instantiate Java Classesndash Call static and instance methodsndash Access static and instance fieldsndash Extend Java Classes (not abstract)ndash Implement Java Interfacesndash Interact with Groovy Classes objects Closures and Ranges

          bullZero programming model allows PHP tondash Interact with other Modules built using Groovy Java PHP Flow by

          bull Handle and fire Zero eventsbull Fetch and store to the global context

          14copy 2009 IBM Corporation

          PHP ndash Java Bridge ndash Basic use

          Basic access to Java methods and fields - types

          are automatically converted at boundary of PHP runtime

          Static methods and fields are accessible by using the

          built in JavaClass class

          Java exceptions can be caught in PHP scripts

          15copy 2009 IBM Corporation

          PHP- Java Bridge ndash Iterators and overloads

          Bridging between PHP and Java iterators

          Signatures provide explicit control for overloaded constructors and methods

          16copy 2009 IBM Corporation

          Java Bridge ndash Importing Java Classes

          Importing a Java class creates a PHP class that has the same shape

          17copy 2009 IBM Corporation

          Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

          possible but has some limitations

          Java bean access maps field access onto getset method calls

          18copy 2009 IBM Corporation

          Groovy Bridge ndash Importing Scripts

          19copy 2009 IBM Corporation

          Other Groovy Bridge Features

          bull Method and Field Accessbull Closures and Curry

          ndash PHP Functions can be passed to Groovy as a closure

          20copy 2009 IBM Corporation

          Invoking PHP - Events

          bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

          21copy 2009 IBM Corporation

          Invoking PHP - Script Activity in Flow

          22copy 2009 IBM Corporation

          Agenda

          bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

          23copy 2009 IBM Corporation

          PHP Applications that run on sMash

          Forums

          CRM

          wiki

          Desktop Virtualisation

          Ajax Debugging

          Content Management Blogging

          FirePHP

          24copy 2009 IBM Corporation

          ZSL develops Web 20 Assets 3x faster with WebSphere sMash

          Downloaded sMash DE from projectzeroorg

          Assets built in 3frac12 weeks

          Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

          67 reduction in time-to-market for developing Web 20 assets

          90 less time to implement best-of-breed programs

          Ability to reuse 25 of code

          Out-of-the-box functionality vs 2frac12 days to install comparable software

          25copy 2009 IBM Corporation

          Energy Commons Overviewwwwenergycommonscombull Concept

          ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

          bull Value Propositionndash Interconnection of parties for knowledge share

          and exchange on demand in a silorsquod industry through shared cost model for development and operations

          bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

          utilizing global reach large ecosystem and utility channel to create scale

          ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

          for energy and climate

          26copy 2009 IBM Corporation

          Energy Commons Architecture Overview

          27copy 2009 IBM Corporation

          SugarCRM Integration scenario

          MQ

          MQ

          28copy 2009 IBM Corporation

          Demonstrations

          29copy 2009 IBM Corporation

          Agenda

          bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

          30copy 2009 IBM Corporation

          31copy 2009 IBM Corporation

          Referencesbull WebSphere sMash site httpwwwprojectzeroorg

          bull WebSphere sMash forums httpwwwprojectzeroorgforum

          bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

          bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

          32copy 2009 IBM Corporation

          We love your Feedback

          bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

          bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

          bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

          33copy 2009 IBM Corporation

          copy IBM Corporation 2009 All Rights Reserved

          The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

          References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

          Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

          All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

          The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

          A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

          Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

          • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
          • Abstract
          • Agenda
          • Agenda
          • WebSphere sMashAgile development of dynamic Web 20 based applications
          • WebSphere sMash
          • Agenda
          • Why PHP
          • WebSphere sMash PHP Support
          • PHP in WebSphere sMash
          • Benefits of PHP in sMash
          • PHP ndash JavaGroovy Interaction
          • PHP ndash Java Bridge ndash Basic use
          • PHP- Java Bridge ndash Iterators and overloads
          • Java Bridge ndash Importing Java Classes
          • Java Bridge ndash Extending Java in PHP
          • Groovy Bridge ndash Importing Scripts
          • Other Groovy Bridge Features
          • Invoking PHP - Events
          • Invoking PHP - Script Activity in Flow
          • Agenda
          • PHP Applications that run on sMash
          • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
          • Energy Commons Overviewwwwenergycommonscom
          • Energy Commons Architecture Overview
          • SugarCRM Integration scenario
          • Demonstrations
          • Agenda
          • References
          • We love your Feedback

            6copy 2009 IBM Corporation

            Speed

            Simplicity

            Agility

            Dynamic scripting languagesTemplates amp Pre-built services

            Visual EditorsAssemble style development

            Application ldquoisrdquo the serverClean short-lived runtime

            WebSphere sMash

            7copy 2009 IBM Corporation

            WebSphere sMash Tooling

            Dynamic Scripting Editor

            Visual UI Editor

            Visual Flow Editor

            8copy 2009 IBM Corporation

            Agenda

            bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

            9copy 2009 IBM Corporation

            Why PHP

            bull 20M+ web domains use PHPbull 3M+ Programmers know PHPbull Huge repository of reusable modules snippets extensionsbull Easy language to learn -gt Mashupsbull Language has evolved to be easy to use

            TIOBE Programming Community Index (Sep 2008)Gartner (Dec 2007)bull PHP Developers to grow from 3 to

            55 million by 2013bull PHP Developers in Commercial or

            Corporate IT to grow from 13 to 60 by 2013

            bull ldquoPay special attention to opportunities to leverage PHP in combination with Java development effortsrdquo

            10copy 2009 IBM Corporation

            WebSphere sMash PHP Supportbull PHP runtime built in Java

            ndashTo PHPnet as Jruby is to Ruby and Jython is to Pythonbull Compile PHP into Java bytecodes and run on a Java

            Virtual Machinebull Powerful blending of PHP and Java code

            ndashJava and PHP code run in the same process on the same Threadbull No need for Inter-process communication

            ndashEfficient calls between PHP Java Groovy on the same stack

            ndashPass data between Java Groovy and PHP without copyingbull Avoids serialising and passing data between processes

            ndashImport Java classes as PHP Classesbull Easy access to the many Java libraries from PHP code

            11copy 2009 IBM Corporation

            Java Virtual Machine

            PHP in WebSphere sMash

            bull Runs PHP 5 scripts bull Requires Java 5 SE or later

            bull Extensibility via XAPIbull XAPI-C for C extensions from phpnetbull XAPI-J for Java extensions native

            libraries invoked over JNI and Project Zero interface

            bull Extension language choice opaque to PHP script

            bull Java Bridgebull Debug using via xdebug protocol using

            Eclipse with PDT

            P8 RuntimeInterpreterCompiler

            PHP runtime

            Java ExtensionsC

            Extensions

            Debug

            XAPI-JXAPI-C

            PDT2

            Java

            -Brid

            geJARJAR

            JARJAR

            Groovyruntime

            WebSphere sMash

            HTTP server

            Zero Programming Model

            xdebug

            12copy 2009 IBM Corporation

            Benefits of PHP in sMashbull Develop quickly by using the best tools and

            materials for the jobndash PHP code such as smarty SimpleXML drupal phpBB ndash Java code such as Apache Lucene POI and Eclipse BIRT

            bull Start simple using sMash tooling such as ZRM Flow

            ndash Customise and extend using PHP scripts and snippets

            bull Unleash agile teams using Java and PHP skillsndash Allow teams to use their full range of skills

            bull Build on a solid base ndash PHP built on the Java VM at the heart of IBMrsquos enterprise software stack

            bull Familiar to many enterprises bull Vast investment in JIT Garbage Collector RAS and tools

            13copy 2009 IBM Corporation

            PHP ndash JavaGroovy InteractionbullPHP JavaGroovy Bridge allows PHP to

            ndash Instantiate Java Classesndash Call static and instance methodsndash Access static and instance fieldsndash Extend Java Classes (not abstract)ndash Implement Java Interfacesndash Interact with Groovy Classes objects Closures and Ranges

            bullZero programming model allows PHP tondash Interact with other Modules built using Groovy Java PHP Flow by

            bull Handle and fire Zero eventsbull Fetch and store to the global context

            14copy 2009 IBM Corporation

            PHP ndash Java Bridge ndash Basic use

            Basic access to Java methods and fields - types

            are automatically converted at boundary of PHP runtime

            Static methods and fields are accessible by using the

            built in JavaClass class

            Java exceptions can be caught in PHP scripts

            15copy 2009 IBM Corporation

            PHP- Java Bridge ndash Iterators and overloads

            Bridging between PHP and Java iterators

            Signatures provide explicit control for overloaded constructors and methods

            16copy 2009 IBM Corporation

            Java Bridge ndash Importing Java Classes

            Importing a Java class creates a PHP class that has the same shape

            17copy 2009 IBM Corporation

            Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

            possible but has some limitations

            Java bean access maps field access onto getset method calls

            18copy 2009 IBM Corporation

            Groovy Bridge ndash Importing Scripts

            19copy 2009 IBM Corporation

            Other Groovy Bridge Features

            bull Method and Field Accessbull Closures and Curry

            ndash PHP Functions can be passed to Groovy as a closure

            20copy 2009 IBM Corporation

            Invoking PHP - Events

            bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

            21copy 2009 IBM Corporation

            Invoking PHP - Script Activity in Flow

            22copy 2009 IBM Corporation

            Agenda

            bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

            23copy 2009 IBM Corporation

            PHP Applications that run on sMash

            Forums

            CRM

            wiki

            Desktop Virtualisation

            Ajax Debugging

            Content Management Blogging

            FirePHP

            24copy 2009 IBM Corporation

            ZSL develops Web 20 Assets 3x faster with WebSphere sMash

            Downloaded sMash DE from projectzeroorg

            Assets built in 3frac12 weeks

            Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

            67 reduction in time-to-market for developing Web 20 assets

            90 less time to implement best-of-breed programs

            Ability to reuse 25 of code

            Out-of-the-box functionality vs 2frac12 days to install comparable software

            25copy 2009 IBM Corporation

            Energy Commons Overviewwwwenergycommonscombull Concept

            ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

            bull Value Propositionndash Interconnection of parties for knowledge share

            and exchange on demand in a silorsquod industry through shared cost model for development and operations

            bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

            utilizing global reach large ecosystem and utility channel to create scale

            ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

            for energy and climate

            26copy 2009 IBM Corporation

            Energy Commons Architecture Overview

            27copy 2009 IBM Corporation

            SugarCRM Integration scenario

            MQ

            MQ

            28copy 2009 IBM Corporation

            Demonstrations

            29copy 2009 IBM Corporation

            Agenda

            bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

            30copy 2009 IBM Corporation

            31copy 2009 IBM Corporation

            Referencesbull WebSphere sMash site httpwwwprojectzeroorg

            bull WebSphere sMash forums httpwwwprojectzeroorgforum

            bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

            bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

            32copy 2009 IBM Corporation

            We love your Feedback

            bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

            bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

            bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

            33copy 2009 IBM Corporation

            copy IBM Corporation 2009 All Rights Reserved

            The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

            References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

            Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

            All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

            The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

            A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

            Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

            • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
            • Abstract
            • Agenda
            • Agenda
            • WebSphere sMashAgile development of dynamic Web 20 based applications
            • WebSphere sMash
            • Agenda
            • Why PHP
            • WebSphere sMash PHP Support
            • PHP in WebSphere sMash
            • Benefits of PHP in sMash
            • PHP ndash JavaGroovy Interaction
            • PHP ndash Java Bridge ndash Basic use
            • PHP- Java Bridge ndash Iterators and overloads
            • Java Bridge ndash Importing Java Classes
            • Java Bridge ndash Extending Java in PHP
            • Groovy Bridge ndash Importing Scripts
            • Other Groovy Bridge Features
            • Invoking PHP - Events
            • Invoking PHP - Script Activity in Flow
            • Agenda
            • PHP Applications that run on sMash
            • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
            • Energy Commons Overviewwwwenergycommonscom
            • Energy Commons Architecture Overview
            • SugarCRM Integration scenario
            • Demonstrations
            • Agenda
            • References
            • We love your Feedback

              7copy 2009 IBM Corporation

              WebSphere sMash Tooling

              Dynamic Scripting Editor

              Visual UI Editor

              Visual Flow Editor

              8copy 2009 IBM Corporation

              Agenda

              bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

              9copy 2009 IBM Corporation

              Why PHP

              bull 20M+ web domains use PHPbull 3M+ Programmers know PHPbull Huge repository of reusable modules snippets extensionsbull Easy language to learn -gt Mashupsbull Language has evolved to be easy to use

              TIOBE Programming Community Index (Sep 2008)Gartner (Dec 2007)bull PHP Developers to grow from 3 to

              55 million by 2013bull PHP Developers in Commercial or

              Corporate IT to grow from 13 to 60 by 2013

              bull ldquoPay special attention to opportunities to leverage PHP in combination with Java development effortsrdquo

              10copy 2009 IBM Corporation

              WebSphere sMash PHP Supportbull PHP runtime built in Java

              ndashTo PHPnet as Jruby is to Ruby and Jython is to Pythonbull Compile PHP into Java bytecodes and run on a Java

              Virtual Machinebull Powerful blending of PHP and Java code

              ndashJava and PHP code run in the same process on the same Threadbull No need for Inter-process communication

              ndashEfficient calls between PHP Java Groovy on the same stack

              ndashPass data between Java Groovy and PHP without copyingbull Avoids serialising and passing data between processes

              ndashImport Java classes as PHP Classesbull Easy access to the many Java libraries from PHP code

              11copy 2009 IBM Corporation

              Java Virtual Machine

              PHP in WebSphere sMash

              bull Runs PHP 5 scripts bull Requires Java 5 SE or later

              bull Extensibility via XAPIbull XAPI-C for C extensions from phpnetbull XAPI-J for Java extensions native

              libraries invoked over JNI and Project Zero interface

              bull Extension language choice opaque to PHP script

              bull Java Bridgebull Debug using via xdebug protocol using

              Eclipse with PDT

              P8 RuntimeInterpreterCompiler

              PHP runtime

              Java ExtensionsC

              Extensions

              Debug

              XAPI-JXAPI-C

              PDT2

              Java

              -Brid

              geJARJAR

              JARJAR

              Groovyruntime

              WebSphere sMash

              HTTP server

              Zero Programming Model

              xdebug

              12copy 2009 IBM Corporation

              Benefits of PHP in sMashbull Develop quickly by using the best tools and

              materials for the jobndash PHP code such as smarty SimpleXML drupal phpBB ndash Java code such as Apache Lucene POI and Eclipse BIRT

              bull Start simple using sMash tooling such as ZRM Flow

              ndash Customise and extend using PHP scripts and snippets

              bull Unleash agile teams using Java and PHP skillsndash Allow teams to use their full range of skills

              bull Build on a solid base ndash PHP built on the Java VM at the heart of IBMrsquos enterprise software stack

              bull Familiar to many enterprises bull Vast investment in JIT Garbage Collector RAS and tools

              13copy 2009 IBM Corporation

              PHP ndash JavaGroovy InteractionbullPHP JavaGroovy Bridge allows PHP to

              ndash Instantiate Java Classesndash Call static and instance methodsndash Access static and instance fieldsndash Extend Java Classes (not abstract)ndash Implement Java Interfacesndash Interact with Groovy Classes objects Closures and Ranges

              bullZero programming model allows PHP tondash Interact with other Modules built using Groovy Java PHP Flow by

              bull Handle and fire Zero eventsbull Fetch and store to the global context

              14copy 2009 IBM Corporation

              PHP ndash Java Bridge ndash Basic use

              Basic access to Java methods and fields - types

              are automatically converted at boundary of PHP runtime

              Static methods and fields are accessible by using the

              built in JavaClass class

              Java exceptions can be caught in PHP scripts

              15copy 2009 IBM Corporation

              PHP- Java Bridge ndash Iterators and overloads

              Bridging between PHP and Java iterators

              Signatures provide explicit control for overloaded constructors and methods

              16copy 2009 IBM Corporation

              Java Bridge ndash Importing Java Classes

              Importing a Java class creates a PHP class that has the same shape

              17copy 2009 IBM Corporation

              Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

              possible but has some limitations

              Java bean access maps field access onto getset method calls

              18copy 2009 IBM Corporation

              Groovy Bridge ndash Importing Scripts

              19copy 2009 IBM Corporation

              Other Groovy Bridge Features

              bull Method and Field Accessbull Closures and Curry

              ndash PHP Functions can be passed to Groovy as a closure

              20copy 2009 IBM Corporation

              Invoking PHP - Events

              bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

              21copy 2009 IBM Corporation

              Invoking PHP - Script Activity in Flow

              22copy 2009 IBM Corporation

              Agenda

              bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

              23copy 2009 IBM Corporation

              PHP Applications that run on sMash

              Forums

              CRM

              wiki

              Desktop Virtualisation

              Ajax Debugging

              Content Management Blogging

              FirePHP

              24copy 2009 IBM Corporation

              ZSL develops Web 20 Assets 3x faster with WebSphere sMash

              Downloaded sMash DE from projectzeroorg

              Assets built in 3frac12 weeks

              Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

              67 reduction in time-to-market for developing Web 20 assets

              90 less time to implement best-of-breed programs

              Ability to reuse 25 of code

              Out-of-the-box functionality vs 2frac12 days to install comparable software

              25copy 2009 IBM Corporation

              Energy Commons Overviewwwwenergycommonscombull Concept

              ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

              bull Value Propositionndash Interconnection of parties for knowledge share

              and exchange on demand in a silorsquod industry through shared cost model for development and operations

              bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

              utilizing global reach large ecosystem and utility channel to create scale

              ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

              for energy and climate

              26copy 2009 IBM Corporation

              Energy Commons Architecture Overview

              27copy 2009 IBM Corporation

              SugarCRM Integration scenario

              MQ

              MQ

              28copy 2009 IBM Corporation

              Demonstrations

              29copy 2009 IBM Corporation

              Agenda

              bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

              30copy 2009 IBM Corporation

              31copy 2009 IBM Corporation

              Referencesbull WebSphere sMash site httpwwwprojectzeroorg

              bull WebSphere sMash forums httpwwwprojectzeroorgforum

              bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

              bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

              32copy 2009 IBM Corporation

              We love your Feedback

              bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

              bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

              bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

              33copy 2009 IBM Corporation

              copy IBM Corporation 2009 All Rights Reserved

              The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

              References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

              Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

              All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

              The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

              A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

              Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

              • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
              • Abstract
              • Agenda
              • Agenda
              • WebSphere sMashAgile development of dynamic Web 20 based applications
              • WebSphere sMash
              • Agenda
              • Why PHP
              • WebSphere sMash PHP Support
              • PHP in WebSphere sMash
              • Benefits of PHP in sMash
              • PHP ndash JavaGroovy Interaction
              • PHP ndash Java Bridge ndash Basic use
              • PHP- Java Bridge ndash Iterators and overloads
              • Java Bridge ndash Importing Java Classes
              • Java Bridge ndash Extending Java in PHP
              • Groovy Bridge ndash Importing Scripts
              • Other Groovy Bridge Features
              • Invoking PHP - Events
              • Invoking PHP - Script Activity in Flow
              • Agenda
              • PHP Applications that run on sMash
              • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
              • Energy Commons Overviewwwwenergycommonscom
              • Energy Commons Architecture Overview
              • SugarCRM Integration scenario
              • Demonstrations
              • Agenda
              • References
              • We love your Feedback

                8copy 2009 IBM Corporation

                Agenda

                bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                9copy 2009 IBM Corporation

                Why PHP

                bull 20M+ web domains use PHPbull 3M+ Programmers know PHPbull Huge repository of reusable modules snippets extensionsbull Easy language to learn -gt Mashupsbull Language has evolved to be easy to use

                TIOBE Programming Community Index (Sep 2008)Gartner (Dec 2007)bull PHP Developers to grow from 3 to

                55 million by 2013bull PHP Developers in Commercial or

                Corporate IT to grow from 13 to 60 by 2013

                bull ldquoPay special attention to opportunities to leverage PHP in combination with Java development effortsrdquo

                10copy 2009 IBM Corporation

                WebSphere sMash PHP Supportbull PHP runtime built in Java

                ndashTo PHPnet as Jruby is to Ruby and Jython is to Pythonbull Compile PHP into Java bytecodes and run on a Java

                Virtual Machinebull Powerful blending of PHP and Java code

                ndashJava and PHP code run in the same process on the same Threadbull No need for Inter-process communication

                ndashEfficient calls between PHP Java Groovy on the same stack

                ndashPass data between Java Groovy and PHP without copyingbull Avoids serialising and passing data between processes

                ndashImport Java classes as PHP Classesbull Easy access to the many Java libraries from PHP code

                11copy 2009 IBM Corporation

                Java Virtual Machine

                PHP in WebSphere sMash

                bull Runs PHP 5 scripts bull Requires Java 5 SE or later

                bull Extensibility via XAPIbull XAPI-C for C extensions from phpnetbull XAPI-J for Java extensions native

                libraries invoked over JNI and Project Zero interface

                bull Extension language choice opaque to PHP script

                bull Java Bridgebull Debug using via xdebug protocol using

                Eclipse with PDT

                P8 RuntimeInterpreterCompiler

                PHP runtime

                Java ExtensionsC

                Extensions

                Debug

                XAPI-JXAPI-C

                PDT2

                Java

                -Brid

                geJARJAR

                JARJAR

                Groovyruntime

                WebSphere sMash

                HTTP server

                Zero Programming Model

                xdebug

                12copy 2009 IBM Corporation

                Benefits of PHP in sMashbull Develop quickly by using the best tools and

                materials for the jobndash PHP code such as smarty SimpleXML drupal phpBB ndash Java code such as Apache Lucene POI and Eclipse BIRT

                bull Start simple using sMash tooling such as ZRM Flow

                ndash Customise and extend using PHP scripts and snippets

                bull Unleash agile teams using Java and PHP skillsndash Allow teams to use their full range of skills

                bull Build on a solid base ndash PHP built on the Java VM at the heart of IBMrsquos enterprise software stack

                bull Familiar to many enterprises bull Vast investment in JIT Garbage Collector RAS and tools

                13copy 2009 IBM Corporation

                PHP ndash JavaGroovy InteractionbullPHP JavaGroovy Bridge allows PHP to

                ndash Instantiate Java Classesndash Call static and instance methodsndash Access static and instance fieldsndash Extend Java Classes (not abstract)ndash Implement Java Interfacesndash Interact with Groovy Classes objects Closures and Ranges

                bullZero programming model allows PHP tondash Interact with other Modules built using Groovy Java PHP Flow by

                bull Handle and fire Zero eventsbull Fetch and store to the global context

                14copy 2009 IBM Corporation

                PHP ndash Java Bridge ndash Basic use

                Basic access to Java methods and fields - types

                are automatically converted at boundary of PHP runtime

                Static methods and fields are accessible by using the

                built in JavaClass class

                Java exceptions can be caught in PHP scripts

                15copy 2009 IBM Corporation

                PHP- Java Bridge ndash Iterators and overloads

                Bridging between PHP and Java iterators

                Signatures provide explicit control for overloaded constructors and methods

                16copy 2009 IBM Corporation

                Java Bridge ndash Importing Java Classes

                Importing a Java class creates a PHP class that has the same shape

                17copy 2009 IBM Corporation

                Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

                possible but has some limitations

                Java bean access maps field access onto getset method calls

                18copy 2009 IBM Corporation

                Groovy Bridge ndash Importing Scripts

                19copy 2009 IBM Corporation

                Other Groovy Bridge Features

                bull Method and Field Accessbull Closures and Curry

                ndash PHP Functions can be passed to Groovy as a closure

                20copy 2009 IBM Corporation

                Invoking PHP - Events

                bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

                21copy 2009 IBM Corporation

                Invoking PHP - Script Activity in Flow

                22copy 2009 IBM Corporation

                Agenda

                bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                23copy 2009 IBM Corporation

                PHP Applications that run on sMash

                Forums

                CRM

                wiki

                Desktop Virtualisation

                Ajax Debugging

                Content Management Blogging

                FirePHP

                24copy 2009 IBM Corporation

                ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                Downloaded sMash DE from projectzeroorg

                Assets built in 3frac12 weeks

                Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                67 reduction in time-to-market for developing Web 20 assets

                90 less time to implement best-of-breed programs

                Ability to reuse 25 of code

                Out-of-the-box functionality vs 2frac12 days to install comparable software

                25copy 2009 IBM Corporation

                Energy Commons Overviewwwwenergycommonscombull Concept

                ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                bull Value Propositionndash Interconnection of parties for knowledge share

                and exchange on demand in a silorsquod industry through shared cost model for development and operations

                bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                utilizing global reach large ecosystem and utility channel to create scale

                ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                for energy and climate

                26copy 2009 IBM Corporation

                Energy Commons Architecture Overview

                27copy 2009 IBM Corporation

                SugarCRM Integration scenario

                MQ

                MQ

                28copy 2009 IBM Corporation

                Demonstrations

                29copy 2009 IBM Corporation

                Agenda

                bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                30copy 2009 IBM Corporation

                31copy 2009 IBM Corporation

                Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                bull WebSphere sMash forums httpwwwprojectzeroorgforum

                bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                32copy 2009 IBM Corporation

                We love your Feedback

                bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                33copy 2009 IBM Corporation

                copy IBM Corporation 2009 All Rights Reserved

                The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                • Abstract
                • Agenda
                • Agenda
                • WebSphere sMashAgile development of dynamic Web 20 based applications
                • WebSphere sMash
                • Agenda
                • Why PHP
                • WebSphere sMash PHP Support
                • PHP in WebSphere sMash
                • Benefits of PHP in sMash
                • PHP ndash JavaGroovy Interaction
                • PHP ndash Java Bridge ndash Basic use
                • PHP- Java Bridge ndash Iterators and overloads
                • Java Bridge ndash Importing Java Classes
                • Java Bridge ndash Extending Java in PHP
                • Groovy Bridge ndash Importing Scripts
                • Other Groovy Bridge Features
                • Invoking PHP - Events
                • Invoking PHP - Script Activity in Flow
                • Agenda
                • PHP Applications that run on sMash
                • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                • Energy Commons Overviewwwwenergycommonscom
                • Energy Commons Architecture Overview
                • SugarCRM Integration scenario
                • Demonstrations
                • Agenda
                • References
                • We love your Feedback

                  9copy 2009 IBM Corporation

                  Why PHP

                  bull 20M+ web domains use PHPbull 3M+ Programmers know PHPbull Huge repository of reusable modules snippets extensionsbull Easy language to learn -gt Mashupsbull Language has evolved to be easy to use

                  TIOBE Programming Community Index (Sep 2008)Gartner (Dec 2007)bull PHP Developers to grow from 3 to

                  55 million by 2013bull PHP Developers in Commercial or

                  Corporate IT to grow from 13 to 60 by 2013

                  bull ldquoPay special attention to opportunities to leverage PHP in combination with Java development effortsrdquo

                  10copy 2009 IBM Corporation

                  WebSphere sMash PHP Supportbull PHP runtime built in Java

                  ndashTo PHPnet as Jruby is to Ruby and Jython is to Pythonbull Compile PHP into Java bytecodes and run on a Java

                  Virtual Machinebull Powerful blending of PHP and Java code

                  ndashJava and PHP code run in the same process on the same Threadbull No need for Inter-process communication

                  ndashEfficient calls between PHP Java Groovy on the same stack

                  ndashPass data between Java Groovy and PHP without copyingbull Avoids serialising and passing data between processes

                  ndashImport Java classes as PHP Classesbull Easy access to the many Java libraries from PHP code

                  11copy 2009 IBM Corporation

                  Java Virtual Machine

                  PHP in WebSphere sMash

                  bull Runs PHP 5 scripts bull Requires Java 5 SE or later

                  bull Extensibility via XAPIbull XAPI-C for C extensions from phpnetbull XAPI-J for Java extensions native

                  libraries invoked over JNI and Project Zero interface

                  bull Extension language choice opaque to PHP script

                  bull Java Bridgebull Debug using via xdebug protocol using

                  Eclipse with PDT

                  P8 RuntimeInterpreterCompiler

                  PHP runtime

                  Java ExtensionsC

                  Extensions

                  Debug

                  XAPI-JXAPI-C

                  PDT2

                  Java

                  -Brid

                  geJARJAR

                  JARJAR

                  Groovyruntime

                  WebSphere sMash

                  HTTP server

                  Zero Programming Model

                  xdebug

                  12copy 2009 IBM Corporation

                  Benefits of PHP in sMashbull Develop quickly by using the best tools and

                  materials for the jobndash PHP code such as smarty SimpleXML drupal phpBB ndash Java code such as Apache Lucene POI and Eclipse BIRT

                  bull Start simple using sMash tooling such as ZRM Flow

                  ndash Customise and extend using PHP scripts and snippets

                  bull Unleash agile teams using Java and PHP skillsndash Allow teams to use their full range of skills

                  bull Build on a solid base ndash PHP built on the Java VM at the heart of IBMrsquos enterprise software stack

                  bull Familiar to many enterprises bull Vast investment in JIT Garbage Collector RAS and tools

                  13copy 2009 IBM Corporation

                  PHP ndash JavaGroovy InteractionbullPHP JavaGroovy Bridge allows PHP to

                  ndash Instantiate Java Classesndash Call static and instance methodsndash Access static and instance fieldsndash Extend Java Classes (not abstract)ndash Implement Java Interfacesndash Interact with Groovy Classes objects Closures and Ranges

                  bullZero programming model allows PHP tondash Interact with other Modules built using Groovy Java PHP Flow by

                  bull Handle and fire Zero eventsbull Fetch and store to the global context

                  14copy 2009 IBM Corporation

                  PHP ndash Java Bridge ndash Basic use

                  Basic access to Java methods and fields - types

                  are automatically converted at boundary of PHP runtime

                  Static methods and fields are accessible by using the

                  built in JavaClass class

                  Java exceptions can be caught in PHP scripts

                  15copy 2009 IBM Corporation

                  PHP- Java Bridge ndash Iterators and overloads

                  Bridging between PHP and Java iterators

                  Signatures provide explicit control for overloaded constructors and methods

                  16copy 2009 IBM Corporation

                  Java Bridge ndash Importing Java Classes

                  Importing a Java class creates a PHP class that has the same shape

                  17copy 2009 IBM Corporation

                  Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

                  possible but has some limitations

                  Java bean access maps field access onto getset method calls

                  18copy 2009 IBM Corporation

                  Groovy Bridge ndash Importing Scripts

                  19copy 2009 IBM Corporation

                  Other Groovy Bridge Features

                  bull Method and Field Accessbull Closures and Curry

                  ndash PHP Functions can be passed to Groovy as a closure

                  20copy 2009 IBM Corporation

                  Invoking PHP - Events

                  bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

                  21copy 2009 IBM Corporation

                  Invoking PHP - Script Activity in Flow

                  22copy 2009 IBM Corporation

                  Agenda

                  bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                  23copy 2009 IBM Corporation

                  PHP Applications that run on sMash

                  Forums

                  CRM

                  wiki

                  Desktop Virtualisation

                  Ajax Debugging

                  Content Management Blogging

                  FirePHP

                  24copy 2009 IBM Corporation

                  ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                  Downloaded sMash DE from projectzeroorg

                  Assets built in 3frac12 weeks

                  Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                  67 reduction in time-to-market for developing Web 20 assets

                  90 less time to implement best-of-breed programs

                  Ability to reuse 25 of code

                  Out-of-the-box functionality vs 2frac12 days to install comparable software

                  25copy 2009 IBM Corporation

                  Energy Commons Overviewwwwenergycommonscombull Concept

                  ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                  bull Value Propositionndash Interconnection of parties for knowledge share

                  and exchange on demand in a silorsquod industry through shared cost model for development and operations

                  bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                  utilizing global reach large ecosystem and utility channel to create scale

                  ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                  for energy and climate

                  26copy 2009 IBM Corporation

                  Energy Commons Architecture Overview

                  27copy 2009 IBM Corporation

                  SugarCRM Integration scenario

                  MQ

                  MQ

                  28copy 2009 IBM Corporation

                  Demonstrations

                  29copy 2009 IBM Corporation

                  Agenda

                  bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                  30copy 2009 IBM Corporation

                  31copy 2009 IBM Corporation

                  Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                  bull WebSphere sMash forums httpwwwprojectzeroorgforum

                  bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                  bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                  32copy 2009 IBM Corporation

                  We love your Feedback

                  bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                  bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                  bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                  33copy 2009 IBM Corporation

                  copy IBM Corporation 2009 All Rights Reserved

                  The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                  References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                  Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                  All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                  The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                  A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                  Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                  • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                  • Abstract
                  • Agenda
                  • Agenda
                  • WebSphere sMashAgile development of dynamic Web 20 based applications
                  • WebSphere sMash
                  • Agenda
                  • Why PHP
                  • WebSphere sMash PHP Support
                  • PHP in WebSphere sMash
                  • Benefits of PHP in sMash
                  • PHP ndash JavaGroovy Interaction
                  • PHP ndash Java Bridge ndash Basic use
                  • PHP- Java Bridge ndash Iterators and overloads
                  • Java Bridge ndash Importing Java Classes
                  • Java Bridge ndash Extending Java in PHP
                  • Groovy Bridge ndash Importing Scripts
                  • Other Groovy Bridge Features
                  • Invoking PHP - Events
                  • Invoking PHP - Script Activity in Flow
                  • Agenda
                  • PHP Applications that run on sMash
                  • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                  • Energy Commons Overviewwwwenergycommonscom
                  • Energy Commons Architecture Overview
                  • SugarCRM Integration scenario
                  • Demonstrations
                  • Agenda
                  • References
                  • We love your Feedback

                    10copy 2009 IBM Corporation

                    WebSphere sMash PHP Supportbull PHP runtime built in Java

                    ndashTo PHPnet as Jruby is to Ruby and Jython is to Pythonbull Compile PHP into Java bytecodes and run on a Java

                    Virtual Machinebull Powerful blending of PHP and Java code

                    ndashJava and PHP code run in the same process on the same Threadbull No need for Inter-process communication

                    ndashEfficient calls between PHP Java Groovy on the same stack

                    ndashPass data between Java Groovy and PHP without copyingbull Avoids serialising and passing data between processes

                    ndashImport Java classes as PHP Classesbull Easy access to the many Java libraries from PHP code

                    11copy 2009 IBM Corporation

                    Java Virtual Machine

                    PHP in WebSphere sMash

                    bull Runs PHP 5 scripts bull Requires Java 5 SE or later

                    bull Extensibility via XAPIbull XAPI-C for C extensions from phpnetbull XAPI-J for Java extensions native

                    libraries invoked over JNI and Project Zero interface

                    bull Extension language choice opaque to PHP script

                    bull Java Bridgebull Debug using via xdebug protocol using

                    Eclipse with PDT

                    P8 RuntimeInterpreterCompiler

                    PHP runtime

                    Java ExtensionsC

                    Extensions

                    Debug

                    XAPI-JXAPI-C

                    PDT2

                    Java

                    -Brid

                    geJARJAR

                    JARJAR

                    Groovyruntime

                    WebSphere sMash

                    HTTP server

                    Zero Programming Model

                    xdebug

                    12copy 2009 IBM Corporation

                    Benefits of PHP in sMashbull Develop quickly by using the best tools and

                    materials for the jobndash PHP code such as smarty SimpleXML drupal phpBB ndash Java code such as Apache Lucene POI and Eclipse BIRT

                    bull Start simple using sMash tooling such as ZRM Flow

                    ndash Customise and extend using PHP scripts and snippets

                    bull Unleash agile teams using Java and PHP skillsndash Allow teams to use their full range of skills

                    bull Build on a solid base ndash PHP built on the Java VM at the heart of IBMrsquos enterprise software stack

                    bull Familiar to many enterprises bull Vast investment in JIT Garbage Collector RAS and tools

                    13copy 2009 IBM Corporation

                    PHP ndash JavaGroovy InteractionbullPHP JavaGroovy Bridge allows PHP to

                    ndash Instantiate Java Classesndash Call static and instance methodsndash Access static and instance fieldsndash Extend Java Classes (not abstract)ndash Implement Java Interfacesndash Interact with Groovy Classes objects Closures and Ranges

                    bullZero programming model allows PHP tondash Interact with other Modules built using Groovy Java PHP Flow by

                    bull Handle and fire Zero eventsbull Fetch and store to the global context

                    14copy 2009 IBM Corporation

                    PHP ndash Java Bridge ndash Basic use

                    Basic access to Java methods and fields - types

                    are automatically converted at boundary of PHP runtime

                    Static methods and fields are accessible by using the

                    built in JavaClass class

                    Java exceptions can be caught in PHP scripts

                    15copy 2009 IBM Corporation

                    PHP- Java Bridge ndash Iterators and overloads

                    Bridging between PHP and Java iterators

                    Signatures provide explicit control for overloaded constructors and methods

                    16copy 2009 IBM Corporation

                    Java Bridge ndash Importing Java Classes

                    Importing a Java class creates a PHP class that has the same shape

                    17copy 2009 IBM Corporation

                    Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

                    possible but has some limitations

                    Java bean access maps field access onto getset method calls

                    18copy 2009 IBM Corporation

                    Groovy Bridge ndash Importing Scripts

                    19copy 2009 IBM Corporation

                    Other Groovy Bridge Features

                    bull Method and Field Accessbull Closures and Curry

                    ndash PHP Functions can be passed to Groovy as a closure

                    20copy 2009 IBM Corporation

                    Invoking PHP - Events

                    bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

                    21copy 2009 IBM Corporation

                    Invoking PHP - Script Activity in Flow

                    22copy 2009 IBM Corporation

                    Agenda

                    bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                    23copy 2009 IBM Corporation

                    PHP Applications that run on sMash

                    Forums

                    CRM

                    wiki

                    Desktop Virtualisation

                    Ajax Debugging

                    Content Management Blogging

                    FirePHP

                    24copy 2009 IBM Corporation

                    ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                    Downloaded sMash DE from projectzeroorg

                    Assets built in 3frac12 weeks

                    Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                    67 reduction in time-to-market for developing Web 20 assets

                    90 less time to implement best-of-breed programs

                    Ability to reuse 25 of code

                    Out-of-the-box functionality vs 2frac12 days to install comparable software

                    25copy 2009 IBM Corporation

                    Energy Commons Overviewwwwenergycommonscombull Concept

                    ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                    bull Value Propositionndash Interconnection of parties for knowledge share

                    and exchange on demand in a silorsquod industry through shared cost model for development and operations

                    bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                    utilizing global reach large ecosystem and utility channel to create scale

                    ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                    for energy and climate

                    26copy 2009 IBM Corporation

                    Energy Commons Architecture Overview

                    27copy 2009 IBM Corporation

                    SugarCRM Integration scenario

                    MQ

                    MQ

                    28copy 2009 IBM Corporation

                    Demonstrations

                    29copy 2009 IBM Corporation

                    Agenda

                    bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                    30copy 2009 IBM Corporation

                    31copy 2009 IBM Corporation

                    Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                    bull WebSphere sMash forums httpwwwprojectzeroorgforum

                    bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                    bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                    32copy 2009 IBM Corporation

                    We love your Feedback

                    bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                    bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                    bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                    33copy 2009 IBM Corporation

                    copy IBM Corporation 2009 All Rights Reserved

                    The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                    References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                    Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                    All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                    The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                    A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                    Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                    • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                    • Abstract
                    • Agenda
                    • Agenda
                    • WebSphere sMashAgile development of dynamic Web 20 based applications
                    • WebSphere sMash
                    • Agenda
                    • Why PHP
                    • WebSphere sMash PHP Support
                    • PHP in WebSphere sMash
                    • Benefits of PHP in sMash
                    • PHP ndash JavaGroovy Interaction
                    • PHP ndash Java Bridge ndash Basic use
                    • PHP- Java Bridge ndash Iterators and overloads
                    • Java Bridge ndash Importing Java Classes
                    • Java Bridge ndash Extending Java in PHP
                    • Groovy Bridge ndash Importing Scripts
                    • Other Groovy Bridge Features
                    • Invoking PHP - Events
                    • Invoking PHP - Script Activity in Flow
                    • Agenda
                    • PHP Applications that run on sMash
                    • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                    • Energy Commons Overviewwwwenergycommonscom
                    • Energy Commons Architecture Overview
                    • SugarCRM Integration scenario
                    • Demonstrations
                    • Agenda
                    • References
                    • We love your Feedback

                      11copy 2009 IBM Corporation

                      Java Virtual Machine

                      PHP in WebSphere sMash

                      bull Runs PHP 5 scripts bull Requires Java 5 SE or later

                      bull Extensibility via XAPIbull XAPI-C for C extensions from phpnetbull XAPI-J for Java extensions native

                      libraries invoked over JNI and Project Zero interface

                      bull Extension language choice opaque to PHP script

                      bull Java Bridgebull Debug using via xdebug protocol using

                      Eclipse with PDT

                      P8 RuntimeInterpreterCompiler

                      PHP runtime

                      Java ExtensionsC

                      Extensions

                      Debug

                      XAPI-JXAPI-C

                      PDT2

                      Java

                      -Brid

                      geJARJAR

                      JARJAR

                      Groovyruntime

                      WebSphere sMash

                      HTTP server

                      Zero Programming Model

                      xdebug

                      12copy 2009 IBM Corporation

                      Benefits of PHP in sMashbull Develop quickly by using the best tools and

                      materials for the jobndash PHP code such as smarty SimpleXML drupal phpBB ndash Java code such as Apache Lucene POI and Eclipse BIRT

                      bull Start simple using sMash tooling such as ZRM Flow

                      ndash Customise and extend using PHP scripts and snippets

                      bull Unleash agile teams using Java and PHP skillsndash Allow teams to use their full range of skills

                      bull Build on a solid base ndash PHP built on the Java VM at the heart of IBMrsquos enterprise software stack

                      bull Familiar to many enterprises bull Vast investment in JIT Garbage Collector RAS and tools

                      13copy 2009 IBM Corporation

                      PHP ndash JavaGroovy InteractionbullPHP JavaGroovy Bridge allows PHP to

                      ndash Instantiate Java Classesndash Call static and instance methodsndash Access static and instance fieldsndash Extend Java Classes (not abstract)ndash Implement Java Interfacesndash Interact with Groovy Classes objects Closures and Ranges

                      bullZero programming model allows PHP tondash Interact with other Modules built using Groovy Java PHP Flow by

                      bull Handle and fire Zero eventsbull Fetch and store to the global context

                      14copy 2009 IBM Corporation

                      PHP ndash Java Bridge ndash Basic use

                      Basic access to Java methods and fields - types

                      are automatically converted at boundary of PHP runtime

                      Static methods and fields are accessible by using the

                      built in JavaClass class

                      Java exceptions can be caught in PHP scripts

                      15copy 2009 IBM Corporation

                      PHP- Java Bridge ndash Iterators and overloads

                      Bridging between PHP and Java iterators

                      Signatures provide explicit control for overloaded constructors and methods

                      16copy 2009 IBM Corporation

                      Java Bridge ndash Importing Java Classes

                      Importing a Java class creates a PHP class that has the same shape

                      17copy 2009 IBM Corporation

                      Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

                      possible but has some limitations

                      Java bean access maps field access onto getset method calls

                      18copy 2009 IBM Corporation

                      Groovy Bridge ndash Importing Scripts

                      19copy 2009 IBM Corporation

                      Other Groovy Bridge Features

                      bull Method and Field Accessbull Closures and Curry

                      ndash PHP Functions can be passed to Groovy as a closure

                      20copy 2009 IBM Corporation

                      Invoking PHP - Events

                      bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

                      21copy 2009 IBM Corporation

                      Invoking PHP - Script Activity in Flow

                      22copy 2009 IBM Corporation

                      Agenda

                      bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                      23copy 2009 IBM Corporation

                      PHP Applications that run on sMash

                      Forums

                      CRM

                      wiki

                      Desktop Virtualisation

                      Ajax Debugging

                      Content Management Blogging

                      FirePHP

                      24copy 2009 IBM Corporation

                      ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                      Downloaded sMash DE from projectzeroorg

                      Assets built in 3frac12 weeks

                      Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                      67 reduction in time-to-market for developing Web 20 assets

                      90 less time to implement best-of-breed programs

                      Ability to reuse 25 of code

                      Out-of-the-box functionality vs 2frac12 days to install comparable software

                      25copy 2009 IBM Corporation

                      Energy Commons Overviewwwwenergycommonscombull Concept

                      ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                      bull Value Propositionndash Interconnection of parties for knowledge share

                      and exchange on demand in a silorsquod industry through shared cost model for development and operations

                      bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                      utilizing global reach large ecosystem and utility channel to create scale

                      ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                      for energy and climate

                      26copy 2009 IBM Corporation

                      Energy Commons Architecture Overview

                      27copy 2009 IBM Corporation

                      SugarCRM Integration scenario

                      MQ

                      MQ

                      28copy 2009 IBM Corporation

                      Demonstrations

                      29copy 2009 IBM Corporation

                      Agenda

                      bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                      30copy 2009 IBM Corporation

                      31copy 2009 IBM Corporation

                      Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                      bull WebSphere sMash forums httpwwwprojectzeroorgforum

                      bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                      bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                      32copy 2009 IBM Corporation

                      We love your Feedback

                      bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                      bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                      bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                      33copy 2009 IBM Corporation

                      copy IBM Corporation 2009 All Rights Reserved

                      The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                      References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                      Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                      All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                      The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                      A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                      Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                      • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                      • Abstract
                      • Agenda
                      • Agenda
                      • WebSphere sMashAgile development of dynamic Web 20 based applications
                      • WebSphere sMash
                      • Agenda
                      • Why PHP
                      • WebSphere sMash PHP Support
                      • PHP in WebSphere sMash
                      • Benefits of PHP in sMash
                      • PHP ndash JavaGroovy Interaction
                      • PHP ndash Java Bridge ndash Basic use
                      • PHP- Java Bridge ndash Iterators and overloads
                      • Java Bridge ndash Importing Java Classes
                      • Java Bridge ndash Extending Java in PHP
                      • Groovy Bridge ndash Importing Scripts
                      • Other Groovy Bridge Features
                      • Invoking PHP - Events
                      • Invoking PHP - Script Activity in Flow
                      • Agenda
                      • PHP Applications that run on sMash
                      • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                      • Energy Commons Overviewwwwenergycommonscom
                      • Energy Commons Architecture Overview
                      • SugarCRM Integration scenario
                      • Demonstrations
                      • Agenda
                      • References
                      • We love your Feedback

                        12copy 2009 IBM Corporation

                        Benefits of PHP in sMashbull Develop quickly by using the best tools and

                        materials for the jobndash PHP code such as smarty SimpleXML drupal phpBB ndash Java code such as Apache Lucene POI and Eclipse BIRT

                        bull Start simple using sMash tooling such as ZRM Flow

                        ndash Customise and extend using PHP scripts and snippets

                        bull Unleash agile teams using Java and PHP skillsndash Allow teams to use their full range of skills

                        bull Build on a solid base ndash PHP built on the Java VM at the heart of IBMrsquos enterprise software stack

                        bull Familiar to many enterprises bull Vast investment in JIT Garbage Collector RAS and tools

                        13copy 2009 IBM Corporation

                        PHP ndash JavaGroovy InteractionbullPHP JavaGroovy Bridge allows PHP to

                        ndash Instantiate Java Classesndash Call static and instance methodsndash Access static and instance fieldsndash Extend Java Classes (not abstract)ndash Implement Java Interfacesndash Interact with Groovy Classes objects Closures and Ranges

                        bullZero programming model allows PHP tondash Interact with other Modules built using Groovy Java PHP Flow by

                        bull Handle and fire Zero eventsbull Fetch and store to the global context

                        14copy 2009 IBM Corporation

                        PHP ndash Java Bridge ndash Basic use

                        Basic access to Java methods and fields - types

                        are automatically converted at boundary of PHP runtime

                        Static methods and fields are accessible by using the

                        built in JavaClass class

                        Java exceptions can be caught in PHP scripts

                        15copy 2009 IBM Corporation

                        PHP- Java Bridge ndash Iterators and overloads

                        Bridging between PHP and Java iterators

                        Signatures provide explicit control for overloaded constructors and methods

                        16copy 2009 IBM Corporation

                        Java Bridge ndash Importing Java Classes

                        Importing a Java class creates a PHP class that has the same shape

                        17copy 2009 IBM Corporation

                        Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

                        possible but has some limitations

                        Java bean access maps field access onto getset method calls

                        18copy 2009 IBM Corporation

                        Groovy Bridge ndash Importing Scripts

                        19copy 2009 IBM Corporation

                        Other Groovy Bridge Features

                        bull Method and Field Accessbull Closures and Curry

                        ndash PHP Functions can be passed to Groovy as a closure

                        20copy 2009 IBM Corporation

                        Invoking PHP - Events

                        bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

                        21copy 2009 IBM Corporation

                        Invoking PHP - Script Activity in Flow

                        22copy 2009 IBM Corporation

                        Agenda

                        bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                        23copy 2009 IBM Corporation

                        PHP Applications that run on sMash

                        Forums

                        CRM

                        wiki

                        Desktop Virtualisation

                        Ajax Debugging

                        Content Management Blogging

                        FirePHP

                        24copy 2009 IBM Corporation

                        ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                        Downloaded sMash DE from projectzeroorg

                        Assets built in 3frac12 weeks

                        Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                        67 reduction in time-to-market for developing Web 20 assets

                        90 less time to implement best-of-breed programs

                        Ability to reuse 25 of code

                        Out-of-the-box functionality vs 2frac12 days to install comparable software

                        25copy 2009 IBM Corporation

                        Energy Commons Overviewwwwenergycommonscombull Concept

                        ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                        bull Value Propositionndash Interconnection of parties for knowledge share

                        and exchange on demand in a silorsquod industry through shared cost model for development and operations

                        bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                        utilizing global reach large ecosystem and utility channel to create scale

                        ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                        for energy and climate

                        26copy 2009 IBM Corporation

                        Energy Commons Architecture Overview

                        27copy 2009 IBM Corporation

                        SugarCRM Integration scenario

                        MQ

                        MQ

                        28copy 2009 IBM Corporation

                        Demonstrations

                        29copy 2009 IBM Corporation

                        Agenda

                        bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                        30copy 2009 IBM Corporation

                        31copy 2009 IBM Corporation

                        Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                        bull WebSphere sMash forums httpwwwprojectzeroorgforum

                        bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                        bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                        32copy 2009 IBM Corporation

                        We love your Feedback

                        bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                        bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                        bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                        33copy 2009 IBM Corporation

                        copy IBM Corporation 2009 All Rights Reserved

                        The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                        References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                        Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                        All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                        The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                        A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                        Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                        • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                        • Abstract
                        • Agenda
                        • Agenda
                        • WebSphere sMashAgile development of dynamic Web 20 based applications
                        • WebSphere sMash
                        • Agenda
                        • Why PHP
                        • WebSphere sMash PHP Support
                        • PHP in WebSphere sMash
                        • Benefits of PHP in sMash
                        • PHP ndash JavaGroovy Interaction
                        • PHP ndash Java Bridge ndash Basic use
                        • PHP- Java Bridge ndash Iterators and overloads
                        • Java Bridge ndash Importing Java Classes
                        • Java Bridge ndash Extending Java in PHP
                        • Groovy Bridge ndash Importing Scripts
                        • Other Groovy Bridge Features
                        • Invoking PHP - Events
                        • Invoking PHP - Script Activity in Flow
                        • Agenda
                        • PHP Applications that run on sMash
                        • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                        • Energy Commons Overviewwwwenergycommonscom
                        • Energy Commons Architecture Overview
                        • SugarCRM Integration scenario
                        • Demonstrations
                        • Agenda
                        • References
                        • We love your Feedback

                          13copy 2009 IBM Corporation

                          PHP ndash JavaGroovy InteractionbullPHP JavaGroovy Bridge allows PHP to

                          ndash Instantiate Java Classesndash Call static and instance methodsndash Access static and instance fieldsndash Extend Java Classes (not abstract)ndash Implement Java Interfacesndash Interact with Groovy Classes objects Closures and Ranges

                          bullZero programming model allows PHP tondash Interact with other Modules built using Groovy Java PHP Flow by

                          bull Handle and fire Zero eventsbull Fetch and store to the global context

                          14copy 2009 IBM Corporation

                          PHP ndash Java Bridge ndash Basic use

                          Basic access to Java methods and fields - types

                          are automatically converted at boundary of PHP runtime

                          Static methods and fields are accessible by using the

                          built in JavaClass class

                          Java exceptions can be caught in PHP scripts

                          15copy 2009 IBM Corporation

                          PHP- Java Bridge ndash Iterators and overloads

                          Bridging between PHP and Java iterators

                          Signatures provide explicit control for overloaded constructors and methods

                          16copy 2009 IBM Corporation

                          Java Bridge ndash Importing Java Classes

                          Importing a Java class creates a PHP class that has the same shape

                          17copy 2009 IBM Corporation

                          Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

                          possible but has some limitations

                          Java bean access maps field access onto getset method calls

                          18copy 2009 IBM Corporation

                          Groovy Bridge ndash Importing Scripts

                          19copy 2009 IBM Corporation

                          Other Groovy Bridge Features

                          bull Method and Field Accessbull Closures and Curry

                          ndash PHP Functions can be passed to Groovy as a closure

                          20copy 2009 IBM Corporation

                          Invoking PHP - Events

                          bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

                          21copy 2009 IBM Corporation

                          Invoking PHP - Script Activity in Flow

                          22copy 2009 IBM Corporation

                          Agenda

                          bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                          23copy 2009 IBM Corporation

                          PHP Applications that run on sMash

                          Forums

                          CRM

                          wiki

                          Desktop Virtualisation

                          Ajax Debugging

                          Content Management Blogging

                          FirePHP

                          24copy 2009 IBM Corporation

                          ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                          Downloaded sMash DE from projectzeroorg

                          Assets built in 3frac12 weeks

                          Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                          67 reduction in time-to-market for developing Web 20 assets

                          90 less time to implement best-of-breed programs

                          Ability to reuse 25 of code

                          Out-of-the-box functionality vs 2frac12 days to install comparable software

                          25copy 2009 IBM Corporation

                          Energy Commons Overviewwwwenergycommonscombull Concept

                          ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                          bull Value Propositionndash Interconnection of parties for knowledge share

                          and exchange on demand in a silorsquod industry through shared cost model for development and operations

                          bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                          utilizing global reach large ecosystem and utility channel to create scale

                          ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                          for energy and climate

                          26copy 2009 IBM Corporation

                          Energy Commons Architecture Overview

                          27copy 2009 IBM Corporation

                          SugarCRM Integration scenario

                          MQ

                          MQ

                          28copy 2009 IBM Corporation

                          Demonstrations

                          29copy 2009 IBM Corporation

                          Agenda

                          bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                          30copy 2009 IBM Corporation

                          31copy 2009 IBM Corporation

                          Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                          bull WebSphere sMash forums httpwwwprojectzeroorgforum

                          bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                          bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                          32copy 2009 IBM Corporation

                          We love your Feedback

                          bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                          bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                          bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                          33copy 2009 IBM Corporation

                          copy IBM Corporation 2009 All Rights Reserved

                          The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                          References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                          Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                          All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                          The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                          A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                          Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                          • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                          • Abstract
                          • Agenda
                          • Agenda
                          • WebSphere sMashAgile development of dynamic Web 20 based applications
                          • WebSphere sMash
                          • Agenda
                          • Why PHP
                          • WebSphere sMash PHP Support
                          • PHP in WebSphere sMash
                          • Benefits of PHP in sMash
                          • PHP ndash JavaGroovy Interaction
                          • PHP ndash Java Bridge ndash Basic use
                          • PHP- Java Bridge ndash Iterators and overloads
                          • Java Bridge ndash Importing Java Classes
                          • Java Bridge ndash Extending Java in PHP
                          • Groovy Bridge ndash Importing Scripts
                          • Other Groovy Bridge Features
                          • Invoking PHP - Events
                          • Invoking PHP - Script Activity in Flow
                          • Agenda
                          • PHP Applications that run on sMash
                          • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                          • Energy Commons Overviewwwwenergycommonscom
                          • Energy Commons Architecture Overview
                          • SugarCRM Integration scenario
                          • Demonstrations
                          • Agenda
                          • References
                          • We love your Feedback

                            14copy 2009 IBM Corporation

                            PHP ndash Java Bridge ndash Basic use

                            Basic access to Java methods and fields - types

                            are automatically converted at boundary of PHP runtime

                            Static methods and fields are accessible by using the

                            built in JavaClass class

                            Java exceptions can be caught in PHP scripts

                            15copy 2009 IBM Corporation

                            PHP- Java Bridge ndash Iterators and overloads

                            Bridging between PHP and Java iterators

                            Signatures provide explicit control for overloaded constructors and methods

                            16copy 2009 IBM Corporation

                            Java Bridge ndash Importing Java Classes

                            Importing a Java class creates a PHP class that has the same shape

                            17copy 2009 IBM Corporation

                            Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

                            possible but has some limitations

                            Java bean access maps field access onto getset method calls

                            18copy 2009 IBM Corporation

                            Groovy Bridge ndash Importing Scripts

                            19copy 2009 IBM Corporation

                            Other Groovy Bridge Features

                            bull Method and Field Accessbull Closures and Curry

                            ndash PHP Functions can be passed to Groovy as a closure

                            20copy 2009 IBM Corporation

                            Invoking PHP - Events

                            bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

                            21copy 2009 IBM Corporation

                            Invoking PHP - Script Activity in Flow

                            22copy 2009 IBM Corporation

                            Agenda

                            bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                            23copy 2009 IBM Corporation

                            PHP Applications that run on sMash

                            Forums

                            CRM

                            wiki

                            Desktop Virtualisation

                            Ajax Debugging

                            Content Management Blogging

                            FirePHP

                            24copy 2009 IBM Corporation

                            ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                            Downloaded sMash DE from projectzeroorg

                            Assets built in 3frac12 weeks

                            Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                            67 reduction in time-to-market for developing Web 20 assets

                            90 less time to implement best-of-breed programs

                            Ability to reuse 25 of code

                            Out-of-the-box functionality vs 2frac12 days to install comparable software

                            25copy 2009 IBM Corporation

                            Energy Commons Overviewwwwenergycommonscombull Concept

                            ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                            bull Value Propositionndash Interconnection of parties for knowledge share

                            and exchange on demand in a silorsquod industry through shared cost model for development and operations

                            bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                            utilizing global reach large ecosystem and utility channel to create scale

                            ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                            for energy and climate

                            26copy 2009 IBM Corporation

                            Energy Commons Architecture Overview

                            27copy 2009 IBM Corporation

                            SugarCRM Integration scenario

                            MQ

                            MQ

                            28copy 2009 IBM Corporation

                            Demonstrations

                            29copy 2009 IBM Corporation

                            Agenda

                            bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                            30copy 2009 IBM Corporation

                            31copy 2009 IBM Corporation

                            Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                            bull WebSphere sMash forums httpwwwprojectzeroorgforum

                            bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                            bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                            32copy 2009 IBM Corporation

                            We love your Feedback

                            bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                            bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                            bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                            33copy 2009 IBM Corporation

                            copy IBM Corporation 2009 All Rights Reserved

                            The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                            References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                            Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                            All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                            The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                            A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                            Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                            • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                            • Abstract
                            • Agenda
                            • Agenda
                            • WebSphere sMashAgile development of dynamic Web 20 based applications
                            • WebSphere sMash
                            • Agenda
                            • Why PHP
                            • WebSphere sMash PHP Support
                            • PHP in WebSphere sMash
                            • Benefits of PHP in sMash
                            • PHP ndash JavaGroovy Interaction
                            • PHP ndash Java Bridge ndash Basic use
                            • PHP- Java Bridge ndash Iterators and overloads
                            • Java Bridge ndash Importing Java Classes
                            • Java Bridge ndash Extending Java in PHP
                            • Groovy Bridge ndash Importing Scripts
                            • Other Groovy Bridge Features
                            • Invoking PHP - Events
                            • Invoking PHP - Script Activity in Flow
                            • Agenda
                            • PHP Applications that run on sMash
                            • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                            • Energy Commons Overviewwwwenergycommonscom
                            • Energy Commons Architecture Overview
                            • SugarCRM Integration scenario
                            • Demonstrations
                            • Agenda
                            • References
                            • We love your Feedback

                              15copy 2009 IBM Corporation

                              PHP- Java Bridge ndash Iterators and overloads

                              Bridging between PHP and Java iterators

                              Signatures provide explicit control for overloaded constructors and methods

                              16copy 2009 IBM Corporation

                              Java Bridge ndash Importing Java Classes

                              Importing a Java class creates a PHP class that has the same shape

                              17copy 2009 IBM Corporation

                              Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

                              possible but has some limitations

                              Java bean access maps field access onto getset method calls

                              18copy 2009 IBM Corporation

                              Groovy Bridge ndash Importing Scripts

                              19copy 2009 IBM Corporation

                              Other Groovy Bridge Features

                              bull Method and Field Accessbull Closures and Curry

                              ndash PHP Functions can be passed to Groovy as a closure

                              20copy 2009 IBM Corporation

                              Invoking PHP - Events

                              bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

                              21copy 2009 IBM Corporation

                              Invoking PHP - Script Activity in Flow

                              22copy 2009 IBM Corporation

                              Agenda

                              bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                              23copy 2009 IBM Corporation

                              PHP Applications that run on sMash

                              Forums

                              CRM

                              wiki

                              Desktop Virtualisation

                              Ajax Debugging

                              Content Management Blogging

                              FirePHP

                              24copy 2009 IBM Corporation

                              ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                              Downloaded sMash DE from projectzeroorg

                              Assets built in 3frac12 weeks

                              Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                              67 reduction in time-to-market for developing Web 20 assets

                              90 less time to implement best-of-breed programs

                              Ability to reuse 25 of code

                              Out-of-the-box functionality vs 2frac12 days to install comparable software

                              25copy 2009 IBM Corporation

                              Energy Commons Overviewwwwenergycommonscombull Concept

                              ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                              bull Value Propositionndash Interconnection of parties for knowledge share

                              and exchange on demand in a silorsquod industry through shared cost model for development and operations

                              bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                              utilizing global reach large ecosystem and utility channel to create scale

                              ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                              for energy and climate

                              26copy 2009 IBM Corporation

                              Energy Commons Architecture Overview

                              27copy 2009 IBM Corporation

                              SugarCRM Integration scenario

                              MQ

                              MQ

                              28copy 2009 IBM Corporation

                              Demonstrations

                              29copy 2009 IBM Corporation

                              Agenda

                              bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                              30copy 2009 IBM Corporation

                              31copy 2009 IBM Corporation

                              Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                              bull WebSphere sMash forums httpwwwprojectzeroorgforum

                              bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                              bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                              32copy 2009 IBM Corporation

                              We love your Feedback

                              bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                              bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                              bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                              33copy 2009 IBM Corporation

                              copy IBM Corporation 2009 All Rights Reserved

                              The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                              References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                              Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                              All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                              The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                              A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                              Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                              • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                              • Abstract
                              • Agenda
                              • Agenda
                              • WebSphere sMashAgile development of dynamic Web 20 based applications
                              • WebSphere sMash
                              • Agenda
                              • Why PHP
                              • WebSphere sMash PHP Support
                              • PHP in WebSphere sMash
                              • Benefits of PHP in sMash
                              • PHP ndash JavaGroovy Interaction
                              • PHP ndash Java Bridge ndash Basic use
                              • PHP- Java Bridge ndash Iterators and overloads
                              • Java Bridge ndash Importing Java Classes
                              • Java Bridge ndash Extending Java in PHP
                              • Groovy Bridge ndash Importing Scripts
                              • Other Groovy Bridge Features
                              • Invoking PHP - Events
                              • Invoking PHP - Script Activity in Flow
                              • Agenda
                              • PHP Applications that run on sMash
                              • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                              • Energy Commons Overviewwwwenergycommonscom
                              • Energy Commons Architecture Overview
                              • SugarCRM Integration scenario
                              • Demonstrations
                              • Agenda
                              • References
                              • We love your Feedback

                                16copy 2009 IBM Corporation

                                Java Bridge ndash Importing Java Classes

                                Importing a Java class creates a PHP class that has the same shape

                                17copy 2009 IBM Corporation

                                Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

                                possible but has some limitations

                                Java bean access maps field access onto getset method calls

                                18copy 2009 IBM Corporation

                                Groovy Bridge ndash Importing Scripts

                                19copy 2009 IBM Corporation

                                Other Groovy Bridge Features

                                bull Method and Field Accessbull Closures and Curry

                                ndash PHP Functions can be passed to Groovy as a closure

                                20copy 2009 IBM Corporation

                                Invoking PHP - Events

                                bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

                                21copy 2009 IBM Corporation

                                Invoking PHP - Script Activity in Flow

                                22copy 2009 IBM Corporation

                                Agenda

                                bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                23copy 2009 IBM Corporation

                                PHP Applications that run on sMash

                                Forums

                                CRM

                                wiki

                                Desktop Virtualisation

                                Ajax Debugging

                                Content Management Blogging

                                FirePHP

                                24copy 2009 IBM Corporation

                                ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                                Downloaded sMash DE from projectzeroorg

                                Assets built in 3frac12 weeks

                                Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                                67 reduction in time-to-market for developing Web 20 assets

                                90 less time to implement best-of-breed programs

                                Ability to reuse 25 of code

                                Out-of-the-box functionality vs 2frac12 days to install comparable software

                                25copy 2009 IBM Corporation

                                Energy Commons Overviewwwwenergycommonscombull Concept

                                ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                                bull Value Propositionndash Interconnection of parties for knowledge share

                                and exchange on demand in a silorsquod industry through shared cost model for development and operations

                                bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                                utilizing global reach large ecosystem and utility channel to create scale

                                ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                                for energy and climate

                                26copy 2009 IBM Corporation

                                Energy Commons Architecture Overview

                                27copy 2009 IBM Corporation

                                SugarCRM Integration scenario

                                MQ

                                MQ

                                28copy 2009 IBM Corporation

                                Demonstrations

                                29copy 2009 IBM Corporation

                                Agenda

                                bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                30copy 2009 IBM Corporation

                                31copy 2009 IBM Corporation

                                Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                                bull WebSphere sMash forums httpwwwprojectzeroorgforum

                                bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                                bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                                32copy 2009 IBM Corporation

                                We love your Feedback

                                bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                33copy 2009 IBM Corporation

                                copy IBM Corporation 2009 All Rights Reserved

                                The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                • Abstract
                                • Agenda
                                • Agenda
                                • WebSphere sMashAgile development of dynamic Web 20 based applications
                                • WebSphere sMash
                                • Agenda
                                • Why PHP
                                • WebSphere sMash PHP Support
                                • PHP in WebSphere sMash
                                • Benefits of PHP in sMash
                                • PHP ndash JavaGroovy Interaction
                                • PHP ndash Java Bridge ndash Basic use
                                • PHP- Java Bridge ndash Iterators and overloads
                                • Java Bridge ndash Importing Java Classes
                                • Java Bridge ndash Extending Java in PHP
                                • Groovy Bridge ndash Importing Scripts
                                • Other Groovy Bridge Features
                                • Invoking PHP - Events
                                • Invoking PHP - Script Activity in Flow
                                • Agenda
                                • PHP Applications that run on sMash
                                • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                • Energy Commons Overviewwwwenergycommonscom
                                • Energy Commons Architecture Overview
                                • SugarCRM Integration scenario
                                • Demonstrations
                                • Agenda
                                • References
                                • We love your Feedback

                                  17copy 2009 IBM Corporation

                                  Java Bridge ndash Extending Java in PHPExtending a Java class inside PHP is

                                  possible but has some limitations

                                  Java bean access maps field access onto getset method calls

                                  18copy 2009 IBM Corporation

                                  Groovy Bridge ndash Importing Scripts

                                  19copy 2009 IBM Corporation

                                  Other Groovy Bridge Features

                                  bull Method and Field Accessbull Closures and Curry

                                  ndash PHP Functions can be passed to Groovy as a closure

                                  20copy 2009 IBM Corporation

                                  Invoking PHP - Events

                                  bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

                                  21copy 2009 IBM Corporation

                                  Invoking PHP - Script Activity in Flow

                                  22copy 2009 IBM Corporation

                                  Agenda

                                  bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                  23copy 2009 IBM Corporation

                                  PHP Applications that run on sMash

                                  Forums

                                  CRM

                                  wiki

                                  Desktop Virtualisation

                                  Ajax Debugging

                                  Content Management Blogging

                                  FirePHP

                                  24copy 2009 IBM Corporation

                                  ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                                  Downloaded sMash DE from projectzeroorg

                                  Assets built in 3frac12 weeks

                                  Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                                  67 reduction in time-to-market for developing Web 20 assets

                                  90 less time to implement best-of-breed programs

                                  Ability to reuse 25 of code

                                  Out-of-the-box functionality vs 2frac12 days to install comparable software

                                  25copy 2009 IBM Corporation

                                  Energy Commons Overviewwwwenergycommonscombull Concept

                                  ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                                  bull Value Propositionndash Interconnection of parties for knowledge share

                                  and exchange on demand in a silorsquod industry through shared cost model for development and operations

                                  bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                                  utilizing global reach large ecosystem and utility channel to create scale

                                  ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                                  for energy and climate

                                  26copy 2009 IBM Corporation

                                  Energy Commons Architecture Overview

                                  27copy 2009 IBM Corporation

                                  SugarCRM Integration scenario

                                  MQ

                                  MQ

                                  28copy 2009 IBM Corporation

                                  Demonstrations

                                  29copy 2009 IBM Corporation

                                  Agenda

                                  bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                  30copy 2009 IBM Corporation

                                  31copy 2009 IBM Corporation

                                  Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                                  bull WebSphere sMash forums httpwwwprojectzeroorgforum

                                  bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                                  bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                                  32copy 2009 IBM Corporation

                                  We love your Feedback

                                  bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                  bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                  bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                  33copy 2009 IBM Corporation

                                  copy IBM Corporation 2009 All Rights Reserved

                                  The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                  References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                  Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                  All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                  The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                  A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                  Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                  • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                  • Abstract
                                  • Agenda
                                  • Agenda
                                  • WebSphere sMashAgile development of dynamic Web 20 based applications
                                  • WebSphere sMash
                                  • Agenda
                                  • Why PHP
                                  • WebSphere sMash PHP Support
                                  • PHP in WebSphere sMash
                                  • Benefits of PHP in sMash
                                  • PHP ndash JavaGroovy Interaction
                                  • PHP ndash Java Bridge ndash Basic use
                                  • PHP- Java Bridge ndash Iterators and overloads
                                  • Java Bridge ndash Importing Java Classes
                                  • Java Bridge ndash Extending Java in PHP
                                  • Groovy Bridge ndash Importing Scripts
                                  • Other Groovy Bridge Features
                                  • Invoking PHP - Events
                                  • Invoking PHP - Script Activity in Flow
                                  • Agenda
                                  • PHP Applications that run on sMash
                                  • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                  • Energy Commons Overviewwwwenergycommonscom
                                  • Energy Commons Architecture Overview
                                  • SugarCRM Integration scenario
                                  • Demonstrations
                                  • Agenda
                                  • References
                                  • We love your Feedback

                                    18copy 2009 IBM Corporation

                                    Groovy Bridge ndash Importing Scripts

                                    19copy 2009 IBM Corporation

                                    Other Groovy Bridge Features

                                    bull Method and Field Accessbull Closures and Curry

                                    ndash PHP Functions can be passed to Groovy as a closure

                                    20copy 2009 IBM Corporation

                                    Invoking PHP - Events

                                    bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

                                    21copy 2009 IBM Corporation

                                    Invoking PHP - Script Activity in Flow

                                    22copy 2009 IBM Corporation

                                    Agenda

                                    bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                    23copy 2009 IBM Corporation

                                    PHP Applications that run on sMash

                                    Forums

                                    CRM

                                    wiki

                                    Desktop Virtualisation

                                    Ajax Debugging

                                    Content Management Blogging

                                    FirePHP

                                    24copy 2009 IBM Corporation

                                    ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                                    Downloaded sMash DE from projectzeroorg

                                    Assets built in 3frac12 weeks

                                    Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                                    67 reduction in time-to-market for developing Web 20 assets

                                    90 less time to implement best-of-breed programs

                                    Ability to reuse 25 of code

                                    Out-of-the-box functionality vs 2frac12 days to install comparable software

                                    25copy 2009 IBM Corporation

                                    Energy Commons Overviewwwwenergycommonscombull Concept

                                    ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                                    bull Value Propositionndash Interconnection of parties for knowledge share

                                    and exchange on demand in a silorsquod industry through shared cost model for development and operations

                                    bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                                    utilizing global reach large ecosystem and utility channel to create scale

                                    ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                                    for energy and climate

                                    26copy 2009 IBM Corporation

                                    Energy Commons Architecture Overview

                                    27copy 2009 IBM Corporation

                                    SugarCRM Integration scenario

                                    MQ

                                    MQ

                                    28copy 2009 IBM Corporation

                                    Demonstrations

                                    29copy 2009 IBM Corporation

                                    Agenda

                                    bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                    30copy 2009 IBM Corporation

                                    31copy 2009 IBM Corporation

                                    Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                                    bull WebSphere sMash forums httpwwwprojectzeroorgforum

                                    bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                                    bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                                    32copy 2009 IBM Corporation

                                    We love your Feedback

                                    bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                    bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                    bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                    33copy 2009 IBM Corporation

                                    copy IBM Corporation 2009 All Rights Reserved

                                    The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                    References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                    Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                    All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                    The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                    A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                    Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                    • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                    • Abstract
                                    • Agenda
                                    • Agenda
                                    • WebSphere sMashAgile development of dynamic Web 20 based applications
                                    • WebSphere sMash
                                    • Agenda
                                    • Why PHP
                                    • WebSphere sMash PHP Support
                                    • PHP in WebSphere sMash
                                    • Benefits of PHP in sMash
                                    • PHP ndash JavaGroovy Interaction
                                    • PHP ndash Java Bridge ndash Basic use
                                    • PHP- Java Bridge ndash Iterators and overloads
                                    • Java Bridge ndash Importing Java Classes
                                    • Java Bridge ndash Extending Java in PHP
                                    • Groovy Bridge ndash Importing Scripts
                                    • Other Groovy Bridge Features
                                    • Invoking PHP - Events
                                    • Invoking PHP - Script Activity in Flow
                                    • Agenda
                                    • PHP Applications that run on sMash
                                    • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                    • Energy Commons Overviewwwwenergycommonscom
                                    • Energy Commons Architecture Overview
                                    • SugarCRM Integration scenario
                                    • Demonstrations
                                    • Agenda
                                    • References
                                    • We love your Feedback

                                      19copy 2009 IBM Corporation

                                      Other Groovy Bridge Features

                                      bull Method and Field Accessbull Closures and Curry

                                      ndash PHP Functions can be passed to Groovy as a closure

                                      20copy 2009 IBM Corporation

                                      Invoking PHP - Events

                                      bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

                                      21copy 2009 IBM Corporation

                                      Invoking PHP - Script Activity in Flow

                                      22copy 2009 IBM Corporation

                                      Agenda

                                      bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                      23copy 2009 IBM Corporation

                                      PHP Applications that run on sMash

                                      Forums

                                      CRM

                                      wiki

                                      Desktop Virtualisation

                                      Ajax Debugging

                                      Content Management Blogging

                                      FirePHP

                                      24copy 2009 IBM Corporation

                                      ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                                      Downloaded sMash DE from projectzeroorg

                                      Assets built in 3frac12 weeks

                                      Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                                      67 reduction in time-to-market for developing Web 20 assets

                                      90 less time to implement best-of-breed programs

                                      Ability to reuse 25 of code

                                      Out-of-the-box functionality vs 2frac12 days to install comparable software

                                      25copy 2009 IBM Corporation

                                      Energy Commons Overviewwwwenergycommonscombull Concept

                                      ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                                      bull Value Propositionndash Interconnection of parties for knowledge share

                                      and exchange on demand in a silorsquod industry through shared cost model for development and operations

                                      bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                                      utilizing global reach large ecosystem and utility channel to create scale

                                      ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                                      for energy and climate

                                      26copy 2009 IBM Corporation

                                      Energy Commons Architecture Overview

                                      27copy 2009 IBM Corporation

                                      SugarCRM Integration scenario

                                      MQ

                                      MQ

                                      28copy 2009 IBM Corporation

                                      Demonstrations

                                      29copy 2009 IBM Corporation

                                      Agenda

                                      bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                      30copy 2009 IBM Corporation

                                      31copy 2009 IBM Corporation

                                      Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                                      bull WebSphere sMash forums httpwwwprojectzeroorgforum

                                      bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                                      bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                                      32copy 2009 IBM Corporation

                                      We love your Feedback

                                      bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                      bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                      bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                      33copy 2009 IBM Corporation

                                      copy IBM Corporation 2009 All Rights Reserved

                                      The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                      References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                      Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                      All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                      The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                      A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                      Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                      • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                      • Abstract
                                      • Agenda
                                      • Agenda
                                      • WebSphere sMashAgile development of dynamic Web 20 based applications
                                      • WebSphere sMash
                                      • Agenda
                                      • Why PHP
                                      • WebSphere sMash PHP Support
                                      • PHP in WebSphere sMash
                                      • Benefits of PHP in sMash
                                      • PHP ndash JavaGroovy Interaction
                                      • PHP ndash Java Bridge ndash Basic use
                                      • PHP- Java Bridge ndash Iterators and overloads
                                      • Java Bridge ndash Importing Java Classes
                                      • Java Bridge ndash Extending Java in PHP
                                      • Groovy Bridge ndash Importing Scripts
                                      • Other Groovy Bridge Features
                                      • Invoking PHP - Events
                                      • Invoking PHP - Script Activity in Flow
                                      • Agenda
                                      • PHP Applications that run on sMash
                                      • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                      • Energy Commons Overviewwwwenergycommonscom
                                      • Energy Commons Architecture Overview
                                      • SugarCRM Integration scenario
                                      • Demonstrations
                                      • Agenda
                                      • References
                                      • We love your Feedback

                                        20copy 2009 IBM Corporation

                                        Invoking PHP - Events

                                        bull PHP Event Handler examplesndash Timerndash Custom Eventndash Flow Security or Connection eventndash Standard Request Event

                                        21copy 2009 IBM Corporation

                                        Invoking PHP - Script Activity in Flow

                                        22copy 2009 IBM Corporation

                                        Agenda

                                        bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                        23copy 2009 IBM Corporation

                                        PHP Applications that run on sMash

                                        Forums

                                        CRM

                                        wiki

                                        Desktop Virtualisation

                                        Ajax Debugging

                                        Content Management Blogging

                                        FirePHP

                                        24copy 2009 IBM Corporation

                                        ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                                        Downloaded sMash DE from projectzeroorg

                                        Assets built in 3frac12 weeks

                                        Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                                        67 reduction in time-to-market for developing Web 20 assets

                                        90 less time to implement best-of-breed programs

                                        Ability to reuse 25 of code

                                        Out-of-the-box functionality vs 2frac12 days to install comparable software

                                        25copy 2009 IBM Corporation

                                        Energy Commons Overviewwwwenergycommonscombull Concept

                                        ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                                        bull Value Propositionndash Interconnection of parties for knowledge share

                                        and exchange on demand in a silorsquod industry through shared cost model for development and operations

                                        bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                                        utilizing global reach large ecosystem and utility channel to create scale

                                        ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                                        for energy and climate

                                        26copy 2009 IBM Corporation

                                        Energy Commons Architecture Overview

                                        27copy 2009 IBM Corporation

                                        SugarCRM Integration scenario

                                        MQ

                                        MQ

                                        28copy 2009 IBM Corporation

                                        Demonstrations

                                        29copy 2009 IBM Corporation

                                        Agenda

                                        bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                        30copy 2009 IBM Corporation

                                        31copy 2009 IBM Corporation

                                        Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                                        bull WebSphere sMash forums httpwwwprojectzeroorgforum

                                        bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                                        bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                                        32copy 2009 IBM Corporation

                                        We love your Feedback

                                        bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                        bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                        bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                        33copy 2009 IBM Corporation

                                        copy IBM Corporation 2009 All Rights Reserved

                                        The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                        References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                        Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                        All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                        The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                        A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                        Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                        • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                        • Abstract
                                        • Agenda
                                        • Agenda
                                        • WebSphere sMashAgile development of dynamic Web 20 based applications
                                        • WebSphere sMash
                                        • Agenda
                                        • Why PHP
                                        • WebSphere sMash PHP Support
                                        • PHP in WebSphere sMash
                                        • Benefits of PHP in sMash
                                        • PHP ndash JavaGroovy Interaction
                                        • PHP ndash Java Bridge ndash Basic use
                                        • PHP- Java Bridge ndash Iterators and overloads
                                        • Java Bridge ndash Importing Java Classes
                                        • Java Bridge ndash Extending Java in PHP
                                        • Groovy Bridge ndash Importing Scripts
                                        • Other Groovy Bridge Features
                                        • Invoking PHP - Events
                                        • Invoking PHP - Script Activity in Flow
                                        • Agenda
                                        • PHP Applications that run on sMash
                                        • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                        • Energy Commons Overviewwwwenergycommonscom
                                        • Energy Commons Architecture Overview
                                        • SugarCRM Integration scenario
                                        • Demonstrations
                                        • Agenda
                                        • References
                                        • We love your Feedback

                                          21copy 2009 IBM Corporation

                                          Invoking PHP - Script Activity in Flow

                                          22copy 2009 IBM Corporation

                                          Agenda

                                          bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                          23copy 2009 IBM Corporation

                                          PHP Applications that run on sMash

                                          Forums

                                          CRM

                                          wiki

                                          Desktop Virtualisation

                                          Ajax Debugging

                                          Content Management Blogging

                                          FirePHP

                                          24copy 2009 IBM Corporation

                                          ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                                          Downloaded sMash DE from projectzeroorg

                                          Assets built in 3frac12 weeks

                                          Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                                          67 reduction in time-to-market for developing Web 20 assets

                                          90 less time to implement best-of-breed programs

                                          Ability to reuse 25 of code

                                          Out-of-the-box functionality vs 2frac12 days to install comparable software

                                          25copy 2009 IBM Corporation

                                          Energy Commons Overviewwwwenergycommonscombull Concept

                                          ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                                          bull Value Propositionndash Interconnection of parties for knowledge share

                                          and exchange on demand in a silorsquod industry through shared cost model for development and operations

                                          bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                                          utilizing global reach large ecosystem and utility channel to create scale

                                          ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                                          for energy and climate

                                          26copy 2009 IBM Corporation

                                          Energy Commons Architecture Overview

                                          27copy 2009 IBM Corporation

                                          SugarCRM Integration scenario

                                          MQ

                                          MQ

                                          28copy 2009 IBM Corporation

                                          Demonstrations

                                          29copy 2009 IBM Corporation

                                          Agenda

                                          bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                          30copy 2009 IBM Corporation

                                          31copy 2009 IBM Corporation

                                          Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                                          bull WebSphere sMash forums httpwwwprojectzeroorgforum

                                          bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                                          bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                                          32copy 2009 IBM Corporation

                                          We love your Feedback

                                          bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                          bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                          bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                          33copy 2009 IBM Corporation

                                          copy IBM Corporation 2009 All Rights Reserved

                                          The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                          References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                          Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                          All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                          The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                          A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                          Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                          • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                          • Abstract
                                          • Agenda
                                          • Agenda
                                          • WebSphere sMashAgile development of dynamic Web 20 based applications
                                          • WebSphere sMash
                                          • Agenda
                                          • Why PHP
                                          • WebSphere sMash PHP Support
                                          • PHP in WebSphere sMash
                                          • Benefits of PHP in sMash
                                          • PHP ndash JavaGroovy Interaction
                                          • PHP ndash Java Bridge ndash Basic use
                                          • PHP- Java Bridge ndash Iterators and overloads
                                          • Java Bridge ndash Importing Java Classes
                                          • Java Bridge ndash Extending Java in PHP
                                          • Groovy Bridge ndash Importing Scripts
                                          • Other Groovy Bridge Features
                                          • Invoking PHP - Events
                                          • Invoking PHP - Script Activity in Flow
                                          • Agenda
                                          • PHP Applications that run on sMash
                                          • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                          • Energy Commons Overviewwwwenergycommonscom
                                          • Energy Commons Architecture Overview
                                          • SugarCRM Integration scenario
                                          • Demonstrations
                                          • Agenda
                                          • References
                                          • We love your Feedback

                                            22copy 2009 IBM Corporation

                                            Agenda

                                            bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                            23copy 2009 IBM Corporation

                                            PHP Applications that run on sMash

                                            Forums

                                            CRM

                                            wiki

                                            Desktop Virtualisation

                                            Ajax Debugging

                                            Content Management Blogging

                                            FirePHP

                                            24copy 2009 IBM Corporation

                                            ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                                            Downloaded sMash DE from projectzeroorg

                                            Assets built in 3frac12 weeks

                                            Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                                            67 reduction in time-to-market for developing Web 20 assets

                                            90 less time to implement best-of-breed programs

                                            Ability to reuse 25 of code

                                            Out-of-the-box functionality vs 2frac12 days to install comparable software

                                            25copy 2009 IBM Corporation

                                            Energy Commons Overviewwwwenergycommonscombull Concept

                                            ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                                            bull Value Propositionndash Interconnection of parties for knowledge share

                                            and exchange on demand in a silorsquod industry through shared cost model for development and operations

                                            bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                                            utilizing global reach large ecosystem and utility channel to create scale

                                            ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                                            for energy and climate

                                            26copy 2009 IBM Corporation

                                            Energy Commons Architecture Overview

                                            27copy 2009 IBM Corporation

                                            SugarCRM Integration scenario

                                            MQ

                                            MQ

                                            28copy 2009 IBM Corporation

                                            Demonstrations

                                            29copy 2009 IBM Corporation

                                            Agenda

                                            bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                            30copy 2009 IBM Corporation

                                            31copy 2009 IBM Corporation

                                            Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                                            bull WebSphere sMash forums httpwwwprojectzeroorgforum

                                            bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                                            bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                                            32copy 2009 IBM Corporation

                                            We love your Feedback

                                            bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                            bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                            bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                            33copy 2009 IBM Corporation

                                            copy IBM Corporation 2009 All Rights Reserved

                                            The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                            References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                            Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                            All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                            The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                            A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                            Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                            • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                            • Abstract
                                            • Agenda
                                            • Agenda
                                            • WebSphere sMashAgile development of dynamic Web 20 based applications
                                            • WebSphere sMash
                                            • Agenda
                                            • Why PHP
                                            • WebSphere sMash PHP Support
                                            • PHP in WebSphere sMash
                                            • Benefits of PHP in sMash
                                            • PHP ndash JavaGroovy Interaction
                                            • PHP ndash Java Bridge ndash Basic use
                                            • PHP- Java Bridge ndash Iterators and overloads
                                            • Java Bridge ndash Importing Java Classes
                                            • Java Bridge ndash Extending Java in PHP
                                            • Groovy Bridge ndash Importing Scripts
                                            • Other Groovy Bridge Features
                                            • Invoking PHP - Events
                                            • Invoking PHP - Script Activity in Flow
                                            • Agenda
                                            • PHP Applications that run on sMash
                                            • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                            • Energy Commons Overviewwwwenergycommonscom
                                            • Energy Commons Architecture Overview
                                            • SugarCRM Integration scenario
                                            • Demonstrations
                                            • Agenda
                                            • References
                                            • We love your Feedback

                                              23copy 2009 IBM Corporation

                                              PHP Applications that run on sMash

                                              Forums

                                              CRM

                                              wiki

                                              Desktop Virtualisation

                                              Ajax Debugging

                                              Content Management Blogging

                                              FirePHP

                                              24copy 2009 IBM Corporation

                                              ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                                              Downloaded sMash DE from projectzeroorg

                                              Assets built in 3frac12 weeks

                                              Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                                              67 reduction in time-to-market for developing Web 20 assets

                                              90 less time to implement best-of-breed programs

                                              Ability to reuse 25 of code

                                              Out-of-the-box functionality vs 2frac12 days to install comparable software

                                              25copy 2009 IBM Corporation

                                              Energy Commons Overviewwwwenergycommonscombull Concept

                                              ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                                              bull Value Propositionndash Interconnection of parties for knowledge share

                                              and exchange on demand in a silorsquod industry through shared cost model for development and operations

                                              bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                                              utilizing global reach large ecosystem and utility channel to create scale

                                              ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                                              for energy and climate

                                              26copy 2009 IBM Corporation

                                              Energy Commons Architecture Overview

                                              27copy 2009 IBM Corporation

                                              SugarCRM Integration scenario

                                              MQ

                                              MQ

                                              28copy 2009 IBM Corporation

                                              Demonstrations

                                              29copy 2009 IBM Corporation

                                              Agenda

                                              bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                              30copy 2009 IBM Corporation

                                              31copy 2009 IBM Corporation

                                              Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                                              bull WebSphere sMash forums httpwwwprojectzeroorgforum

                                              bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                                              bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                                              32copy 2009 IBM Corporation

                                              We love your Feedback

                                              bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                              bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                              bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                              33copy 2009 IBM Corporation

                                              copy IBM Corporation 2009 All Rights Reserved

                                              The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                              References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                              Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                              All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                              The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                              A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                              Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                              • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                              • Abstract
                                              • Agenda
                                              • Agenda
                                              • WebSphere sMashAgile development of dynamic Web 20 based applications
                                              • WebSphere sMash
                                              • Agenda
                                              • Why PHP
                                              • WebSphere sMash PHP Support
                                              • PHP in WebSphere sMash
                                              • Benefits of PHP in sMash
                                              • PHP ndash JavaGroovy Interaction
                                              • PHP ndash Java Bridge ndash Basic use
                                              • PHP- Java Bridge ndash Iterators and overloads
                                              • Java Bridge ndash Importing Java Classes
                                              • Java Bridge ndash Extending Java in PHP
                                              • Groovy Bridge ndash Importing Scripts
                                              • Other Groovy Bridge Features
                                              • Invoking PHP - Events
                                              • Invoking PHP - Script Activity in Flow
                                              • Agenda
                                              • PHP Applications that run on sMash
                                              • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                              • Energy Commons Overviewwwwenergycommonscom
                                              • Energy Commons Architecture Overview
                                              • SugarCRM Integration scenario
                                              • Demonstrations
                                              • Agenda
                                              • References
                                              • We love your Feedback

                                                24copy 2009 IBM Corporation

                                                ZSL develops Web 20 Assets 3x faster with WebSphere sMash

                                                Downloaded sMash DE from projectzeroorg

                                                Assets built in 3frac12 weeks

                                                Junior web development teamDynamic Scripting SkillsWeb Development FocusKnow very little about Net and JEEUnderstand concepts and functioning of Web Services but may not have built or deployed them

                                                67 reduction in time-to-market for developing Web 20 assets

                                                90 less time to implement best-of-breed programs

                                                Ability to reuse 25 of code

                                                Out-of-the-box functionality vs 2frac12 days to install comparable software

                                                25copy 2009 IBM Corporation

                                                Energy Commons Overviewwwwenergycommonscombull Concept

                                                ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                                                bull Value Propositionndash Interconnection of parties for knowledge share

                                                and exchange on demand in a silorsquod industry through shared cost model for development and operations

                                                bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                                                utilizing global reach large ecosystem and utility channel to create scale

                                                ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                                                for energy and climate

                                                26copy 2009 IBM Corporation

                                                Energy Commons Architecture Overview

                                                27copy 2009 IBM Corporation

                                                SugarCRM Integration scenario

                                                MQ

                                                MQ

                                                28copy 2009 IBM Corporation

                                                Demonstrations

                                                29copy 2009 IBM Corporation

                                                Agenda

                                                bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                                30copy 2009 IBM Corporation

                                                31copy 2009 IBM Corporation

                                                Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                                                bull WebSphere sMash forums httpwwwprojectzeroorgforum

                                                bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                                                bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                                                32copy 2009 IBM Corporation

                                                We love your Feedback

                                                bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                                bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                                bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                                33copy 2009 IBM Corporation

                                                copy IBM Corporation 2009 All Rights Reserved

                                                The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                                References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                                Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                                All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                                The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                                A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                                Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                                • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                                • Abstract
                                                • Agenda
                                                • Agenda
                                                • WebSphere sMashAgile development of dynamic Web 20 based applications
                                                • WebSphere sMash
                                                • Agenda
                                                • Why PHP
                                                • WebSphere sMash PHP Support
                                                • PHP in WebSphere sMash
                                                • Benefits of PHP in sMash
                                                • PHP ndash JavaGroovy Interaction
                                                • PHP ndash Java Bridge ndash Basic use
                                                • PHP- Java Bridge ndash Iterators and overloads
                                                • Java Bridge ndash Importing Java Classes
                                                • Java Bridge ndash Extending Java in PHP
                                                • Groovy Bridge ndash Importing Scripts
                                                • Other Groovy Bridge Features
                                                • Invoking PHP - Events
                                                • Invoking PHP - Script Activity in Flow
                                                • Agenda
                                                • PHP Applications that run on sMash
                                                • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                                • Energy Commons Overviewwwwenergycommonscom
                                                • Energy Commons Architecture Overview
                                                • SugarCRM Integration scenario
                                                • Demonstrations
                                                • Agenda
                                                • References
                                                • We love your Feedback

                                                  25copy 2009 IBM Corporation

                                                  Energy Commons Overviewwwwenergycommonscombull Concept

                                                  ndash Standardized private labeled social networking application offering targeted at businesses consumers and inter company collaboration on the energy topic

                                                  bull Value Propositionndash Interconnection of parties for knowledge share

                                                  and exchange on demand in a silorsquod industry through shared cost model for development and operations

                                                  bull Innovative Aspectsndash Interconnected portals through ldquohub and spokerdquo

                                                  utilizing global reach large ecosystem and utility channel to create scale

                                                  ndash Viral expansion into energy value chainndash Incentive Finder for Data Center incentivesndash 24x7 advertisement for IBM as global innovator

                                                  for energy and climate

                                                  26copy 2009 IBM Corporation

                                                  Energy Commons Architecture Overview

                                                  27copy 2009 IBM Corporation

                                                  SugarCRM Integration scenario

                                                  MQ

                                                  MQ

                                                  28copy 2009 IBM Corporation

                                                  Demonstrations

                                                  29copy 2009 IBM Corporation

                                                  Agenda

                                                  bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                                  30copy 2009 IBM Corporation

                                                  31copy 2009 IBM Corporation

                                                  Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                                                  bull WebSphere sMash forums httpwwwprojectzeroorgforum

                                                  bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                                                  bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                                                  32copy 2009 IBM Corporation

                                                  We love your Feedback

                                                  bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                                  bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                                  bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                                  33copy 2009 IBM Corporation

                                                  copy IBM Corporation 2009 All Rights Reserved

                                                  The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                                  References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                                  Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                                  All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                                  The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                                  A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                                  Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                                  • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                                  • Abstract
                                                  • Agenda
                                                  • Agenda
                                                  • WebSphere sMashAgile development of dynamic Web 20 based applications
                                                  • WebSphere sMash
                                                  • Agenda
                                                  • Why PHP
                                                  • WebSphere sMash PHP Support
                                                  • PHP in WebSphere sMash
                                                  • Benefits of PHP in sMash
                                                  • PHP ndash JavaGroovy Interaction
                                                  • PHP ndash Java Bridge ndash Basic use
                                                  • PHP- Java Bridge ndash Iterators and overloads
                                                  • Java Bridge ndash Importing Java Classes
                                                  • Java Bridge ndash Extending Java in PHP
                                                  • Groovy Bridge ndash Importing Scripts
                                                  • Other Groovy Bridge Features
                                                  • Invoking PHP - Events
                                                  • Invoking PHP - Script Activity in Flow
                                                  • Agenda
                                                  • PHP Applications that run on sMash
                                                  • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                                  • Energy Commons Overviewwwwenergycommonscom
                                                  • Energy Commons Architecture Overview
                                                  • SugarCRM Integration scenario
                                                  • Demonstrations
                                                  • Agenda
                                                  • References
                                                  • We love your Feedback

                                                    26copy 2009 IBM Corporation

                                                    Energy Commons Architecture Overview

                                                    27copy 2009 IBM Corporation

                                                    SugarCRM Integration scenario

                                                    MQ

                                                    MQ

                                                    28copy 2009 IBM Corporation

                                                    Demonstrations

                                                    29copy 2009 IBM Corporation

                                                    Agenda

                                                    bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                                    30copy 2009 IBM Corporation

                                                    31copy 2009 IBM Corporation

                                                    Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                                                    bull WebSphere sMash forums httpwwwprojectzeroorgforum

                                                    bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                                                    bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                                                    32copy 2009 IBM Corporation

                                                    We love your Feedback

                                                    bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                                    bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                                    bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                                    33copy 2009 IBM Corporation

                                                    copy IBM Corporation 2009 All Rights Reserved

                                                    The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                                    References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                                    Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                                    All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                                    The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                                    A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                                    Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                                    • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                                    • Abstract
                                                    • Agenda
                                                    • Agenda
                                                    • WebSphere sMashAgile development of dynamic Web 20 based applications
                                                    • WebSphere sMash
                                                    • Agenda
                                                    • Why PHP
                                                    • WebSphere sMash PHP Support
                                                    • PHP in WebSphere sMash
                                                    • Benefits of PHP in sMash
                                                    • PHP ndash JavaGroovy Interaction
                                                    • PHP ndash Java Bridge ndash Basic use
                                                    • PHP- Java Bridge ndash Iterators and overloads
                                                    • Java Bridge ndash Importing Java Classes
                                                    • Java Bridge ndash Extending Java in PHP
                                                    • Groovy Bridge ndash Importing Scripts
                                                    • Other Groovy Bridge Features
                                                    • Invoking PHP - Events
                                                    • Invoking PHP - Script Activity in Flow
                                                    • Agenda
                                                    • PHP Applications that run on sMash
                                                    • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                                    • Energy Commons Overviewwwwenergycommonscom
                                                    • Energy Commons Architecture Overview
                                                    • SugarCRM Integration scenario
                                                    • Demonstrations
                                                    • Agenda
                                                    • References
                                                    • We love your Feedback

                                                      27copy 2009 IBM Corporation

                                                      SugarCRM Integration scenario

                                                      MQ

                                                      MQ

                                                      28copy 2009 IBM Corporation

                                                      Demonstrations

                                                      29copy 2009 IBM Corporation

                                                      Agenda

                                                      bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                                      30copy 2009 IBM Corporation

                                                      31copy 2009 IBM Corporation

                                                      Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                                                      bull WebSphere sMash forums httpwwwprojectzeroorgforum

                                                      bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                                                      bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                                                      32copy 2009 IBM Corporation

                                                      We love your Feedback

                                                      bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                                      bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                                      bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                                      33copy 2009 IBM Corporation

                                                      copy IBM Corporation 2009 All Rights Reserved

                                                      The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                                      References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                                      Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                                      All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                                      The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                                      A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                                      Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                                      • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                                      • Abstract
                                                      • Agenda
                                                      • Agenda
                                                      • WebSphere sMashAgile development of dynamic Web 20 based applications
                                                      • WebSphere sMash
                                                      • Agenda
                                                      • Why PHP
                                                      • WebSphere sMash PHP Support
                                                      • PHP in WebSphere sMash
                                                      • Benefits of PHP in sMash
                                                      • PHP ndash JavaGroovy Interaction
                                                      • PHP ndash Java Bridge ndash Basic use
                                                      • PHP- Java Bridge ndash Iterators and overloads
                                                      • Java Bridge ndash Importing Java Classes
                                                      • Java Bridge ndash Extending Java in PHP
                                                      • Groovy Bridge ndash Importing Scripts
                                                      • Other Groovy Bridge Features
                                                      • Invoking PHP - Events
                                                      • Invoking PHP - Script Activity in Flow
                                                      • Agenda
                                                      • PHP Applications that run on sMash
                                                      • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                                      • Energy Commons Overviewwwwenergycommonscom
                                                      • Energy Commons Architecture Overview
                                                      • SugarCRM Integration scenario
                                                      • Demonstrations
                                                      • Agenda
                                                      • References
                                                      • We love your Feedback

                                                        28copy 2009 IBM Corporation

                                                        Demonstrations

                                                        29copy 2009 IBM Corporation

                                                        Agenda

                                                        bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                                        30copy 2009 IBM Corporation

                                                        31copy 2009 IBM Corporation

                                                        Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                                                        bull WebSphere sMash forums httpwwwprojectzeroorgforum

                                                        bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                                                        bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                                                        32copy 2009 IBM Corporation

                                                        We love your Feedback

                                                        bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                                        bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                                        bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                                        33copy 2009 IBM Corporation

                                                        copy IBM Corporation 2009 All Rights Reserved

                                                        The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                                        References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                                        Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                                        All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                                        The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                                        A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                                        Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                                        • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                                        • Abstract
                                                        • Agenda
                                                        • Agenda
                                                        • WebSphere sMashAgile development of dynamic Web 20 based applications
                                                        • WebSphere sMash
                                                        • Agenda
                                                        • Why PHP
                                                        • WebSphere sMash PHP Support
                                                        • PHP in WebSphere sMash
                                                        • Benefits of PHP in sMash
                                                        • PHP ndash JavaGroovy Interaction
                                                        • PHP ndash Java Bridge ndash Basic use
                                                        • PHP- Java Bridge ndash Iterators and overloads
                                                        • Java Bridge ndash Importing Java Classes
                                                        • Java Bridge ndash Extending Java in PHP
                                                        • Groovy Bridge ndash Importing Scripts
                                                        • Other Groovy Bridge Features
                                                        • Invoking PHP - Events
                                                        • Invoking PHP - Script Activity in Flow
                                                        • Agenda
                                                        • PHP Applications that run on sMash
                                                        • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                                        • Energy Commons Overviewwwwenergycommonscom
                                                        • Energy Commons Architecture Overview
                                                        • SugarCRM Integration scenario
                                                        • Demonstrations
                                                        • Agenda
                                                        • References
                                                        • We love your Feedback

                                                          29copy 2009 IBM Corporation

                                                          Agenda

                                                          bull WebSphere sMashbull PHP in WebSphere sMashbull PHP Applicationsbull Demonstrations

                                                          30copy 2009 IBM Corporation

                                                          31copy 2009 IBM Corporation

                                                          Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                                                          bull WebSphere sMash forums httpwwwprojectzeroorgforum

                                                          bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                                                          bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                                                          32copy 2009 IBM Corporation

                                                          We love your Feedback

                                                          bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                                          bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                                          bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                                          33copy 2009 IBM Corporation

                                                          copy IBM Corporation 2009 All Rights Reserved

                                                          The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                                          References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                                          Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                                          All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                                          The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                                          A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                                          Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                                          • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                                          • Abstract
                                                          • Agenda
                                                          • Agenda
                                                          • WebSphere sMashAgile development of dynamic Web 20 based applications
                                                          • WebSphere sMash
                                                          • Agenda
                                                          • Why PHP
                                                          • WebSphere sMash PHP Support
                                                          • PHP in WebSphere sMash
                                                          • Benefits of PHP in sMash
                                                          • PHP ndash JavaGroovy Interaction
                                                          • PHP ndash Java Bridge ndash Basic use
                                                          • PHP- Java Bridge ndash Iterators and overloads
                                                          • Java Bridge ndash Importing Java Classes
                                                          • Java Bridge ndash Extending Java in PHP
                                                          • Groovy Bridge ndash Importing Scripts
                                                          • Other Groovy Bridge Features
                                                          • Invoking PHP - Events
                                                          • Invoking PHP - Script Activity in Flow
                                                          • Agenda
                                                          • PHP Applications that run on sMash
                                                          • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                                          • Energy Commons Overviewwwwenergycommonscom
                                                          • Energy Commons Architecture Overview
                                                          • SugarCRM Integration scenario
                                                          • Demonstrations
                                                          • Agenda
                                                          • References
                                                          • We love your Feedback

                                                            30copy 2009 IBM Corporation

                                                            31copy 2009 IBM Corporation

                                                            Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                                                            bull WebSphere sMash forums httpwwwprojectzeroorgforum

                                                            bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                                                            bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                                                            32copy 2009 IBM Corporation

                                                            We love your Feedback

                                                            bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                                            bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                                            bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                                            33copy 2009 IBM Corporation

                                                            copy IBM Corporation 2009 All Rights Reserved

                                                            The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                                            References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                                            Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                                            All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                                            The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                                            A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                                            Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                                            • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                                            • Abstract
                                                            • Agenda
                                                            • Agenda
                                                            • WebSphere sMashAgile development of dynamic Web 20 based applications
                                                            • WebSphere sMash
                                                            • Agenda
                                                            • Why PHP
                                                            • WebSphere sMash PHP Support
                                                            • PHP in WebSphere sMash
                                                            • Benefits of PHP in sMash
                                                            • PHP ndash JavaGroovy Interaction
                                                            • PHP ndash Java Bridge ndash Basic use
                                                            • PHP- Java Bridge ndash Iterators and overloads
                                                            • Java Bridge ndash Importing Java Classes
                                                            • Java Bridge ndash Extending Java in PHP
                                                            • Groovy Bridge ndash Importing Scripts
                                                            • Other Groovy Bridge Features
                                                            • Invoking PHP - Events
                                                            • Invoking PHP - Script Activity in Flow
                                                            • Agenda
                                                            • PHP Applications that run on sMash
                                                            • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                                            • Energy Commons Overviewwwwenergycommonscom
                                                            • Energy Commons Architecture Overview
                                                            • SugarCRM Integration scenario
                                                            • Demonstrations
                                                            • Agenda
                                                            • References
                                                            • We love your Feedback

                                                              31copy 2009 IBM Corporation

                                                              Referencesbull WebSphere sMash site httpwwwprojectzeroorg

                                                              bull WebSphere sMash forums httpwwwprojectzeroorgforum

                                                              bull Developers Guide Documentation httpwwwprojectzeroorgdocumentation

                                                              bull PHP Applications that run on sMashhttpwwwprojectzeroorgblogindexphp20081029documenting-php-applications-that-run-on-smash

                                                              32copy 2009 IBM Corporation

                                                              We love your Feedback

                                                              bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                                              bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                                              bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                                              33copy 2009 IBM Corporation

                                                              copy IBM Corporation 2009 All Rights Reserved

                                                              The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                                              References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                                              Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                                              All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                                              The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                                              A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                                              Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                                              • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                                              • Abstract
                                                              • Agenda
                                                              • Agenda
                                                              • WebSphere sMashAgile development of dynamic Web 20 based applications
                                                              • WebSphere sMash
                                                              • Agenda
                                                              • Why PHP
                                                              • WebSphere sMash PHP Support
                                                              • PHP in WebSphere sMash
                                                              • Benefits of PHP in sMash
                                                              • PHP ndash JavaGroovy Interaction
                                                              • PHP ndash Java Bridge ndash Basic use
                                                              • PHP- Java Bridge ndash Iterators and overloads
                                                              • Java Bridge ndash Importing Java Classes
                                                              • Java Bridge ndash Extending Java in PHP
                                                              • Groovy Bridge ndash Importing Scripts
                                                              • Other Groovy Bridge Features
                                                              • Invoking PHP - Events
                                                              • Invoking PHP - Script Activity in Flow
                                                              • Agenda
                                                              • PHP Applications that run on sMash
                                                              • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                                              • Energy Commons Overviewwwwenergycommonscom
                                                              • Energy Commons Architecture Overview
                                                              • SugarCRM Integration scenario
                                                              • Demonstrations
                                                              • Agenda
                                                              • References
                                                              • We love your Feedback

                                                                32copy 2009 IBM Corporation

                                                                We love your Feedback

                                                                bull Donrsquot forget to submit your Impact session and speaker feedback Your feedback is very important to us we use it to improve our conference for you next year

                                                                bull Go to wwwimpact09guidecom on a smartphone device or a loaner device

                                                                bull From the Impact 2009 Online Conference Guidendash Select Agendandash Navigate to the session you want to give feedback onndash Select the session or speaker feedback linksndash Submit your feedback

                                                                33copy 2009 IBM Corporation

                                                                copy IBM Corporation 2009 All Rights Reserved

                                                                The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                                                References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                                                Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                                                All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                                                The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                                                A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                                                Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                                                • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                                                • Abstract
                                                                • Agenda
                                                                • Agenda
                                                                • WebSphere sMashAgile development of dynamic Web 20 based applications
                                                                • WebSphere sMash
                                                                • Agenda
                                                                • Why PHP
                                                                • WebSphere sMash PHP Support
                                                                • PHP in WebSphere sMash
                                                                • Benefits of PHP in sMash
                                                                • PHP ndash JavaGroovy Interaction
                                                                • PHP ndash Java Bridge ndash Basic use
                                                                • PHP- Java Bridge ndash Iterators and overloads
                                                                • Java Bridge ndash Importing Java Classes
                                                                • Java Bridge ndash Extending Java in PHP
                                                                • Groovy Bridge ndash Importing Scripts
                                                                • Other Groovy Bridge Features
                                                                • Invoking PHP - Events
                                                                • Invoking PHP - Script Activity in Flow
                                                                • Agenda
                                                                • PHP Applications that run on sMash
                                                                • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                                                • Energy Commons Overviewwwwenergycommonscom
                                                                • Energy Commons Architecture Overview
                                                                • SugarCRM Integration scenario
                                                                • Demonstrations
                                                                • Agenda
                                                                • References
                                                                • We love your Feedback

                                                                  33copy 2009 IBM Corporation

                                                                  copy IBM Corporation 2009 All Rights Reserved

                                                                  The workshops sessions and materials have been prepared by IBM or the session speakers and reflect their own views They are provided for informational purposes only and are neither intended to nor shall have the effect of being legal or other guidance or advice to any participant While efforts were made to verify the completeness and accuracy of the information contained in this presentation it is provided AS IS without warranty of any kind express or implied IBM shall not be responsible for any damages arising out of the use of or otherwise related to this presentation or any other materials Nothing contained in this presentation is intended to nor shall have the effect of creating any warranties or representations from IBM or its suppliers or licensors or altering the terms and conditions of the applicable license agreement governing the use of IBM software

                                                                  References in this presentation to IBM products programs or services do not imply that they will be available in all countries in which IBM operates Product release dates andor capabilities referenced in this presentation may change at any time at IBMrsquos sole discretion based on market opportunities or other factors and are not intended to be a commitment to future product or feature availability in any way Nothing contained in these materials is intended to nor shall have the effect of stating or implying that any activities undertaken by you will result in any specific sales revenue growth or other results

                                                                  Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment The actual throughput or performance that any user will experience will vary depending upon many factors including considerations such as the amount of multiprogramming in the users job stream the IO configuration the storage configuration and the workload processed Therefore no assurance can be given that an individual user will achieve results similar to those stated here

                                                                  All customer examples described are presented as illustrations of how those customers have used IBM products and the results they may have achieved Actual environmental costs and performance characteristics may vary by customer

                                                                  The following are trademarks of the International Business Machines Corporation in the United States andor other countries ibmcomlegalcopytradeshtmlAIX CICS CICSPlex DataPower DB2 DB2 Universal Database i5OS IBM the IBM logo IMSESA Power Systems Lotus OMEGAMON OS390 Parallel Sysplex pureXML Rational Redbooks Sametime SMART SOA System z Tivoli WebSphere and zOS

                                                                  A current list of IBM trademarks is available on the Web at ldquoCopyright and trademark informationrdquo at ibmcomlegalcopytradeshtml

                                                                  Adobe the Adobe logo PostScript and the PostScript logo are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States andor other countriesIT Infrastructure Library is a registered trademark of the Central Computer and Telecommunications Agency which is now part of the Office of Government CommerceJava and all Java-based trademarks are trademarks of Sun Microsystems Inc in the United States other countries or bothMicrosoft and Windows are trademarks of Microsoft Corporation in the United States other countries or bothITIL is a registered trademark and a registered community trademark of the Office of Government Commerce and is registered in the US Patent and Trademark OfficeIntel and Pentium are trademarks or registered trademarks of Intel Corporation or its subsidiaries in the United States and other countriesUNIX is a registered trademark of The Open Group in the United States and other countriesLinux is a registered trademark of Linus Torvalds in the United States other countries or both

                                                                  • Extending and Integrating Popular PHP Applications with IBM WebSpherereg sMash
                                                                  • Abstract
                                                                  • Agenda
                                                                  • Agenda
                                                                  • WebSphere sMashAgile development of dynamic Web 20 based applications
                                                                  • WebSphere sMash
                                                                  • Agenda
                                                                  • Why PHP
                                                                  • WebSphere sMash PHP Support
                                                                  • PHP in WebSphere sMash
                                                                  • Benefits of PHP in sMash
                                                                  • PHP ndash JavaGroovy Interaction
                                                                  • PHP ndash Java Bridge ndash Basic use
                                                                  • PHP- Java Bridge ndash Iterators and overloads
                                                                  • Java Bridge ndash Importing Java Classes
                                                                  • Java Bridge ndash Extending Java in PHP
                                                                  • Groovy Bridge ndash Importing Scripts
                                                                  • Other Groovy Bridge Features
                                                                  • Invoking PHP - Events
                                                                  • Invoking PHP - Script Activity in Flow
                                                                  • Agenda
                                                                  • PHP Applications that run on sMash
                                                                  • ZSL develops Web 20 Assets 3x faster with WebSphere sMash
                                                                  • Energy Commons Overviewwwwenergycommonscom
                                                                  • Energy Commons Architecture Overview
                                                                  • SugarCRM Integration scenario
                                                                  • Demonstrations
                                                                  • Agenda
                                                                  • References
                                                                  • We love your Feedback

                                                                    top related