Re: Newbie Question

35 views
Skip to first unread message

Lorenz Blackbird

unread,
Feb 22, 2013, 3:44:45 AM2/22/13
to rubyonra...@googlegroups.com
I started from a very simple guide of Ruby in my mother tongue.

About Rails, this guide explains you the main elements:

http://guides.rubyonrails.org/getting_started.html

Next step, when I have an idea, I search in Google and I try to do it.

--
Posted via http://www.ruby-forum.com/.

Colin Law

unread,
Feb 22, 2013, 4:32:03 AM2/22/13
to rubyonra...@googlegroups.com
On 22 February 2013 05:25, JohnA <jander...@gmail.com> wrote:
> What are some Great resources to get into Rails?
> Keep in mind this is for someone that has little to no programming
> experience.
> So starting from scratch...

Work right through a good tutorial such as railstutorial.org which is
free to use online. Make sure that you install exactly the correct
version of rails for the tutorial (which should be Rails 3.n)
Most developers use Linux (Ubuntu for example) or Mac. I recommend
installing with rvm, I gather that rbenv is an alternative.
Also consider that to develop web applications you will eventually
need a good knowledge of html, css and javascript.

Colin

>
> A little background is that I want to create a program for personal use that
> uses Databases to store lots of information. They wopuld draw from each
> other and work to help in large scale event planning and management.
>
> Any help is appreciated. Thank you!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to rubyonrails-ta...@googlegroups.com.
> To post to this group, send email to rubyonra...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/rubyonrails-talk/-/5o3j3u6shLcJ.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Nailson Martins

unread,
Feb 22, 2013, 5:11:31 AM2/22/13
to rubyonra...@googlegroups.com
Start with Ruby itself. you need to understand the basics about programming. This book is awesome.

In parallel, you can study a little about databases, independent of vendor (MySQL, PostgreSQL, Oracle...) a little experience with SQL is necessary.

After that, take a good Ruby on Rails book, Ryan Bigg is maybe the coolest RoR writer, mainly for newbies like us.

With these books, you'll be well guided to Web Development with Rails.

Ohhh, another tip is watch Railscasts from Ryan Bates. This guy comes every week with some awesome tutorials.





Dusan Gibarac

unread,
Feb 28, 2013, 7:32:04 PM2/28/13
to rubyonra...@googlegroups.com
Q1. It looks that most convenient way of developing Rails Views is using
form helpers when developing forms and partials.

On the other hand one can develop much richer HTML5 pages/mockups using
WYSIWYG tools like CKEditor, Dojo/IBM Maqetta, etc.

How one can continue with Rails having already developed Web site
mockups?

Q2. Up to my findings, Ajax can be automatically fired using
:remote=>true but just in link_to and form_for helpers.

There are many other JavaScript client events when one needs Ajax to be
called. How to proceed with Ajax in that case, for example onClick
mouse/keyboard event?

Michael Archibald

unread,
Feb 28, 2013, 10:29:06 PM2/28/13
to rubyonra...@googlegroups.com
A1. If you have a mockup already you replicate most of the look and feel by pasting that in your erb file and replacing forms etc with their form helper counterparts.  The only issue to keep in mind, most of those produce less than optimal code, which means you may want to clean that up a bit.  

A2. Rails comes with jQuery included by default (in later versions anyways). You can simply bind events to the DOM with jQuery.  Something along the lines of:
$('#someId).on('click',function(){
     yourfunction();
});
It's really quite easy once you learn how.  http://api.jquery.com/category/events/
Reply all
Reply to author
Forward
0 new messages