4 ms·
NO-Framework approach to PHP
- krapp 10y ago..and when you try to extend this to something reasonably complex, including third party libraries and a database, you'll realize why people stopped writing PHP like this years ago.
- rubyfan 10y agoThe actually looks like a simple single controller action using a view model. Nothing really stops you from implementing other abstractions like ORMs, state machine, authentication, web service calls, etc. I actually think you could build a relatively well organized large project with not much more than this really needed.
- slim 10y agoIf this is not a joke, op is really a victim of framework formatting of his brain. That render() function rendering <?=> tags is just.. I don't know.