RE: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Lee McColl-Sylvester
Here here :)

Trust me, when you start using it, you'll be amazed... The part I like
most is the portability.  I can't see any reason you couldn't run haXe
from a CD if that's what you wanted.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nicolas
Cannasse
Sent: 23 March 2006 20:30
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Using Flash with Ruby on Rails

 I don't get it. Whether one uses Ruby, PHP or mothers_mouthwash, all
one
 is doing is using xmlSendAndLoad() (or similar function) to call a
 script and retrieve results. What's the big deal?

Most of the time, you need to encode some kind of values into XML, then
decode them on the other side. This XML protocol need to evolve with
your application, everytime you need to add a new functionality. Also,
you get virtualy 0 warantee that of what will happen if the protocol is
not respected, if an attribute is forgotten for example. This can open a
lot of holes in your application that can be exploited (you might not
care at all but it's important in some particular cases).

In haXe what you will be able to do is to just do some calls between
server and client transparently just like you'ld do method calls, and
send data over the network (not xml, but structured objects) just like
Remoting. But in haXe, you will also be able to send *classes* through
the network, since it's the same language it's ok as long as the class
is available on the other side as well.

Other nice features includes :

- a very Fexible type system : strongly typed by default, with Dynamic
features to write dynamicly type stuff when you don't feel like being
bothered.
- type inference so you don't have to write types everywhere
- conditional compilation : you can make some specific optimizations for
Flash8 / Flash8.5, have different compilable versions (like Release and
Debug) and everything else you need
- a fast reusable compiler, just like MTASC
- improved runtime errors reporting
- quick usability, if you now already ActionScript or JavaScript,
jumping to haXe is pretty straightforward
- the ability to reuse some part of your code on the server and client
side at the same time (rewriting complex form validation code on the
client in JS and on the server in PHP is NOT funny :)
- 30 times faster VM than PHP, if you're interested in speed
... and much more

Nicolas
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Lee McColl-Sylvester
Ruby can handle XML... That's all that's required.

If Ruby is all you can handle, then use it.  It is more than enough for
your needs, but as your programming skills develop (and they definitely
will), you'll want a more portable system.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chad
Royer
Sent: 23 March 2006 22:13
To: flashcoders@chattyfig.figleaf.com
Subject: RE: [Flashcoders] Using Flash with Ruby on Rails

Here's where I'm coming from.  Like I said, I'm more of a designer  
than a programmer.  I really grasp the logic behind OO structures so  
I'm able to understand what I need to accomplish with my code to get  
things working nicely, but I don't have a 'words' brain, so if I'm  
not writing in a particular language every day, I quickly forget what  
I know as far as actual syntax and code structure.  I can write with  
php, but it takes a long time to step thru simple things and make  
them work, and if I go a few days without writing php then I have to  
figure it all out again.  I can do quite a bit in Actionscript, since  
that's really where I started, but I only have room in my brain for  
so much of that stuff, and even some of the advanced AS stuff flies  
right thru my head without making any serious contact.

That was what I found attractive about ruby on rails... that I can  
focus on logical application structure and make things work pretty  
well without having to deal with syntax details that I just can't  
seem to keep in my noggin.  For most of the things I do, simple  
database connectivity is really enough, but I'm also trying to build  
some applications that are quite a bit more complex.  Ultimately for  
the more complex projects, I'd prefer to be able to knock out a  
prototype that 'works' relatively quickly and without having to learn  
all of PHP or whatever, then hire a 'real' programmer to make it all  
proper.

RoR also seems like it would make it very easy to deal with building  
both xhtml/css versions and flash versions of the same site.  Again,  
I know that can be done with php and everything else, but would  
involve much more actual coding to do so.  I just started looking  
into RoR a couple of days ago, so I haven't decided that it's the  
king setup or anything like that, but it seems to work the way I  
think.  The only thing I hadn't been able to find much info about is  
how to get results from ruby to flash.  If it's just a matter of  
pumping xml out of RoR and parsing it in flash, then cool... If  
there's something that could work better, given my perspective, I'd  
be happy to hear about that too.  To me, haxe looks like AS with just  
enough subtle differences to confuse the hell outa me, tho I do  
understand what they're doing.

I hope that clarifies what I'm getting at... if RoR is suitable as a  
backend for flash, essentially, and what needs to be done to pass  
variables back and forth.  I'm not interested in 'chasing the  
language of the day' as you put it, either.  I'd like to find one  
setup that works for me and stick with it.

thanks once again. and thanks also to chris allen for your insight on  
haxe, and to mark daggett for the answer I was really looking for...  
I would love to see some examples of how you set up that integration  
with JSON and the javascript integration kit (tho if I could do it  
without javascript I think I'd be happier).

-chad



 Message: 8
 Date: Thu, 23 Mar 2006 15:18:59 -0400
 From: Miles Thompson [EMAIL PROTECTED]
 Subject: RE: [Flashcoders] Using Flash with Ruby on Rails
 To: flashcoders@chattyfig.figleaf.com
 Message-ID: [EMAIL PROTECTED]
 Content-Type: text/plain; charset=us-ascii; format=flowed;
   x-avg-checked=avg-ok-FBA73C4


 I don't get it. Whether one uses Ruby, PHP or mothers_mouthwash,  
 all one is
 doing is using xmlSendAndLoad() (or similar function) to call a  
 script and
 retrieve results. What's the big deal?

 If the question is what language / framework should I use to  
 establish an
 app to manage the data, and incidentally fetch it for Flash, then a
 framework makes sense - RoR, Cake, ... whatever you are comfortable  
 and
 productive with?  (I'm a PHP guy myself - stopped chasing language  
 of the
 month years ago.)

 Regards - Miles


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Danny Kodicek

I've written php for years, and only had time to have a little play

with ruby so far, but if i was in your shoes, i'd go for RoR, not
cake..

Don't mess with it, kids
http://www.parliament.the-stationery-office.co.uk/pa/cm199596/cmhansrd/vo960723/text/60723w10.htm#60723w10.html_wqn10


Danny 


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Lee McColl-Sylvester
I used to use GammaHydroxyButyrate back in my bodybuilding days (don't
laugh, it's true).  Used to double the effects of some of the other
supplements I used.  It's safe to take, but some people found it
enhanced the effects of hardcore drugs, so it was taken off the
market... Well, made illegal.

Damn snotty nosed, pimple faced, doped up drug taking little sons of
somethingorothers.

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Danny
Kodicek
Sent: 24 March 2006 11:18
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Using Flash with Ruby on Rails

I've written php for years, and only had time to have a little play
with ruby so far, but if i was in your shoes, i'd go for RoR, not
cake..

Don't mess with it, kids
http://www.parliament.the-stationery-office.co.uk/pa/cm199596/cmhansrd/v
o960723/text/60723w10.htm#60723w10.html_wqn10


Danny 

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Danny Kodicek

I used to use GammaHydroxyButyrate back in my bodybuilding days (don't

laugh, it's true).  Used to double the effects of some of the other
supplements I used.  It's safe to take, but some people found it
enhanced the effects of hardcore drugs, so it was taken off the
market... Well, made illegal.

Yes, but did you ever take Cake? Ever suffer the horrors of Czech Neck?

Sorry, way OT - I'll stop now.

Danny

'It influences a part of the brain called Shatner's Bassoon'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Martin Weiser

??
czech neck?
what the heck is that?
Kodicek sounds to me as czech surname, are you oriignaly from Czech Rep ?

cheers

Martin.cz



- Original Message - 
From: Danny Kodicek [EMAIL PROTECTED]

To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Sent: Friday, March 24, 2006 12:52 PM
Subject: Re: [Flashcoders] Using Flash with Ruby on Rails



I used to use GammaHydroxyButyrate back in my bodybuilding days (don't
laugh, it's true).  Used to double the effects of some of the other
supplements I used.  It's safe to take, but some people found it
enhanced the effects of hardcore drugs, so it was taken off the
market... Well, made illegal.

Yes, but did you ever take Cake? Ever suffer the horrors of Czech Neck?

Sorry, way OT - I'll stop now.

Danny

'It influences a part of the brain called Shatner's Bassoon'
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Dave Mennenoh
It's safe to take, but some people found it enhanced the effects of 
hardcore drugs, so it was taken off the market... Well, made illegal.


I think it was more that some people found they could knock out girls with 
it - (the date rape drug). I'd venture to guess that's why it became 
illegal.



Dave -
Adobe Community Expert
www.blurredistinction.com
www.macromedia.com/support/forums/team_macromedia/ 



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread Ettwein, Josh
It was also the only way to get a safe buzz when going out with friends
at a party if you were training and couldn't have alcohol. Not saying it
was smart... It is really safe though when used properly, like anything
else. :) It was legal, and OTC till 1990...

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lee
McColl-Sylvester
Sent: Friday, March 24, 2006 3:33 AM
To: Flashcoders mailing list
Subject: RE: [Flashcoders] Using Flash with Ruby on Rails

I used to use GammaHydroxyButyrate back in my bodybuilding days (don't
laugh, it's true).  Used to double the effects of some of the other
supplements I used.  It's safe to take, but some people found it
enhanced the effects of hardcore drugs, so it was taken off the
market... Well, made illegal.

Damn snotty nosed, pimple faced, doped up drug taking little sons of
somethingorothers.

Lee
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-24 Thread ryanm

'It influences a part of the brain called Shatner's Bassoon'


   I'm stealing that. :-P

ryanm
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Using Flash with Ruby on Rails

2006-03-23 Thread Chad Royer

Hi All,

Was considering ruby on rails as a backend platform for flash apps,  
as it seems much quicker to set up database/sql transactions than  
using PHP.  I have some little experience with PHP, but I'm at the  
point where I pretty much need to relearn it or pick something else,  
so I thought now might be a good time to check out RoR.  I haven't  
been able to find much information at all about how Flash/AS2 might  
communicate with a Ruby on Rails app.  One person suggested a couple  
of javascript implementations, but I'd prefer to avoid javascript if  
I can.  Has anybody had any experience/success using these together,  
or should I just stick with PHP?


thanks in advance,
chad

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-23 Thread Nicolas Cannasse
 Hi All,
 
 Was considering ruby on rails as a backend platform for flash apps,  
 as it seems much quicker to set up database/sql transactions than  
 using PHP.  I have some little experience with PHP, but I'm at the  
 point where I pretty much need to relearn it or pick something else,  
 so I thought now might be a good time to check out RoR.  I haven't  
 been able to find much information at all about how Flash/AS2 might  
 communicate with a Ruby on Rails app.  One person suggested a couple  
 of javascript implementations, but I'd prefer to avoid javascript if  
 I can.  Has anybody had any experience/success using these together,  
 or should I just stick with PHP?
 
 thanks in advance,
 chad

You can also have a look at haXe (http://haxe.org)

Nicolas
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Using Flash with Ruby on Rails

2006-03-23 Thread Lee McColl-Sylvester
I'll use this time to plug haXe / neko.  Well, haXe includes neko.
Using this amazing new system, you can build your swf's and build the
website backend for the functionality.  haXe and Neko are open source
and although very small, they are also very very fast and feature rich.
Plus, the dependencies for haXe / Neko are minimal compared to Ruby,
Python or PHP.  As for the data transport, you can use XML calls to and
from, though a much more robust remoting is due in the future.  Trust
me, learn it now and be at the forefront.

Look at www.haxe.org and www.nekovm.org

Lee




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chad
Royer
Sent: 23 March 2006 16:49
To: Flashcoders mailing list
Subject: [Flashcoders] Using Flash with Ruby on Rails

Hi All,

Was considering ruby on rails as a backend platform for flash apps,  
as it seems much quicker to set up database/sql transactions than  
using PHP.  I have some little experience with PHP, but I'm at the  
point where I pretty much need to relearn it or pick something else,  
so I thought now might be a good time to check out RoR.  I haven't  
been able to find much information at all about how Flash/AS2 might  
communicate with a Ruby on Rails app.  One person suggested a couple  
of javascript implementations, but I'd prefer to avoid javascript if  
I can.  Has anybody had any experience/success using these together,  
or should I just stick with PHP?

thanks in advance,
chad

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Using Flash with Ruby on Rails

2006-03-23 Thread Lee McColl-Sylvester
Lmao Nicolas... I just sent details on this Trying to plug it as I
promised...

Lee



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nicolas
Cannasse
Sent: 23 March 2006 16:57
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Using Flash with Ruby on Rails

 Hi All,
 
 Was considering ruby on rails as a backend platform for flash apps,  
 as it seems much quicker to set up database/sql transactions than  
 using PHP.  I have some little experience with PHP, but I'm at the  
 point where I pretty much need to relearn it or pick something else,  
 so I thought now might be a good time to check out RoR.  I haven't  
 been able to find much information at all about how Flash/AS2 might  
 communicate with a Ruby on Rails app.  One person suggested a couple  
 of javascript implementations, but I'd prefer to avoid javascript if  
 I can.  Has anybody had any experience/success using these together,  
 or should I just stick with PHP?
 
 thanks in advance,
 chad

You can also have a look at haXe (http://haxe.org)

Nicolas
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Using Flash with Ruby on Rails

2006-03-23 Thread Ettwein, Josh
Yeah, a RoR port of remoting would be dope. Hmm... 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chad
Royer
Sent: Thursday, March 23, 2006 8:49 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Using Flash with Ruby on Rails

Hi All,

Was considering ruby on rails as a backend platform for flash apps, as
it seems much quicker to set up database/sql transactions than using
PHP.  I have some little experience with PHP, but I'm at the point where
I pretty much need to relearn it or pick something else, so I thought
now might be a good time to check out RoR.  I haven't been able to find
much information at all about how Flash/AS2 might communicate with a
Ruby on Rails app.  One person suggested a couple of javascript
implementations, but I'd prefer to avoid javascript if I can.  Has
anybody had any experience/success using these together, or should I
just stick with PHP?

thanks in advance,
chad
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-23 Thread Rich Rodecker
i remember some talk somewhere that Patrick Mineault was working on
something that combined cake (the php framework) and amfphp...i dont know if
anything is coming of that though.



On 3/23/06, Ettwein, Josh [EMAIL PROTECTED] wrote:

 Yeah, a RoR port of remoting would be dope. Hmm...

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Chad
 Royer
 Sent: Thursday, March 23, 2006 8:49 AM
 To: Flashcoders mailing list
 Subject: [Flashcoders] Using Flash with Ruby on Rails

 Hi All,

 Was considering ruby on rails as a backend platform for flash apps, as
 it seems much quicker to set up database/sql transactions than using
 PHP.  I have some little experience with PHP, but I'm at the point where
 I pretty much need to relearn it or pick something else, so I thought
 now might be a good time to check out RoR.  I haven't been able to find
 much information at all about how Flash/AS2 might communicate with a
 Ruby on Rails app.  One person suggested a couple of javascript
 implementations, but I'd prefer to avoid javascript if I can.  Has
 anybody had any experience/success using these together, or should I
 just stick with PHP?

 thanks in advance,
 chad
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Using Flash with Ruby on Rails

2006-03-23 Thread Chad Royer
thanks, but at first glance I can't see what advantages haxe might  
have over ror... really it looks like it'd be just as easy to write  
PHP as it is to write haxe.  When comparing to RoR, it's oop  
structure, db migration abilities, and being able to get so much from  
just typing scaffold, I can't say haxe is nearly as attractive.   
I'm not a hard-core coder type, I'm more of a designer with enough  
coding skills to get it done, and my head hurts from having to learn  
new languages every week.  So without getting away from my original  
question, I'd also like to hear some explanation of just exactly what  
haxe/neko can do that I can't do with ror, or just actionscript and php.


thanks again,
chad


On Mar 23, 2006, at 9:00 AM, flashcoders- 
[EMAIL PROTECTED] wrote:



Date: Thu, 23 Mar 2006 17:01:58 -
From: Lee McColl-Sylvester [EMAIL PROTECTED]
Subject: RE: [Flashcoders] Using Flash with Ruby on Rails
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID:
	[EMAIL PROTECTED] 
group.local


Content-Type: text/plain;   charset=us-ascii

I'll use this time to plug haXe / neko.  Well, haXe includes neko.
Using this amazing new system, you can build your swf's and build the
website backend for the functionality.  haXe and Neko are open source
and although very small, they are also very very fast and feature  
rich.

Plus, the dependencies for haXe / Neko are minimal compared to Ruby,
Python or PHP.  As for the data transport, you can use XML calls to  
and

from, though a much more robust remoting is due in the future.  Trust
me, learn it now and be at the forefront.

Look at www.haxe.org and www.nekovm.org

Lee




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chad
Royer
Sent: 23 March 2006 16:49
To: Flashcoders mailing list
Subject: [Flashcoders] Using Flash with Ruby on Rails

Hi All,

Was considering ruby on rails as a backend platform for flash apps,
as it seems much quicker to set up database/sql transactions than
using PHP.  I have some little experience with PHP, but I'm at the
point where I pretty much need to relearn it or pick something else,
so I thought now might be a good time to check out RoR.  I haven't
been able to find much information at all about how Flash/AS2 might
communicate with a Ruby on Rails app.  One person suggested a couple
of javascript implementations, but I'd prefer to avoid javascript if
I can.  Has anybody had any experience/success using these together,
or should I just stick with PHP?

thanks in advance,
chad


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-23 Thread Chris Allen
Hi Chad,

While I haven't had the chance to play around with Haxe yet, I do
understand what it is Nicolas is going for when creating this
language.  The idea is that you can use one nicely thought out
language for both the client-side development (in your case Flash) as
well as the server-side.  The thing that changes is the libraries for
each of the environments.  It's really quite a clever idea and I hope
it gets some traction.  I know that I spend my time switching back and
forth between Java and AS2 all day, and it would be nice to work with
just one syntax.

I'm not sure if there are many functional advantages over using Haxe
versus Ruby on Rails or PHP.  But, apparently it's a lot nicer to code
in than ActionScript (in fact it uses some of the features that Ruby
has). I know that Nicolas would be able to cover the language features
better than me.

Haxe, is still new and finding ISPs that will host it might be a
problem. Obviously PHP is a good choice if you need a lot of
flexibility in finding cheap hosting situations.

Anyway, I hope that helps.

-Chris


On 3/23/06, Chad Royer [EMAIL PROTECTED] wrote:
 thanks, but at first glance I can't see what advantages haxe might
 have over ror... really it looks like it'd be just as easy to write
 PHP as it is to write haxe.  When comparing to RoR, it's oop
 structure, db migration abilities, and being able to get so much from
 just typing scaffold, I can't say haxe is nearly as attractive.
 I'm not a hard-core coder type, I'm more of a designer with enough
 coding skills to get it done, and my head hurts from having to learn
 new languages every week.  So without getting away from my original
 question, I'd also like to hear some explanation of just exactly what
 haxe/neko can do that I can't do with ror, or just actionscript and php.

 thanks again,
 chad


 On Mar 23, 2006, at 9:00 AM, flashcoders-
 [EMAIL PROTECTED] wrote:

  Date: Thu, 23 Mar 2006 17:01:58 -
  From: Lee McColl-Sylvester [EMAIL PROTECTED]
  Subject: RE: [Flashcoders] Using Flash with Ruby on Rails
  To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
  Message-ID:
[EMAIL PROTECTED]
  group.local
 
  Content-Type: text/plain; charset=us-ascii
 
  I'll use this time to plug haXe / neko.  Well, haXe includes neko.
  Using this amazing new system, you can build your swf's and build the
  website backend for the functionality.  haXe and Neko are open source
  and although very small, they are also very very fast and feature
  rich.
  Plus, the dependencies for haXe / Neko are minimal compared to Ruby,
  Python or PHP.  As for the data transport, you can use XML calls to
  and
  from, though a much more robust remoting is due in the future.  Trust
  me, learn it now and be at the forefront.
 
  Look at www.haxe.org and www.nekovm.org
 
  Lee
 
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Chad
  Royer
  Sent: 23 March 2006 16:49
  To: Flashcoders mailing list
  Subject: [Flashcoders] Using Flash with Ruby on Rails
 
  Hi All,
 
  Was considering ruby on rails as a backend platform for flash apps,
  as it seems much quicker to set up database/sql transactions than
  using PHP.  I have some little experience with PHP, but I'm at the
  point where I pretty much need to relearn it or pick something else,
  so I thought now might be a good time to check out RoR.  I haven't
  been able to find much information at all about how Flash/AS2 might
  communicate with a Ruby on Rails app.  One person suggested a couple
  of javascript implementations, but I'd prefer to avoid javascript if
  I can.  Has anybody had any experience/success using these together,
  or should I just stick with PHP?
 
  thanks in advance,
  chad

 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] Using Flash with Ruby on Rails

2006-03-23 Thread Miles Thompson


I don't get it. Whether one uses Ruby, PHP or mothers_mouthwash, all one is 
doing is using xmlSendAndLoad() (or similar function) to call a script and 
retrieve results. What's the big deal?


If the question is what language / framework should I use to establish an 
app to manage the data, and incidentally fetch it for Flash, then a 
framework makes sense - RoR, Cake, ... whatever you are comfortable and 
productive with?  (I'm a PHP guy myself - stopped chasing language of the 
month years ago.)


Regards - Miles

At 02:48 PM 3/23/2006, Chad Royer wrote:


thanks, but at first glance I can't see what advantages haxe might
have over ror... really it looks like it'd be just as easy to write
PHP as it is to write haxe.  When comparing to RoR, it's oop
structure, db migration abilities, and being able to get so much from
just typing scaffold, I can't say haxe is nearly as attractive.
I'm not a hard-core coder type, I'm more of a designer with enough
coding skills to get it done, and my head hurts from having to learn
new languages every week.  So without getting away from my original
question, I'd also like to hear some explanation of just exactly what
haxe/neko can do that I can't do with ror, or just actionscript and php.

thanks again,
chad


On Mar 23, 2006, at 9:00 AM, flashcoders- [EMAIL PROTECTED] wrote:


Date: Thu, 23 Mar 2006 17:01:58 -
From: Lee McColl-Sylvester [EMAIL PROTECTED]
Subject: RE: [Flashcoders] Using Flash with Ruby on Rails
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID:
[EMAIL PROTECTED] 
group.local


Content-Type: text/plain;   charset=us-ascii

I'll use this time to plug haXe / neko.  Well, haXe includes neko.
Using this amazing new system, you can build your swf's and build the
website backend for the functionality.  haXe and Neko are open source
and although very small, they are also very very fast and feature
rich.
Plus, the dependencies for haXe / Neko are minimal compared to Ruby,
Python or PHP.  As for the data transport, you can use XML calls to
and
from, though a much more robust remoting is due in the future.  Trust
me, learn it now and be at the forefront.

Look at www.haxe.org and www.nekovm.org

Lee




-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chad
Royer
Sent: 23 March 2006 16:49
To: Flashcoders mailing list
Subject: [Flashcoders] Using Flash with Ruby on Rails

Hi All,

Was considering ruby on rails as a backend platform for flash apps,
as it seems much quicker to set up database/sql transactions than
using PHP.  I have some little experience with PHP, but I'm at the
point where I pretty much need to relearn it or pick something else,
so I thought now might be a good time to check out RoR.  I haven't
been able to find much information at all about how Flash/AS2 might
communicate with a Ruby on Rails app.  One person suggested a couple
of javascript implementations, but I'd prefer to avoid javascript if
I can.  Has anybody had any experience/success using these together,
or should I just stick with PHP?

thanks in advance,
chad


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.1.385 / Virus Database: 268.2.6/288 - Release Date: 3/22/2006


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-23 Thread M Daggett
I am using flash and ROR very nicely with the javascript integration kit and
the JSON gem to serialize ROR objects into something Flash can use. I have
had lots of success with it and whats nice is that it is platform neutral,
you can easily take advantage of the ROR framework now and if you don't like
it move the codebase to PHP and just keep JSON as the middle layer.
However,  if you want to do deep objects like circular references etc, this
may not be the solution for you.

Later,
Mark

On 3/23/06, Miles Thompson [EMAIL PROTECTED] wrote:


 I don't get it. Whether one uses Ruby, PHP or mothers_mouthwash, all one
 is
 doing is using xmlSendAndLoad() (or similar function) to call a script and
 retrieve results. What's the big deal?

 If the question is what language / framework should I use to establish an
 app to manage the data, and incidentally fetch it for Flash, then a
 framework makes sense - RoR, Cake, ... whatever you are comfortable and
 productive with?  (I'm a PHP guy myself - stopped chasing language of the
 month years ago.)

 Regards - Miles

 At 02:48 PM 3/23/2006, Chad Royer wrote:

 thanks, but at first glance I can't see what advantages haxe might
 have over ror... really it looks like it'd be just as easy to write
 PHP as it is to write haxe.  When comparing to RoR, it's oop
 structure, db migration abilities, and being able to get so much from
 just typing scaffold, I can't say haxe is nearly as attractive.
 I'm not a hard-core coder type, I'm more of a designer with enough
 coding skills to get it done, and my head hurts from having to learn
 new languages every week.  So without getting away from my original
 question, I'd also like to hear some explanation of just exactly what
 haxe/neko can do that I can't do with ror, or just actionscript and php.
 
 thanks again,
 chad
 
 
 On Mar 23, 2006, at 9:00 AM, flashcoders- [EMAIL PROTECTED]:
 
 Date: Thu, 23 Mar 2006 17:01:58 -
 From: Lee McColl-Sylvester [EMAIL PROTECTED]
 Subject: RE: [Flashcoders] Using Flash with Ruby on Rails
 To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
 Message-ID:
  [EMAIL PROTECTED]
  group.local
 
 Content-Type: text/plain;   charset=us-ascii
 
 I'll use this time to plug haXe / neko.  Well, haXe includes neko.
 Using this amazing new system, you can build your swf's and build the
 website backend for the functionality.  haXe and Neko are open source
 and although very small, they are also very very fast and feature
 rich.
 Plus, the dependencies for haXe / Neko are minimal compared to Ruby,
 Python or PHP.  As for the data transport, you can use XML calls to
 and
 from, though a much more robust remoting is due in the future.  Trust
 me, learn it now and be at the forefront.
 
 Look at www.haxe.org and www.nekovm.org
 
 Lee
 
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Chad
 Royer
 Sent: 23 March 2006 16:49
 To: Flashcoders mailing list
 Subject: [Flashcoders] Using Flash with Ruby on Rails
 
 Hi All,
 
 Was considering ruby on rails as a backend platform for flash apps,
 as it seems much quicker to set up database/sql transactions than
 using PHP.  I have some little experience with PHP, but I'm at the
 point where I pretty much need to relearn it or pick something else,
 so I thought now might be a good time to check out RoR.  I haven't
 been able to find much information at all about how Flash/AS2 might
 communicate with a Ruby on Rails app.  One person suggested a couple
 of javascript implementations, but I'd prefer to avoid javascript if
 I can.  Has anybody had any experience/success using these together,
 or should I just stick with PHP?
 
 thanks in advance,
 chad
 
 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 
 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com
 


 --
 No virus found in this outgoing message.
 Checked by AVG Anti-Virus.
 Version: 7.1.385 / Virus Database: 268.2.6/288 - Release Date: 3/22/2006


 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




--

I am Mark Daggett and I approve this message.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http

Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-23 Thread Nicolas Cannasse
 I don't get it. Whether one uses Ruby, PHP or mothers_mouthwash, all one
 is doing is using xmlSendAndLoad() (or similar function) to call a
 script and retrieve results. What's the big deal?

Most of the time, you need to encode some kind of values into XML, then
decode them on the other side. This XML protocol need to evolve with
your application, everytime you need to add a new functionality. Also,
you get virtualy 0 warantee that of what will happen if the protocol is
not respected, if an attribute is forgotten for example. This can open a
lot of holes in your application that can be exploited (you might not
care at all but it's important in some particular cases).

In haXe what you will be able to do is to just do some calls between
server and client transparently just like you'ld do method calls, and
send data over the network (not xml, but structured objects) just like
Remoting. But in haXe, you will also be able to send *classes* through
the network, since it's the same language it's ok as long as the class
is available on the other side as well.

Other nice features includes :

- a very Fexible type system : strongly typed by default, with Dynamic
features to write dynamicly type stuff when you don't feel like being
bothered.
- type inference so you don't have to write types everywhere
- conditional compilation : you can make some specific optimizations for
Flash8 / Flash8.5, have different compilable versions (like Release and
Debug) and everything else you need
- a fast reusable compiler, just like MTASC
- improved runtime errors reporting
- quick usability, if you now already ActionScript or JavaScript,
jumping to haXe is pretty straightforward
- the ability to reuse some part of your code on the server and client
side at the same time (rewriting complex form validation code on the
client in JS and on the server in PHP is NOT funny :)
- 30 times faster VM than PHP, if you're interested in speed
... and much more

Nicolas
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-23 Thread Anggie Bratadinata

In case you didn't know ...
there's a PHP port of RoR, check it out at:
http://www.cakephp.org/

--
Anggie Bratadinata
Web|Graphic|Flash
Jl. Raya Langsep 21
Malang - East Java
I N D O N E S I A
http://design.ibshastautama.com


Chad Royer wrote:

Hi All,

Was considering ruby on rails as a backend platform for flash apps, as 
it seems much quicker to set up database/sql transactions than using 
PHP.  I have some little experience with PHP, but I'm at the point where 
I pretty much need to relearn it or pick something else, so I thought 
now might be a good time to check out RoR.  I haven't been able to find 
much information at all about how Flash/AS2 might communicate with a 
Ruby on Rails app.  One person suggested a couple of javascript 
implementations, but I'd prefer to avoid javascript if I can.  Has 
anybody had any experience/success using these together, or should I 
just stick with PHP?


thanks in advance,
chad

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] Using Flash with Ruby on Rails

2006-03-23 Thread Chad Royer
even better!  It was the rails structure that was most attractive  
about RoR... I wasn't super keen on having to learn ruby, and I  
already know a bit of PHP, so this cake framework could be just what  
I was after.  I'm also already familiar with using PHP with Flash/AS,  
so it should be an easy jump, and I expect PHP will be around for a  
long time, so this also kills the 'language of the week' factor.   
I'll give it a shot...


many thanks to everyone for your responses and insights
-chad

On Mar 23, 2006, at 3:06 PM, flashcoders- 
[EMAIL PROTECTED] wrote:



Message: 21
Date: Fri, 24 Mar 2006 06:01:13 +0700
From: Anggie Bratadinata [EMAIL PROTECTED]
Subject: Re: [Flashcoders] Using Flash with Ruby on Rails
To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

In case you didn't know ...
there's a PHP port of RoR, check it out at:
http://www.cakephp.org/

--
Anggie Bratadinata
Web|Graphic|Flash
Jl. Raya Langsep 21
Malang - East Java
I N D O N E S I A
http://design.ibshastautama.com



___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com