Or if you are old-school, PHP templating, you can do a simple: `<div><?php include('about.html'); ?></div>`
This is how I did most of my static files website 10+ years ago. I had an `index.php` file that based on URL will load the content of an article. This is what PHP was created for.
I guess I'm looking for web-components with really powerful APIs. I could see it happening within the next couple years: building a full web app using only 4-5 new concepts on the front-end, all powered by web components.
Any good resources you'd recommend on that? I've been looking around and it seems like a lot of projects are still in the early phases.
Also, yes, PHP is awesome. Just not built for the modern web. Still is a really impressive language, however. I just wish there was a PHP equivalent built specifically for building dynamic, real-time web applications.
Or if you are old-school, PHP templating, you can do a simple: `<div><?php include('about.html'); ?></div>`
This is how I did most of my static files website 10+ years ago. I had an `index.php` file that based on URL will load the content of an article. This is what PHP was created for.