0

How is Ruby used/implemented as a web framework?

please help me get the answer for implementing Ruby as a web framework and also any link to the perfect eBook for this type question will be appreciated, thanks

31st Mar 2018, 9:53 PM
@king_kloy
@king_kloy - avatar
13 Antworten
+ 6
You can create ERB template from html In index.html.erb you can use both ruby and html. Embedded Ruby https://www.tutorialspoint.com/ruby-on-rails/rails-and-html-erb.htm
31st Mar 2018, 10:09 PM
Toni Isotalo
Toni Isotalo - avatar
+ 5
You can use ruby with html ERB ruby
31st Mar 2018, 9:57 PM
Toni Isotalo
Toni Isotalo - avatar
+ 2
It's not right to say "implementing Ruby as a web framework"... Ruby is a scripting programming language, which have a web framework done with it and called "Rails" ( well known as "Ruby on Rails" or "RoR" )...
31st Mar 2018, 10:59 PM
visph
visph - avatar
+ 1
Yes, if your question was about "how to use Ruby to do web server stuff" ;) ( but you need to learn Ruby syntax to be able to learn Rails framework ^^ )
1st Apr 2018, 1:08 AM
visph
visph - avatar
+ 1
You're probably not concerned, but for french language people, I would advice the 'les teachers du net" youtube chanel which provide a good tutorial about Rails :) https://www.youtube.com/playlist?list=PL9SRi7jTkDdFDVIuU1u-_FYuP-qNgk8tE ( the playlist seems to be incomplete, so you could start with this video -- and next ones with same title -- https://youtu.be/EX7T298UjoU )
1st Apr 2018, 1:20 AM
visph
visph - avatar
+ 1
Yes, as I stated ^^ Anyway, if french is not your language, do a web search to find tutorial with the language of your taste... personally I often prefer text tutorial rather than video, but sometimes, video tutorials are very helpful and almost could fit better for some users ;)
1st Apr 2018, 1:28 AM
visph
visph - avatar
+ 1
okay i'm gonna get eBook on that
1st Apr 2018, 1:29 AM
@king_kloy
@king_kloy - avatar
0
ERB?
31st Mar 2018, 9:58 PM
@king_kloy
@king_kloy - avatar
0
thanks for your answers
1st Apr 2018, 1:04 AM
@king_kloy
@king_kloy - avatar
0
visph so that means i have to learn rails....i mean ruby on rails to have the web framework done
1st Apr 2018, 1:05 AM
@king_kloy
@king_kloy - avatar
0
yeah, i have learnt the syntax already and i want to build a project with the Ruby language
1st Apr 2018, 1:09 AM
@king_kloy
@king_kloy - avatar
0
thanks alot
1st Apr 2018, 1:21 AM
@king_kloy
@king_kloy - avatar
0
yeah its french
1st Apr 2018, 1:23 AM
@king_kloy
@king_kloy - avatar