Re: Struts with PHP

2005-05-02 Thread Folashade Adeyosoye
hmm, good question, but i would not think so, one system developed in struts can call a PHP and vise-visa, but i dont think they can be intergrated. 1. PHP has a diff processor compared to java/jsp/struts On 5/2/05, Rafael Taboada [EMAIL PROTECTED] wrote: Hi folks... I'm working right now

Re: Struts with PHP

2005-05-02 Thread Frank W. Zammetti
Actually, while I don't know much about PHP, I would say it *better* be possible :) Struts is, by and large, the C in MVC (some parts arguably cross boundaries, but as a generality...), so if I can't swap in a different M and V, there's probably something wrong. I think it's probably a given

Re: Struts with PHP

2005-05-02 Thread =?ISO-8859-1?Q?St=E9phane_Zuckerman?=
On 5/2/05, Rafael Taboada [EMAIL PROTECTED] wrote: Hi folks... I'm working right now with PHP... Is it possible to combine PHP with struts? I mean, instead to JSP, use PHP. Folashade Adeyosoye a écrit : hmm, good question, but i would not think so, one system developed in struts can call a

Re: Struts with PHP

2005-05-02 Thread Leon Rosenberg
Well, I'm not saying this is possible either... But after all, people manage to do Struts + XML/XSLT without JSP. So why not with PHP ? Yes, by generating XML out of the action or jsp, and adding an XSLT transformer. How do you want to share any variables with a php script? And, after all,

RE: Struts with PHP

2005-05-02 Thread Folashade Adeyosoye
. Zammetti [mailto:[EMAIL PROTECTED] Sent: Monday, May 02, 2005 12:10 PM To: Folashade Adeyosoye Cc: Struts Users Mailing List; Rafael Taboada Subject: Re: Struts with PHP Actually, while I don't know much about PHP, I would say it *better* be possible :) Struts is, by and large, the C in MVC (some

RE: Struts with PHP

2005-05-02 Thread Kris Barnhoorn
http://www.phpmvc.net/ is a php port of struts just info. Not used or tested it. Kris. -Oorspronkelijk bericht- Van: Rafael Taboada [mailto:[EMAIL PROTECTED] Verzonden: maandag 2 mei 2005 17:59 Aan: Struts List Onderwerp: Struts with PHP Hi folks... I'm working right now with PHP...

RE: Struts with PHP

2005-05-02 Thread Folashade Adeyosoye
Subject: Re: Struts with PHP On 5/2/05, Rafael Taboada [EMAIL PROTECTED] wrote: Hi folks... I'm working right now with PHP... Is it possible to combine PHP with struts? I mean, instead to JSP, use PHP. Folashade Adeyosoye a écrit : hmm, good question, but i would not think so, one

Re: Struts with PHP

2005-05-02 Thread Frank W. Zammetti
I presume one can get at the parameters, attributes and headers of the request object in a PHP script, no? As long as you can do that, then you should be able to replace JSP pages with PHP pages, sans the taglibs of course, which, as some people seem to forget, are an OPTIONAL element of Struts

RE: Struts with PHP

2005-05-02 Thread Frank W. Zammetti
To: Folashade Adeyosoye Cc: Struts Users Mailing List; Rafael Taboada Subject: Re: Struts with PHP Actually, while I don't know much about PHP, I would say it *better* be possible :) Struts is, by and large, the C in MVC (some parts arguably cross boundaries, but as a generality...), so if I

RE: Struts with PHP

2005-05-02 Thread =?iso-8859-1?Q?G=FCnther_Wieser?=
Users Mailing List Cc: Struts Users Mailing List Subject: Re: Struts with PHP I presume one can get at the parameters, attributes and headers of the request object in a PHP script, no? As long as you can do that, then you should be able to replace JSP pages with PHP pages, sans the taglibs of course

RE: Struts with PHP

2005-05-02 Thread Folashade Adeyosoye
other :) -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Monday, May 02, 2005 12:30 PM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: Re: Struts with PHP I presume one can get at the parameters, attributes and headers of the request

RE: Struts with PHP

2005-05-02 Thread Folashade Adeyosoye
Taboada' Subject: RE: Struts with PHP http://www.phpmvc.net/ is a php port of struts just info. Not used or tested it. Kris. -Oorspronkelijk bericht- Van: Rafael Taboada [mailto:[EMAIL PROTECTED] Verzonden: maandag 2 mei 2005 17:59 Aan: Struts List Onderwerp: Struts with PHP Hi folks

Re: Struts with PHP

2005-05-02 Thread Joe Germuska
At 6:18 PM +0200 5/2/05, Stéphane Zuckerman wrote: On 5/2/05, Rafael Taboada [EMAIL PROTECTED] wrote: Hi folks... I'm working right now with PHP... Is it possible to combine PHP with struts? I mean, instead to JSP, use PHP. Folashade Adeyosoye a écrit : hmm, good question, but i would not

Re: Struts with PHP

2005-05-02 Thread Dave Newton
Leon Rosenberg wrote: Well, I'm not saying this is possible either... But after all, people manage to do Struts + XML/XSLT without JSP. So why not with PHP ? Yes, by generating XML out of the action or jsp, and adding an XSLT transformer. How do you want to share any variables with a php

Re: Struts with PHP

2005-05-02 Thread Dave Newton
Frank W. Zammetti wrote: Yeah, you raise a fair point, maybe I didn't think it through enough... I'm not sure how much session really matters, but I think request does... I mean, I have an HttpServletRequest object that I populate in an Action, and let's assume I can forward that to a PHP page,

Re: Struts with PHP

2005-05-02 Thread Craig McClanahan
On 5/2/05, Rafael Taboada [EMAIL PROTECTED] wrote: Hi folks... I'm working right now with PHP... Is it possible to combine PHP with struts? I mean, instead to JSP, use PHP. For reasons discussed by several people in this thread, information sharing between the Java logic and the PHP logic

Re: Struts with PHP

2005-05-02 Thread Frank W. Zammetti
Oh great, now all those out-of-work COBOL programmers are going to be useful again, making it even MORE difficult for us Java guys to find work! Thanks a lot Dave! LOL ;) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 2, 2005

RE: Struts with PHP

2005-05-02 Thread Frank W. Zammetti
each other :) -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Monday, May 02, 2005 12:30 PM To: Struts Users Mailing List Cc: Struts Users Mailing List Subject: Re: Struts with PHP I presume one can get at the parameters, attributes and headers

Re: Struts with PHP

2005-05-02 Thread Robin Ericsson
Craig McClanahan wrote: http://jcp.org/en/jsr/detai?id=223 The objectives of this JSR include the ability to connect the object models of a scripting language (with PHP being an obvious target) and a Java virtual machine. Servlet containers make a natural place to integrate this sort of

Re: Struts with PHP

2005-05-02 Thread Andres Almiray
There is also another project that can help: http://www.mojavelinux.com/projects/studs/ Be aware that this is a reimplementation of Struts in PHP. Also it is possible from PHP to invoke Java code, or even open a socket connection and do some kind of marshalling; but I think that is much more