+ 3
Should I learn Ruby and can you program a database using it or do you need a seperate language?
I want to design a web application like a calendar but I'm not sure if it can also be used to make a database, like HTML needs SQL
3 Answers
+ 10
For complex things you need multiple languages and technologies. A web application (in fact any application) has many components or layers:
- frontend or gui, that interacts with the user. For web apps, this is done with HTML, CSS and JS
- service or backend, that drives your program logic, this can be almost any programming language
- persistence layer interacts with the database. For this you need SQL or NOSQL
In practice, to simplify the development, programmers usually use different frameworks which can automate a lot of the programming.
You can build a web app with Ruby, and its most popular framework is Rails.
https://rubyonrails.org/
+ 8
Mason Hendry I think the Active Record and scaffolding capabilities in Ruby on Rails makes this a great framework for learners as the database interactions are quite automatic and super easy to learn.
Rails is quite powerful and has a massive community of developers.
Just do a search on "Ruby on Rails Scaffolding" or "RoR Active Record". Those should pull up a lot of articles to get you started.
+ 2
http://carlcheo.com/startcodin
For website(s) my recommended to you [JavaScript]