• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

code reuse question

Guest
Feb 02, 2008 Feb 02, 2008

Copy link to clipboard

Copied

I wrote a site for processing requests through an approval process. The site works great and I would like to reuse the code for other approval processes. The code is written in a general way so that many approval processes can use the same code. I know how to use cfmodule to reuse a file. Is there a way to reuse an entire site (not copy & paste)?

Here is a short list of requirements:
All approval processes share the same queries and front end.
Each approval process has a unique datasource.
Each approval process has a unique heading.
To the user, each approval process appears to have it’s own URL.

If you could point me in the right direction with some key words or examples I would really appreciated it.

Thank you.
TOPICS
Advanced techniques

Views

303

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Feb 03, 2008 Feb 03, 2008

Copy link to clipboard

Copied

LATEST
Make it a cfc. Key words to search on are: (pretend these have angle brackets) cfcomponent and cffunction.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation