Re: [flexcoders] Moving flex app (coldfusion) to a production server

2009-08-07 Thread Johannes Nel
ah. well then. No service config for you.
Remote object with fully qualified paths, setup from a configuration file i
would say.

On Wed, Aug 5, 2009 at 7:50 PM, Scott h...@netprof.us wrote:



  Where does it pull the server name from?  Is it where the flex app was
 called from?  To make this a little more complex; this is an Air application
 so it’s installed locally.


  --

 *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On
 Behalf Of *Johannes Nel
 *Sent:* Wednesday, August 05, 2009 9:46 AM
 *To:* flexcoders@yahoogroups.com
 *Subject:* Re: [flexcoders] Moving flex app (coldfusion) to a production
 server





 if you setup your services config to point to a specific server like this:


 endpoint url=rtmp://www.servername.com:2038
 class=flex.messaging.endpoints.RTMPEndpoint/
 then change it to
 endpoint url=rtmp://{server.name}:2038
 class=flex.messaging.endpoints.RTMPEndpoint/

 so for example my amf channel endpoint is defined as this
   channel-definition id=my-amf class=mx.messaging.channels.AMFChannel
 endpoint 
 url=http://{server.name}:{server.port}/{context.root}/messagebroker/amf;
 class=flex.messaging.endpoints.AMFEndpoint/
 properties
 polling-enabledfalse/polling-enabled
 /properties
 /channel-definition

 deploying between servers then becomes pretty easy.

  On Wed, Aug 5, 2009 at 4:16 PM, Tom Chiverton 
 tom.chiver...@halliwells.com wrote:



 On Wednesday 05 Aug 2009, Scott wrote:
  I've been working on my development environment on my notebook for a
  while now. I've got Flex and CF loaded locally along with CF's built in
  web server. I discovered that it seems the services-config.xml may be
  what tells the flex app to connect to a specific server. How do I move
  a development app like this into production?

 Copy the file to the server. Bounce CF.

 

 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.com*http://www.Halliwells.com
 .




 --
 j:pn
 \\no comment

 --
 This message has been scanned for viruses and
 dangerous content by *MailScanner* http://www.mailscanner.info/, and is
 believed to be clean.
  




-- 
j:pn
\\no comment


Re: [flexcoders] Moving flex app (coldfusion) to a production server

2009-08-07 Thread Tom Chiverton
On Thursday 06 Aug 2009, Daniel Nelson wrote:
 I would suggest that you don't compile against the services-config.xml file
 in your flex project.  Instead you should be dynamically setting up your
 remote calls.  Makes moving from development to production a lot easier

Well, yeah, one or the other. But no hard cord a host name either way :-)

-- 
Helping to revolutionarily engineer supply-chains 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.com.

Re: [flexcoders] Moving flex app (coldfusion) to a production server

2009-08-06 Thread Tom Chiverton
On Wednesday 05 Aug 2009, Johannes Nel wrote:
 I have noticed a lot of developers tend to put hardcoded paths in there to
 be able to debug since they use flex projects and not server projects.

You mean their developing a web based Flex application, but are not developing 
it useing a local web server ?
Oh my...

-- 
Helping to enormously morph information 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.com.

Re: [flexcoders] Moving flex app (coldfusion) to a production server

2009-08-06 Thread Daniel Nelson
I would suggest that you don't compile against the services-config.xml file
in your flex project.  Instead you should be dynamically setting up your
remote calls.  Makes moving from development to production a lot easier

On Thu, Aug 6, 2009 at 5:28 AM, Tom Chiverton
tom.chiver...@halliwells.comwrote:



 On Wednesday 05 Aug 2009, Johannes Nel wrote:
  I have noticed a lot of developers tend to put hardcoded paths in there
 to
  be able to debug since they use flex projects and not server projects.

 You mean their developing a web based Flex application, but are not
 developing
 it useing a local web server ?
 Oh my...

 --
 Helping to enormously morph information 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.comhttp://www.halliwells.com/
 .

 



[flexcoders] Moving flex app (coldfusion) to a production server

2009-08-05 Thread Scott
I've been working on my development environment on my notebook for a
while now.  I've got Flex and CF loaded locally along with CF's built in
web server.  I discovered that it seems the services-config.xml may be
what tells the flex app to connect to a specific server.  How do I move
a development app like this into production?

 

 TIA!

   Scott



Re: [flexcoders] Moving flex app (coldfusion) to a production server

2009-08-05 Thread Tom Chiverton
On Wednesday 05 Aug 2009, Scott wrote:
 I've been working on my development environment on my notebook for a
 while now.  I've got Flex and CF loaded locally along with CF's built in
 web server.  I discovered that it seems the services-config.xml may be
 what tells the flex app to connect to a specific server.  How do I move
 a development app like this into production?

Copy the file to the server. Bounce CF.



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.com.

Re: [flexcoders] Moving flex app (coldfusion) to a production server

2009-08-05 Thread Johannes Nel
if you setup your services config to point to a specific server like this:


endpoint url=rtmp://www.servername.com:2038
class=flex.messaging.endpoints.RTMPEndpoint/
then change it to
endpoint url=rtmp://{server.name}:2038
class=flex.messaging.endpoints.RTMPEndpoint/

so for example my amf channel endpoint is defined as this
  channel-definition id=my-amf class=mx.messaging.channels.AMFChannel
endpoint
url=http://{server.name}:{server.port}/{context.root}/messagebroker/amf;
class=flex.messaging.endpoints.AMFEndpoint/
properties
polling-enabledfalse/polling-enabled
/properties
/channel-definition

deploying between servers then becomes pretty easy.


On Wed, Aug 5, 2009 at 4:16 PM, Tom Chiverton
tom.chiver...@halliwells.comwrote:



 On Wednesday 05 Aug 2009, Scott wrote:
  I've been working on my development environment on my notebook for a
  while now. I've got Flex and CF loaded locally along with CF's built in
  web server. I discovered that it seems the services-config.xml may be
  what tells the flex app to connect to a specific server. How do I move
  a development app like this into production?

 Copy the file to the server. Bounce CF.

 

 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.com.
  




-- 
j:pn
\\no comment


Re: [flexcoders] Moving flex app (coldfusion) to a production server

2009-08-05 Thread Tom Chiverton
On Wednesday 05 Aug 2009, Johannes Nel wrote:
 then change it to
 endpoint url=rtmp://{server.name}:2038
 class=flex.messaging.endpoints.RTMPEndpoint/

Curly braces are the default, and are filled in at run time by the client, for 
the record.

-- 
Helping to evangelistically seize mission-critical revolutionary extensible 
patterns 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.com.

Re: [flexcoders] Moving flex app (coldfusion) to a production server

2009-08-05 Thread Johannes Nel
I have noticed a lot of developers tend to put hardcoded paths in there to
be able to debug since they use flex projects and not server projects.

On Wed, Aug 5, 2009 at 5:03 PM, Tom Chiverton
tom.chiver...@halliwells.comwrote:



 On Wednesday 05 Aug 2009, Johannes Nel wrote:
  then change it to
  endpoint url=rtmp://{server.name}:2038
  class=flex.messaging.endpoints.RTMPEndpoint/

 Curly braces are the default, and are filled in at run time by the client,
 for
 the record.

 --
 Helping to evangelistically seize mission-critical revolutionary extensible

 patterns 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.com.
  




-- 
j:pn
\\no comment


RE: [flexcoders] Moving flex app (coldfusion) to a production server

2009-08-05 Thread Scott
Where does it pull the server name from?  Is it where the flex app was
called from?  To make this a little more complex; this is an Air
application so it's installed locally.

 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Johannes Nel
Sent: Wednesday, August 05, 2009 9:46 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Moving flex app (coldfusion) to a production
server

 

  

if you setup your services config to point to a specific server like
this:


endpoint url=rtmp://www.servername.com:2038
http://www.servername.com:2038 
class=flex.messaging.endpoints.RTMPEndpoint/
then change it to
endpoint url=rtmp://{server.name}:2038
class=flex.messaging.endpoints.RTMPEndpoint/

so for example my amf channel endpoint is defined as this
  channel-definition id=my-amf
class=mx.messaging.channels.AMFChannel
endpoint
url=http://{server.name}:{server.port}/{context.root}/messagebroker/amf
 class=flex.messaging.endpoints.AMFEndpoint/
properties
polling-enabledfalse/polling-enabled
/properties
/channel-definition

deploying between servers then becomes pretty easy.



On Wed, Aug 5, 2009 at 4:16 PM, Tom Chiverton
tom.chiver...@halliwells.com mailto:tom.chiver...@halliwells.com 
wrote:

  

On Wednesday 05 Aug 2009, Scott wrote:
 I've been working on my development environment on my notebook for a
 while now. I've got Flex and CF loaded locally along with CF's built
in
 web server. I discovered that it seems the services-config.xml may be
 what tells the flex app to connect to a specific server. How do I move
 a development app like this into production?

Copy the file to the server. Bounce CF.



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.com
http://www.Halliwells.com . 




-- 
j:pn 
\\no comment




-- 
This message has been scanned for viruses and 
dangerous content by MailScanner http://www.mailscanner.info/ , and is

believed to be clean. 


RE: [flexcoders] Moving flex app (coldfusion) to a production server

2009-08-05 Thread Scott
I'm not a fan of hard coding anything...

 

I stumbled on this doc for Air apps and setting up remote objects
dynamically.  I thought I'd post it on here for future reference.

 

http://sujitreddyg.wordpress.com/2008/07/03/creating-blazeds-channels-at
-runtime/

 

Off to play with this a bit; it's very promising.

 

sj

 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Scott
Sent: Wednesday, August 05, 2009 12:50 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] Moving flex app (coldfusion) to a production
server

 

  

Where does it pull the server name from?  Is it where the flex app was
called from?  To make this a little more complex; this is an Air
application so it's installed locally.

 



From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
Behalf Of Johannes Nel
Sent: Wednesday, August 05, 2009 9:46 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Moving flex app (coldfusion) to a production
server

 

  

if you setup your services config to point to a specific server like
this:


endpoint url=rtmp://www.servername.com:2038
http://www.servername.com:2038 
class=flex.messaging.endpoints.RTMPEndpoint/
then change it to
endpoint url=rtmp://{server.name}:2038
class=flex.messaging.endpoints.RTMPEndpoint/

so for example my amf channel endpoint is defined as this
  channel-definition id=my-amf
class=mx.messaging.channels.AMFChannel
endpoint
url=http://{server.name}:{server.port}/{context.root}/messagebroker/amf
 class=flex.messaging.endpoints.AMFEndpoint/
properties
polling-enabledfalse/polling-enabled
/properties
/channel-definition

deploying between servers then becomes pretty easy.




On Wed, Aug 5, 2009 at 4:16 PM, Tom Chiverton
tom.chiver...@halliwells.com mailto:tom.chiver...@halliwells.com 
wrote:

  

On Wednesday 05 Aug 2009, Scott wrote:
 I've been working on my development environment on my notebook for a
 while now. I've got Flex and CF loaded locally along with CF's built
in
 web server. I discovered that it seems the services-config.xml may be
 what tells the flex app to connect to a specific server. How do I move
 a development app like this into production?

Copy the file to the server. Bounce CF.



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.com
http://www.Halliwells.com . 




-- 
j:pn 
\\no comment


-- 
This message has been scanned for viruses and 
dangerous content by MailScanner http://www.mailscanner.info/ , and is

believed to be clean. 




-- 
This message has been scanned for viruses and 
dangerous content by MailScanner http://www.mailscanner.info/ , and is

believed to be clean.