Skip to content

Implement home frontend#38

Merged
Moltensnor merged 72 commits intomainfrom
implement-home-frontend
Jun 12, 2025
Merged

Implement home frontend#38
Moltensnor merged 72 commits intomainfrom
implement-home-frontend

Conversation

@rensPols
Copy link
Copy Markdown
Member

@rensPols rensPols commented Oct 25, 2024

Depends on: #34

closes #36, closes #37

@rensPols rensPols added the initialisation part of the initialisation of the project label Oct 25, 2024
@rensPols rensPols added this to the Initial release milestone Oct 25, 2024
@rensPols rensPols self-assigned this Oct 25, 2024
# Conflicts:
#	.idea/sqldialects.xml
…e deprecated getConnection() call it's replacement
# Conflicts:
#	src/main/kotlin/com/ex_dock/ex_dock/database/connection/ConnectionPool.kt
…e deprecated getConnection() call it's replacement
rensPols and others added 26 commits November 27, 2024 23:31
…plement-home-frontend

# Conflicts:
#	src/main/kotlin/com/ex_dock/ex_dock/MainVerticle.kt
…mplateEngine-Caching

# Conflicts:
#	src/main/kotlin/com/ex_dock/ex_dock/MainVerticle.kt
#	src/main/kotlin/com/ex_dock/ex_dock/frontend/template_engine/TemplateEngineVerticle.kt
## Cache
Added a templating cache to the templateEngineVerticle. The templates
get saved as compiled strings and can be fetched on request.

## Refresh
The data cache refreshes when data gets added/edited/removed. This only
refreshes the data that gets changed. The template cache recompiles
entirely when this happens.

## Cache data
Removed the flag from the flag data. This is because Caffeine has a
built-in cache refresh. Instead of checking if the flag is set before
fetching, it instead refreshes on data change.

## Optimization
Removed the invalidate from the hit counter and changed it to a refresh.
This makes it so the data gets fetched a bit quicker. The test now runs
in 5.532 seconds in IntelliJ itself. So with the starting time of the
verticles.

Closes #47
# Conflicts:
#	src/main/kotlin/com/ex_dock/ex_dock/MainVerticle.kt
#	src/main/kotlin/com/ex_dock/ex_dock/database/account/AccountJdbcVerticle.kt
#	src/main/kotlin/com/ex_dock/ex_dock/database/connection/ConnectionPool.kt
#	src/main/kotlin/com/ex_dock/ex_dock/database/product/ProductJdbcVerticle.kt
#	src/main/kotlin/com/ex_dock/ex_dock/database/service/ServiceData.kt
#	src/main/kotlin/com/ex_dock/ex_dock/database/service/ServiceVerticle.kt
#	src/main/kotlin/com/ex_dock/ex_dock/database/template/TemplateClasses.kt
#	src/main/kotlin/com/ex_dock/ex_dock/database/template/TemplateJdbcVerticle.kt
#	src/main/kotlin/com/ex_dock/ex_dock/frontend/template_engine/TemplateEngineVerticle.kt
#	src/main/kotlin/com/ex_dock/ex_dock/helper/VerticleDeployHelper.kt
@Moltensnor Moltensnor marked this pull request as ready for review June 12, 2025 18:23
@Moltensnor Moltensnor merged commit 26434b3 into main Jun 12, 2025
16 checks passed
@github-project-automation github-project-automation bot moved this from In progress to Done in exDock Jun 12, 2025
@Moltensnor Moltensnor deleted the implement-home-frontend branch June 12, 2025 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

initialisation part of the initialisation of the project

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement home frontend Implement frontend mechanisms

2 participants