|
|
|
|
|
Last week Ludo explained how to run MediaWiki on GlassFish using Quercus. Just after that, Alexis had success with phpBB using a different approach, via the -portbase feature. Also check David Herron's blog - he works in the JVM team is one of our "any language as long as it is the JVM underneath" guys - and this TSS thread. |
PS. the main site for phpBB is down right now with a RAID failure; that's why my image is linking to the Wikipedia entry.
|
Following on from last week's entry on OpenID on OpenSSO, we rolled the new OpenID code into OpenSSO over the weekend and are today announcing OpenSSO Extensions (more detail in my blog entry at Superpatterns) - an incubator for OpenSSO. The OpenID code is there, as is the existing 'Lightbulb' SAML 2.0 PHP and a new Client SDK for OpenSSO implemented in PHP. |
The idea is that, if you have an idea for a cool extension to OpenSSO, maybe a new authentication module or identity repository plugin, you can work on it in the OpenSSO community, with the code hosted in a 'sandbox' under the opensso/extensions tree. As extensions mature we'll look at migrating them into the OpenSSO core.
|
The Quercus team delivered it, Ludo checked it out, and it works! Quercus 3.1 (WAR, ReadMe, WebSite) now installs on GlassFish and will run simple hello world apps, complex examples like MediaWiki and other PHP goodies like jMaki. The List of Supported PHP Apps includes some very popular PHP solutions. Ludo has detailed instructions, including settings for JDK6 and JDK5. Note that Quercus runs only interpreted under GlassFish; it seems the compiler mode still has Resin-specific dependencies. Altogether, a very nice solution. It will be interesting to see whether the Quercus team continues to expand from a Resin-only implementation to one that works in multiple containers. |
|
Here are two recent entries showing how to use fastCGI to enable using Scripting Languages in the new Sun WebServer 7.0. First, check Natarajan detailed blog to learn how to use the new PHP AddOn. Then you can also check Seema and Marina's very detailed article to use Ruby on Rails. All TheAquarium entries related to the Sun WebServer use the WebServer tag. For details on the Sun WebServer 7.0, check the Product Page and the SDN Developer page. The download is available here and the documentation here. |
|
As I just mentioned over at Superpatterns, Marina Sum and I just published an article on the Sun Developer Network (SDN) - Switch on SAML for PHP with Project Lightbulb. The article walks through some of the Project Lightbulb code, following the single sign-on process. If you want to work with the Lightbulb code, or you just want a better idea of how SAML 2.0 works, this article is for you. |
|
PHP (home page, tutorial, online manual) is very popular language - see this Netcraft survey - for writing Web Applications. A common combination includes Linux, Apache WebServer, MySQL and PHP (thus the term LAMP), but PHP is usable from many other containers. Joe's recent Technical Article explains how to use Sun's WebServer with PHP using different connecting technologies, including as a CGI engine, using FastCGI and as an NSAPI Plugin. Many more PHP-related articles at TheAquarium here. |
|
If learning how to write Ajax enabled web apps is one of your New Year's resolutions then check out the following blogs. My blog, Building web 2.0 apps with jMaki uses one of the layout templates, glue code to tie widgets together and the injector code to load pages within a div tag to create a web application. The glue code ties the Yahoo Geocoder and Google Maps widgets. The injector is used to load the page containing those widgets in the div tag genereated by layout template and navigation is done using the Dojo fisheye widget. |
Jennifer published two blogs at roughly the same time. Fun with jMaki: Using the Yahoo Geocoder service with the Dojo Combobox also uses the Yahoo Geocoder but she used the Yahoo Map and a combobox to select the city to map. More Fun with jMaki: Getting Data From a Bean shows how to get data from a bean using an EL experssion to a widget (in this case ComboBox). The data is converted to JSON format using the org.json libary.
Finally, checkout the new project jmaki-charting. This friend of jMaki project provides a charting widget which can be added to the jMaki framework. It's open source, freely available and it supports Java, PHP and Phobos.
|
jMaki beta 2 release is now available for download. Highlights of this release include a new widget model, improvements to the dynamic container which loads pages on demand and of course, bug fixes. Check out my blog for more details. jMaki is a framework that provides a lightweight model for building Ajax enabled web applications using standards-based technologies. It allows you to use widgets from popular toolkits and includes support for PHP, JSP, JSF and Phobos. |
|
jMaki Beta 1.0 release is available for download. jMaki is a framework that provides a lightweight model for creating Ajax-enabled web applications. It provides an extendable and customizable insulation between your application code and many of the JavaScript toolkits (Dojo, Yahoo, Google, Mochikit and others) out there today. |
See Greg's blog for details about the beta. Some highlights are
• jMaki Styles - CSS layouts and templates that act as frameworks for your web pages
|
The latest jMaki release now supports PHP 5! See Greg's blog for details on how to use jMaki to add reuseable Ajax enabled widgets to your PHP application. The jMaki beta is scheduled for next week. See my blog describing some of the other features available in the release candidate. |

Over at Superpatterns, I've just announced the first drop of my SAML 2.0 PHP service provider code. There is more detail at that link, particularly in the linked docs, but, briefly, this is a collection of PHP scripts that SAML 2.0 enable a service provider, 'outsourcing' user authentication to an identity provider. This is very much 'proof-of-concept' code - contributions are welcomed, particularly from PHPers!
|
The GlassFish Forum has a thread on Running PHP on GlassFish. The gist of the thread seems to be that this works. The solution presented by bjb uses recipes for Tomcat given at The Tomcat Wiki and at Simple Thoughts. Bjb's last message adds some clarifications. I would love to have additional confirmations, a full, self-standing recipe, and more information on how well does it work; if you do, please post. |