Git Product home page Git Product logo

Comments (3)

bradrydzewski avatar bradrydzewski commented on May 18, 2024

Hi Alan, I'll write a blog post about the topic of web development with Go, and some of the choices we made. We did use a number of tools to simplify development:

  • bmizerany/pat for routing
  • dchest/authcookie for secure cookies
  • dchest/passwordreset for password reset
  • russross/meddler for database mapping

Were there any specific frameworks you were wondering about?

from gitness.

abraithwaite avatar abraithwaite commented on May 18, 2024

Ah, I didn't see you were using pat. It looks like the combination of those packages is a pretty comprehensive solution. Although, the one thing that stuck out to me was writing raw SQL. I'm not even sure if there are any good ORM framework for golang yet, but that's primarily what I value in a framework.

I haven't written anything in golang personally, but after hearing about Docker I had essentially the same idea for building a application that tests using Docker containers.

The killer feature that I want it for is committing the container image to an index after testing is completed, allowing for developers to check out the result locally and debug the result.

Anyways, my advice to you is if you want to have lots of good contributions then write a design document describing your architecture and libraries that you use so that new contributors can get started quickly.

I really like what you're doing here and I hope I can find time to contribute something. You can count on me watching this and trying it out for myself.

from gitness.

bradrydzewski avatar bradrydzewski commented on May 18, 2024

Yes, I'll definitely write some documentation on the architecture and project organization

there are two main orms in go:

gorp doesn't support joins so you'd end up writing your own SQL anyway. gorm was brand new when we started building Drone and we wanted something stable. It may be worth another look.

meddler is nice because it generates the SQL for INSERT and UPDATE, and handles column mapping for our SELECT statements. So we only had to write SELECT statements, which wasn't too painful. I think what I really miss is a good migration utility provided by most ORMs

support for publishing Docker images should land this month, so stay tuned!

from gitness.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.