Begining with RoR, litle questions

Hello,

First, sorry about my english.

I come from lamp+symfony world, i understand the MVC design and so
on… my questions…

  1. Should learn ruby 100% before entering the documentation for RoR?
  2. Works with apache as module?
  3. What about DB abstraction? something similar to PDO in php?

Appreciate a few links in addition to the official.

In short, a little guidance of where to start

PD: I’m asking before searching extensively because I prefer opinions
from people who use it and I think there are not questions too
complicated to respond quickly.

On Feb 14, 2011, at 11:28 AM, Copitux wrote:

Hello,

First, sorry about my english.

I come from lamp+symfony world, i understand the MVC design and so
on… my questions…

  1. Should learn ruby 100% before entering the documentation for RoR?

I’ve been interested in this for years, finally took the plunge last
summer. Ruby is easy enough to pick up as you go, and Google Is Your
Friend.

  1. Works with apache as module?

Passenger, AKA mod_ruby, is good to go on Unix, in either Apache or
Nginx.

  1. What about DB abstraction? something similar to PDO in php?

ActiveRecord has various plug-ins for many databases, either SQL or no-
SQL. All the biggies are covered.

Appreciate a few links in addition to the official.

Have a look back in the archives of this list. There was a great list
of links posted over the weekend.

Welcome to the party!

Walter

Hi!

I came to Rails because I helped localizing a project from English to
german. This made me curious about the possibilities that rails offered,
so
I started to learn rails and got the needed ruby knowledge without extra
costs :slight_smile: Learning was some times hard, because I came from C and its
siblings with strong typing and such, so ruby with its loose rules made
me
stumble very often over errors that would not even be possible with a C
type
language.

Top posted from android

Am 14.02.2011 21:50 schrieb “Copitux” [email protected]:

Appreciate a few links in addition to the official.

In short, a little guidance of where to start

PD: I’m asking before searching extensively because I prefer opinions
from people who use it and I think there are not questions too
complicated to respond quickly.


You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.

Hi,

1)Ruby is simple, clean and elegant, you can learn it while learning
rails, it’s nearly like speaking english.
2)you can use with Apache (http://www.modrails.com/)
3)i don’t know PDO, but there is DB abstraction with Active Record
Active Record Query Interface — Ruby on Rails Guides, which makes
queries object-oriented, and you can switch from DB1-mysql to DB2-
postgre just by changing your config file and that won’t affect your
app.

I’ve heard Symfony automagically creates admin spaces on new
projects ; in Rails you’ll have to make it a bit more by yourself but
with scaffolding it’s rather easy.
There are lots of Gems and Plugins to enrich your app with features
you need (authentication, image/file uploading…)

Hope you’ll enjoy Rails :slight_smile:

Hello Copitux,

  1. Never worry about your English, it’s fine :slight_smile:

  2. Little Ruby is always helpful, but if you used any other prog lang
    like PHP then it won’t be hard. The best Rails tutorials already has a
    little part about Ruby you need:

Chapter 1: From zero to deploy | Ruby on Rails Tutorial | Learn Enough to Be Dangerous → it starts
with Heroku + Git + Test-Driven Development. Souds ScArY but give a
try, made it easy for me, it will worth :wink:

It’s very wise thing to install Rails and gems with RVM :
http://rvm.beginrescueend.com/ prevents problems later.

  1. Yes it works with Apache. If you try new tech like Rails also try
    other related technology which might be helpful:
    Git: http://git-scm.com/
    Github for repo: https://github.com/
    Heroku for hosting: http://heroku.com/

  2. DB: with Rails it’s better with PHP frameworks. Check ActiveRecord
    and if you want better solution I think DataMapper will amaze you:
    http://datamapper.org/

+1. Rails is fun. Have fun :wink:
gezope