
Originally Posted by
markbrown4
You will most certainly not regret it
I still don't know all the ins and outs of the Ruby language itself and am highly productive with Rails.
It's quite a natural and easy language to pick up while learning Rails.
Because it's your first programming language there will be a steep learning curve. You need to learn about programming concepts like loops and methods, a bit about databases etc..
Still, check out
http://guides.rubyonrails.org/ and start working through from top to bottom and we'll be able to help if something doesn't make sense.
--
Normally I would recommend you learn Javascript before a back-end programming language, but I guess I learned PHP before Javascript so it doesn't really matter. Javascript is certainly something you want to know about though, so keep that in mind.
Although I agree with what you've said the lack of any other programming experience on the OPs part could be to their advantage as Ruby is different to other languages in is execution. The syntax is quite unlike most other languages I'm finding. I'm just starting out with it myself and finding some oddities to it but it's just my way of thinking as I've conditioned my self to expect certain things from a language, so it might be good that his/her head hasn't been poisoned by anything else...<cough>php</cough>.
I'm working my way through the Michael Hartl book (can recommend it) and I can see how well structured and succinct in code the whole ROR dev processes is but coming from a PHP background I'm finding the concept of not adding ; at the end of a command or {} around statements/loops to be quite odd or defining a method as simply as
Code:
def my_method
do something
end
just doesn't feel right at the moment. Plus where Rails is concerned, well, it's almost like pixies run the show. Things just work without much effort, length or explanation which is disconcerting starting out but I do like the experience so far. Sand boxing your work in the rails console for experimentation of new code for example is just fantastic.
Despite the alien nature of ROR so far I will say this based on my limited exposure thus far. I can appreciate already how beautiful a language Ruby is once understood and how fantastically cleaver and powerful Rails is as a technology and framework, there is so much power available. If you can master them both and the whole process, concepts and other technologies that seem to naturally stick to ROR, then being a dev could be fun and rewarding again. Pick it up now because in a few years time I can see it exploding in popularity once the naysayers realize the errors of their ways in putting it down, many of which I have to say are PHP developers it seems. Although not all, as many going to ROR seem to be disgruntled PHP devs.
I'm not exactly an expert in the matter but I've never felt comfortable using PHP in a framework. I've always liked using my own code or doing it my way as I've never liked any of the frame works. Most are just hodge podge and off the shelf applications are a nightmare to use in my view...wordpress, joomla etc, horrible!
One area the ROR team needs to fix is installation and set up. It is a pain in the rear to get ROR set up, configured and running at the moment I feel. I guess this is an area that will be improved as the platform matures and grows, it has to if they want more uptake as right now I feel it is definitely a barrier to entry and putting many off particularly in the commercial world.
Bookmarks