Re: Struts with PHP
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 with PHP... Is it possible to combine PHP with struts? I mean, instead to JSP, use PHP. thanks -- Rafael Taboada - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 can't swap in a different M and V, there's probably something wrong. I think it's probably a given that you aren't going to be able to use the Struts taglibs on a PHP page, so some of the automatic functions of Struts won't be available, but at the end of the day I should be able to forward to a PHP page and have it work, even if I have to do more manual labor to get values into fields and such. At least, I would be expecting that to be possible. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 2, 2005 12:05 pm, Folashade Adeyosoye said: 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 with PHP... Is it possible to combine PHP with struts? I mean, instead to JSP, use PHP. thanks -- Rafael Taboada - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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 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 thanks 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 ? -- Stéphane Zuckerman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts with PHP
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, why should you want it at all? Leon. P.S. I think we should forget this thread asap :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts with PHP
I don't see how you would be able to forward to a PHP page and have all the fields work, one thing to consider is they do not share the same session. Struts is a java framework, that has jar files etc, a PHP server would not know what to do with them. -Original Message- From: Frank W. 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 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 that you aren't going to be able to use the Struts taglibs on a PHP page, so some of the automatic functions of Struts won't be available, but at the end of the day I should be able to forward to a PHP page and have it work, even if I have to do more manual labor to get values into fields and such. At least, I would be expecting that to be possible. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 2, 2005 12:05 pm, Folashade Adeyosoye said: 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 with PHP... Is it possible to combine PHP with struts? I mean, instead to JSP, use PHP. thanks -- Rafael Taboada - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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... I'm working right now with PHP... Is it possible to combine PHP with struts? I mean, instead to JSP, use PHP. thanks -- Rafael Taboada - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts with PHP
Because they are Oranges and Apples... XML/XSLT are mainly file/processors that produces HTML that are universally recognized by almost all servers. -Original Message- From: Stéphane Zuckerman [mailto:[EMAIL PROTECTED] Sent: Monday, May 02, 2005 12:19 PM To: Struts Users Mailing List 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 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 thanks 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 ? -- Stéphane Zuckerman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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, which, as some people seem to forget, are an OPTIONAL element of Struts :) because you can get at anything Struts sends to a JSP. Now, as for the *why* you'd want to use PHP instead of JSP, I think that's a fair question :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 2, 2005 12:22 pm, Leon Rosenberg said: 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, why should you want it at all? Leon. P.S. I think we should forget this thread asap :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts with PHP
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, it's still a Java object. Yeah, I'm starting to scream D'oh! in my head right now... -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 2, 2005 12:27 pm, Folashade Adeyosoye said: I don't see how you would be able to forward to a PHP page and have all the fields work, one thing to consider is they do not share the same session. Struts is a java framework, that has jar files etc, a PHP server would not know what to do with them. -Original Message- From: Frank W. 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 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 that you aren't going to be able to use the Struts taglibs on a PHP page, so some of the automatic functions of Struts won't be available, but at the end of the day I should be able to forward to a PHP page and have it work, even if I have to do more manual labor to get values into fields and such. At least, I would be expecting that to be possible. -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 2, 2005 12:05 pm, Folashade Adeyosoye said: 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 with PHP... Is it possible to combine PHP with struts? I mean, instead to JSP, use PHP. thanks -- Rafael Taboada - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts with PHP
you can get parameters and headers (as they are part of http and included in the http request), but no chance to get attributes, they only exist in the virtual machine. -Original Message- From: Frank W. Zammetti [mailto:[EMAIL PROTECTED] Sent: Monday, May 02, 2005 6: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 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 :) because you can get at anything Struts sends to a JSP. Now, as for the *why* you'd want to use PHP instead of JSP, I think that's a fair question :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 2, 2005 12:22 pm, Leon Rosenberg said: 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, why should you want it at all? Leon. P.S. I think we should forget this thread asap :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts with PHP
Am assuming here that there is some sort of Servlets container or application server that runs Java/Struts and there is another PHP server all running on the same machine/box. Please explain how both containers would manage ONE session when a user logs in and pass/manage information between 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 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 :) because you can get at anything Struts sends to a JSP. Now, as for the *why* you'd want to use PHP instead of JSP, I think that's a fair question :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 2, 2005 12:22 pm, Leon Rosenberg said: 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, why should you want it at all? Leon. P.S. I think we should forget this thread asap :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts with PHP
Completely not what is been discussed. Php.mvc is a framework on its own, doing what struts does, not interaction between PHP and Struts. -Original Message- From: Kris Barnhoorn [mailto:[EMAIL PROTECTED] Sent: Monday, May 02, 2005 12:28 PM To: 'Struts Users Mailing List'; 'Rafael 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... I'm working right now with PHP... Is it possible to combine PHP with struts? I mean, instead to JSP, use PHP. thanks -- Rafael Taboada - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts with PHP
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 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 thanks 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 ? Is there a Java PHP interpreter yet? If not, how would the PHP environment have access to the request, session, and application context? I know there's a JSR for scripting in Java which has a strong PHP focus -- but I don't think it's done yet. Joe -- Joe Germuska [EMAIL PROTECTED] http://blog.germuska.com Narrow minds are weapons made for mass destruction -The Ex - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts with PHP
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 script? I'd stick 'em in the request or make a PHP add-on that could snarf 'em somehow. Or use SiteMesh. P.S. I think we should forget this thread asap :-) I've been working on a Struts/COBOL bridge for some time now due to the inherent clarity of COBOL code. It's much easier to write the logic in a pure Business Side langage. Dave I said 'Business Side' for a reason Newton
Re: Struts with PHP
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, it's still a Java object. Yeah, I'm starting to scream D'oh! in my head right now... I don't think it's as bad as all that, unfortunately. Obviously the parameters/attributes/etc. in the session and request could be marshalled into an object/xml/blob that PHP could understand; there are some useful utilities in the sandbox made just for that purpose ;) Session tracking is trivial, just use the session ID from the java side and keep a hash on the PHP side that uses the same ID (I do something similar with Lisp using Lisplets). The easiest way, of course, would be to write jPHP and have phpServlet and phpTags so you could have both PHP-only presentation but still allow mixing of PHP code via phpScriptlets in your existing JSP/Velocity/FreeMarker pages. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
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. For reasons discussed by several people in this thread, information sharing between the Java logic and the PHP logic can be a challenge. One technology to keep your eye on, however, is JSR 223: Scripting for the Java Platform, where the spec is currently in public review: 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 functinality. Craig - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts with PHP
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 12:48 pm, Dave Newton said: 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 script? I'd stick 'em in the request or make a PHP add-on that could snarf 'em somehow. Or use SiteMesh. P.S. I think we should forget this thread asap :-) I've been working on a Struts/COBOL bridge for some time now due to the inherent clarity of COBOL code. It's much easier to write the logic in a pure Business Side langage. Dave I said 'Business Side' for a reason Newton - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts with PHP
You know boys and girls, this just goes to show... DO NOT stick your nose in a conversation that you don't have enough knowledge to contribute intelligently to :) As I said in my first post, I don't have much experience with PHP... I made some incorrect assumptions about it and how it works, and thus my reply was, as it turns out, pretty dumb, to be blunt. I now bow out as graciously as I can after making myself look like a fool :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 2, 2005 12:35 pm, Folashade Adeyosoye said: Am assuming here that there is some sort of Servlets container or application server that runs Java/Struts and there is another PHP server all running on the same machine/box. Please explain how both containers would manage ONE session when a user logs in and pass/manage information between 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 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 :) because you can get at anything Struts sends to a JSP. Now, as for the *why* you'd want to use PHP instead of JSP, I think that's a fair question :) -- Frank W. Zammetti Founder and Chief Software Architect Omnytex Technologies http://www.omnytex.com On Mon, May 2, 2005 12:22 pm, Leon Rosenberg said: 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, why should you want it at all? Leon. P.S. I think we should forget this thread asap :-) - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts with PHP
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 functinality. It should be with Zend being in the Initial Export Group and MySQL in support. regards, Robin - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Struts with PHP
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 complicated than using existing presentation technologies as JSP or Tapestry. My two cents. _ Do You Yahoo!? La mejor conexión a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Struts with PHP
Ok, Dave, I beg my pardon, but I think the initual intent of the thread originator was far beyond struts/cobol bridges and such. I don't want to start new senseless threads about using third generation languages, when there are fifth generation languages available and so on. So please forgive me, and forget my post :-) Regards Leon -Ursprüngliche Nachricht- Von: Dave Newton [mailto:[EMAIL PROTECTED] Gesendet: Montag, 2. Mai 2005 18:48 An: Struts Users Mailing List Betreff: Re: Struts with PHP 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 script? I'd stick 'em in the request or make a PHP add-on that could snarf 'em somehow. Or use SiteMesh. P.S. I think we should forget this thread asap :-) I've been working on a Struts/COBOL bridge for some time now due to the inherent clarity of COBOL code. It's much easier to write the logic in a pure Business Side langage. Dave I said 'Business Side' for a reason Newton - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: Struts with PHP
Ok, Dave, I beg my pardon, but I think the initual intent of the thread originator was far beyond struts/cobol bridges and such. I don't want to start new senseless threads about using third generation languages, when there are fifth generation languages available and so on. So please forgive me, and forget my post :-) Regards Leon -Ursprüngliche Nachricht- Von: Dave Newton [mailto:[EMAIL PROTECTED] Gesendet: Montag, 2. Mai 2005 18:48 An: Struts Users Mailing List Betreff: Re: Struts with PHP 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 script? I'd stick 'em in the request or make a PHP add-on that could snarf 'em somehow. Or use SiteMesh. P.S. I think we should forget this thread asap :-) I've been working on a Struts/COBOL bridge for some time now due to the inherent clarity of COBOL code. It's much easier to write the logic in a pure Business Side langage. Dave I said 'Business Side' for a reason Newton - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: AW: Struts with PHP
Leon Rosenberg wrote: Ok, Dave, I beg my pardon, but I think the initual intent of the thread originator was far beyond struts/cobol bridges and such. I don't want to start new senseless threads about using third generation languages, when there are fifth generation languages available and so on. I was kidding. Wait until you see my Struts/APL bridge code. Although with regards to the generation of languages: I can still do things in Lisp that I can't do in any reasonable way using almost any non-Lisp language, and Lisp was right up there with the original languages. Interesting. But more modern languages are catching up, which is fun to watch. I find a lot of similarities to modern language ideas in Lisp, SmallTalk, etc. Here's a joke: A friend recently stole the last 100 pages of a huge, proprietary Lisp program, but all he got was the closing parentheses. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
AW: AW: Struts with PHP
Hehe, personally I still prefer LPC (mud languange - C clone) with closures which would remind you of Lisp!!! Regards Leon -Ursprüngliche Nachricht- Von: Dave Newton [mailto:[EMAIL PROTECTED] Gesendet: Montag, 2. Mai 2005 21:40 An: Struts Users Mailing List Betreff: Re: AW: Struts with PHP Leon Rosenberg wrote: Ok, Dave, I beg my pardon, but I think the initual intent of the thread originator was far beyond struts/cobol bridges and such. I don't want to start new senseless threads about using third generation languages, when there are fifth generation languages available and so on. I was kidding. Wait until you see my Struts/APL bridge code. Although with regards to the generation of languages: I can still do things in Lisp that I can't do in any reasonable way using almost any non-Lisp language, and Lisp was right up there with the original languages. Interesting. But more modern languages are catching up, which is fun to watch. I find a lot of similarities to modern language ideas in Lisp, SmallTalk, etc. Here's a joke: A friend recently stole the last 100 pages of a huge, proprietary Lisp program, but all he got was the closing parentheses. Dave - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]