I am currently designing a website from scratch and i'm looking for some guidance. I understand PHP7, OOD, Database architecture, and some software designs like MVC, HMVC, and PAC. I am struggling with how to exactly to implement the entire idea into one of these systems, and if MVC, HMVC, or PAC is a "right" way to go about it.
Let me explain further. Basically the whole idea is to make a website from the ground-up. There is a registration, a login, forum category views, forum boards view, and a forum topic view. I will be adding more features in later on down the road like some extra features for the website that make the entire website unique and all of this will be integrated together. So for example ?page=MyNewContent and then that will bring up an interactive page where users can change things.
I first thought HMVC would be perfect, but my initial designs are proving this to be a little bit of a challenge in the given the situation. I also want to account for scalability at the same time. (I know, totally violating KISS) ; Basically I want it so that If a specific "MVC instance" is hosted remotely rather than locally it'll still work flawlessly. So, initially I thought an API with JSON response and proper caching would be great. Then I started thinking about the issues along with that; like how many database requests and the latency behind all that. I don't think it would be viable, would it?
I am not using a framework by-the-way. Maybe someone has a reference for a good HMVC framework? I initially thought Codeignitor with HMVC would work, but i'm seeing there are some issues tagged along with that. Symfony2 isn't really MVC, and I don't believe it handles managing Controllers very well without an ORM library. (back to square-one)
Oh, this project is using PHP7 and a RDBMS.Has anyone encountered these issues before? How did you overcome them? What do you prefer and why?
Also, thanks for your time.