Earlier quoted context omitted.
I for one would like to see a serious Go-based alternative to Wordpress. Virtually every major CMS out there uses PHP, and all of them are highly prone to hacking.
I don't think you're going to see a serious competitor to Wordpress in anything but PHP for a long time. The core target audience for a CMS is content creators and designers without strong compsci backgrounds. The things that make it hackable (trivial to modify in-place, extremely forgiving of type errors, no internal sandboxing, etc.) are the very things that make it attractive to non-developers. Nothing is going to…
Replacing Ruby on Rails: Let's Go
81–89 of 89 posts
Re: Replacing Ruby on Rails: Let's Go
#82Earlier quoted context omitted.
In fact, Go's standard library is fantastic, so you don't need Martini for many things. I think it provides a nice layer on top of the code for comprehensibility when reading through code
Better use gin or negroni, since martini is slow due to reflections
Re: Replacing Ruby on Rails: Let's Go
#83Earlier quoted context omitted.
In a nutshell: Rails isn't shinny anymore. By migrating from (now) old Rails to new shiny Go, people can write these kinds of articles and pretend to be cutting edge and forward thinking.
its a bit more complicated than not being shiny anymore. For a lot of veterans, what's touted as best practices in the Rails community lead to maintenance headaches and performance issues in large scale long-lived applications. Rails apps tend to have a high degree of coupling internally and to gems that Just Work™ (except for when they Just Don't™).
Re: Replacing Ruby on Rails: Let's Go
#84Earlier quoted context omitted.
its a bit more complicated than not being shiny anymore. For a lot of veterans, what's touted as best practices in the Rails community lead to maintenance headaches and performance issues in large scale long-lived applications. Rails apps tend to have a high degree of coupling internally and to gems that Just Work™ (except for when they Just Don't™).
Also, as the industry has shifted away from monolithic web frameworks to tightly controlled 'microservices' then the relevance of something as heavy as RoR wanes.
Re: Replacing Ruby on Rails: Let's Go
#85Earlier quoted context omitted.
Also, as the industry has shifted away from monolithic web frameworks to tightly controlled 'microservices' then the relevance of something as heavy as RoR wanes.
Right, although personally I think there'll be a heavy backlash against microservices (that's already begun in some circles.)
It's all good. Go with the flow and learn. ;)
Re: Replacing Ruby on Rails: Let's Go
#86Earlier quoted context omitted.
Go requires knowledge of types, which already puts its cognitive complexity ahead of PHP for the typical content creator.
Are data types that complex a concept to grasp? When I started programming in VB I don't remember it being.
Re: Replacing Ruby on Rails: Let's Go
#87Earlier quoted context omitted.
Because it's much faster to build functionality in Rails than in Golang, and not every feature of an app has the same performance requirements.
I think jlhonora just means to proxy from nginx directly for the services that aren't powered by rails. Like 90% of the site served from rails and the high performance services are just different nginx backends. Potentially what you're already doing.
Re: Replacing Ruby on Rails: Let's Go
#88Earlier quoted context omitted.
Go requires knowledge of types, which already puts its cognitive complexity ahead of PHP for the typical content creator.
Are data types that complex a concept to grasp? When I started programming in VB I don't remember it being.
1. Edit the project's files.
2. Open the (scary and alienating) command line.
3. Run `go build` and hope it works right.
4. Find and stop the old running server process and start the new version
Oh, and you'd better hope step 3 goes smoothly, because a tiny mistake anywhere in your application will cause this weird thing called a "compiler error" that means that the entire thing will break. Editing a Wordpress site, on the other hand, looks like this: 1. Edit the project's files.
2. There is no step 2.
As developers, we're comfortable with the first workflow. We happily accept the added complexity because of all the other nice things it gives us and because we're probably using other tools like version control that end up making our experience much more uniform between the two. But to a user whose primary experience is with editing Word documents there is a huge jump there.Re: Replacing Ruby on Rails: Let's Go
#89Earlier quoted context omitted.
Working with CQ5 gives me the chills.
Great dayrates as a contractor doing CQ5 in London. I'm almost certain it's not worth it, but hey, you never know.