Re:EHTML: Front-end development can and should be simple
by aylmao on Wednesday November 27, 2019 @06:43PM
(#21653301)
Lee Bryon had a fantastic talk about this during the last React Conf, check it out [1]. He talks about the cyclic nature of programming paradigms, and how we might actually be "going back to PHP" and that might not necessarily be a bad thing.
PHP does after all have a straightforward mental model and expressive syntax, but now we have learned to build better (more secure, more resilient, performant, better architected, etc) web apps. IMO very worth a watch.
Re:EHTML: Front-end development can and should be simple
by bhhaskin on Thursday November 28, 2019 @12:59AM
(#21654950)
I would argue that we have never left PHP. WordPress powers 34% of the web. It's fast and flexible, and modern PHP is actually a delight to work in. It's also pretty secure. You have to go out of your way to make it insecure. Which is an issue with any programming language.
Re:EHTML: Front-end development can and should be simple
by qwerty456127 on Wednesday November 27, 2019 @07:09PM
(#21653499)
> In-page PHP is ugly
Why? Although I agree PHP itself is ugly, I always considered this particular part beautiful and alone worth tolerating the rest.
In-page PHP is ugly, but it sure let normal people who had gotten comfortable with serving static HTML make dynamic web pages quickly. It's also highly performant.