These are chat archives for gin-gonic/gin

27th
Apr 2016
ecarter202
@ecarter202
Apr 27 2016 22:08 UTC
Looking to expand into another language/framework. How "far behind" would you consider Gin framework is of older frameworks, such as Django or Codeigniter?
Ousmane Traore
@otraore
Apr 27 2016 22:10 UTC
I don’t think Gin is “far behind” with any of those, why do you think that?
ecarter202
@ecarter202
Apr 27 2016 22:11 UTC
Honestly I haven't looked too far into the framework. I suppose it was an assumption considering that python/php have been around much longer.
Is it quite featured like Django, or is that a poor comparison to begin with?
Ousmane Traore
@otraore
Apr 27 2016 22:12 UTC
Poor comparisson to begin with.
In what traditional web apps? APIs?
Simon Green
@CaptainCodeman
Apr 27 2016 22:13 UTC
Gin, like many Go microframeworks, is more comparable with Flask
Ousmane Traore
@otraore
Apr 27 2016 22:13 UTC
It’s a bit more featured than flask
Ryan Brooks
@ryanbyyc
Apr 27 2016 22:13 UTC
^
Ousmane Traore
@otraore
Apr 27 2016 22:13 UTC
But yeah
or for PHP It’d be comparrable to Slim or
ecarter202
@ecarter202
Apr 27 2016 22:13 UTC
Traditional web apps.
Ousmane Traore
@otraore
Apr 27 2016 22:14 UTC
Gin supports html rendering
Go itself has html templates, but there are other supported templating languages
I think you could write a traditional web app with Gin but I would personally write an API with gin/go and use something else for a web frontend
ecarter202
@ecarter202
Apr 27 2016 22:16 UTC
appreciate the feedback
Ousmane Traore
@otraore
Apr 27 2016 22:16 UTC
Something like React, Ember, Angular etc to consume the API
Simon Green
@CaptainCodeman
Apr 27 2016 22:16 UTC
you can use html renderers and ORM to make thing Django like. Whether you should ...
Ousmane Traore
@otraore
Apr 27 2016 22:16 UTC
Oh yeah there are ORMs forgot to mention those
Simon Green
@CaptainCodeman
Apr 27 2016 22:17 UTC
If you like living in the past, you could also use Sharepoint
That was a joke, you should never use Sharepoint
Ousmane Traore
@otraore
Apr 27 2016 22:17 UTC
I could say the same with Java
:p
Simon Green
@CaptainCodeman
Apr 27 2016 22:18 UTC
I would agree !
Ryan Brooks
@ryanbyyc
Apr 27 2016 22:19 UTC
I think that gin does a lot less handholding than something like a PHP framework. It's a different way of thinking, from OOP (ish, it is PHP after all) to functional.
Simon Green
@CaptainCodeman
Apr 27 2016 22:20 UTC
yeah, different approach to the same need, much more lightweight (I hated using Django)
Reminded me of ASP.NET (oh the shame)
Ryan Brooks
@ryanbyyc
Apr 27 2016 22:22 UTC
So much faster though. I've migrated from 15 years of php development to go. Sometimes I miss it, but mostly go will blow your socks off.
Ousmane Traore
@otraore
Apr 27 2016 22:22 UTC
So much easier to get an app up and running too
No need to set up a web server, an interpreter
Your php.ini
etc etc
ecarter202
@ecarter202
Apr 27 2016 22:23 UTC
Any recommendations on language/framework for front end? I too am a PHP Dev and it feels like a deadend sometimes
Simon Green
@CaptainCodeman
Apr 27 2016 22:23 UTC
yeah, go is the bees-knees for webdev
I’ve been using Angular 2 for the past 6 months
Ousmane Traore
@otraore
Apr 27 2016 22:23 UTC
React or Ember for me
Simon Green
@CaptainCodeman
Apr 27 2016 22:23 UTC
it’s crap
Ousmane Traore
@otraore
Apr 27 2016 22:23 UTC
Not a big fan of ng2
Simon Green
@CaptainCodeman
Apr 27 2016 22:24 UTC
I haven’t used React heavily
Ousmane Traore
@otraore
Apr 27 2016 22:24 UTC
Or ng1 but I thought ng2 would reel me in
I personally use Go for projects where I choose the tech, ruby on rails sometimes and php when Im forced to
Simon Green
@CaptainCodeman
Apr 27 2016 22:24 UTC
IMO Polymer is the best thing for the future - it’s very standards focused and support being built into other browsers (webcomponents)
Ousmane Traore
@otraore
Apr 27 2016 22:25 UTC
Meh I have mixed feelings on polymer
@ecarter202 Just frontend ?
Simon Green
@CaptainCodeman
Apr 27 2016 22:25 UTC
It’s improved a lot, seems much nicer now than a year+ ago
ecarter202
@ecarter202
Apr 27 2016 22:26 UTC
Yes.
If Go can do all backend.
as @ryanbyyc stated, PHP is different way of thinking from go. besides go's documentation, any suggested resources?
Ousmane Traore
@otraore
Apr 27 2016 22:31 UTC
Oh there’s one really good video