I'm developing a web application in Yii (1.1 & 2.0), now the client wants to integrate WordPress in it so he can manage contents on his own.
So how can I integrate Drupal in Yii and how advanced they are?
Both Drupal and Wordpress are CMS, while Yii is a generic web application framework. You can't integrate Drupal or Wordpress in Yii, that does not make much sense and will probably cause issues. Yii likely expect your application to be structured in a particular way, and neither Drupal or Wordpress will comply with that. What is doable, is to have a Wordpress or Drupal site used for content management but not actually used to display the content to the end user. And Have a Yii application query them via an HTTP based API.
For Drupal, this is doable using the Services module.
It actually depends on what your client exactly needs.
Yii and Wordpress can be integrated in two ways (workflows) :
Wordpress under Yii (as an application).
This comprehensive guide goes through it.
Yii to power a plugin under wordpress.
You have no constraints here as wordpress is pretty flexible, you will just need to properly include Yii as you would include any other script when coding a Wordpress plugin.
As far as I understood, your are in the first scenario.
Related
I intend to use WP to setup a freelancers website (similar to oDesk) to connect service providers with service seekers in a WEB 2.0 dynamic environment. This site requires multiple forms to enter and retrieve information using database and show them in filtered or non-filtered views in separate pages.
Please advise if there are available plugins to expedite developing this site, or otherwise any guidance would be appreciated. I specifically would like to know how to connect forms to database and then how to retrieve this information from the DB.
Regards,
You are likely going to have to create your own custom WordPress theme, using various custom PHP pages to connect your web forms to your database. I think your project is well beyond the scope of a simple WP plugin.
If this was my project, I'd ditch WordPress and go for something custom built in Rails. WordPress is a good enough CMS, but it isn't really a good fit for what you are looking to accomplish.
I created the site http://staffmeup.com/
We love the look of the home pages of some wordpress themes we've seen recently.
QUESTION: in theory, is it possible to use a wordpress theme as our home page at staffmeup.com, but then have all of the rest of the internal pages of the site run as it is currently built? (below, per my developer). If it is at least possible, are there any strong cautions or reasons not to do it?
1) The site is built using Zend Framework 2 on a traditional LAMP stack
2) Server is LAMP (Linux, Apache, MySQL, PHP)
3) We run PHP 5.3
Of course it is possible, but it doesn't make any sense and integrating the two platforms would still require a developer and most likely would ultimately be more work (not to mention be a lot harder to update and maintain both from an admin perspective and a development perspective) than simply mimicking the design or functionality of one of the Wordpress theme home pages you like while staying in your current platform and framework.
In short, yes it's technically possible, but realistically it doesn't particularly make sense to do so. The only reason I can think you might want to use Wordpress for the home page and your own custom platform for the rest of the site is to avoid paying your developer for more hours to build the homepage on your platform, but integrating Wordpress with your existing site is going to take developer expertise anyway so that's a moot point.
It would make more sense to take the Wordpress theme's home page code (HTML/CSS/JS) and associated template(s) and adapt them to use whatever templating system (PHP) your site uses rather than Wordpress's templating system.
The future development of my symfony2 project
( which is actually more or less a static website with an authentification system )
would be to provide authentified users a CMS to easily edit text and images / import files / create pages / give acces to their pages as the website grows and evolves.
I have been thinking implementing my project with Drupal would be way forward .
how can i proceed ?
Is doing the reverse better?
what are other options?
I am not sure what you mean by 'the reverse', but there is a Symfony module available for D7. I would suggest setting up a Drupal test bed and seeing about integrating your site into drupal.
It is my understanding that Symfony2 has gone into core in D8, but D8 is probably a long way from initial release.
I am currently working on elgg based site and I want to integrate drupal with elgg1.7 or 1.8 as a cms for elgg.Is this possible?If this is, please suggest how can I do this?Is there any plugin for this or any other way?
Thanks for your help!!!!
there is currently no way to integrate a drupal and an elgg website directly. However, you can set them up as 2 separate websites on different subdomains. And then add drupal/elgg modules to create the linkages you desire. It depends on what features you want, so you can have redirects to the drupal site to add the content. And then on the elgg site, you can have a module there that pulls the drupal content and displays it.
You can integrate Elgg with any CMS, or any DB driven sites provided you have a knowledge of the Elgg API's and general php. You can share the session between the Elgg and your external software, or use the Elgg's API to check the user login status and make the users login / register depending on that.
I saw in wordpress some APIs being published for developers. What could a developer gain by using those APIs?
I think you've taken API to mean something similar to what Flickr and Vimeo do, which they are not. They are simply ways for you to access and ammend core functionality of the Wordpress platform, so as to bend it to do what ever it is you need it to do.
There are ways to pull data from your blog to a mobile devise, but that is a very different question.
Wordpress API are for those that want to develop a theme, or writing custom plugins for Wordpress.
Either way, you can use to integrate Wordpress in your exisiting php site, using the powerful backend as an administration tool and the using the API to retrieve the content and present it in your (already) website.
http://codex.wordpress.org/Integrating_WordPress_with_Your_Website