Wednesday Apr 25, 2007

Caucho Quercus at GlassFish Day

Caucho Logo

In the ever-growing list of GlassFish partners at CommunityOne (May 7th, less than 2 weeks away!), here is Caucho. Caucho's Quercus is a fast, 100% Java implementation of the PHP language allowing developers to use PHP flexibility for the web interface and Java for stability.

As previously highlighted by Ludo, Quercus works just fine on GlassFish v2 which opens the door for PHP developers to APIs such as JAX-WS/WSIT or JPA, to the EJB3 component model, and to GlassFish features such as load-balancing, administration, or clustering. Caucho will be at GlassFish Day to show exactly this: typical PHP applications running on a complete open source Java stack.

For an overview of GF Day check here; and, for a free registration, here. Stay tuned for more announcements.

Thursday Mar 15, 2007

phpBB on GlassFish - via Quercus

phpBB Logo

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.

Monday Mar 12, 2007

OpenSSO Extensions Launched Today

Paul Bryan

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.

Saturday Mar 10, 2007

MediaWiki on GlassFish -- via Quercus

MediaWiki Logo

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.

Wednesday Feb 28, 2007

PHP and Ruby on Sun Web server

PHP Logo

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.

Tuesday Feb 06, 2007

Switch on SAML for PHP with Project Lightbulb


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.

Monday Jan 22, 2007

Using PHP with Sun's WebServer

PHP Logo

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.

Tuesday Jan 09, 2007

jMaki examples

jMaki home

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.

Thursday Dec 28, 2006

jMaki beta 2 release available

jMaki seal

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.

Friday Dec 08, 2006

jMaki Beta 1.0 is out


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
  • jMaki Widget Model - A simple widget model based on HTML templates, CSS, and JavaScript. This can be used to wrap widgets from other toolkits or create your own re-usable widgets.
  • jMaki Glue - Listens for publish/subscribe events and calls shred JavaScript handlers based on the event.
  • NetBeans plugin - Drag and drop pre-configured jMaki widgets into a page, and configure the widgets using property editors.

Wednesday Nov 29, 2006

jMaki supports PHP 5


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.

Friday Oct 20, 2006

SAML 2.0 in PHP

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!

Sunday Feb 19, 2006

PHP in GlassFish

PHP Logo

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.