Solved

Create a Drupal Module from CakePHP Application?

Posted on 2013-11-12
1
484 Views
Last Modified: 2013-11-26
I've got a CakePHP application sitting in my Drupal (7) web directory. No integration, just had to get it up.

But ideally, I would want to bake the CakePHP app into the site, via a Drupal Module.

Is that the right approach?

Or should I simply allow the CakePHP app be used via an iFrame on a Drupal page, giving the sense that's its part of the site?

What's the best approach? And how to go about it?
0
Comment
Question by:sandshakimi
1 Comment
 
LVL 12

Accepted Solution

by:
junipllc earned 500 total points
ID: 39647784
This is highly dependent on the content and nature of the CakePHP application, although I would suspect that you'd want to rewrite the app using Drupal's API. In fact, you'd pretty much have to rewrite it if you want it to be a Drupal module.

You may also be able to integrate the app with Drupal by using the Services module or some other method (e.g. REST). Drupal can interface with external applications that way, and it's relatively simple if you know how to create the other half in Cake.

That said, if it's a complicated application, then personally, I'd probably use the iframe. But that also depends on timeframe and budget.

I'm sorry I can't be of more help!

Cheers,

Mike
0

Featured Post

ScreenConnect 6.0 Free Trial

Check out the updates in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI that improves session organization and overall user experience. See the enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this article you'll learn how to use Ajax calls within your CodeIgniter application. To explain this, I'll illustrate how to implement a simple contact form to allow visitors to send you an email through your web site.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question