@slashtechno youâd need to;
1. cache and occasionally get the feed the the mastodon api(or rss)
2. Run a small api to get the cached contents (Maybe with #SlimFramework or #Flask )
3. Use something like #AlpineJS to fetch the content in the static frontend add it in the style you want.
#slimframework #flask #AlpineJS
Today's horrible hack: Can't work out how to get changes made to $_SESSION in middleware reflected in the Twig view dependency which is set before the middleware is triggered. Ended up forcing a page refresh which does the trick, at the cost of a HTTP request (only happens if you're not logged in but have a valid 'remember me' cookie).
If you're a PHP developer who often sets up new projects in the Slim Framework, I've created a skeleton repository that does most of the bootstrapping for you, including a local Docker environment for testing.
https://www.phpdeveloper.org.uk/skeleton-slim-4-application/
sopas, lo que empezĂł con saber como estĂĄ estructurada la #CLABE, estĂĄ terminando en una #API, leyendo sobre #OpenAPI y usando #SlimFramework o #Laravel, asĂ el dĂa ... #freelance #wtf all
#API #openapi #slimframework #laravel #freelance #wtf #clabe
akrabat/slim-api-starter: Slim API Starter
https://github.com/akrabat/slim-api-starter
Un starter simple et solide pour créer une API avec le SlimFramework.
#slimframework #PHP â https://links.kalvn.net/shaare/Pl7cgA
Slim 4 - Tutorial | Danielâs Dev Blog
https://odan.github.io/2019/11/05/slim4-tutorial.html
Un petit tuto sur Slim 4.
#slimframework #tuto â https://links.kalvn.net/?cRHxHA
Running Slim 4 in a subdirectory â Rob Allen's DevNotes
https://akrabat.com/running-slim-4-in-a-subdirectory/
Exécuter Slim 4 dans un sous-répertoire.
#slimframework â https://links.kalvn.net/?Z8dp3w
GitHub - akrabat/slim4-empty: Minimal Slim 4 starter project
https://github.com/akrabat/slim4-empty
Un point de départ minimaliste pour Slim 4.
Via https://akrabat.com/slim4-empty-minimal-slim-4-starting-point/
#slimframework â https://links.kalvn.net/?xMUiNg
Slim 4.0.0 released - Slim Framework
http://www.slimframework.com/2019/08/01/slim-4.0.0-release.html
Slim Framework v4 vient de sortir ! Beaucoup de changements Ă la fois sous le capot et dans l'API. Ăa risque de nĂ©cessiter un peu d'effort pour migrer.
#slimframework #release â https://links.kalvn.net/?VJUanA
Slim 4.0.0-alpha released - Slim Framework
https://www.slimframework.com/2019/04/25/slim-4.0.0-alpha-release.html
L'alpha de Slim Framework 4 est de sortie. Pas encore testé mais la migration d'applications utilisant la v3 vers la v4 risque de nécessiter un peu de boulot.
#slimframework #php #framework #release â https://links.kalvn.net/?DLknjg
#slimframework #php #framework #release