Create a custom module from existing PHP application?

I'm being given a PHP application developed by a third party to incorporate into our existing Drupal site.

I naturally want to incorporate this app. as a Drupal module (conventional approach I assume?), so is there a best practice approach to this, versus creating a module from a blank slate?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I think that is really very dependent on the application itself. You can build a module, yes, but there are also a number of interfaces, including the Services and Feeds modules (just to name two), so you may not need to write a module.

However, if you are going to write a module, starting from scratch might get you a more focused module to do exactly what you need and nothing more. Also, there is a lot of example code in the Examples project that you can probably build from:

What does the app do, and what type of integration do you need? Maybe I should have asked that first. :)


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.