feat(website): quickstart graph example, snippet variants, and comparison updates#194
Merged
Merged
Conversation
…ison updates - Quickstart: retitle to "Zero to Storm in 5 minutes", model two linked entities and query across the relation, lead the setup with the Gradle build (Storm CLI as a follow-up suggestion), and close with a star link - Snippet variants: Kotlin 2.0-2.4 install snippets and per-database DDL (H2, PostgreSQL, MySQL/MariaDB, Oracle, SQL Server, SQLite) selectable in the editor title bar; copy buttons on the copyable blocks (shared editor() gains variants and copy support) - Fix quickstart DDL that used MySQL-only AUTO_INCREMENT, which H2 2.x rejects outside compatibility modes - Landing: quickstart and comparison buttons in the hero with a gradient primary, tightened phone layout; GitHub links open in a new tab site-wide - Build-a-REST-API tutorial: same variants and copy buttons; routes use repository<>() consistently via a new FolderRepository and insertAndFetch - Comparison page: rows for session state, deferred loading, standalone transactions, row mapping, and query across relations; Jimmer covered in the cards instead of the matrix; Storm column highlighted with the brand gradient - Docs comparison (current and 1.12.0): session state and query-across-relations rows; the SQL row now credits each framework's raw SQL support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Quickstart
Director,Moviewith@FK), multiple inserts, and a query across the relation (Movie_.director.name like "Chris%"), with the generated single-statement join visible via Show SQLSnippet variants and copy buttons
editor()in the shared tutorial theme gains a title-bar variant selector and a Copy button (copy text derived from the highlighted code, so snippets and clipboard content cannot drift)storm-compiler-pluginversions; sharedKOTLIN_VARIANTS)DATABASE_VARIANTS); fixes the previous script's MySQL-onlyAUTO_INCREMENT, which H2 2.x rejects outside compatibility modes, and gives MySQL its required table-levelFOREIGN KEYLanding page
rel="noopener")Build-a-REST-API tutorial
repository<>()consistently: new one-lineFolderRepository,insertAndFetchfor the create pathComparison
Test plan
npm run buildpasses; all pages verified rendering on a localdocusaurus serve(landing, quickstart, comparison, tutorial,/docs/comparison,/docs/next/comparison)