?
Solved

Create a Drupal Module from CakePHP Application?

Posted on 2013-11-12
1
Medium Priority
?
517 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 2000 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
The purpose of this video is to demonstrate how to set up the WordPress backend so that each page automatically generates a Mailchimp signup form in the sidebar. This will be demonstrated using a Windows 8 PC. Tools Used are Photoshop, Awesome…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
Suggested Courses
Course of the Month16 days, 13 hours left to enroll

862 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