Assen Robin Assen Robin - 1 month ago 12
Ruby Question

How to publish and implement Ruby file to my website

I'm a beginner of Ruby. I want to establish my website by programming with Ruby language.
Before that, I used to upload HTML files to my web-host server, so that I could update my website. But now I have no idea about what should I do with Ruby file.

Thank you!

Answer

If you are using the rails framework you may wanna try using cloud9 instead. Brackets from what i understand is "local". Whereas cloud9 is a "real" IDE. Additionally you can easily push your code to heroku where your code will be hosted at.

To get things started just head over to cloud9 to create an account to setup your IDE. If you are unfamiliar with it there are lots of guides out there that can help you to get things started.

However if you lack the fundamentals in using the rails framework, guides.rubyonrails.org may be a good place to start too.

Update: There is no best language when it comes to developing a website. The fundamentals of a webpage are HTML/CSS.

HTML gives you the bones or structure, such as your titles and your paragraphs etc.

CSS gives you your styling, such as creating buttons or changing font color etc.

This 2 languages form the core part of what would be your website, at the very least on the front end (meaning to say what people see when they visit your website)

JavaScript is not a must but definitely a plus. It is able to improve the UI/UX (user interface/user experience) of your website.

Lastly would be your back-end language; what handles the processes that goes on behind the scenes. If you choose ruby (and by extension rails) then that is fine as well. Basically your back-end language will support your database and CRUD (create, read, update, delete) actions.

Comments