3 ms·
I mean, you kind of describe web-component. Or if you are old-school, PHP templating, you can do a simple: `<div><?php include('about.html'); ?></div>` This i
by yohannparis 7y ago
I mean, you kind of describe web-component.
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.
- ollerac 7y agoI 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.