I come from lamp+symfony world, i understand the MVC design and so
on… my questions…
Should learn ruby 100% before entering the documentation for RoR?
Works with apache as module?
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.
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 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.
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.
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…)
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:
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
gezope
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.