Your SlideShare is downloading. ×
0
Mixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphere
Mixing Java and PHP with Sugar and WebSphere
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Mixing Java and PHP with Sugar and WebSphere

4,253

Published on

Here are the charts for the SugarCon 2009 presentation of the same title. …

Here are the charts for the SugarCon 2009 presentation of the same title.

Abstract: Find out about Sugar's new support for WebSphere sMash - a new, agile development and runtime platform, designed to give developers more speed, simplicity and agility for the creation and deployment of Rich Internet Applications. The combination of a PHP runtime with a strong connection to Java opens up all sorts of exciting possibilities combining the best of the PHP and Java worlds. Learn how to quickly integrate and extend Sugar with sMash's easy-to-use, browser-based tooling and visual assembly-style development, Learn how you can use WebSphere sMash to optimize Sugar including: how to - install Sugar on sMash from the Repository hosted at SugarForge; customize Sugar source code using the browser based IDE we call Application Builder; extend Sugar with our simple browser based flow editor and integrate Sugar using sMash's PHP to Java Bridge.

Published in: Technology
0 Comments
3 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
4,253
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
118
Comments
0
Likes
3
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide
  • Transcript

    • 1. Mixing Java and PHP with Sugar and WebSphere sMash Joe Lea Product Manager, IBM WebSphere sMash Rob Nicholson Senior Technical Staff Member, IBM WebSphere sMash Majed Itani Software Architect, SugarCRM
    • 2. Abstract
      • Find out about Sugar's new support for WebSphere sMash - a new, agile development and runtime platform, designed to give developers more speed, simplicity and agility for the creation and deployment of Rich Internet Applications. The combination of a PHP runtime with a strong connection to Java opens up all sorts of exciting possibilities combining the best of the PHP and Java worlds. Learn how to quickly integrate and extend Sugar with sMash's easy-to-use, browser-based tooling and visual assembly-style development, Learn how you can use WebSphere sMash to optimize Sugar including: how to - install Sugar on sMash from the Repository hosted at SugarForge; customize Sugar source code using the browser based IDE we call Application Builder; extend Sugar with our simple browser based flow editor and integrate Sugar using sMash's PHP to Java Bridge.
    • 3. Agenda
      • SugarCRM and IBM
      • Introducing WebSphere sMash
      • SugarCRM on IBM WebSphere sMash
      • sMash Architecture
      • Why PHP on Java?
      • Demos
      Sooner or later…. Infrastructure Matters!
    • 4. SugarForge Project
    • 5. WebSphere sMash Agile development of dynamic Web 2.0 based applications Introducing WebSphere sMash
      • Improves developer productivity and efficiency through the support of dynamic scripting languages (Groovy and PHP) on Java
      • Leverages Web 2.0 technologies for service invocation, service composition and data interchange 
      • Provides visual tools for developers to build and assemble web2.0 applications
    • 6. WebSphere sMash Speed Simplicity Agility Dynamic scripting languages Templates & Pre-built services Visual Editors Assemble style development Application “is” the server Clean, short-lived runtime
    • 7. WebSphere sMash Tooling Dynamic Scripting Editor Visual UI Editor Visual Flow Editor
    • 8.
      • Project Zero is the development and incubation community for WebSphere sMash
        • Live on the Internet since June 2007
        • Exposes the IBM development process to the external developer community
      • Project Zero represents
        • The people that build and use WebSphere sMash
        • The incubation of new technology that will deliver in future versions of WebSphere sMash
      • All released versions are called WebSphere sMash
      www.projectzero.org http://www.projectzero.org Community Development Project Zero: the development community for WebSphere sMash
    • 9. WebSphere sMash and SugarCRM Magnify the power of Sugar with WebSphere Tools Assets WebSphere sMash Seamlessly leverage Java from PHP Easily connect to Enterprise systems Quickly assemble integrated solutions Integration Deployment Scale up and out with WebSphere
    • 10. WebSphere sMash PHP Support
      • PHP runtime built in Java.
        • To PHP.net as Jruby is to Ruby and Jython is to Python
      • Same-process interaction between Java and PHP.
        • Calls without IPC – Efficient.
        • Data sharing without copies – Access to sMash Global Context.
      • Mix Java and PHP assets and programmers
        • Best of both worlds.
        • Mix PHP frameworks, applications, extensions with Java libraries.
        • Allow PHP and Java Programmers to collaborate.
      • Benefit from vast investment in Java VM
        • JIT, Garbage Collector,
        • Ongoing investment in Java RAS and tools.
        • Bringing IBM’s best of breed VM technology to bear on PHP.
      • JVM Dynamic languages community.
        • Java world embracing scripting languages such as Jruby, Jython, Groovy, Scala
    • 11. PHP in WebSphere sMash Java Virtual Machine
      • Runs PHP 5 scripts
      • Requires Java 5 SE or later.
      • Extensibility via XAPI
        • XAPI-C for C extensions from php.net
        • XAPI-J for Java extensions, native libraries invoked over JNI and Project Zero interface
        • Extension language choice opaque to PHP script
      • Java Bridge
      • Debug using via xdebug protocol using Eclipse with PDT
      P8 Runtime Interpreter/Compiler PHP runtime Java Extensions C Extensions XAPI-J XAPI-C Java- Bridge JAR JAR JAR JAR Groovy runtime WebSphere sMash HTTP server Zero Programming Model xdebug Debug PDT
    • 12. PHP – Java Interaction
      • PHP Java Bridge allows PHP to:
        • Instantiate Java Classes
        • Call static and instance methods
        • Access static and instance fields
        • Extend Java Classes (not abstract)
        • Implement Java Interfaces.
      • Zero programming model allows PHP to:
        • Interact with other Modules built using Groovy, Java, PHP, Flow by:
          • Handle and fire Zero events
          • Fetch and store to the global context.
      • Use cases.
        • ZSL built “IdeaLab” combining phpBB with sMash security an custom handler in Groovy.
        • ZSL combined PHP with the Java version of Lucene.
        • Interface a PHP application to MQ using JMS.
        • Create complex Excel spreadsheets using Apache POI java libraries.
    • 13. Jerry’s Keynote Scenario MQ MQ
    • 14. Let’s Demo
    • 15. For More Information… Learn how to extend SOA with Web 2.0: ibm.com/soa/soa_and_web_20.html Read about IBM’s view of how Web 2.0 goes to work for business: ibm.com/web20/ Get involved with the WebSphere sMash community: www.projectzero.org

    ×