php integration II

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

php integration II

Pedro Garcia A

Hi…

 

I’m beginner in the OPS.

 

I’d like to know how I could integrate the OPS with my application in PHP. I’ve read some messages in the list but theses haven’t been clear for me.

 

Please, could you show me an specific example?

 

Thanks for your help.

 



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: php integration II

Hank Ratzesberger

Hi Pedro,

One way to do this is to use proxying/redirection.  For example,  
running Apache
and directing some urls to OPS and others to php (that is, leave them  
alone to
be handled by Apache while others are handled by Tomcat/OPS by either  
a Tomcat
Connector or by proxying to port 8080.

That's not exactly integration, but you can now start to replace  
pages/sections
so they are handled by OPS.

Exchanging data, or writing a web page in PHP that has an xform in it  
is another
matter.  You can conceivably write the web page as xhtml using php  
and then have
it processed by OPS.  I am not sure how you would do this dynamically,

I recall one suggestion to use IFRAMES so that the portion in the  
iframe is OPS,
but menus, etc. are the current php application.

Is that any help at all?

--Hank

On Jul 24, 2008, at 9:38 AM, Pedro Garcia A wrote:

> Hi…
>
>
>
> I’m beginner in the OPS.
>
>
>
> I’d like to know how I could integrate the OPS with my application  
> in PHP. I’ve read some messages in the list but theses haven’t been  
> clear for me.
>
>
>
> Please, could you show me an specific example?
>
>
>
> Thanks for your help.
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Re: php integration II

Pedro Garcia A
Thanks for your help Hank.

My environment is simple... I'd like to draw the form using OBS and the
submit using my PHP application. Of course, I have to create a dynamic
form.

All the processes have been done with PHP.

Pedro

-----Original Message-----
From: Hank Ratzesberger [mailto:[hidden email]]
Sent: Thursday, July 24, 2008 1:30 PM
To: [hidden email]
Subject: [ops-users] Re: php integration II


Hi Pedro,

One way to do this is to use proxying/redirection.  For example,  
running Apache
and directing some urls to OPS and others to php (that is, leave them  
alone to
be handled by Apache while others are handled by Tomcat/OPS by either  
a Tomcat
Connector or by proxying to port 8080.

That's not exactly integration, but you can now start to replace  
pages/sections
so they are handled by OPS.

Exchanging data, or writing a web page in PHP that has an xform in it  
is another
matter.  You can conceivably write the web page as xhtml using php  
and then have
it processed by OPS.  I am not sure how you would do this dynamically,

I recall one suggestion to use IFRAMES so that the portion in the  
iframe is OPS,
but menus, etc. are the current php application.

Is that any help at all?

--Hank

On Jul 24, 2008, at 9:38 AM, Pedro Garcia A wrote:

> Hi...
>
>
>
> I'm beginner in the OPS.
>
>
>
> I'd like to know how I could integrate the OPS with my application  
> in PHP. I've read some messages in the list but theses haven't been  
> clear for me.
>
>
>
> Please, could you show me an specific example?
>
>
>
> Thanks for your help.
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: php integration II

Hank Ratzesberger

Hi Pedro,

OK, I recall there is an attribute to the submission,
enctype="multipart/formdata" that will let you post a
form in the "legacy" format. However, you would have to
construct the xml instance properly.  I recall it uses the
element name to be the variable name.

I don't recall any discussion of how to handle errors when you
submit to the "foreign" system.

Anyway, if you search in the forum history, you may be able to
find this discussion of multipart/formdata.

http://mail.ow2.org/wws

--Hank


On Jul 24, 2008, at 10:50 AM, Pedro Garcia A wrote:

> Thanks for your help Hank.
>
> My environment is simple... I'd like to draw the form using OBS and  
> the
> submit using my PHP application. Of course, I have to create a dynamic
> form.
>
> All the processes have been done with PHP.
>
> Pedro
>
> -----Original Message-----
> From: Hank Ratzesberger [mailto:[hidden email]]
> Sent: Thursday, July 24, 2008 1:30 PM
> To: [hidden email]
> Subject: [ops-users] Re: php integration II
>
>
> Hi Pedro,
>
> One way to do this is to use proxying/redirection.  For example,
> running Apache
> and directing some urls to OPS and others to php (that is, leave them
> alone to
> be handled by Apache while others are handled by Tomcat/OPS by either
> a Tomcat
> Connector or by proxying to port 8080.
>
> That's not exactly integration, but you can now start to replace
> pages/sections
> so they are handled by OPS.
>
> Exchanging data, or writing a web page in PHP that has an xform in it
> is another
> matter.  You can conceivably write the web page as xhtml using php
> and then have
> it processed by OPS.  I am not sure how you would do this dynamically,
>
> I recall one suggestion to use IFRAMES so that the portion in the
> iframe is OPS,
> but menus, etc. are the current php application.
>
> Is that any help at all?
>
> --Hank
>
> On Jul 24, 2008, at 9:38 AM, Pedro Garcia A wrote:
>
>> Hi...
>>
>>
>>
>> I'm beginner in the OPS.
>>
>>
>>
>> I'd like to know how I could integrate the OPS with my application
>> in PHP. I've read some messages in the list but theses haven't been
>> clear for me.
>>
>>
>>
>> Please, could you show me an specific example?
>>
>>
>>
>> Thanks for your help.
>>
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> Hank Ratzesberger
> NEES@UCSB
> Institute for Crustal Studies,
> University of California, Santa Barbara
> 805-893-8042
>
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: RE: Re: php integration II

Erik Bruchez
Administrator
In reply to this post by Pedro Garcia A
We are working on an integration for the TYPO3 CMS. TYPO3 is written  
in PHP, and the code for that integration will be released as open  
source. It should be fairly easy to reuse it to integrate Orbeon Forms  
into any PHP app.

-Erik

On Jul 24, 2008, at 10:50 AM, Pedro Garcia A wrote:

> Thanks for your help Hank.
>
> My environment is simple... I'd like to draw the form using OBS and  
> the
> submit using my PHP application. Of course, I have to create a dynamic
> form.
>
> All the processes have been done with PHP.
>
> Pedro
>
> -----Original Message-----
> From: Hank Ratzesberger [mailto:[hidden email]]
> Sent: Thursday, July 24, 2008 1:30 PM
> To: [hidden email]
> Subject: [ops-users] Re: php integration II
>
>
> Hi Pedro,
>
> One way to do this is to use proxying/redirection.  For example,
> running Apache
> and directing some urls to OPS and others to php (that is, leave them
> alone to
> be handled by Apache while others are handled by Tomcat/OPS by either
> a Tomcat
> Connector or by proxying to port 8080.
>
> That's not exactly integration, but you can now start to replace
> pages/sections
> so they are handled by OPS.
>
> Exchanging data, or writing a web page in PHP that has an xform in it
> is another
> matter.  You can conceivably write the web page as xhtml using php
> and then have
> it processed by OPS.  I am not sure how you would do this dynamically,
>
> I recall one suggestion to use IFRAMES so that the portion in the
> iframe is OPS,
> but menus, etc. are the current php application.
>
> Is that any help at all?
>
> --Hank
>
> On Jul 24, 2008, at 9:38 AM, Pedro Garcia A wrote:
>
>> Hi...
>>
>>
>>
>> I'm beginner in the OPS.
>>
>>
>>
>> I'd like to know how I could integrate the OPS with my application
>> in PHP. I've read some messages in the list but theses haven't been
>> clear for me.
>>
>>
>>
>> Please, could you show me an specific example?
>>
>>
>>
>> Thanks for your help.
>>
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> Hank Ratzesberger
> NEES@UCSB
> Institute for Crustal Studies,
> University of California, Santa Barbara
> 805-893-8042
>
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

RE: Re: RE: Re: php integration II

Pedro Garcia A
PERFECT!!!!!

Thanks.

-----Original Message-----
From: Erik Bruchez [mailto:[hidden email]]
Sent: Thursday, July 24, 2008 5:27 PM
To: [hidden email]
Subject: [ops-users] Re: RE: Re: php integration II

We are working on an integration for the TYPO3 CMS. TYPO3 is written  
in PHP, and the code for that integration will be released as open  
source. It should be fairly easy to reuse it to integrate Orbeon Forms  
into any PHP app.

-Erik

On Jul 24, 2008, at 10:50 AM, Pedro Garcia A wrote:

> Thanks for your help Hank.
>
> My environment is simple... I'd like to draw the form using OBS and  
> the
> submit using my PHP application. Of course, I have to create a dynamic
> form.
>
> All the processes have been done with PHP.
>
> Pedro
>
> -----Original Message-----
> From: Hank Ratzesberger [mailto:[hidden email]]
> Sent: Thursday, July 24, 2008 1:30 PM
> To: [hidden email]
> Subject: [ops-users] Re: php integration II
>
>
> Hi Pedro,
>
> One way to do this is to use proxying/redirection.  For example,
> running Apache
> and directing some urls to OPS and others to php (that is, leave them
> alone to
> be handled by Apache while others are handled by Tomcat/OPS by either
> a Tomcat
> Connector or by proxying to port 8080.
>
> That's not exactly integration, but you can now start to replace
> pages/sections
> so they are handled by OPS.
>
> Exchanging data, or writing a web page in PHP that has an xform in it
> is another
> matter.  You can conceivably write the web page as xhtml using php
> and then have
> it processed by OPS.  I am not sure how you would do this dynamically,
>
> I recall one suggestion to use IFRAMES so that the portion in the
> iframe is OPS,
> but menus, etc. are the current php application.
>
> Is that any help at all?
>
> --Hank
>
> On Jul 24, 2008, at 9:38 AM, Pedro Garcia A wrote:
>
>> Hi...
>>
>>
>>
>> I'm beginner in the OPS.
>>
>>
>>
>> I'd like to know how I could integrate the OPS with my application
>> in PHP. I've read some messages in the list but theses haven't been
>> clear for me.
>>
>>
>>
>> Please, could you show me an specific example?
>>
>>
>>
>> Thanks for your help.
>>
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> Hank Ratzesberger
> NEES@UCSB
> Institute for Crustal Studies,
> University of California, Santa Barbara
> 805-893-8042
>
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws