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: [email protected]
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
_______________________________________________
[email protected]
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