What is the better solution for sane and sustainable web development.
Also inb4 "muh PHP" retardation or "Node" meme.
people hate on ruby because of all the shitty developers and the terrible community. But the language? It isn't terrible. It's a cleaner perl.
What you're really looking for is a comparison in web frameworks. You're not going to write your own and the biggest differences between the languages comes down to these frameworks.
sorry, I don't know much about ruby.
It really depends on which lanugage you are more comfortable with. I really wouldn't recommend picking up pyramid or django if you're really comfortable with ruby.
"JS is bad" is another meme
i hate this fucking board sometimes, go back to talking about your iphones
you people literally dont know shit about anything and just regurgitate a series of ancient pieces of cultural shorthand to feel 'in'
lol wut. What moron hosts their own site now a days? Just host that bitch on a license included cloud service.
No. YOU have no clue what you're talking about. Have you ever tried to manage an enterprise level system in JS? It's a fucking nightmare due to a lack of reliable IDEs that support JS.
Have you not heard of amazon web services? They're secure af. If there's a breach, it's their fault not yours. Hell if you're that paranoid ask for a government account.
And backing up locally is simple. You can do it with a powershell script.
>Just host that bitch on a license included cloud service
>Have you ever tried to manage an enterprise level system in JS
You obviously are just some uni level faggot that has no idea what they're talking about.
Lol, no. You've just illustrated what's exactly wrong with JS.
Bunch of kids equipped with text editors pretending to be "Enterprise Engineers", because some dot.com schmucks are showering big pile cash into their "startup-entrepreneurhip" ego.
>It really depends on which lanugage you are more comfortable with.
I know better Python. But want to create some sites painlessly and quickly and if that means to learn some Ruby I don't mind to do so.
> I want to make a website
>I don't think using Ruby will make it that much more effortless.
Yeah I guess that the learning curve will be bit steep, but I have to create some 10 different web services and I'm looking for the right tool for this, because I really hate web dev. And I just don't want to have my ass bleeding in a long term. That's all.
Ironically, PHP has alot of frameworks that do the same thing, and PHP is, unsurprisingly, also a shit language with alot of bad practices.
Ruby is objectively the best - use Rails because it's amazing
The reasons they are amazing are:
a) It is SO fucking easy to use. Literally a monkey could write Ruby code, but that's a good thing. It reduces the barrier of entry to doing very powerful and complex things. Why write a load of boilerplate and over-complication in something like PHP when you can write much less code and get something done in a much more logical way in Ruby?
b) Maturity. There are a ton of Ruby gems out there that will accomplish common tasks for you. Need to interact with a SOAP-based API? Download Savon. Need to parse XML? Use Nokogiri. Want to use SASS? Install it. Want to use Bootstrap, from the source SASS files so you can play with all the variables to your heart's content? Easy, just typegem 'bootstrap-sass'into your Gemfile (as long as you have already installed SASS withgem 'sass-rails'), runbundle installand that's it - no more setup required.
People should not be allowed to comment on other lanugages (php, ruby, python, etc...) if they do not contribute to any C project.
Basically, any language is as good as the developer using it is, if you are a shit programmer then you'll find flaws in any language.
Things I've heard about Ruby.
- Extensive Unit testing is very difficult for large projects, due to duck typing/typeless parameters.
- You probably need a docker or vagrant instance for every project, due to library dependence hell.
- There can only be one Application per project. For example, Elixir (Phoenix) apps can be divided into microservices easily in a single project.
- Memory usage and processor requirements are high, a problem shared by all dynamic languages. This only matters if you are working on a complex website.
>Literally a monkey could write Ruby code, but that's a good thing.
Yes an you can be assured that they'll fuck up anything security critical because 'rails will handle it for me'
Yet python has the same advantage/problem
>b) Maturity.pip install django-bootstrap-sass
These are all problems for both python and ruby, except 1) exsists slightly less on python (in my experience)
I prefer Ruby / Rails just because I like the syntax and the homogeneity of the api way more. The language and its best practices are way more attractive to me than python's. I hate looking at python. It's ugly.