WebSphere sMash
Developer(s) | IBM |
---|---|
Final release | 1.1.1
/ June 1, 2009 |
Written in | Application Server |
License | Proprietary |
Website | www |
WebSphere sMash was a development and runtime environment from
WebSphere Smash integrated with Eclipse and produced REST-style services on top of Groovy or PHP .[2]
Architecture
There are a number of distinguishing aspects to the architecture of WebSphere sMash.
Event-driven programming model
WebSphere sMash uses an
Global context
Since events are
Repository management system
sMash makes use of the Ivy dependency manager. sMash applications are composed of models which can specify dependencies on other modules which may be present in a local Ivy repository or which can be fetched from a remote repository. IBM maintains a repository of useful modules at projectzero.org and dependencies can also be specified on the maven2 repository.
PHP support
The
In contrast to the approach taken by Quercus, the other JVM based PHP implementation, sMash is able to re-use existing PHP extensions from PHP.net attaching them to the Java virtual machine via the Java Native Interface (JNI) and an API layer called XAPI-C.
The runtime has a DBGp debug port allowing debug access from IDEs and debuggers which support the DBGp protocol such as the Eclipse PDT project.
The PHP runtime does not have an identity outside of sMash so it is simply referred to as the "WebSphere sMash runtime for PHP."
As of October 2008 WebSphere sMash is capable of running several well-known PHP applications on a Java Virtual Machine. These include SugarCRM,[4] phpBB,[5] WordPress[6] and MediaWiki.[7]
The PHP runtime supports close integration with the Java and Groovy languages through its Java/Groovy bridge. This allows PHP scripts to use libraries written in Java and Groovy through a lightweight and extremely fast interop layer[
See also
- PHP/Java Bridge
- pureQuery
- Quercus
References
- ^ "IBM United States Withdrawal Announcement 912-138" (PDF). June 12, 2012.
- ^ "About Project Zero". Project Zero Site. Archived from the original on 2008-07-09. Retrieved 2008-06-23.
- ^ "Project Zero PHP page". Archived from the original on 2009-01-25. Retrieved 2009-02-02.
- ^ "Smash4Sugar project at SugarForge". Smash 4 Sugar. Retrieved 2008-06-30.
- ^ "PhpBB running on Project Zero". phpBB on PZ. Archived from the original on 2008-08-07. Retrieved 2008-06-30.
- ^ "Try out PHP Application WordPress on sMash". WordPress on PZ. Archived from the original on 2008-10-22. Retrieved 2008-10-09.
- ^ "Try out PHP Application MediaWiki on sMash". MediaWiki on PZ. Archived from the original on 2008-10-16. Retrieved 2008-10-19.