I know there is an actual module called Drake that interfaces cakephp apps with drupal. What would folks think of integrating CI with Drupal?

Frameworks just makes life easier. Tell me what you folks think!

Comments

scott.criswell’s picture

I would like to see this happen.

canuckclint’s picture

make it happen please and now!

schneider707’s picture

bump for great justice. I feel like I need to drop ci and learn cake just because of this very reason. Please someone get this going =)

krishaamer’s picture

+1 dumping Drupal for CI if no module

sommergemüse’s picture

Bumping too this would be awesome

zbrown’s picture

I would like to work with some people on this project

We could call it Drupal Igniter

mahtoranjeet’s picture

I would like to work with drupal igniter project.

doniking’s picture

bump

1kenthomas’s picture

Subscribing.

one4all’s picture

Absolutly essential

readyman’s picture

Were there any developments with this? What about a port of the drake mod to code igniter using the same principles?

WorldFallz’s picture

as long as all people do is bump and subscribe to this thread and say things like 'make this happen', my guess is no, nothing will come of it.

readyman’s picture

Thanks for adding to the discussion. Some of us are just trying to get connected before even attempting any form of deployment.

kusoayan’s picture

so you're working on it now ?
make drupal in CI ?

sikker’s picture

There are some pretty important performance issues to consider.

The easiest, quickest and dirtiest way is to simply load both Drupal and CodeIgniter in their full glory and make some sort of abstraction between them and make them able to read and write each other's objects.

However, that is incredibly performance consuming and brings a lot of unnecesary overhead. What makes CodeIgniter awesome is the MVC approach and the readily available libraries and resources. Most of these resources are available in Drupal, so what we need to import is more or less just the MVC approach.

What we should do is make an as sleek abstraction as possible making a 1:1 redirection of CodeIgniter library calls to their corresponding Drupal modules. Make the code look like CodeIgniter code, without using any of the CodeIgniter base files. In short, cut the crap.

For instance, there would be no CodeIgniter database class -- $this->db would instead refer to an abstraction object that redirects the query calls to the Drupal database connection through PDO.

readyman’s picture

Thanks very much. Yes, I think that would be a much better approach to slightly modify codeigniter to translate to drupal calls. After all, Drupal would be the 'host' application. Thinking out loud, a drupal library for codeigniter might be one approach.

Barn0wl’s picture

Bump for a long desired integration!

WorldFallz’s picture

As d8 involves migrating significant portions of core to symfony, I can pretty much guarantee this will never happen. Learn symfony instead.

johngreenwoods’s picture

Absolutely It would be great..