Repository navigation
esoul-cz/guidelines 0.2.1: V2 template follow-ups - conditional derived-data rule, LSR network guard and queue path, Astro template names
Follow-ups from the V2 review of the app templates.
Changed
- Derived data: the rule that a shared base test class fakes the recomputation of read models, search indexes, projections, feeds and sitemaps applies only when the project has derived data; the Laravel template ships neither the fake nor the
WithDerivedDatatrait. - LSR testing: the network guard is a DI HTTP client bound to a fake in tests plus a PHPUnit extension that fails http(s) stream requests to anything but localhost; raw sockets are covered by review.
- LSR: the
boltdbjobs queue file lives in/app/temp/queue/(replacing the open path), and cache cleaning (cache:clean, the generated-cache cleanup of/prepare-runtime) leaves it alone. - Astro:
B-adminhas theastro-ssrtemplate (an ADR is still required;D-static-apihas no template yet). The three templates are named (laravel-cms,astro-cms-frontendand the rootastro-cms), a no-CMS site that needs forms starts its backend fromlaravel-cms, and the subdomain is the default of the CMS backend with a path as the documented exception. - README:
package/lunarwill be written from the first Lunar project.