News for hackers. Stuff that matters.

breakpete

Re:Javalin – a simple web framework for Java and Kotlin on Sunday February 11, 2024 @01:58PM (#39337484)
Not sure about the older versions of Javalin, but from my experience with v5+ it just uses regular Single Abstract Method conversion for the Handler interface, which has a single method with just one parameter (the Context).
Re:Javalin – a simple web framework for Java and Kotlin on Sunday February 11, 2024 @01:47PM (#39337393)
Regarding 2, you can actually bind routes to instance methods:

  var obj = new SomeObjectWithHandlerMethods(dependency);
  var app = Javalin.create().get("/", obj::handlerMethod).start();

Edit: For 4, Javalin 6 also has some documentation regarding Servlets here: https://javalin.io/documentation#adding-other-servlets-and-f...
Re:How to distort Scrum until it no longer works on Friday October 07, 2022 @04:03PM (#33126248)
You are not doing it wrong.

Standups can be traced back to the Scrum practice Daily Scrum. The Daily Scrum is a short (max 15 minute) synchronisation meeting for developers. It is explicitly not a status meeting for PMs. It eventually became known as a standup because people figured out that it was easier to keep the meeting short when you were not sitting down.

Scrum became popular, but it didn’t really make room for traditional project managers. So what to do with all the PMs? Teach them to be Scrum Masters.

This is where things started to go downhill. Most PMs just kept doing what they had always done, just using different names.

And so standups became hour long status meetings, inspect and adapt, sustainable pace and other good things were replaced with micromanagement and death marches. Dark Scrum was born.

This is of course greatly simplified. Agile Consultants and certification peddlers are also to blame.

Re:On Go’s Web Application Ecosystem on Wednesday November 20, 2013 @01:18PM (#6769832)
There is https://github.com/peterskeide/bones (I'm the author). It's by no means a large codebase, and it's not finished, but the goal is to give you a decent starting point with some hopefully useful idioms to build on.
Re:Martini: Classy web development in Go on Thursday November 14, 2013 @04:23AM (#6731440)
There is more. The dependency injection implementation is based on reflection, using the https://github.com/codegangsta/inject package.

See e.g

https://github.com/codegangsta/martini/blob/master/martini.g...

https://github.com/codegangsta/martini/blob/master/martini.g...

Still, the end result is a nice API.