L
L
lavezzi12015-04-25 04:19:12
Ruby on Rails
lavezzi1, 2015-04-25 04:19:12

What is the best way to write a blog?

Hello. Please, tell me in what language it is better to write a similar platform anchorcms.com
Functionality is standard:
Main with posts
Admin panel where posts and categories are added. etc.
At the moment, the choice is between Ruby and PHP. My programming knowledge is practically zero, but there is a great desire to learn one of these languages. Which is better? What are the pros and cons? Is it possible to do an easy installation in Ruby, like, for example, it is implemented in Wordpress?

Answer the question

In order to leave comments, you need to log in

8 answer(s)
X
xmoonlight, 2015-04-25
@xmoonlight

PHP is very flexible and there are a lot of projects on it and it is more promising, it is supported by all hostings. (unlike Ruby)
Lots of examples and documentation.
Write a blog - you can on any.

V
Vladimir Borutkin, 2015-04-25
@Atanvar

If you want it in Ruby, do it in Ruby
If you want it in PHP, do it in PHP

I
Ivan, 2015-04-25
@iwqn

Learn PHP, then you will learn Ruby when you understand PHP ...
PHP seems to me to be more tenacious. Otherwise
, I also once taught Delphi by scoring C ++, and now I regret it, since Delphi is dead and C ++ is alive

V
Vladimir, 2015-04-25
@telray

Cool question. You can also add python to the list)
But in essence, just look at the code examples. How different things are implemented in these languages, and what will be clearer and more pleasant for you to read, then choose.
For it is possible to argue about +- and compare languages ​​endlessly. The presented languages ​​already have a large audience, there are many books and articles on all of them. And having studied one of the languages, it will be easier to get acquainted with the next one.
In any case, except for you, no one will answer which language will be better for you .
And the best language for you will be the one in which you will write better and more efficient code, as well as solve problems in the shortest possible time.
PS And instead of asking which one, study both =)

V
Viktor Vsk, 2015-04-25
@viktorvsk

If you want to make another WordPress (which, of course, will not work), where every housewife can download an archive, register on a free hosting, upload an archive via FTP and click the mouse 3 times - for this you will need to understand a lot in Ruby.
Although, the idea is still disastrous, so you can do anything and however you like.

E
Evgeny Perin, 2015-04-25
@seoperin

write in php. If this platform is planned for ordinary people, then it will be more convenient for them to work with a PHP engine, fewer problems with hosting, more freelancers at low prices, and so on. Rubyists are unlikely to use such a platform, it’s not cool to write blogs in ruby. Yes, and the rubist himself will write a blog for himself quickly.

A
Artem Kiryanov, 2015-04-27
@hacker342

Ruby(Rails) is not made for building a blog. Well, yes, you can make any project on it, but by installing WP- you will save a lot of time, 30,000 plugins, a lot of solutions and themes. The best platform for blogging.
PS Ruby has - middleman or jekyll, but you are tormented to set up a server (VPS), well, or use github-pages, which is not a very good solution if you need dynamic content.

S
Sergey Vortoms, 2015-05-12
@VortomS

> Is it possible to do an easy installation in Ruby, like, for example, it is implemented in Wordpress?
Not at all comparable.
WP is a ready-made engine (CMS);
And in order for you to create this project on Ruby on Rails , you need to know a lot and spend a lot of time.
If you need for 1 project (given), then, as already written, use WP , there, if you do not go beyond the templates, then PHP is not necessary to know.
If you want to further work with WP in a more advanced way, then study PHP and layout.
Well, if you want to earn money for programming, then I advise you to learn either Python + Django , orRuby+Ruby on Rails. . Well, besides you need to know the front-end (html, css, JS, etc).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question