Javalin: Javalin Book? (Please comment)

Created on 24 Feb 2019  路  20Comments  路  Source: tipsy/javalin

I'm considering writing a book on Web Development using Javalin. It would cover the same topics as the docs and tutorials, but also go a bit more in-depth and include more examples. I'm wonder if there's any interest in this. Please let me know.

image

Edit: You can use thumbs up/down.

INPUT WANTED

Most helpful comment

@humb1t sorry, I missed this comment. You're correct about enableMicrometer not publishing stats by default. There was supposed to be a tutorial, I will ask about it.

All 20 comments

I am Interested.

Interested as well!

Yes.

btw, I found the only Javalin YouTube video? https://youtu.be/tU78_bUBbmQ

Regards

Simon

I am interested.

i am interested !!

how can i get this book?

@mbrn82 I need to write it first 馃

I'm not sure I will, but if I do it will be for Javalin 3.0.

I'm interested

So am i! :)

Especially in new features like micrometer support.

@humb1t that's just 1 line of code: app.enableMicrometer().

@tipsy, sry if I'm too newbie in the usage of Javalin.
I told about something like https://github.com/tobiasdrechsel/javalin-metrics-example/blob/master/src/main/java/javalin/metrics/example/App.java - because if I understand it right, app.enableMicrometer() will not publish metrics by default, you should configure it manually.

@humb1t sorry, I missed this comment. You're correct about enableMicrometer not publishing stats by default. There was supposed to be a tutorial, I will ask about it.

@tipsy thanks, I found a draft of the tutorial in your discussion on micrometer pull request. I took it and applied to my kotlin project. but the reason I wrote it here, that for me as a not experienced Javalin user was not clear how to work with plugins and why we have enableMicrometer instead of enableMetric(Providers.Micrometer)

If you would put a couple of words in a book about it, I think it would help new users to understand the idea

@tipsy
If you are considering structure suggestions for the book, here are my 2 cents, with the view to target wide audiences without loosing attention to nuances:

Purpose and Overview

Tutorial Section:

#### Web Backends
    Introduction
    Architecture overview
    SPA applications
    Multi Page applications 
    + All the other sections you already mentioned (WS, Push, etc)
    Modern Web Application security (JWT, CORS, Security Headers)
    Scalable Session Management
    Scalable and Recoverable State management
    Distributed Scalability

#### MicroServices
Introduction
Architecture Overview
Orchestration
Protocols and Formats (JSON, GRPC, etc)
API documentation

Reference Section

  Build Pipeline
  CI Environment
  Understanding benchmarks
  Tuning Javalin and Jetty
  Integration with External Application engines
  Integration with externa caching solutions
  Integration with monitoring solutions
  Extending Javalin
  Reference for key APIs

Sections are structured such that most fluid (likely to be modified by upcoming releases) sections
are at the end, this way you can extend even a printed copy of the book with electronic end-of-book references.
(sorry for above formatting, cannot seem to fix subsections)

Thanks for your input @vladp ! I've tried to look at this, but I think it will take a lot of time to complete. I haven't given up on it though.

This is a great initiative. I am interested as well. Along with the topics, please do include integration with databases, queues, etc. As Javalin is mostly will be used for microservices due to its small footprint, the inclusion of these will be great. Probably include DI in the Advanced topics as well.

I am planning to migrate to Javalin from Spring Boot. DI is handled with dinject but there has been no books or tutorials on integrations with queues or databases.

I like the idea but for starters current examples and web site do just fine in my opinion, maybe writing on more advanced topics would be more interesting

I have been looking forward to such a document. Javalin is a very good project. It is limited to the overall understanding and familiarity of the project. In the use, I don鈥檛 understand the main points. I missed many elegant methods and specifications, and I look forward to being able to update. In view of the current trend of mainstream springboot and spring cloud alibaba cloud services, it is expected to be more convenient to access these projects, grpc project

I've started on this a couple of times now, but I just don't think it's realistic to complete.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ShikaSD picture ShikaSD  路  5Comments

jonerer picture jonerer  路  4Comments

gane5h picture gane5h  路  3Comments

tipsy picture tipsy  路  4Comments

davioooh picture davioooh  路  3Comments