EllisLab text mark
Advanced Search
     
Using drupal as a backend for codeigniter application?
Posted: 03 November 2012 03:20 AM   [ Ignore ]
Joined: 2011-07-06
10 posts

Hi,

I am building a web application using CI HMVC framework. My question is very simple. How wise it would be to use drupal as a backend in a codeigniter application. By the term backend I mean, the admin part will be a drupal installation. All I want to acheive is codeigniter will be interacting with drupal database and pull the information from over there to display it on frontend. In short my frontend will be a codeigniter application which will be using drupal database. Has anyone tried this?

 
Posted: 04 November 2012 11:55 AM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2008-09-06
85 posts

I haven’t tried it yet but i think it is possible, because CI just use Drupal database to display data which you can write MVC separately with Drupal application.

 Signature 

Akhmad Sofwan ~ Independent Web Application Developer
———————-
http://www.sofwan.net

 
Posted: 05 November 2012 02:18 AM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2007-11-28
2435 posts

Seems kind of silly since Drupal is designed to do both front and back together (it is a CMS, after all). But it can be done.

 
Posted: 06 November 2012 12:31 AM   [ Ignore ]   [ # 3 ]   [ Rating: 0 ]
Avatar
Joined: 2012-11-06
2 posts

If you want to display drupal’s data in CI, it is possible. You should only need to know in which table,field in which format data is saved by drupal.