Re: Coldfusion / Flex 3 Web Services or...
Sorry for my last post. GMail didnt initially show me the whole thread so I didn't realize that had been answered. TJ On Sun, Mar 1, 2009 at 1:34 PM, KoldFuzun wrote: > Just to clarify, you need the data in the datagrid to match the database > real-time, so that other user's updating the database also update every > other user's UI? It's pretty rare for this need, so I just wanted to clarify > that's what you truly require. > > > TJ Downes > > > > > On Sun, Mar 1, 2009 at 7:23 AM, Kim Hoopingarner < > k.hoopingar...@e-details.com> wrote: > >> >> I have a Flex 3 main app that calls 2 components - one has a datagrid with >> user data while the other component has an input form for the same user >> data. I use the Coldfusion to server the data changes. I found that if I >> change the data using the input form, it is not reflected in the datagrid. >> So I'm out of sync - and can't find a good solution to prevent this. >> >> I know now that solutions are out there (like LiveCycle data services) to >> keep components in sync with the database. But I'm confused... I have a >> hosting site to work with - and I'm in a shared environment. Therefore I >> won't be able to update the coldfusion config files to make the LiveCycle >> work. >> >> I need a solution that will allow me to keep Flex 3 and the database in >> sync using Coldfusion - but kept within the constraints of a shared hosting >> environment. What should I look into. >> >> Thanks! >> >> ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319966 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Coldfusion / Flex 3 Web Services or...
Just to clarify, you need the data in the datagrid to match the database real-time, so that other user's updating the database also update every other user's UI? It's pretty rare for this need, so I just wanted to clarify that's what you truly require. TJ Downes On Sun, Mar 1, 2009 at 7:23 AM, Kim Hoopingarner < k.hoopingar...@e-details.com> wrote: > > I have a Flex 3 main app that calls 2 components - one has a datagrid with > user data while the other component has an input form for the same user > data. I use the Coldfusion to server the data changes. I found that if I > change the data using the input form, it is not reflected in the datagrid. > So I'm out of sync - and can't find a good solution to prevent this. > > I know now that solutions are out there (like LiveCycle data services) to > keep components in sync with the database. But I'm confused... I have a > hosting site to work with - and I'm in a shared environment. Therefore I > won't be able to update the coldfusion config files to make the LiveCycle > work. > > I need a solution that will allow me to keep Flex 3 and the database in > sync using Coldfusion - but kept within the constraints of a shared hosting > environment. What should I look into. > > Thanks! > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319965 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Flex with Coldfusion
Just to clarify, Flex is Flash and therefore a client-side environment. All you need on the server side is the SWF file. I'm not sure if most shared hosts disable Flash Remoting support, seems silly to me that they would, but Jake is right on in that you can instead use Web Services or HTTP Services to provide your data service layer. Be certain if you take this approach that you are passing authentication tokens with each request to secure your services, unless it is indeed a public web service consumable by anyone including those not using yout app. TJ On Tue, Feb 24, 2009 at 8:14 AM, Jake Churchill wrote: > > That is true if the flex component is self-contained, meaning it doesn't > need to communicate with the server. If it needs to communicate with > the server, they have to open up the flex gateway. You can find out > very easily if that is open simply by going to > http://yourdomain/flex2gateway/. If you get a blank screen, it means it > is running. If you get any kind of error, it means they've turned it > off. This only affects flash remoting calls. > > A workaround would be to do everything through xml so you would > send/receive data via XML. This is less efficient but for small amounts > of data it should work fine. > > Jake > > Kim Hoopingarner wrote: > > I'm hoping someone can clear up some confusions I have regarding Flex and > Coldfusion. Currently I am hosting my site with a well-known hosting > company. I have many Coldfusion sites running in their shared environment. > Today when I talked to them about loading my Flex site up (which includes a > couple CFC components) - they stated "they don't support Flex in their > shared environment". > > > > What is needed in their environment that is outside of their typical > Coldfusion server that would keep a Flex site from running? I thought that > the Flex generated swf file was downloading to people's PC and running on > their version of Flash Player - and there wasn't any magic that would make > this work on a typical Coldfusion server. > > > > Thanks for helping me better understand. > > Kim > > > > > > ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:319745 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4