+ 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

8th Jun 2020, 1:21 AM
M G H
M G H - avatar
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/
8th Jun 2020, 4:22 AM
Tibor Santa
Tibor Santa - avatar
+ 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.
8th Jun 2020, 5:53 AM
David Carroll
David Carroll - avatar
+ 2
http://carlcheo.com/startcodin For website(s) my recommended to you [JavaScript]
8th Jun 2020, 2:58 AM
Basel.Al_hajeri?.MBH()
Basel.Al_hajeri?.MBH() - avatar