4 ms·
This proves my point from the last paragraph. I’ve also found this solution in the past, but it is too complex for me. Just to define a page, I would write an
by kioleanu 3y ago
This proves my point from the last paragraph.
I’ve also found this solution in the past, but it is too complex for me. Just to define a page, I would write an SPI, do a config in the admin panel and the corresponding documentation I would need to write for my colleagues. One of those is bound to get forgotten and not get updated, which brings me to square one, keeping a HTML file updated.
That’s why I would prefer a solution in which I register the endpoint programmatically and make it parse the template. I do it once and I don’t need to config the instances afterwards (we have dev, staging and prod)