Is there a way to build a large-scale, multi-user (meaning users can register and login) web application / website with a php framework like symfony (MVC pattern) and intergrate a CMS like wordpress to manage the site?
My desired goal is to use wordpress to manage the content of the site, and quickly and easily add new features to site using the vast number of wordpress pluggins, while at the same time, having the MVC functionality i need to build new features that wordpress doesn’t provide, as well as have automated testing available through the framework.
Initially a lot of the functionality the site needs is already available through wordpress (such as setting up the homepages, blogging, forums, feeds, and feedbacks), but the site needs to be scalable in a manner that is RAD/OOP friendly and allows automated test to be ran on it.
I’m not trying to be lazy, just trying to work smarter not harder. I could create my own CMS, blogger, forum and what not through a framework, but why reinvent all those components if they already exist.
So, finally is this possible, and are there any resources (books, tutorials, case studies, blogs) on how to do this kind of thing?
thanks in advance!
I do something similar with Zend Framework & WordPress. I basically do a regular WordPress install which I set as not visible and symlink my wordpress folder to the ZF library folder, this makes all the WordPress content & functions accessible within my ZF application.
This might be frowned upon since I’m including all sorts of stuff that really is not needed… but it works well and as easy to upgrade as upgrading WordPress itself.
Joomla is MVC out of the box, seems like it would be the easy solution since its designed to be used exactly as you are describing. 1.6 is in the later stages of beta and includes quite a few access level enhancements that would also be useful.
We’ll use symfony + drupal to a similar project, but now it’s just a PoC and you can integrate both way : Symfony app inside a drupal node or drupal layout as a drop-in replacement for symfony layout.
An alternative I suggested was to use a Symfony based open source CMS/CMF (like Diem) to have a symfony only environment which would ease maintenance and initial development.
its ok… you must write plugin for wordpress
see django admin panel… its mvc python framework … and django admin panel do any things
I’m trying this as well, but it’s still in sketch mode at the moment while I work out the finer details. I guess it really depends what and how your want WordPress to manage. You could try using your php framework to be the workhorse while WordPress only does the calls for you, e.g. you use the php framework to save & provide data (via json or whatever you seem fit) while wordpress does the calls to save and displaying.
You also have to work out the authentication & authorization if you plan to use this method. 🙂
If I may, what framework are you planning to use?
There’s an article about WordPress + CodeIgniter (as a WP theme): http://marion.newlevant.com/blog/2010/12/integrating-wordpress-codeigniter/