Solved

Create a Drupal Module from CakePHP Application?

Posted on 2013-11-12
1
491 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
There is a huge demand for CodeIgniter among the PHP web developers due to its dynamic features and benefits these days. It is one of most popular and agile open source PHP framework for creating robust web applications in PHP web development field.…
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 dynamically set the form action using jQuery.

730 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