I have tonnes of Ruby and RoR books, but I still code in PHP

10 views
Skip to first unread message

Azril Nazli

unread,
Sep 14, 2009, 11:51:23 AM9/14/09
to Malaysia Ruby Brigade
My last additions ia Advanced Rails Recipes and Beginning Ruby by
Apress

Well, I'm PHP developer for more than 8 years
Seriously programming using CakePHP since version 1.x ( now is
1.2.5 ).

but CakePHP is inspired by Ruby On Rails. So I've tried Ruby On Rails
( 2.x ) after 1 week of learning the basic Ruby language. ( which to
me is very wonderful language )

So far I've delivered 2 websites developed using RoR 2.x + Google Maps
+ RoR geocoding Libs but still using CakePHP for more serious project.

Well there are something that holding me from using RoR to deliver all
my jobs,
1. ruby on rails in malaysia is very limited
2. stumbled upon a weird code like, name =- params[:name] ... what
is =- ..just an example
3. how do I var_dump($var) in RoR ?
4. YAML error ruin everything....when doing heaby i18n.t 'hello world'


I do some system admin stuff to, but in very basic BASH script, maybe
I'll use ruby

What I likes about RoR
+ database migration ( only symfony framework have this mechanism in
PHP worl )
+ active record ( much cleaner and easier than in cakephp )
+ cleaner code , duh
+ the automatic document generator in ror 2.x ( rake docs or
something )
+ mongrel

FB search for "azril nazli"
azril...@gmail.com / azril...@yahoo.com ( YM )

Ezwan Aizat Bin Abdullah Faiz

unread,
Sep 14, 2009, 12:32:48 PM9/14/09
to malay...@googlegroups.com
On Mon, Sep 14, 2009 at 11:51 PM, Azril Nazli <azril...@gmail.com> wrote:
> So far I've delivered 2 websites developed using RoR 2.x + Google Maps
> + RoR geocoding Libs but still using CakePHP for more serious project.
Thats nice, what are the 2 rails websites that you have developed?

> Well there are something that holding me from using RoR to deliver all
> my jobs,
> 1. ruby on rails in malaysia is very limited

why do you consider it limited?

> 2. stumbled upon a weird code like,  name =- params[:name]    ... what
> is =- ..just an example

Now thats strange!

> 3. how do I var_dump($var) in RoR ?

you can use "debug" in views. Though I'd recommend learning debugger.

> 4. YAML error ruin everything....when doing heaby i18n.t 'hello world'
>
> I do some system admin stuff to, but in very basic BASH script, maybe
> I'll use ruby
>
> What I likes about RoR
> + database migration ( only symfony framework have this mechanism in
> PHP worl )
> + active record ( much cleaner and easier than in cakephp )
> + cleaner code , duh
> + the automatic document generator in ror 2.x ( rake docs or
> something )
> + mongrel

You should try deploying with Phusion Passenger http://www.modrails.com/

Would love to hear more from your experience.

regards,
Aizat

--
http://aizatto.com

Arzumy Md Yusof

unread,
Sep 15, 2009, 12:09:49 AM9/15/09
to malay...@googlegroups.com
What cool is that when you don't understand stuff, console will always be there to consult you :) Here's what the console told me about =-

>> a =- 2
=> -2
>> a =- "ayam"
NoMethodError: undefined method `-@' for "ayam":String
from (irb):2

Not that weird after all. 

Cheers!
Arzumy

Azril Nazli

unread,
Sep 15, 2009, 10:28:02 AM9/15/09
to Malaysia Ruby Brigade
Thanks guys.....

will ask more later...esp in user's ACl
Reply all
Reply to author
Forward
0 new messages