Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Symfony 2 application with Wordpress as CMS

I would like to build a sf2 application and maintain all the content ( categories, articles, pages, media, etc ) in WordPress with internationalization ( wpml plugin ). The app would have it's own admin and for managing the content the user would log on to the WordPress backend.

My plan is to have a sf2 controller backed up by the routing system and give it the first chance to identify a route and do its thing. If not it should then let WordPress handle the rendering of the page.

I also think that I will need to pull WordPress content in some sf2 pages like the homepage where I may want to put the newest articles alongside sf2 content.

Has anyone ever done this before? Pros and cons? Suggestions on how to implement this? Thanks!

like image 755
Liviu Avatar asked Jan 18 '13 08:01

Liviu


1 Answers

Have a look at these two projects which are approaching the Symfony-WordPress integration from different angles:

  • https://github.com/ekino/EkinoWordpressBundle provides a way to use Symfony components and services in WordPress
  • https://github.com/outlandishideas/symfony-wordpress-edition provides a way to load WordPress core into a Symfony app (disclosure: I am the main author)
like image 175
Tamlyn Avatar answered Sep 20 '22 02:09

Tamlyn