Modified: portals/site-live/bridges/bridges-perl/index.html URL: http://svn.apache.org/viewvc/portals/site-live/bridges/bridges-perl/index.html?rev=1901429&r1=1901428&r2=1901429&view=diff ============================================================================== --- portals/site-live/bridges/bridges-perl/index.html (original) +++ portals/site-live/bridges/bridges-perl/index.html Tue May 31 02:19:06 2022 @@ -1,250 +1,205 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - - - - - - - - - - - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Apache Portals Bridges - Perl Bridge Summary</title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> - </head> - <body class="composite"> - <div id="banner"> - <a href="http://portals.apache.org/" id="bannerLeft"> - - <img src="../images/apache-portals.gif" alt="" /> - - </a> - <a href="http://portals.apache.org/bridges/" id="bannerRight"> - - Apache Portals Bridges - - </a> - <div class="clear"> - <hr/> - </div> - </div> - <div id="breadcrumbs"> - - - - - - - - - <div class="xleft"> - Last Published: 29 September 2011 - </div> - <div class="xright"> <a href="http://portals.apache.org/" class="externalLink">Portals</a> - | - <a href="http://portals.apache.org/applications" class="externalLink">Applications</a> - | - <a href="http://portals.apache.org/jetspeed-2" class="externalLink">Jetspeed-2</a> - | - <a href="http://www.jcp.org/en/jsr/detail?id=168" class="externalLink">JSR-168</a> - | - <a href="http://www.jcp.org/en/jsr/detail?id=286" class="externalLink">JSR-286</a> - - - - - - - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - - - - - - - - <h5>Portals Bridges</h5> - <ul> - - <li class="none"> - <a href="../index.html">Overview</a> - </li> - - <li class="none"> - <a href="../news.html">News and Status</a> - </li> - </ul> - <h5>Current Portals Bridges</h5> - <ul> - - <li class="none"> - <a href="../bridges-common/index.html">Common Utilities and Interfaces</a> - </li> - - - - - - <li class="collapsed"> - <a href="../bridges-struts/index.html">Struts Bridge</a> - </li> - - <li class="none"> - <a href="../bridges-velocity/index.html">Velocity Bridge</a> - </li> - - <li class="none"> - <a href="../bridges-script/index.html">Script Bridge</a> - </li> - - - - - - - - <li class="collapsed"> - <a href="../bridges-groovy/index.html">Groovy Bridge</a> - </li> - </ul> - <h5>Archived Portals Bridges</h5> - <ul> - - - - - - - - <li class="collapsed"> - <a href="../bridges-jsf/index.html">JSF Bridge</a> - </li> - - - - - - - - - - <li class="collapsed"> - <a href="../bridges-php/index.html">PHP Bridge</a> - </li> - - <li class="none"> - <strong>Perl Bridge</strong> - </li> - - <li class="none"> - <a href="../bridges-portletfilter/index.html">Portlet Filter</a> - </li> - </ul> - <h5>Get Portals Bridges</h5> - <ul> - - <li class="none"> - <a href="../download.html">Download</a> - </li> - - <li class="none"> - <a href="../release-notes.html">Release Notes</a> - </li> - </ul> - <h5>Support</h5> - <ul> - - <li class="none"> - <a href="../team-list.html">Project Team</a> - </li> - - <li class="none"> - <a href="../license.html">Project License</a> - </li> - - <li class="none"> - <a href="../mail-lists.html">Mailing List</a> - </li> - - <li class="none"> - <a href="../issue-tracking.html">Issue Tracking</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img> - </a> - - - - - - - - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <authors><person name="Roger Ruttimann" email="[email protected]"></authors><div class="section"><h2><a name="Summary"></a>Summary</h2> -<p> - Perl Bridge Overview -<ul><li>Designed to run existing perl applications inside the portal</li> -<li>Minimal re-coding of the perl required.</li> -<li>Usage of Java Script might require some code modifications.</li> -<li>Executes perl scripts in a command shell and rewrites output HTML.</li> -<li>Relative URL's are converted to Portlet Actions.</li> -<li>Invocation from other portlets pass parameters as a session object.</li> -<li>Slower than running on Apache Web Server.</li> -</ul> -</p> -<P>Communication - <ul><li>Portlet sees Parameters posted to itself (JSR-168 restriction)</li> -<li>Invokation from another portlet through a session object.</li> -<li>ScriptRuntimeData class can be used to pass parameters to a PHP /Perl portlet</li> -<li>Portlets process query arguments (GET) and Parameters (POST)</li> -</ul> -</P></div> - - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright">© - 2004-2011 - - Apache Software Foundation - - - - - - - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - </body> -</html> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 26 May 2022 --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>Apache Portals Bridges - + Perl Bridge Summary</title> + <style type="text/css" media="all"> + @import url("../css/maven-base.css"); + @import url("../css/maven-theme.css"); + @import url("../css/site.css"); + </style> + <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> + <meta name="Date-Revision-yyyymmdd" content="20220526" /> + <meta http-equiv="Content-Language" content="en" /> + + </head> + <body class="composite"> + <div id="banner"> + <a href="http://portals.apache.org/" id="bannerLeft"> + <img src="../images/apache-portals.gif" alt="Apache Software Foundation" /> + </a> + <a href="http://portals.apache.org/bridges/" id="bannerRight"> + Apache Portals Bridges + </a> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + + + <div class="xleft"> + <span id="publishDate">Last Published: 26 May 2022</span> + | <span id="projectVersion">Version: 1.0</span> + </div> + <div class="xright"> <a href="http://portals.apache.org/" class="externalLink" target="_nw" title="Portals">Portals</a> + | + <a href="http://portals.apache.org/applications" class="externalLink" target="_nw" title="Applications">Applications</a> + | + <a href="http://portals.apache.org/jetspeed-2" class="externalLink" target="_nw" title="Jetspeed-2">Jetspeed-2</a> + | + <a href="http://www.jcp.org/en/jsr/detail?id=168" class="externalLink" target="_nw" title="JSR-168">JSR-168</a> + | + <a href="http://www.jcp.org/en/jsr/detail?id=286" class="externalLink" target="_nw" title="JSR-286">JSR-286</a> + + + </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + + + <h5>Portals Bridges</h5> + <ul> + <li class="none"> + <a href="../index.html" title="Overview">Overview</a> + </li> + <li class="none"> + <a href="../news.html" title="News and Status">News and Status</a> + </li> + </ul> + <h5>Current Portals Bridges</h5> + <ul> + <li class="none"> + <a href="../bridges-common/index.html" title="Common Utilities and Interfaces">Common Utilities and Interfaces</a> + </li> + <li class="collapsed"> + <a href="../bridges-struts/index.html" title="Struts Bridge">Struts Bridge</a> + </li> + <li class="none"> + <a href="../bridges-velocity/index.html" title="Velocity Bridge">Velocity Bridge</a> + </li> + <li class="none"> + <a href="../bridges-script/index.html" title="Script Bridge">Script Bridge</a> + </li> + <li class="collapsed"> + <a href="../bridges-groovy/index.html" title="Groovy Bridge">Groovy Bridge</a> + </li> + </ul> + <h5>Archived Portals Bridges</h5> + <ul> + <li class="collapsed"> + <a href="../bridges-jsf/index.html" title="JSF Bridge">JSF Bridge</a> + </li> + <li class="collapsed"> + <a href="../bridges-php/index.html" title="PHP Bridge">PHP Bridge</a> + </li> + <li class="none"> + <strong>Perl Bridge</strong> + </li> + <li class="none"> + <a href="../bridges-portletfilter/index.html" title="Portlet Filter">Portlet Filter</a> + </li> + </ul> + <h5>Get Portals Bridges</h5> + <ul> + <li class="none"> + <a href="../download.html" title="Download">Download</a> + </li> + <li class="none"> + <a href="../release-notes.html" title="Release Notes">Release Notes</a> + </li> + </ul> + <h5>Support</h5> + <ul> + <li class="none"> + <a href="../team-list.html" title="Project Team">Project Team</a> + </li> + <li class="none"> + <a href="../license.html" title="Project License">Project License</a> + </li> + <li class="none"> + <a href="../mail-lists.html" title="Mailing List">Mailing List</a> + </li> + <li class="none"> + <a href="../issue-tracking.html" title="Issue Tracking">Issue Tracking</a> + </li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + + + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> + <!-- Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. --> + + <div class="section"> +<h2>Summary<a name="Summary"></a></h2> + +<p> + Perl Bridge Overview +</p> +<ul> + +<li>Designed to run existing perl applications inside the portal</li> + +<li>Minimal re-coding of the perl required.</li> + +<li>Usage of Java Script might require some code modifications.</li> + +<li>Executes perl scripts in a command shell and rewrites output HTML.</li> + +<li>Relative URL's are converted to Portlet Actions.</li> + +<li>Invocation from other portlets pass parameters as a session object.</li> + +<li>Slower than running on Apache Web Server.</li> +</ul> + + + Communication + +<ul> + +<li>Portlet sees Parameters posted to itself (JSR-168 restriction)</li> + +<li>Invokation from another portlet through a session object.</li> + +<li>ScriptRuntimeData class can be used to pass parameters to a PHP /Perl portlet</li> + +<li>Portlets process query arguments (GET) and Parameters (POST)</li> + </ul> + + + </div> + + + </div> + </div> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + Copyright © 2004-2022 + <a href="http://www.apache.org/">Apache Software Foundation</a>. + All Rights Reserved. + + </div> + <div class="clear"> + <hr/> + </div> + </div> + </body> +</html>
Modified: portals/site-live/bridges/bridges-php/demo.html URL: http://svn.apache.org/viewvc/portals/site-live/bridges/bridges-php/demo.html?rev=1901429&r1=1901428&r2=1901429&view=diff ============================================================================== --- portals/site-live/bridges/bridges-php/demo.html (original) +++ portals/site-live/bridges/bridges-php/demo.html Tue May 31 02:19:06 2022 @@ -1,268 +1,206 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - - - - - - - - - - - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Apache Portals Bridges - PHP Bridge Demo</title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> - </head> - <body class="composite"> - <div id="banner"> - <a href="http://portals.apache.org/" id="bannerLeft"> - - <img src="../images/apache-portals.gif" alt="" /> - - </a> - <a href="http://portals.apache.org/bridges/" id="bannerRight"> - - Apache Portals Bridges - - </a> - <div class="clear"> - <hr/> - </div> - </div> - <div id="breadcrumbs"> - - - - - - - - - <div class="xleft"> - Last Published: 29 September 2011 - </div> - <div class="xright"> <a href="http://portals.apache.org/" class="externalLink">Portals</a> - | - <a href="http://portals.apache.org/applications" class="externalLink">Applications</a> - | - <a href="http://portals.apache.org/jetspeed-2" class="externalLink">Jetspeed-2</a> - | - <a href="http://www.jcp.org/en/jsr/detail?id=168" class="externalLink">JSR-168</a> - | - <a href="http://www.jcp.org/en/jsr/detail?id=286" class="externalLink">JSR-286</a> - - - - - - - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - - - - - - - - <h5>Portals Bridges</h5> - <ul> - - <li class="none"> - <a href="../index.html">Overview</a> - </li> - - <li class="none"> - <a href="../news.html">News and Status</a> - </li> - </ul> - <h5>Current Portals Bridges</h5> - <ul> - - <li class="none"> - <a href="../bridges-common/index.html">Common Utilities and Interfaces</a> - </li> - - - - - - <li class="collapsed"> - <a href="../bridges-struts/index.html">Struts Bridge</a> - </li> - - <li class="none"> - <a href="../bridges-velocity/index.html">Velocity Bridge</a> - </li> - - <li class="none"> - <a href="../bridges-script/index.html">Script Bridge</a> - </li> - - - - - - - - <li class="collapsed"> - <a href="../bridges-groovy/index.html">Groovy Bridge</a> - </li> - </ul> - <h5>Archived Portals Bridges</h5> - <ul> - - - - - - - - <li class="collapsed"> - <a href="../bridges-jsf/index.html">JSF Bridge</a> - </li> - - - - - - - - - - <li class="expanded"> - <a href="../bridges-php/index.html">PHP Bridge</a> - <ul> - - <li class="none"> - <a href="../bridges-php/getting-started.html">Getting Started</a> - </li> - - <li class="none"> - <strong>PHP Demo Application</strong> - </li> - - <li class="none"> - <a href="../bridges-php/portlets.html">Configuring Portlets</a> - </li> - </ul> - </li> - - <li class="none"> - <a href="../bridges-perl/index.html">Perl Bridge</a> - </li> - - <li class="none"> - <a href="../bridges-portletfilter/index.html">Portlet Filter</a> - </li> - </ul> - <h5>Get Portals Bridges</h5> - <ul> - - <li class="none"> - <a href="../download.html">Download</a> - </li> - - <li class="none"> - <a href="../release-notes.html">Release Notes</a> - </li> - </ul> - <h5>Support</h5> - <ul> - - <li class="none"> - <a href="../team-list.html">Project Team</a> - </li> - - <li class="none"> - <a href="../license.html">Project License</a> - </li> - - <li class="none"> - <a href="../mail-lists.html">Mailing List</a> - </li> - - <li class="none"> - <a href="../issue-tracking.html">Issue Tracking</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img> - </a> - - - - - - - - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <authors><person name="Roger Ruttimann" email="[email protected]"></authors><div class="section"><h2><a name="Setting_up_the_PHP_Demo"></a>Setting up the PHP Demo</h2> -<p> -The php demo uses a backed database (MySQL) that simulates -a simple machine database. -</p> -<p> -the php file in hosts/conf/config.php defines the database and -the connection parameter that the application will use. Change -it to your needs. -</p> -<p> -Create a database (I used hosts) and populate it with the script -found in sql/php-demo.sql -</p> -<p> -The php-demo portlet is configured to use the following start page: -hosts/index.php -</p> -<p> -That's it! -Questions/problems: [email protected] -</p> -</div> - - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright">© - 2004-2011 - - Apache Software Foundation - - - - - - - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - </body> -</html> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 26 May 2022 --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>Apache Portals Bridges - + PHP Bridge Demo</title> + <style type="text/css" media="all"> + @import url("../css/maven-base.css"); + @import url("../css/maven-theme.css"); + @import url("../css/site.css"); + </style> + <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> + <meta name="Date-Revision-yyyymmdd" content="20220526" /> + <meta http-equiv="Content-Language" content="en" /> + + </head> + <body class="composite"> + <div id="banner"> + <a href="http://portals.apache.org/" id="bannerLeft"> + <img src="../images/apache-portals.gif" alt="Apache Software Foundation" /> + </a> + <a href="http://portals.apache.org/bridges/" id="bannerRight"> + Apache Portals Bridges + </a> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + + + <div class="xleft"> + <span id="publishDate">Last Published: 26 May 2022</span> + | <span id="projectVersion">Version: 1.0</span> + </div> + <div class="xright"> <a href="http://portals.apache.org/" class="externalLink" target="_nw" title="Portals">Portals</a> + | + <a href="http://portals.apache.org/applications" class="externalLink" target="_nw" title="Applications">Applications</a> + | + <a href="http://portals.apache.org/jetspeed-2" class="externalLink" target="_nw" title="Jetspeed-2">Jetspeed-2</a> + | + <a href="http://www.jcp.org/en/jsr/detail?id=168" class="externalLink" target="_nw" title="JSR-168">JSR-168</a> + | + <a href="http://www.jcp.org/en/jsr/detail?id=286" class="externalLink" target="_nw" title="JSR-286">JSR-286</a> + + + </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + + + <h5>Portals Bridges</h5> + <ul> + <li class="none"> + <a href="../index.html" title="Overview">Overview</a> + </li> + <li class="none"> + <a href="../news.html" title="News and Status">News and Status</a> + </li> + </ul> + <h5>Current Portals Bridges</h5> + <ul> + <li class="none"> + <a href="../bridges-common/index.html" title="Common Utilities and Interfaces">Common Utilities and Interfaces</a> + </li> + <li class="collapsed"> + <a href="../bridges-struts/index.html" title="Struts Bridge">Struts Bridge</a> + </li> + <li class="none"> + <a href="../bridges-velocity/index.html" title="Velocity Bridge">Velocity Bridge</a> + </li> + <li class="none"> + <a href="../bridges-script/index.html" title="Script Bridge">Script Bridge</a> + </li> + <li class="collapsed"> + <a href="../bridges-groovy/index.html" title="Groovy Bridge">Groovy Bridge</a> + </li> + </ul> + <h5>Archived Portals Bridges</h5> + <ul> + <li class="collapsed"> + <a href="../bridges-jsf/index.html" title="JSF Bridge">JSF Bridge</a> + </li> + <li class="expanded"> + <a href="../bridges-php/index.html" title="PHP Bridge">PHP Bridge</a> + <ul> + <li class="none"> + <a href="../bridges-php/getting-started.html" title="Getting Started">Getting Started</a> + </li> + <li class="none"> + <strong>PHP Demo Application</strong> + </li> + <li class="none"> + <a href="../bridges-php/portlets.html" title="Configuring Portlets">Configuring Portlets</a> + </li> + </ul> + </li> + <li class="none"> + <a href="../bridges-perl/index.html" title="Perl Bridge">Perl Bridge</a> + </li> + <li class="none"> + <a href="../bridges-portletfilter/index.html" title="Portlet Filter">Portlet Filter</a> + </li> + </ul> + <h5>Get Portals Bridges</h5> + <ul> + <li class="none"> + <a href="../download.html" title="Download">Download</a> + </li> + <li class="none"> + <a href="../release-notes.html" title="Release Notes">Release Notes</a> + </li> + </ul> + <h5>Support</h5> + <ul> + <li class="none"> + <a href="../team-list.html" title="Project Team">Project Team</a> + </li> + <li class="none"> + <a href="../license.html" title="Project License">Project License</a> + </li> + <li class="none"> + <a href="../mail-lists.html" title="Mailing List">Mailing List</a> + </li> + <li class="none"> + <a href="../issue-tracking.html" title="Issue Tracking">Issue Tracking</a> + </li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + + + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> + <!-- Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. --> + + <div class="section"> +<h2>Setting up the PHP Demo<a name="Setting_up_the_PHP_Demo"></a></h2> + +<p> +The php demo uses a backed database (MySQL) that simulates +a simple machine database. +</p> + +<p> +the php file in hosts/conf/config.php defines the database and +the connection parameter that the application will use. Change +it to your needs. +</p> + +<p> +Create a database (I used hosts) and populate it with the script +found in sql/php-demo.sql +</p> + +<p> +The php-demo portlet is configured to use the following start page: +hosts/index.php +</p> + +<p> +That's it! +Questions/problems: [email protected] +</p> +</div> + + + </div> + </div> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + Copyright © 2004-2022 + <a href="http://www.apache.org/">Apache Software Foundation</a>. + All Rights Reserved. + + </div> + <div class="clear"> + <hr/> + </div> + </div> + </body> +</html> Modified: portals/site-live/bridges/bridges-php/getting-started.html URL: http://svn.apache.org/viewvc/portals/site-live/bridges/bridges-php/getting-started.html?rev=1901429&r1=1901428&r2=1901429&view=diff ============================================================================== --- portals/site-live/bridges/bridges-php/getting-started.html (original) +++ portals/site-live/bridges/bridges-php/getting-started.html Tue May 31 02:19:06 2022 @@ -1,262 +1,298 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - - - - - - - - - - - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Apache Portals Bridges - PHP Bridge Getting Started</title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> - </head> - <body class="composite"> - <div id="banner"> - <a href="http://portals.apache.org/" id="bannerLeft"> - - <img src="../images/apache-portals.gif" alt="" /> - - </a> - <a href="http://portals.apache.org/bridges/" id="bannerRight"> - - Apache Portals Bridges - - </a> - <div class="clear"> - <hr/> - </div> - </div> - <div id="breadcrumbs"> - - - - - - - - - <div class="xleft"> - Last Published: 29 September 2011 - </div> - <div class="xright"> <a href="http://portals.apache.org/" class="externalLink">Portals</a> - | - <a href="http://portals.apache.org/applications" class="externalLink">Applications</a> - | - <a href="http://portals.apache.org/jetspeed-2" class="externalLink">Jetspeed-2</a> - | - <a href="http://www.jcp.org/en/jsr/detail?id=168" class="externalLink">JSR-168</a> - | - <a href="http://www.jcp.org/en/jsr/detail?id=286" class="externalLink">JSR-286</a> - - - - - - - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - - - - - - - - <h5>Portals Bridges</h5> - <ul> - - <li class="none"> - <a href="../index.html">Overview</a> - </li> - - <li class="none"> - <a href="../news.html">News and Status</a> - </li> - </ul> - <h5>Current Portals Bridges</h5> - <ul> - - <li class="none"> - <a href="../bridges-common/index.html">Common Utilities and Interfaces</a> - </li> - - - - - - <li class="collapsed"> - <a href="../bridges-struts/index.html">Struts Bridge</a> - </li> - - <li class="none"> - <a href="../bridges-velocity/index.html">Velocity Bridge</a> - </li> - - <li class="none"> - <a href="../bridges-script/index.html">Script Bridge</a> - </li> - - - - - - - - <li class="collapsed"> - <a href="../bridges-groovy/index.html">Groovy Bridge</a> - </li> - </ul> - <h5>Archived Portals Bridges</h5> - <ul> - - - - - - - - <li class="collapsed"> - <a href="../bridges-jsf/index.html">JSF Bridge</a> - </li> - - - - - - - - - - <li class="expanded"> - <a href="../bridges-php/index.html">PHP Bridge</a> - <ul> - - <li class="none"> - <strong>Getting Started</strong> - </li> - - <li class="none"> - <a href="../bridges-php/demo.html">PHP Demo Application</a> - </li> - - <li class="none"> - <a href="../bridges-php/portlets.html">Configuring Portlets</a> - </li> - </ul> - </li> - - <li class="none"> - <a href="../bridges-perl/index.html">Perl Bridge</a> - </li> - - <li class="none"> - <a href="../bridges-portletfilter/index.html">Portlet Filter</a> - </li> - </ul> - <h5>Get Portals Bridges</h5> - <ul> - - <li class="none"> - <a href="../download.html">Download</a> - </li> - - <li class="none"> - <a href="../release-notes.html">Release Notes</a> - </li> - </ul> - <h5>Support</h5> - <ul> - - <li class="none"> - <a href="../team-list.html">Project Team</a> - </li> - - <li class="none"> - <a href="../license.html">Project License</a> - </li> - - <li class="none"> - <a href="../mail-lists.html">Mailing List</a> - </li> - - <li class="none"> - <a href="../issue-tracking.html">Issue Tracking</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img> - </a> - - - - - - - - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <authors><person name="Roger Ruttimann" email="[email protected]"></authors><div class="section"><h2><a name="Getting_Started"></a>Getting Started</h2> -<TABLE WIDTH="100%" BORDER="1" BORDERCOLOR="#000000" CELLPADDING="4" CELLSPACING="0" FRAME="BELOW" RULES="GROUPS" STYLE="page-break-before: always"><COLGROUP><COL WIDTH="74*"><COL WIDTH="88*"></COLGROUP><COLGROUP><COL WIDTH="94*"></COLGROUP><THEAD><TR><TH COLSPAN="3" WIDTH="100%" VALIGN="TOP"><P>The following document describes how to install and configure - your php-Applications</P></TH></TR></THEAD><TBODY><TR VALIGN="TOP"><TD COLSPAN="2" WIDTH="63%"><P><U><B>System requirements</B></U></P></TD><TD WIDTH="37%"><P><U><B>Resources</B></U></P></TD></TR><TR VALIGN="TOP"><TD COLSPAN="2" WIDTH="63%"><P><FONT SIZE="2">The PHP library needs to be in the path of the - servlet container so that it can get invoked from the portlet. - The library is platform specific. Download the library from the - PHP site or from the links on the left.</FONT></P></TD><TD ROWSPAN="4" WIDTH="37%"><UL><LI><P><FONT SIZE="2">Linux: </FONT><A HREF="http://www.bluesunrise.com/jetspeed-2/bridges/php/dist/libphp4.so"><FONT SIZE="2">libphp4.so</FONT></A></P></LI><LI><P><FONT SIZE="2">Windows: </FONT><A HREF="http://www.bluesunrise.com/jetspeed-2/bridges/php/dist/php4ts.dll"><FONT SIZE="2">php4ts.dll</FONT></A><FONT SIZE="2">& </FONT><A HREF="http://www.bluesunrise.com/jetspeed-2/bridges/php/dist/phpsrvlt.dll"><FONT SIZE="2">phpsrvlt.dll</FONT></A></P></LI><LI><P><FONT SIZE="2">Servlet interface between PHP libraries and portlets. The package - is automatically downloaded to the maven/repository/itgroundwork/jars - directory during the build.<A HREF="http://www.bluesunrise.com/maven/itgroundwork/jars/phpportlet-1.0.jar">phportlet-1.0.jar</A></FONT></P></LI><LI><LI><FONT SIZE="2"><P>Entire source tree for PHP 4.3.6 which was used for building the shared - libraries used by the portlet. PHP4 included the servlet and java - extensions. The java and the servlet subdirectories were modified to work - with the portlet part of the Portals Bridges Project</P><P>Note: This version was successfully tested on Linux</P><P>Source: <A HREF="http://www.bluesunrise.com/jetspeed-2/bridges/php/src/source-php-portlet-4.3.6.tar.gz">PHP 4.3.6 source with modified java & servlet extension</A></P></FONT></LI><LI><FONT SIZE="2"><P>In PHP 5 the Java and Servlet extensions were removed from the core product. - They are only available in the CVS repository. An initial effort went in to - upgrade it to PHP5 API's. The source includes the modified <A HREF="http://www.bluesunrise.com/jetspeed-2/bridges/php/src/source-php-portlet-5.0.4.tar.gz">Extensions for PHP 5.0.4 (java & servlet)</A></P><P>Note: This version was tested with PHP 5 on Linux but it wasn't as stable as - version 4.x. Using any PHP objects crashed tomcat. Running PHP 4.x style - code worked without any problems and was stable. </P></FONT></LI></UL></TD></TR></TBODY><TBODY><TR><TD COLSPAN="2" WIDTH="63%" VALIGN="TOP"><P><FONT SIZE="3"><U><B>Setup</B></U></FONT></P></TD></TR><TR VALIGN="TOP"><TD WIDTH="29%"><P><FONT SIZE="2">Linux</FONT></P></TD><TD WIDTH="34%"><P><FONT SIZE="2">Windows</FONT></P></TD></TR><TR VALIGN="TOP"><TD WIDTH="29%"><P><FONT SIZE="2">Download libphp4.so and add the directory - containing the library to the environment var <B>LD_LIBRARY_PATH</B>.</FONT></P><P><BR></P></TD><TD WIDTH="34%"><P><FONT SIZE="2">Download php4ts.dll and phpsrvlt.dll and add the - directory containing the libraries to the <B>PATH.</B></FONT></P></TD></TR></TBODY></TABLE></div> - - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright">© - 2004-2011 - - Apache Software Foundation - - - - - - - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - </body> -</html> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 26 May 2022 --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>Apache Portals Bridges - + PHP Bridge Getting Started</title> + <style type="text/css" media="all"> + @import url("../css/maven-base.css"); + @import url("../css/maven-theme.css"); + @import url("../css/site.css"); + </style> + <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> + <meta name="Date-Revision-yyyymmdd" content="20220526" /> + <meta http-equiv="Content-Language" content="en" /> + + </head> + <body class="composite"> + <div id="banner"> + <a href="http://portals.apache.org/" id="bannerLeft"> + <img src="../images/apache-portals.gif" alt="Apache Software Foundation" /> + </a> + <a href="http://portals.apache.org/bridges/" id="bannerRight"> + Apache Portals Bridges + </a> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + + + <div class="xleft"> + <span id="publishDate">Last Published: 26 May 2022</span> + | <span id="projectVersion">Version: 1.0</span> + </div> + <div class="xright"> <a href="http://portals.apache.org/" class="externalLink" target="_nw" title="Portals">Portals</a> + | + <a href="http://portals.apache.org/applications" class="externalLink" target="_nw" title="Applications">Applications</a> + | + <a href="http://portals.apache.org/jetspeed-2" class="externalLink" target="_nw" title="Jetspeed-2">Jetspeed-2</a> + | + <a href="http://www.jcp.org/en/jsr/detail?id=168" class="externalLink" target="_nw" title="JSR-168">JSR-168</a> + | + <a href="http://www.jcp.org/en/jsr/detail?id=286" class="externalLink" target="_nw" title="JSR-286">JSR-286</a> + + + </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + + + <h5>Portals Bridges</h5> + <ul> + <li class="none"> + <a href="../index.html" title="Overview">Overview</a> + </li> + <li class="none"> + <a href="../news.html" title="News and Status">News and Status</a> + </li> + </ul> + <h5>Current Portals Bridges</h5> + <ul> + <li class="none"> + <a href="../bridges-common/index.html" title="Common Utilities and Interfaces">Common Utilities and Interfaces</a> + </li> + <li class="collapsed"> + <a href="../bridges-struts/index.html" title="Struts Bridge">Struts Bridge</a> + </li> + <li class="none"> + <a href="../bridges-velocity/index.html" title="Velocity Bridge">Velocity Bridge</a> + </li> + <li class="none"> + <a href="../bridges-script/index.html" title="Script Bridge">Script Bridge</a> + </li> + <li class="collapsed"> + <a href="../bridges-groovy/index.html" title="Groovy Bridge">Groovy Bridge</a> + </li> + </ul> + <h5>Archived Portals Bridges</h5> + <ul> + <li class="collapsed"> + <a href="../bridges-jsf/index.html" title="JSF Bridge">JSF Bridge</a> + </li> + <li class="expanded"> + <a href="../bridges-php/index.html" title="PHP Bridge">PHP Bridge</a> + <ul> + <li class="none"> + <strong>Getting Started</strong> + </li> + <li class="none"> + <a href="../bridges-php/demo.html" title="PHP Demo Application">PHP Demo Application</a> + </li> + <li class="none"> + <a href="../bridges-php/portlets.html" title="Configuring Portlets">Configuring Portlets</a> + </li> + </ul> + </li> + <li class="none"> + <a href="../bridges-perl/index.html" title="Perl Bridge">Perl Bridge</a> + </li> + <li class="none"> + <a href="../bridges-portletfilter/index.html" title="Portlet Filter">Portlet Filter</a> + </li> + </ul> + <h5>Get Portals Bridges</h5> + <ul> + <li class="none"> + <a href="../download.html" title="Download">Download</a> + </li> + <li class="none"> + <a href="../release-notes.html" title="Release Notes">Release Notes</a> + </li> + </ul> + <h5>Support</h5> + <ul> + <li class="none"> + <a href="../team-list.html" title="Project Team">Project Team</a> + </li> + <li class="none"> + <a href="../license.html" title="Project License">Project License</a> + </li> + <li class="none"> + <a href="../mail-lists.html" title="Mailing List">Mailing List</a> + </li> + <li class="none"> + <a href="../issue-tracking.html" title="Issue Tracking">Issue Tracking</a> + </li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + + + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> + <!-- Licensed to the Apache Software Foundation (ASF) under one or more + contributor license agreements. See the NOTICE file distributed with + this work for additional information regarding copyright ownership. + The ASF licenses this file to You under the Apache License, Version 2.0 + (the "License"); you may not use this file except in compliance with + the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. --> + + <div class="section"> +<h2>Getting Started<a name="Getting_Started"></a></h2> + + + + + + + + + + + + The following document describes how to install and configure + your php-Applications + + + + + + + System requirements + + + Resources + + + + + + The PHP library needs to be in the path of the + servlet container so that it can get invoked from the portlet. + The library is platform specific. Download the library from the + PHP site or from the links on the left. + + + + + + + Linux: + + libphp4.so + + + + + + Windows: + + php4ts.dll + + & + + phpsrvlt.dll + + + + + + Servlet interface between PHP libraries and portlets. The package + is automatically downloaded to the maven/repository/itgroundwork/jars + directory during the build.phportlet-1.0.jar + + + + + + Entire source tree for PHP 4.3.6 which was used for building the shared + libraries used by the portlet. PHP4 included the servlet and java + extensions. The java and the servlet subdirectories were modified to work + with the portlet part of the Portals Bridges Project + Note: This version was successfully tested on Linux + Source: PHP 4.3.6 source with modified java & servlet extension + + + + + + In PHP 5 the Java and Servlet extensions were removed from the core product. + They are only available in the CVS repository. An initial effort went in to + upgrade it to PHP5 API's. The source includes the modified Extensions for PHP 5.0.4 (java & servlet) + Note: This version was tested with PHP 5 on Linux but it wasn't as stable as + version 4.x. Using any PHP objects crashed tomcat. Running PHP 4.x style + code worked without any problems and was stable. + + + + + + + + + + + Setup + + + + + Linux + + + Windows + + + + + Download libphp4.so and add the directory + containing the library to the environment var LD_LIBRARY_PATH. + + + + + Download php4ts.dll and phpsrvlt.dll and add the + directory containing the libraries to the PATH. + + + + + </div> + + + </div> + </div> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + Copyright © 2004-2022 + <a href="http://www.apache.org/">Apache Software Foundation</a>. + All Rights Reserved. + + </div> + <div class="clear"> + <hr/> + </div> + </div> + </body> +</html> Modified: portals/site-live/bridges/bridges-php/index.html URL: http://svn.apache.org/viewvc/portals/site-live/bridges/bridges-php/index.html?rev=1901429&r1=1901428&r2=1901429&view=diff ============================================================================== --- portals/site-live/bridges/bridges-php/index.html (original) +++ portals/site-live/bridges/bridges-php/index.html Tue May 31 02:19:06 2022 @@ -1,285 +1,262 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 26 May 2022 --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>Apache Portals Bridges - + PHP Bridge Summary</title> + <style type="text/css" media="all"> + @import url("../css/maven-base.css"); + @import url("../css/maven-theme.css"); + @import url("../css/site.css"); + </style> + <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> + <meta name="Date-Revision-yyyymmdd" content="20220526" /> + <meta http-equiv="Content-Language" content="en" /> + + </head> + <body class="composite"> + <div id="banner"> + <a href="http://portals.apache.org/" id="bannerLeft"> + <img src="../images/apache-portals.gif" alt="Apache Software Foundation" /> + </a> + <a href="http://portals.apache.org/bridges/" id="bannerRight"> + Apache Portals Bridges + </a> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + + + <div class="xleft"> + <span id="publishDate">Last Published: 26 May 2022</span> + | <span id="projectVersion">Version: 1.0</span> + </div> + <div class="xright"> <a href="http://portals.apache.org/" class="externalLink" target="_nw" title="Portals">Portals</a> + | + <a href="http://portals.apache.org/applications" class="externalLink" target="_nw" title="Applications">Applications</a> + | + <a href="http://portals.apache.org/jetspeed-2" class="externalLink" target="_nw" title="Jetspeed-2">Jetspeed-2</a> + | + <a href="http://www.jcp.org/en/jsr/detail?id=168" class="externalLink" target="_nw" title="JSR-168">JSR-168</a> + | + <a href="http://www.jcp.org/en/jsr/detail?id=286" class="externalLink" target="_nw" title="JSR-286">JSR-286</a> + + + </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + + + <h5>Portals Bridges</h5> + <ul> + <li class="none"> + <a href="../index.html" title="Overview">Overview</a> + </li> + <li class="none"> + <a href="../news.html" title="News and Status">News and Status</a> + </li> + </ul> + <h5>Current Portals Bridges</h5> + <ul> + <li class="none"> + <a href="../bridges-common/index.html" title="Common Utilities and Interfaces">Common Utilities and Interfaces</a> + </li> + <li class="collapsed"> + <a href="../bridges-struts/index.html" title="Struts Bridge">Struts Bridge</a> + </li> + <li class="none"> + <a href="../bridges-velocity/index.html" title="Velocity Bridge">Velocity Bridge</a> + </li> + <li class="none"> + <a href="../bridges-script/index.html" title="Script Bridge">Script Bridge</a> + </li> + <li class="collapsed"> + <a href="../bridges-groovy/index.html" title="Groovy Bridge">Groovy Bridge</a> + </li> + </ul> + <h5>Archived Portals Bridges</h5> + <ul> + <li class="collapsed"> + <a href="../bridges-jsf/index.html" title="JSF Bridge">JSF Bridge</a> + </li> + <li class="expanded"> + <strong>PHP Bridge</strong> + <ul> + <li class="none"> + <a href="../bridges-php/getting-started.html" title="Getting Started">Getting Started</a> + </li> + <li class="none"> + <a href="../bridges-php/demo.html" title="PHP Demo Application">PHP Demo Application</a> + </li> + <li class="none"> + <a href="../bridges-php/portlets.html" title="Configuring Portlets">Configuring Portlets</a> + </li> + </ul> + </li> + <li class="none"> + <a href="../bridges-perl/index.html" title="Perl Bridge">Perl Bridge</a> + </li> + <li class="none"> + <a href="../bridges-portletfilter/index.html" title="Portlet Filter">Portlet Filter</a> + </li> + </ul> + <h5>Get Portals Bridges</h5> + <ul> + <li class="none"> + <a href="../download.html" title="Download">Download</a> + </li> + <li class="none"> + <a href="../release-notes.html" title="Release Notes">Release Notes</a> + </li> + </ul> + <h5>Support</h5> + <ul> + <li class="none"> + <a href="../team-list.html" title="Project Team">Project Team</a> + </li> + <li class="none"> + <a href="../license.html" title="Project License">Project License</a> + </li> + <li class="none"> + <a href="../mail-lists.html" title="Mailing List">Mailing List</a> + </li> + <li class="none"> + <a href="../issue-tracking.html" title="Issue Tracking">Issue Tracking</a> + </li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + + + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> + <!-- Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. --> + + <div class="section"> +<h2>Summary<a name="Summary"></a></h2> + +<p> + PHP Bridge Overview +</p> +<ul> +<li>Designed to run existing PHP applications inside the portal</li> +<li>Minimal re-coding of the required depends on the application.</li> +<li>Uses PHP Java API to execute PHP and rewrites output HTML.</li> +<li>Installation of PHP libraries in LD_LIBRARY_PATH</li> +<li>Major differences between versions (see below)</li> +<li>Relative URL's are converted to Portlet Actions.</li> +<li>Invocation from other portlets pass parameters as a session object.</li> +</ul> + + + Communication + +<ul> + +<li>Portlet sees Parameters posted to itself (JSR-168 restriction)</li> +<li>Invokation from another portlet through a session object.</li> +<li>ScriptRuntimeData class can be used to pass parameters to a PHP /Perl portlet</li> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Apache Portals Bridges - PHP Bridge Summary</title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> - </head> - <body class="composite"> - <div id="banner"> - <a href="http://portals.apache.org/" id="bannerLeft"> - - <img src="../images/apache-portals.gif" alt="" /> +<li>Portlets process query arguments (GET) and Parameters (POST)</li> + </ul> + + + </div> - </a> - <a href="http://portals.apache.org/bridges/" id="bannerRight"> +<div class="section"> +<h2>Differences between PHP4 and PHP5<a name="Differences_between_PHP4_and_PHP5"></a></h2> - Apache Portals Bridges + PHP 4 - </a> - <div class="clear"> - <hr/> - </div> - </div> - <div id="breadcrumbs"> - - +<ul> - - - - - - <div class="xleft"> - Last Published: 29 September 2011 - </div> - <div class="xright"> <a href="http://portals.apache.org/" class="externalLink">Portals</a> - | - <a href="http://portals.apache.org/applications" class="externalLink">Applications</a> - | - <a href="http://portals.apache.org/jetspeed-2" class="externalLink">Jetspeed-2</a> - | - <a href="http://www.jcp.org/en/jsr/detail?id=168" class="externalLink">JSR-168</a> - | - <a href="http://www.jcp.org/en/jsr/detail?id=286" class="externalLink">JSR-286</a> - - +<li>Included Java API and a servlet example which the portlet was based on.</li> - - - - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - +<li>Just make sure that the Java API is configured</li> + +<li>Build php portlet using the using the PHP JNI headers</li> + +<li>Make sure that the PHP libraries are in the path for tomcat.</li> + +<li>The php-portlet jar is in the class path</li> + +<li>Well performing, stable</li> +</ul> - - - - - - <h5>Portals Bridges</h5> - <ul> - - <li class="none"> - <a href="../index.html">Overview</a> - </li> - - <li class="none"> - <a href="../news.html">News and Status</a> - </li> - </ul> - <h5>Current Portals Bridges</h5> - <ul> - - <li class="none"> - <a href="../bridges-common/index.html">Common Utilities and Interfaces</a> - </li> - - - - - - <li class="collapsed"> - <a href="../bridges-struts/index.html">Struts Bridge</a> - </li> - - <li class="none"> - <a href="../bridges-velocity/index.html">Velocity Bridge</a> - </li> - - <li class="none"> - <a href="../bridges-script/index.html">Script Bridge</a> - </li> - - - - - - - - <li class="collapsed"> - <a href="../bridges-groovy/index.html">Groovy Bridge</a> - </li> - </ul> - <h5>Archived Portals Bridges</h5> - <ul> - - - - - - - - <li class="collapsed"> - <a href="../bridges-jsf/index.html">JSF Bridge</a> - </li> - - - - - - - - - - <li class="expanded"> - <strong>PHP Bridge</strong> - <ul> - - <li class="none"> - <a href="../bridges-php/getting-started.html">Getting Started</a> - </li> - - <li class="none"> - <a href="../bridges-php/demo.html">PHP Demo Application</a> - </li> - - <li class="none"> - <a href="../bridges-php/portlets.html">Configuring Portlets</a> - </li> - </ul> - </li> - - <li class="none"> - <a href="../bridges-perl/index.html">Perl Bridge</a> - </li> - - <li class="none"> - <a href="../bridges-portletfilter/index.html">Portlet Filter</a> - </li> - </ul> - <h5>Get Portals Bridges</h5> - <ul> - - <li class="none"> - <a href="../download.html">Download</a> - </li> - - <li class="none"> - <a href="../release-notes.html">Release Notes</a> - </li> - </ul> - <h5>Support</h5> - <ul> - - <li class="none"> - <a href="../team-list.html">Project Team</a> - </li> - - <li class="none"> - <a href="../license.html">Project License</a> - </li> - - <li class="none"> - <a href="../mail-lists.html">Mailing List</a> - </li> - - <li class="none"> - <a href="../issue-tracking.html">Issue Tracking</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img> - </a> - - - - - + PHP 5 - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <authors><person name="Roger Ruttimann" email="[email protected]"></authors><div class="section"><h2><a name="Summary"></a>Summary</h2> -<p> - PHP Bridge Overview -<ul><li>Designed to run existing PHP applications inside the portal</li> -<li>Minimal re-coding of the required depends on the application.</li> -<li>Uses PHP Java API to execute PHP and rewrites output HTML.</li> -<li>Installation of PHP libraries in LD_LIBRARY_PATH</li> -<li>Major differences between versions (see below)</li> -<li>Relative URL's are converted to Portlet Actions.</li> -<li>Invocation from other portlets pass parameters as a session object.</li> -</ul> -</p> -<P>Communication - <ul><li>Portlet sees Parameters posted to itself (JSR-168 restriction)</li> -<li>Invokation from another portlet through a session object.</li> -<li>ScriptRuntimeData class can be used to pass parameters to a PHP /Perl portlet</li> -<li>Portlets process query arguments (GET) and Parameters (POST)</li> -</ul> -</P></div> -<div class="section"><h2><a name="Differences_between_PHP4_and_PHP5"></a>Differences between PHP4 and PHP5</h2> -<P> - PHP 4 - <ul><li>Included Java API and a servlet example which the portlet was based on.</li> -<li>Just make sure that the Java API is configured</li> -<li>Build php portlet using the using the PHP JNI headers</li> -<li>Make sure that the PHP libraries are in the path for tomcat.</li> -<li>The php-portlet jar is in the class path</li> -<li>Well performing, stable</li> -</ul> -</P><P> - PHP 5 - <ul><li>Java API was dropped from PHP distribution.</li> -<li>Updated Java API only available in CVS repository of EXT</li> -<li>Compiling Java API and php 4 based portlet code works</li> -<li>Running PHP4 application run fine.</li> -<li>Using any new OO features in PHP 5 crash VM</li> -<li>Java API unstable need major effort to resolve memory issues -</li> -</ul> -</P></div> +<ul> + +<li>Java API was dropped from PHP distribution.</li> + +<li>Updated Java API only available in CVS repository of EXT</li> + +<li>Compiling Java API and php 4 based portlet code works</li> + +<li>Running PHP4 application run fine.</li> + +<li>Using any new OO features in PHP 5 crash VM</li> + +<li>Java API unstable need major effort to resolve memory issues +</li> +</ul> - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright">© - 2004-2011 - - Apache Software Foundation - - - - - - </div> - <div class="clear"> - <hr/> - </div> + </div> - </body> -</html> + + + </div> + </div> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + Copyright © 2004-2022 + <a href="http://www.apache.org/">Apache Software Foundation</a>. + All Rights Reserved. + + </div> + <div class="clear"> + <hr/> + </div> + </div> + </body> +</html> Modified: portals/site-live/bridges/bridges-php/portlets.html URL: http://svn.apache.org/viewvc/portals/site-live/bridges/bridges-php/portlets.html?rev=1901429&r1=1901428&r2=1901429&view=diff ============================================================================== --- portals/site-live/bridges/bridges-php/portlets.html (original) +++ portals/site-live/bridges/bridges-php/portlets.html Tue May 31 02:19:06 2022 @@ -1,258 +1,193 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> - - - - - - - - - - - -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Apache Portals Bridges - PHP Bridge Demo</title> - <style type="text/css" media="all"> - @import url("../css/maven-base.css"); - @import url("../css/maven-theme.css"); - @import url("../css/site.css"); - </style> - <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> - <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> - </head> - <body class="composite"> - <div id="banner"> - <a href="http://portals.apache.org/" id="bannerLeft"> - - <img src="../images/apache-portals.gif" alt="" /> - - </a> - <a href="http://portals.apache.org/bridges/" id="bannerRight"> - - Apache Portals Bridges - - </a> - <div class="clear"> - <hr/> - </div> - </div> - <div id="breadcrumbs"> - - - - - - - - - <div class="xleft"> - Last Published: 29 September 2011 - </div> - <div class="xright"> <a href="http://portals.apache.org/" class="externalLink">Portals</a> - | - <a href="http://portals.apache.org/applications" class="externalLink">Applications</a> - | - <a href="http://portals.apache.org/jetspeed-2" class="externalLink">Jetspeed-2</a> - | - <a href="http://www.jcp.org/en/jsr/detail?id=168" class="externalLink">JSR-168</a> - | - <a href="http://www.jcp.org/en/jsr/detail?id=286" class="externalLink">JSR-286</a> - - - - - - - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - <div id="leftColumn"> - <div id="navcolumn"> - - - - - - - - - <h5>Portals Bridges</h5> - <ul> - - <li class="none"> - <a href="../index.html">Overview</a> - </li> - - <li class="none"> - <a href="../news.html">News and Status</a> - </li> - </ul> - <h5>Current Portals Bridges</h5> - <ul> - - <li class="none"> - <a href="../bridges-common/index.html">Common Utilities and Interfaces</a> - </li> - - - - - - <li class="collapsed"> - <a href="../bridges-struts/index.html">Struts Bridge</a> - </li> - - <li class="none"> - <a href="../bridges-velocity/index.html">Velocity Bridge</a> - </li> - - <li class="none"> - <a href="../bridges-script/index.html">Script Bridge</a> - </li> - - - - - - - - <li class="collapsed"> - <a href="../bridges-groovy/index.html">Groovy Bridge</a> - </li> - </ul> - <h5>Archived Portals Bridges</h5> - <ul> - - - - - - - - <li class="collapsed"> - <a href="../bridges-jsf/index.html">JSF Bridge</a> - </li> - - - - - - - - - - <li class="expanded"> - <a href="../bridges-php/index.html">PHP Bridge</a> - <ul> - - <li class="none"> - <a href="../bridges-php/getting-started.html">Getting Started</a> - </li> - - <li class="none"> - <a href="../bridges-php/demo.html">PHP Demo Application</a> - </li> - - <li class="none"> - <strong>Configuring Portlets</strong> - </li> - </ul> - </li> - - <li class="none"> - <a href="../bridges-perl/index.html">Perl Bridge</a> - </li> - - <li class="none"> - <a href="../bridges-portletfilter/index.html">Portlet Filter</a> - </li> - </ul> - <h5>Get Portals Bridges</h5> - <ul> - - <li class="none"> - <a href="../download.html">Download</a> - </li> - - <li class="none"> - <a href="../release-notes.html">Release Notes</a> - </li> - </ul> - <h5>Support</h5> - <ul> - - <li class="none"> - <a href="../team-list.html">Project Team</a> - </li> - - <li class="none"> - <a href="../license.html">Project License</a> - </li> - - <li class="none"> - <a href="../mail-lists.html">Mailing List</a> - </li> - - <li class="none"> - <a href="../issue-tracking.html">Issue Tracking</a> - </li> - </ul> - <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> - <img alt="Built by Maven" src="../images/logos/maven-feather.png"></img> - </a> - - - - - - - - - </div> - </div> - <div id="bodyColumn"> - <div id="contentBox"> - <authors><person name="Roger Ruttimann" email="[email protected]"></authors><div class="section"><h2><a name="Configuring_Portlets"></a>Configuring Portlets</h2> -<p> -To configure a PHP application into your portlet definition, define an init param -to hold the PHP start page. For example: -</p> -<div class="source"><pre> - <init-param> - <name>StartPage</name> - <value>hosts/index.php</value> - </init-param> -</pre> -</div> -</div> - - </div> - </div> - <div class="clear"> - <hr/> - </div> - <div id="footer"> - <div class="xright">© - 2004-2011 - - Apache Software Foundation - - - - - - - - - </div> - <div class="clear"> - <hr/> - </div> - </div> - </body> -</html> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<!-- Generated by Apache Maven Doxia Site Renderer 1.4 at 26 May 2022 --> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> + <head> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> + <title>Apache Portals Bridges - + PHP Bridge Demo</title> + <style type="text/css" media="all"> + @import url("../css/maven-base.css"); + @import url("../css/maven-theme.css"); + @import url("../css/site.css"); + </style> + <link rel="stylesheet" href="../css/print.css" type="text/css" media="print" /> + <meta name="Date-Revision-yyyymmdd" content="20220526" /> + <meta http-equiv="Content-Language" content="en" /> + + </head> + <body class="composite"> + <div id="banner"> + <a href="http://portals.apache.org/" id="bannerLeft"> + <img src="../images/apache-portals.gif" alt="Apache Software Foundation" /> + </a> + <a href="http://portals.apache.org/bridges/" id="bannerRight"> + Apache Portals Bridges + </a> + <div class="clear"> + <hr/> + </div> + </div> + <div id="breadcrumbs"> + + + <div class="xleft"> + <span id="publishDate">Last Published: 26 May 2022</span> + | <span id="projectVersion">Version: 1.0</span> + </div> + <div class="xright"> <a href="http://portals.apache.org/" class="externalLink" target="_nw" title="Portals">Portals</a> + | + <a href="http://portals.apache.org/applications" class="externalLink" target="_nw" title="Applications">Applications</a> + | + <a href="http://portals.apache.org/jetspeed-2" class="externalLink" target="_nw" title="Jetspeed-2">Jetspeed-2</a> + | + <a href="http://www.jcp.org/en/jsr/detail?id=168" class="externalLink" target="_nw" title="JSR-168">JSR-168</a> + | + <a href="http://www.jcp.org/en/jsr/detail?id=286" class="externalLink" target="_nw" title="JSR-286">JSR-286</a> + + + </div> + <div class="clear"> + <hr/> + </div> + </div> + <div id="leftColumn"> + <div id="navcolumn"> + + + <h5>Portals Bridges</h5> + <ul> + <li class="none"> + <a href="../index.html" title="Overview">Overview</a> + </li> + <li class="none"> + <a href="../news.html" title="News and Status">News and Status</a> + </li> + </ul> + <h5>Current Portals Bridges</h5> + <ul> + <li class="none"> + <a href="../bridges-common/index.html" title="Common Utilities and Interfaces">Common Utilities and Interfaces</a> + </li> + <li class="collapsed"> + <a href="../bridges-struts/index.html" title="Struts Bridge">Struts Bridge</a> + </li> + <li class="none"> + <a href="../bridges-velocity/index.html" title="Velocity Bridge">Velocity Bridge</a> + </li> + <li class="none"> + <a href="../bridges-script/index.html" title="Script Bridge">Script Bridge</a> + </li> + <li class="collapsed"> + <a href="../bridges-groovy/index.html" title="Groovy Bridge">Groovy Bridge</a> + </li> + </ul> + <h5>Archived Portals Bridges</h5> + <ul> + <li class="collapsed"> + <a href="../bridges-jsf/index.html" title="JSF Bridge">JSF Bridge</a> + </li> + <li class="expanded"> + <a href="../bridges-php/index.html" title="PHP Bridge">PHP Bridge</a> + <ul> + <li class="none"> + <a href="../bridges-php/getting-started.html" title="Getting Started">Getting Started</a> + </li> + <li class="none"> + <a href="../bridges-php/demo.html" title="PHP Demo Application">PHP Demo Application</a> + </li> + <li class="none"> + <strong>Configuring Portlets</strong> + </li> + </ul> + </li> + <li class="none"> + <a href="../bridges-perl/index.html" title="Perl Bridge">Perl Bridge</a> + </li> + <li class="none"> + <a href="../bridges-portletfilter/index.html" title="Portlet Filter">Portlet Filter</a> + </li> + </ul> + <h5>Get Portals Bridges</h5> + <ul> + <li class="none"> + <a href="../download.html" title="Download">Download</a> + </li> + <li class="none"> + <a href="../release-notes.html" title="Release Notes">Release Notes</a> + </li> + </ul> + <h5>Support</h5> + <ul> + <li class="none"> + <a href="../team-list.html" title="Project Team">Project Team</a> + </li> + <li class="none"> + <a href="../license.html" title="Project License">Project License</a> + </li> + <li class="none"> + <a href="../mail-lists.html" title="Mailing List">Mailing List</a> + </li> + <li class="none"> + <a href="../issue-tracking.html" title="Issue Tracking">Issue Tracking</a> + </li> + </ul> + <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy"> + <img class="poweredBy" alt="Built by Maven" src="../images/logos/maven-feather.png" /> + </a> + + + </div> + </div> + <div id="bodyColumn"> + <div id="contentBox"> + <!-- Licensed to the Apache Software Foundation (ASF) under one or more +contributor license agreements. See the NOTICE file distributed with +this work for additional information regarding copyright ownership. +The ASF licenses this file to You under the Apache License, Version 2.0 +(the "License"); you may not use this file except in compliance with +the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. --> + + <div class="section"> +<h2>Configuring Portlets<a name="Configuring_Portlets"></a></h2> + +<p> +To configure a PHP application into your portlet definition, define an init param +to hold the PHP start page. For example: +</p> + +<div class="source"> +<pre> + <init-param> + <name>StartPage</name> + <value>hosts/index.php</value> + </init-param> +</pre></div> +</div> + + + </div> + </div> + <div class="clear"> + <hr/> + </div> + <div id="footer"> + <div class="xright"> + Copyright © 2004-2022 + <a href="http://www.apache.org/">Apache Software Foundation</a>. + All Rights Reserved. + + </div> + <div class="clear"> + <hr/> + </div> + </div> + </body> +</html>
