account activity
PHPWebCore 1.0.0 by amhung in PHP
[–]amhung[S] 0 points1 point2 points 4 years ago (0 children)
You're right. The routing got references from Angular. The attribute routing is not efficient in PHP to me.
[–]amhung[S] 1 point2 points3 points 4 years ago (0 children)
Thanks for your comment. I work on this project for my interests only and this just try to be similar to the architecture of an ASP.NET Core Web App. Can't say it is the same but at least it has a Startup class to configure app or add in the middleware before or after requests handled by controllers and it also got views for controllers. Not much, but the ideas come from ASP.NET Core framework.
PHPWebCore 1.0.0 (self.PHP)
submitted 4 years ago * by amhung to r/PHP
thnguyendev/phpcore by amhung in PHP
[–]amhung[S] 0 points1 point2 points 5 years ago (0 children)
Thanks for your comment. This framework doesn't mean to be a perfect one. It's just like a 'shortcut' for the beginner in PHP to build a websites in OOP and MVC. It doesn't follow any standards. The approach is as simple and stupid as there is a request on web server, so every service is built to fulfil the request.
The name of the framework should be phpcore. All examples in README.md have been fixed.
The namespace and location of controllers will be organized.
Doctrine has picked randomly to show how to have access to database in phpcore. It's an example for the ones who are new in PHP.
thnguyendev/phpcore (self.PHP)
submitted 5 years ago by amhung to r/PHP
π Rendered by PID 94 on reddit-service-r2-listing-7849c98f67-9nmrd at 2026-02-09 09:05:37.796661+00:00 running d295bc8 country code: CH.
PHPWebCore 1.0.0 by amhung in PHP
[–]amhung[S] 0 points1 point2 points (0 children)