Search

Languages

Other languages on request.

About Me

I am the "Lotus Technology & Productivity Advisor" for IBM Asia Pacific. I'm based in Singapore.

Ads by Google

Visitors

« Lotusphere 2007 : The General Opening Session | Main| AD206 - Taking it Personally -Building a Personalized Portal with Business Rules »

BP202 - IBM Lotus Domino and PHP, Let's All Work Together


This year I'm assigned as a room monitor in the afternoon. This limits my ability to select sessions I want to visit. On the other hand I'll see topics I wouldn't have considered. PHP wasn't on my radar. To run PHP you can download a LAMP or WAMP package that installs everything ready to go in a single installer. You also can get bits and pieces yourself that will take about two to three days to understand all this. Of course you simply can sign-up  for a PHP hosting package. The sites demonstrated used cPanel and Fantastico, which is a ready made set of scripts. The presenters walked us through the various applications that are included in the script collection. The advantage of PHP is not the language itself but the gazillions of ready made scripts that you can use at your convenience.
So the big question is: when would you use PHP and Domino together: in a nutshell if there are ready made components PHP seems to be a valid option. Of course you need to consider a lot of stuff: where will the stuff live, how much data gets passed back and forth and is single sign-on needed. The session went on to discuss the if you should have one or two servers. Instead of theoretically musing about that, they showed this using a few demos. Two boxes is pretty straight forward. A single server requires to configure Domino to run on a different port (81) and use Apache's mod_rewrite.
They then went on and discussed how PHP and Domino can share data. Suitable methods could be HTTP, ODBC and ADO (this one is Microsoft only). Again they used ample examples that illustrated their points. ODBC and ADO seem to be limited to Windows and the HTTP example used Windows only (XMLHttp Object) too.
Next topic was the concepts you can use to implement Single Sign on. A bit fluffy here. But see for yourself.

What I liked
Good overview why you want or don't want to mix the two environments.

What I didn't like
Code examples for HTTP were windows only.

Comments

Gravatar Image1 - I am really interested in learning about this article, but the link to the site seems to be dead. Is there any other resource on this specific topic I can check. I am currently roving over Apache+PHP+Domino development and need more info.<br>Thanks

Gravatar Image2 - I am really interested in learning about this article, but the link to the site seems to be dead. Is there any other resource on this specific topic I can check. I am currently roving over Apache+PHP+Domino development and need more info.
Thanks

Gravatar Image3 - What other methods are available for getting web contents on non-windows platorm.

I hope there is a way to accomplish this without resorting to Java!

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::rolleyes:;-)

Disclaimer

This site is in no way affiliated, endorsed, sanctioned, supported, nor enlightened by Lotus Software nor IBM Corporation. I may be an employee, but the opinions, theories, facts, etc. presented here are my own and are in now way given in any official capacity. In short, these are my words and this is my site, not IBM's - and don't even begin to think otherwise. (Disclaimer shamelessly plugged from Rocky Oliver)

© 2003 - 2009 Stephan H. Wissel - all rights reserved as listed here: Creative Commons License
Unless otherwise labeled by its originating author, the content found on this site is made available under the terms of an Attribution/NonCommercial/ShareAlike Creative Commons License, with the exception that no rights are granted -- since they are not mine to grant -- in any logo, graphic design, trademarks or trade names of any type.

Get Firefox Use OpenDNS