min requirement for flex and CF

View: New views
9 Messages — Rating Filter:   Alert me  

min requirement for flex and CF

by John Barrett :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


A friend asked me if they could use a remoting example connecting CF & Flex with ColdFusion MX. I told her that she would most likely need ColdFusion MX 7 or later, but I don't think that it would work with ColdFusion MX or ColdFusion MX 6.1  Am I wrong about this, as I always try to give correct information.

Thanks,
Johnny

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:5892
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

Re: min requirement for flex and CF

by Paul Hastings :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


John Barrett wrote:
> 7 or later, but I don't think that it would work with ColdFusion MX or
> ColdFusion MX 6.1  Am I wrong about this, as I always try to give correct
> information.

while i wouldn't recommend it, i suppose you could get by with using a webservice.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:5893
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

Re: min requirement for flex and CF

by John Barrett :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Paul,
Thanks`-`

I was searching adobe's site, and I could not find anything that had an example for less than ColdFusion MX 7.02 using flex 2. Now I did see an example using flex 1.5 and ColdFusion MX, but I think that must have been a log time ago, around 2005 I think. My first reaction was download the free dev edition of CF 8, and test and have fun on your localhost. But maybe she needs a solution for a production server. I also send her code to connect using flash, but did not seem to excited about that, so I send her the flex code, while she was stoked about that, this issue came up.

This kind of make me think if CF 9 will use flex 2 for cfforms, that would be cool

 Johnny


     

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:5894
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

Re: min requirement for flex and CF

by Stefan Richter-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Until very recently I was running CF 6.1. The Remoting gateway there  
works just fine with Flex, or indeed Flash.

Cheers

Stefan




On 18 May 2009, at 06:57, John Barrett wrote:

>
> Hi Paul,
> Thanks`-`
>
> I was searching adobe's site, and I could not find anything that had  
> an example for less than ColdFusion MX 7.02 using flex 2. Now I did  
> see an example using flex 1.5 and ColdFusion MX, but I think that  
> must have been a log time ago, around 2005 I think. My first  
> reaction was download the free dev edition of CF 8, and test and  
> have fun on your localhost. But maybe she needs a solution for a  
> production server. I also send her code to connect using flash, but  
> did not seem to excited about that, so I send her the flex code,  
> while she was stoked about that, this issue came up.
>
> This kind of make me think if CF 9 will use flex 2 for cfforms, that  
> would be cool
>
> Johnny
>
>
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:5895
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

Re: min requirement for flex and CF

by John Barrett :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi Stefan,
Just heading home. This is good news, and I will be sure to tell my friend.
Thanks`-`
Johnny

 




________________________________
From: Stefan Richter <stefan@...>
To: flex <flex@...>
Sent: Sunday, May 17, 2009 9:11:10 PM
Subject: Re: min requirement for flex and CF


Until very recently I was running CF 6.1. The Remoting gateway there  
works just fine with Flex, or indeed Flash.

Cheers

Stefan




On 18 May 2009, at 06:57, John Barrett wrote:

>
> Hi Paul,
> Thanks`-`
>
> I was searching adobe's site, and I could not find anything that had  
> an example for less than ColdFusion MX 7.02 using flex 2. Now I did  
> see an example using flex 1.5 and ColdFusion MX, but I think that  
> must have been a log time ago, around 2005 I think. My first  
> reaction was download the free dev edition of CF 8, and test and  
> have fun on your localhost. But maybe she needs a solution for a  
> production server. I also send her code to connect using flash, but  
> did not seem to excited about that, so I send her the flex code,  
> while she was stoked about that, this issue came up.
>
> This kind of make me think if CF 9 will use flex 2 for cfforms, that  
> would be cool
>
> Johnny
>
>
>
>
>



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:5896
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

Securing access to CFC

by Stefan Richter-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi all,
I have a bunch of CFCs which I need to access in two ways:

1) there's a public API which users can invoke using an API key. They  
hit a cfm page which in turn invokes the CFC. The CFC is currently  
marked as public.
2) a Flex app also needs access to the same CFC. This access should be  
secured based on the current status of the session, ie the user needs  
to be authenticated. If the user is logged in they can use the CFC  
from the Flex app, otherwise they can't.

I have 1) pretty much figured out, but do not want to mark my CFC as  
remote to solve 2) since I do not want to it to be publicly viewable  
etc.
I was therefore thinking of having a third CFC which is marked as  
remote and which facilitates invocation of the second CFC (the public  
one). The remote CFC could have role based access which would require  
a user to be logged in.

Does this sound like a good strategy for securing my public CFC?
(and note I use the term public in the sense of CF where it means that  
only other CFCs on the same server can invoke it)

The main reason for this exercise is to avoid having to duplicate any  
app logic. I do not want to have one set of CFCs that are public, and  
another set that are remote, yet both to have the same logic contained  
within.

Any advice appreciated.

Regards,

Stefan



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6025
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

Re: Securing access to CFC

by James Holmes-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


That's precisely how I handle this kind of situation, if that helps.

mxAjax / CFAjax docs and other useful articles:
http://www.bifrost.com.au/blog/

2009/8/6 Stefan Richter <stefan@...>:
> I was therefore thinking of having a third CFC which is marked as
> remote and which facilitates invocation of the second CFC (the public
> one). The remote CFC could have role based access which would require
> a user to be logged in.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6026
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

Re: Securing access to CFC

by Stefan Richter-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


thanks, that's great to hear.

Stefan




On 6 Aug 2009, at 14:52, James Holmes wrote:

>
> That's precisely how I handle this kind of situation, if that helps.
>
> mxAjax / CFAjax docs and other useful articles:
> http://www.bifrost.com.au/blog/
>
> 2009/8/6 Stefan Richter <stefan@...>:
>> I was therefore thinking of having a third CFC which is marked as
>> remote and which facilitates invocation of the second CFC (the public
>> one). The remote CFC could have role based access which would require
>> a user to be logged in.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6027
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37

Re: Securing access to CFC

by Bugzilla from tom.chiverton@halliwells.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Thursday 06 Aug 2009, Stefan Richter wrote:
> thanks, that's great to hear.

This is the Proxy pattern, as demonstrated by ColdSpring's RemoteFactoryBean,
for instance.

--
Helping to dramatically orchestrate efficient impactful essential bandwidth as
part of the IT team of the year, '09 and '08

****************************************************

This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners.  We use the word “partner” to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be confidential or legally privileged.  If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents.  If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.co

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know on the House of Fusion mailing lists
Archive: http://www.houseoffusion.com/groups/flex/message.cfm/messageid:6028
Subscription: http://www.houseoffusion.com/groups/flex/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.37