Flagsmith / Flagsmith/flagsmith-php-client
Improve developer UX for using local evaluation in PHP client
- Lenguaje dominante
- PHP
- Estrellas
- 18
- Forks
- 13
- Merge medio
- 28 min
- PR fusionados (30 d)
- 1
Descripción
As per the issues #99 & #101, there are a few developer UX issues when using local evaluation in our PHP client which we should try to resolve.
The key issue here is that it is currently required to create a separate cron job to update the environment document cache outside of the integration of the Flagsmith SDK into the customer application. It may not be possible to remove this, but there are improvements that we can make:
1. The documentation is not overly clear - we should provide exact steps on how to achieve a working set up of local evaluation mode in PHP
2. The functionality to enable local evaluation mode relies on the `environmentTtl` property which, when set in the client itself and not in the cron job, seemingly has no effect other than to enable local evaluation mode. We should look to bring this functionality more in-line with the rest of the clients, and add an `enableLocalEvaluation` argument.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Revisa la implementación actual de la evaluación local del cliente PHP y la documentación para configurar la evaluación local con la caché de documentos del entorno. Compara cómo exponen otros clientes la evaluación local y el comportamiento de TTL, y después actualiza el comportamiento de PHP y las instrucciones de configuración para que se cubran el flujo solicitado de enableLocalEvaluation y los pasos exactos que funcionan.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- php
- Área
- developer-experience, documentation
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 38/100