Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: What's the reason for not using a web framework? #27

Closed
abraithwaite opened this issue Feb 9, 2014 · 3 comments
Closed

Question: What's the reason for not using a web framework? #27

abraithwaite opened this issue Feb 9, 2014 · 3 comments

Comments

@abraithwaite
Copy link

Simply out of curiosity, what was the reason you chose not to go with one of the golang web frameworks?

@bradrydzewski
Copy link

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?

@abraithwaite
Copy link
Author

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.

@bradrydzewski
Copy link

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!

johannesHarness pushed a commit that referenced this issue Sep 26, 2023
* initial work on create repository

* create repository as single method call using client stream

* resources handler and files

* minor fix for wire dep graph
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants