Re: Connect to flex

2010-05-18 Thread Martin Kirchgessner
Le 17 mai 10 à 21:06, Daniel Gagne a écrit : Unfortunately FLEX doesn't give you all the http verbs, it only gives you post & get. If you want to just interact directly setup a blazeds backend and then send the requests through that as a proxy. http://opensource.adobe.com/wiki/display/blaze

Re: Connect to flex

2010-05-17 Thread Daniel Gagne
> This module [1] is usually enabled by default so no need to compile your > Nginx flavour. > > > > [1]: http://wiki.nginx.org/NginxHttpProxyModule > > -Original message- > From: Nils Breunese > Sent: Mon 17-05-2010 23:56 > To: user@couchdb.apache.org; >

RE: Connect to flex

2010-05-17 Thread Markus Jelsma
odule   -Original message- From: Nils Breunese Sent: Mon 17-05-2010 23:56 To: user@couchdb.apache.org; Subject: RE: Connect to flex Really? Sounds just like a web browser. :o) (Although a web browser can use JavaScript for the other verbs.) Nils. Van: D

RE: Connect to flex

2010-05-17 Thread Nils Breunese
Really? Sounds just like a web browser. :o) (Although a web browser can use JavaScript for the other verbs.) Nils. Van: Daniel Gagne [danthe...@gmail.com] Verzonden: maandag 17 mei 2010 21:06 Aan: user@couchdb.apache.org Onderwerp: Re: Connect to flex

Re: Connect to flex

2010-05-17 Thread Daniel Gagne
Unfortunately FLEX doesn't give you all the http verbs, it only gives you post & get. If you want to just interact directly setup a blazeds backend and then send the requests through that as a proxy. http://opensource.adobe.com/wiki/display/blazeds/BlazeDS/ Agreed, There really is no need for a p

Re: Connect to flex

2010-05-17 Thread Jarrod Roberson
On Mon, May 17, 2010 at 11:07 AM, mario dcunha wrote: > yes tried all that... thanks... it works now... only for creating new > documents and manipulating them we are using php... but for all retreivals > we;re directly contacting couch > > you still don't understand, you don't need PHP for anythi

Re: Connect to flex

2010-05-17 Thread mario dcunha
:51:37 PM Subject: Re: Connect to flex are you aware of this: http://gravityblast.com/2009/11/03/using-couchdb-from-air-applications-with-couchdb-flex/ ? ck > Le 16 mai 10 à 20:51, Nils Breunese a écrit : > >> If you don't know how to do HTTP requests from Flex I guess you shoul

Re: Connect to flex

2010-05-17 Thread Christian Kleinhuis
are you aware of this: http://gravityblast.com/2009/11/03/using-couchdb-from-air-applications-with-couchdb-flex/ ? ck Le 16 mai 10 à 20:51, Nils Breunese a écrit : If you don't know how to do HTTP requests from Flex I guess you should consult the Flex documentation or ask the Flex community.

Re: Connect to flex

2010-05-17 Thread mario dcunha
May, 2010 3:34:09 PM Subject: Re: Connect to flex Le 16 mai 10 à 20:51, Nils Breunese a écrit : > If you don't know how to do HTTP requests from Flex I guess you should > consult the Flex documentation or ask the Flex community. > You can use the usual URLRequest object. It can onl

Re: Connect to flex

2010-05-17 Thread mario dcunha
yaay! it works finally! but I wanna know whether we can send JSON scripts through the HTTP Requests... for example curl -d command... From: Martin Kirchgessner To: user@couchdb.apache.org Sent: Mon, 17 May, 2010 3:34:09 PM Subject: Re: Connect to flex Le 16

Re: Connect to flex

2010-05-17 Thread Martin Kirchgessner
Le 16 mai 10 à 20:51, Nils Breunese a écrit : If you don't know how to do HTTP requests from Flex I guess you should consult the Flex documentation or ask the Flex community. You can use the usual URLRequest object. It can only make GET and POST requests and does not return HTTP error cod

Re: Connect to flex

2010-05-16 Thread Jarrod Roberson
On Sun, May 16, 2010 at 2:25 PM, mario dcunha wrote: > i have done an HTTP request but that is using the PHP file. what we have > done so far is this: > from a registration form to register a new student, the student enters > his/her details in the form. > Now, from the form we take the user input

RE: Connect to flex

2010-05-16 Thread Nils Breunese
rwerp: Re: Connect to flex (...) i want a direct HTTP request or ANYTHING to couchDB directly... De informatie vervat in deze e-mail en meegezonden bijlagen is uitsluitend bedoeld voor gebruik door de geadresseerde en kan vertrouwelijke informatie bevatten. Openbaarmaking, vermenigvuld

Re: Connect to flex

2010-05-16 Thread Jarrod Roberson
On Sun, May 16, 2010 at 2:25 PM, mario dcunha wrote: > i have done an HTTP request but that is using the PHP file. what we have > done so far is this: > from a registration form to register a new student, the student enters > his/her details in the form. > Now, from the form we take the user input

Re: Connect to flex

2010-05-16 Thread mario dcunha
... From: Nils Breunese To: "user@couchdb.apache.org" Sent: Sun, 16 May, 2010 11:38:09 PM Subject: RE: Connect to flex You just need to find out how to do an HTTP request from Flex and you should have a start right there. CouchDB's API is a RESTful HTTP/J

RE: Connect to flex

2010-05-16 Thread Nils Breunese
o.com] Verzonden: zondag 16 mei 2010 19:49 Aan: user@couchdb.apache.org Onderwerp: Re: Connect to flex Ok. Ive tried so many things and now I'm getting bugged! Someone please help me... please tell me how exactly can u connect flex and couch db??? :-( De informatie vervat in deze e-mail en m

Re: Connect to flex

2010-05-16 Thread mario dcunha
Ok. Ive tried so many things and now I'm getting bugged! Someone please help me... please tell me how exactly can u connect flex and couch db??? :-( From: Sam Bisbee To: user@couchdb.apache.org Sent: Wed, 12 May, 2010 2:05:07 AM Subject: Re: Connect to

Re: Connect to flex

2010-05-16 Thread Anh
Can't you use rewrites and virtual hosts for this usecase? I.e. Virtual host to remove the db name and rewrite root, and then a rewrite from /clientaccess.xml to an attachment or show function. On May 16, 2010, at 8:28 AM, Jim Woodgat wrote: On Sat, May 15, 2010 at 1:21 PM, Nils Breunese

Re: Connect to flex

2010-05-16 Thread Jim Woodgate
On Sat, May 15, 2010 at 1:21 PM, Nils Breunese wrote: > Anything that can do HTTP requests can talk to CouchDB directly. I'm not a > Flex developer, but it seems that Flex can do this. The responses will be > JSON by default (other formats supported through show and list functions), > but it se

RE: Connect to flex

2010-05-15 Thread Nils Breunese
that should all just work. Nils. Van: mario dcunha [mario_dcu...@yahoo.com] Verzonden: zaterdag 15 mei 2010 19:14 Aan: user@couchdb.apache.org Onderwerp: Re: Connect to flex U mean Flex can make direct requests to CouchDB without the need of any middle lay

Re: Connect to flex

2010-05-15 Thread mario dcunha
n To: "user@couchdb.apache.org" Sent: Wed, 12 May, 2010 12:54:56 AM Subject: Re: Connect to flex Why even bother with PHP? Flex allows you to make HTTP requests right out of the box. No need for the additional layer. On May 11, 2010, at 3:15 PM, mario dcunha wrote: > the thing is...

Re: Connect to flex

2010-05-11 Thread Sam Bisbee
On Wed, May 12, 2010 at 12:57:56AM +0530, mario dcunha wrote: > but we do have to validate forms, connect to databses... preserve cookie > sessions, verify user data and store user data to the databse right... so i > think we do require php For what it's worth, you can do that all within Couch

Re: Connect to flex

2010-05-11 Thread James Hayton
i want it to be used in > win7, i can use the WAMPP server or XAMPP for windows rite? > > > > > > From: Daniel Gagne > To: user@couchdb.apache.org > Sent: Wed, 12 May, 2010 1:01:10 AM > Subject: Re: Connect to flex > > You don&#

Re: Connect to flex

2010-05-11 Thread mario dcunha
rite? From: Daniel Gagne To: user@couchdb.apache.org Sent: Wed, 12 May, 2010 1:01:10 AM Subject: Re: Connect to flex You don't need any of that for using couchdb with flex. You probably need to setup blazeds so that you can make put/delete calls against couchd

Re: Connect to flex

2010-05-11 Thread Daniel Gagne
" > Sent: Wed, 12 May, 2010 12:54:56 AM > Subject: Re: Connect to flex > > Why even bother with PHP? Flex allows you to make HTTP requests right out > of the box. No need for the additional layer. > > On May 11, 2010, at 3:15 PM, mario dcunha wrote: > > > the thing is..

Re: Connect to flex

2010-05-11 Thread mario dcunha
0 12:54:56 AM Subject: Re: Connect to flex Why even bother with PHP? Flex allows you to make HTTP requests right out of the box. No need for the additional layer. On May 11, 2010, at 3:15 PM, mario dcunha wrote: > the thing is... flex has an option to connect an application to a databse. &

Re: Connect to flex

2010-05-11 Thread Mike Keen
gt; Sent: Wed, 12 May, 2010 12:39:36 AM > Subject: RE: Connect to flex > > Hi, > > > > > > Can you accept json encoded data in Flex? If so, putting a simple HTTP proxy > (such as Nginx or Apache's mod_proxy) in front will suffice. There is no need > for an

Re: Connect to flex

2010-05-11 Thread mario dcunha
te the php... From: Markus Jelsma To: user@couchdb.apache.org Sent: Wed, 12 May, 2010 12:39:36 AM Subject: RE: Connect to flex Hi, Can you accept json encoded data in Flex? If so, putting a simple HTTP proxy (such as Nginx or Apache's mod_proxy) in front will suffice. There is n

RE: Connect to flex

2010-05-11 Thread Markus Jelsma
10 21:04 To: user@couchdb.apache.org; Subject: Connect to flex Hi, We are students of computer science engineering. currently we're working on a project were we are aiming to create a web applicaition using adobe flex builder 3. this application is an automated department manager, which m

Connect to flex

2010-05-11 Thread mario dcunha
Hi, We are students of computer science engineering. currently we're working on a project were we are aiming to create a web applicaition using adobe flex builder 3. this application is an automated department manager, which manages the students and teacher details of our department in our col