7

Extension codestarts - A new way to learn & discover Quarkus

 3 years ago
source link: https://quarkus.io/blog/extension-codestarts-a-new-way-to-learn-and-discover-quarkus/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Extension codestarts - A new way to learn & discover Quarkus

444d54a22db43a0a622180b1ca11dedb

By Andy Damevin

What’s nice about Extension codestarts is that it’s useful for fresh Quarkus developers as well as experienced ones. This is because of the wide range (and growing) of Quarkus extensions, you simply can’t know them all.

When I am comparing frameworks, I think that Doc is a very important factor, but I am also often pretty lazy when it comes to reading it…​ don’t you?

By the way you can see that Quarkus is pretty well documented.

With this feature, we tried to take it a step further and transform that boring learning part to the thing we love most CODING..

Starting now, when you wish to try some new extensions, you directly have the code showing you their true power, ready to run in your favorite IDE in a matter of seconds!

All this, using your chosen build tool (Maven, Gradle or also Gradle with Kotlin DSL) and your chosen language (Java, Kotlin or Scala).

It’s been slowly making its way in for a while now (since 1.7), Codestarts are now the official way of generating your Quarkus applications starting from 1.10!

cloud native quarkus app

Existing Extension codestarts

We already prepared examples for a dozen of extensions, you may spot them on code.quarkus.io (with the jet fighter icon).

You can also find them on most of our Quarkus tooling:

  • The Quarkus Maven plugin:

    mvn io.quarkus:quarkus-maven-plugin:create
  • The Quarkus CLI, it is still experimental, and we don’t provide an installer yet. Still, you can easily try it using the amazing JBang

    jbang cli@quarkusio create
  • The IDE plugins which support "Wizards w/code.quarkus.io"

A bit of fun in some of our examples

My favorite one is the new Qute example with a subatomic-particles generator :)

qute and quarks

We need more Extension codestarts!

Codestarts are designed to make it easy and quick to provide new examples for extensions. So whether you are an extension owner, or you are keen to create an example for an extension you like, contributions are very welcome!

For now, we focus on the core extensions, but we will make it available to the broader ecosystem soon.


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK