1

Any pointers on best practice when it comes to architecure on the web. I've just learnt a bit of Ruby and wish to use it to build websites. I'm in no hurry, I want to learn the best way not a quick'n'dirty way as this is a hobby.

How do i get data from my mySql db to my front end? I know a bit of xhtml / css but how do I now join it all together?

Many thanks for any help...

skipz

Skip
  • 925
  • 1
  • 6
  • 6

3 Answers3

9

I recommend that you take a look at the Ruby on Rails framework, for several reasons:

  • Rails is pretty easy to get up and running with
  • Rails incorporates many best practices and established patterns e.g. MVC, REST and ActiveRecord
  • It didn't used to be the case, but Rails now has lots of high quality and free documentation and supporting resources to help you learn
  • Lots of websites and applications have already been built using Rails
  • Rails is under active development and the future of the framework looks pretty bright
John Topley
  • 113,588
  • 46
  • 195
  • 237
4

The easiest method is to use an existing framework, with Ruby on Rails being the big dog in town.

Pesto
  • 23,810
  • 2
  • 71
  • 76
4

Getting Started with Ruby on Rails

Chris Doggett
  • 19,959
  • 4
  • 61
  • 86