Solved

Create a Drupal Module from CakePHP Application?

Posted on 2013-11-12
1
474 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
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…
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…
The viewer will learn how to dynamically set the form action using jQuery.

708 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now