Solved

Create a Drupal Module from CakePHP Application?

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

Free camera licenses with purchase of My Cloud NAS

Milestone Arcus software is compatible with thousands of industry-leading cameras for added flexibility. Upon installation on your My Cloud NAS, you will receive two (2) camera licenses already enabled in the software. And for a limited time, get additional camera licenses FREE.

Question has a verified solution.

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

I imagine that there are some, like me, who require a way of getting currency exchange rates for implementation in web project from time to time, so I thought I would share a solution that I have developed for this purpose. It turns out that Yaho…
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…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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 …

929 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

7 Experts available now in Live!

Get 1:1 Help Now