I have a mid size project that I need to implement on WordPress. I am fimiliar with MVC but don’t know if I can use it in conjunction with WordPress?
I intent to use wordpress loaded images, Menus and theme only from the wordpress every thing else particularly pages ( that are going to be linked with menus) isolated from wordpress. So whenever a page is requested WP controller delagates control to my controller. This is getting me headache !!!
You can merely use everything in conjunction with WordPress, however, if you tightly couple with WordPress you can’t:
While you speak about MVC I assume you use it as a term for the high-level-design of a software. As long as you’re able to decouple your project from WordPress itself, the answer is yes.
If you’re not able to do so, the answer is no. WordPress itself does not offer anything that you could re-use easily to bring in MVC, it’s own design is something totally different.
However as WordPress is a software with a level of legacy introduced complexity, you need to think twice if it is actually worth to completely de-couple from WordPress or if it’s not just the technical debt it comes with that you need to legacy-align your code as well.
I highly suggest to use a decentralized version control system like git to create whatever you do. You can find a github mirror of WordPress here: https://github.com/WordPress/WordPress
I’d say for small to mid-size projects this is the tool of choice. Keep design decisions low, as you’re integrating with an existing platform so that you can’t do anything greenfield anyway.