Skip to content

docs(readme): lead with positioning and code, plugin-first Gradle setup#245

Merged
zantvoort merged 1 commit into
mainfrom
docs/readme-adoption
Jul 12, 2026
Merged

docs(readme): lead with positioning and code, plugin-first Gradle setup#245
zantvoort merged 1 commit into
mainfrom
docs/readme-adoption

Conversation

@zantvoort

Copy link
Copy Markdown
Collaborator

Optimizes the README for adoption, aligning its positioning with the website and getting code above the fold.

Adoption rewrite

  • Sharp opener. Replaces the generic "modern, high-performance ORM" intro with the site's positioning: "the type-safe, SQL-first ORM for Kotlin 2.0+ and Java 21+ ... no proxies, no N+1, no persistence context."
  • Code above the fold. A concise Kotlin sample (entity, one-line type-safe query, custom repository, SQL template) now appears at line 13 instead of line 51. Storm's conciseness is the pitch, so the code makes it.
  • Cut the filler. The 7-bullet "Core ORM benefits" list is gone; the comparison table just below made the same case more credibly.
  • Kotlin-first. A "More Kotlin" section (block DSL, Flow streaming, coroutine transactions) replaces the old side-by-side Kotlin/Java code blocks; Java stays clearly supported through a pointer to the Java example and the String Templates guide.
  • Style. Em dashes and smart quotes removed to match the site's copy conventions. Net −70 lines.

Gradle setup, plugin-first

  • Leads with the Storm Gradle plugin (plugins { id("st.orm") version "1.13.0" }) as the one-block install; the BOM + per-module declarations remain as the "without the plugin" fallback and for Maven.
  • Literal version, auto-synced. GitHub serves the README raw, with no @@STORM_VERSION@@ substitution (the placeholder the docs/ build uses), so the README currently shows that token literally to visitors. The examples now carry a real version (1.13.0), and release.yml's version-docs job rewrites it to the released tag in the same commit as the docs snapshot, so it is never bumped by hand. The Kotlin and KSP plugin versions are left untouched by the sync (verified).

Structurally unchanged below the setup section: the module table, AI-assisted development, examples, the full documentation index, database support, requirements, community, and license.

Optimize the README for adoption:
- Open with the site's positioning line (type-safe, SQL-first, no
  proxies/N+1/persistence context) and a concise Kotlin sample above the
  fold, so code appears by line 13 instead of 51.
- Drop the generic 'Core ORM benefits' bullet list; the comparison table
  already makes the case better.
- Kotlin-first: a 'More Kotlin' section (block DSL, Flow, transactions)
  replaces the parallel Kotlin/Java blocks; Java kept as a pointer.
- Remove em dashes and smart quotes to match site copy conventions.

Gradle setup:
- Lead with the Storm Gradle plugin (id("st.orm")) as the one-block
  install; keep the BOM + per-module path as the without-the-plugin
  fallback (and for Maven).
- Use a literal version in the README (GitHub serves it raw, so the
  @@STORM_VERSION@@ placeholder used in docs/ would render literally).
  release.yml now rewrites the README version in the same commit as the
  docs snapshot, so it is never bumped by hand.
@zantvoort zantvoort merged commit 0ff7e3d into main Jul 12, 2026
7 checks passed
@zantvoort zantvoort deleted the docs/readme-adoption branch July 12, 2026 18:27
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

Successfully merging this pull request may close these issues.

1 participant