# PhP, RoR, Flex 3

**URL:** <https://www.ruby-forum.com/t/php-ror-flex-3/142996>\
**Category:** Rails\
**Created:** [July 14, 2008, 10:55am UTC](https://www.ruby-forum.com/t/php-ror-flex-3/142996 "2008-07-14T10:55:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Giovanni\_Salazar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e274bd/32.png) [@Giovanni\_Salazar](https://www.ruby-forum.com/u/Giovanni_Salazar)\
**Post date:** [July 14, 2008, 10:55am UTC](https://www.ruby-forum.com/t/php-ror-flex-3/142996/1 "2008-07-14T10:55:31Z")

</div>

I am evaluating on moving to rails for our main development platform.

I would love to hear your experiences(good or bad)

Thanks Guys.

Giovanni

---

<div class="post-metadata">

**Author:** ![Giovanni\_Salazar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e274bd/32.png) [@Giovanni\_Salazar](https://www.ruby-forum.com/u/Giovanni_Salazar)\
**Post date:** [July 14, 2008, 3:33pm UTC](https://www.ruby-forum.com/t/php-ror-flex-3/142996/2 "2008-07-14T15:33:53Z")

</div>

Hey, something I can reply to!

About a year ago, I put forth a lot of effort to learn PHP. I was able  
to build a testing website ([www.esenapaj.com](http://www.esenapaj.com)), however, in doing so,  
felt that my code wasn’t built upon a solid foundation. Whenever I  
wanted to add a new feature, it felt like I had to hack my  
application. Change one thing, something else stopped working, fix it,  
another item wouldn’t work correctly, etc. Granted, I was programming  
in procedural style, using no frameworks, or the ideology of the model  
view controller.

This last summer, I’ve put a lot of effort into learning Ruby on  
Rails. Don’t believe all the, “it’s easy to learn” comments - it’s  
not. Rails is a beast - a good beast, though a beast non-the-less.  
It’s built upon Ruby, which is not a C styled programming language. If  
you wish to learn Rails, start by reading a Ruby book, it’ll help you  
a lot.

Even though I can do more with PHP compared to my current Rails  
knowledge, I believe I’ve made the right choice to make the change. I  
really enjoy working with rails. Good luck!

~Achithyn

---

<div class="post-metadata">

**Author:** ![Giovanni\_Salazar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e274bd/32.png) [@Giovanni\_Salazar](https://www.ruby-forum.com/u/Giovanni_Salazar)\
**Post date:** [July 14, 2008, 3:48pm UTC](https://www.ruby-forum.com/t/php-ror-flex-3/142996/3 "2008-07-14T15:48:47Z")

</div>

Giovanni Salazar wrote:

> I am evaluating on moving to rails for our main development platform.
> 
> I would love to hear your experiences(good or bad)
> 
> Thanks Guys.
> 
> Giovanni

I only have a limited amount of experience with PHP, but I have been  
programming with rails for about a year now. When I got my job I new  
almost nothing about rails, but in a year I have built for the company I  
work for (a travel company) a pretty impressive online profile tool.  
What I find really interesting is that I built this tool all by myself  
in about eight months time while doing other stuff in VB. Now, again, I  
have only a limited amount of experience in coding PHP, but it seems to  
me that if I had tried to do what I am doing now in PHP it would take  
quite a bit longer.

If I had to say anything bad about rails it would be that it is a chore  
to set-up. After I got some experience with the framework I started my  
own website just for fun and it was no easy feet to get all the  
appropriate files configured correctly to run rails. I think it is worth  
it once everything is set up, hwoever.

-S

---

<div class="post-metadata">

**Author:** ![Giovanni\_Salazar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e274bd/32.png) [@Giovanni\_Salazar](https://www.ruby-forum.com/u/Giovanni_Salazar)\
**Post date:** [July 15, 2008, 7:47am UTC](https://www.ruby-forum.com/t/php-ror-flex-3/142996/4 "2008-07-15T07:47:04Z")

</div>

Thanks guys,

I do agree its been quite something to setup. But I think I got a hold  
of things. No thanks to the resources available out there.

I do know the value of a good framework and rails is one of the best  
frameworks. Hope to speed up and learn to tame the beast.

Thanks again.

Any thoughts on Flex 3?

---

<div class="post-metadata">

**Author:** ![Giovanni\_Salazar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e274bd/32.png) [@Giovanni\_Salazar](https://www.ruby-forum.com/u/Giovanni_Salazar)\
**Post date:** [July 14, 2008, 4:35pm UTC](https://www.ruby-forum.com/t/php-ror-flex-3/142996/5 "2008-07-14T16:35:58Z")

</div>

Hi there.

Not too long started working with RoR so I’m not the most experienced  
one out there by far. Here are my 2 cents, though:

Rails simplifies A LOT working with databases.  
I agree with Achithy. Rails is a BEAST.  
Ruby is very powerful.  
Ruby feels very weird at first if you are very familiar with other  
languages. Take a very good look at blocks and iterators.  
There is way more to learn than with regular PHP (not an expert on  
that either, though) to know how to use the framework well.

I think that the more the database is involved in the project the  
better off you’re using RoR.

Pepe

---

<div class="post-metadata">

**Author:** ![Giovanni\_Salazar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e274bd/32.png) [@Giovanni\_Salazar](https://www.ruby-forum.com/u/Giovanni_Salazar)\
**Post date:** [July 15, 2008, 9:06am UTC](https://www.ruby-forum.com/t/php-ror-flex-3/142996/6 "2008-07-15T09:06:41Z")

</div>

Ruby + Rails + RubyAMF + Flash = Fun to work with!

Don’t know how good Flex3 fits this, but this should be quite as much  
fun as with Flash and RubyAMF. We used this for the RitterSport  
website and it was very easy and intuitive to implement.

Cheers,  
Florian

P.S. I’m working on a Rack Middleware  
([http://rubyforge.org/projects/oii/](http://rubyforge.org/projects/oii/)  
) that transparently de- or encodes request / response so no extra  
invocation of the controller logic is needed and would work with  
frameworks like merb, waves, … that have rack adapters. Any help/  
ideas would be appreciated.

Am 15.07.2008 um 07:32 schrieb Giovanni Salazar:

---

<div class="post-metadata">

**Author:** ![Giovanni\_Salazar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e274bd/32.png) [@Giovanni\_Salazar](https://www.ruby-forum.com/u/Giovanni_Salazar)\
**Post date:** [July 15, 2008, 11:59am UTC](https://www.ruby-forum.com/t/php-ror-flex-3/142996/7 "2008-07-15T11:59:12Z")

</div>

Ruby+Rails+Flex 3 work well together. I have a basic tutorial here:

[http://www.sapphiresteel.com/Ruby-On-Rails-With-Flex](http://www.sapphiresteel.com/Ruby-On-Rails-With-Flex)

Best wishes  
Huw C.

SapphireSteel Software  
Ruby and Rails In Visual Studio  
[http://www.sapphiresteel.com](http://www.sapphiresteel.com)
