Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.x ideas #41

Open
kbond opened this issue Nov 8, 2023 · 1 comment
Open

4.x ideas #41

kbond opened this issue Nov 8, 2023 · 1 comment

Comments

@kbond
Copy link
Member

kbond commented Nov 8, 2023

  • Rich models (cannot be created in an invalid state)
  • RedirectDto to be used by the form type (will require a custom unique entity validator until [DoctrineBridge][Validator] Allow validating every class against unique entity constraint symfony/symfony#38662 is available)
  • Option to use messenger to update Redirect stats
  • Option to use messenger to create/update NotFound
  • NotFound changes
    • split into:
      • SimpleNotFound: single row for each source with count/last accessed
      • AdvancedNotFound: row for every 404 occurrence (same as 3.x)
    • new config options:
      • absolute (false by default): include domain/scheme in source
      • include_query (false by default): include query in source
@tacman
Copy link
Contributor

tacman commented Jun 10, 2024

Expand the idea of this bundle to include not just redirects and Not Found, but also "found" pages/entities/calls.

I've been using https://github.com/tchoulom/ViewCounterBundle to track page visits, but it's really more than page visits, because sometimes I need to track certain types of JSON calls (e.g. fetch this data from api-platform and reload it via javascript is a "page view"). That bundle needs to handle it's tracking via dispatching a message, currently the view count slows down the site by updating the database in the page handler.

It might be outside the scope of this bundle, but since this is the "ideas" thread, I thought I'd post it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants