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

ColdFusion Projects

New Here ,
Jul 23, 2009 Jul 23, 2009

Hello,

I am new to Coldfusion and need to know the best way to handle projects. I come from the ASP.Net world and I am specifically interested in the following. I have an intranet site setup which houses many small projects (i.e,. accounting, admin, etc.) Should I setup one project in ColdFusion and have each one of these small projects be "folders" in the large project or should each small project be setup as a separate ColdFusion project. The reason for the question is all users in our site have access to all components and so I want a unified login.

Thank you in advance for your assistance.

--mitch

555
Translate
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

correct answers 1 Correct answer

Valorous Hero , Jul 23, 2009 Jul 23, 2009

"ColdFusion" has no concept of "projects" as you are describing them.  The ColdFusion application server is going to treat all CFML code equally.

There is the concept of "Applications" in ColdFusion that is defined by the application name set in an <cfapplication name="">, usually located in an Application.cfm file OR this.name property of an Application.cfc file.  Any CFML file that is processed with the same string for a name will share common application and session memory so that state data,

...
Translate
Advisor ,
Jul 23, 2009 Jul 23, 2009

What authentication and authorization mechanism do you want to use?  If you're going to rely on ColdFusion sessions you will probably want to organize your site as a series of directories under a master application.  Since session variables are owned by both the assigned user and the application scope.
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=sharedVars_10.html#1205270


The CF documentation may also be helpful in making your decision.
http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=appFramework_01.html

Translate
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
Valorous Hero ,
Jul 23, 2009 Jul 23, 2009
LATEST

"ColdFusion" has no concept of "projects" as you are describing them.  The ColdFusion application server is going to treat all CFML code equally.

There is the concept of "Applications" in ColdFusion that is defined by the application name set in an <cfapplication name="">, usually located in an Application.cfm file OR this.name property of an Application.cfc file.  Any CFML file that is processed with the same string for a name will share common application and session memory so that state data, such as user login in state can be maintained from request to request.

ColdFusion Integrated Development Environments (IDE) such as CFEclipse, Dreamweaver and the new Bolt, have the concept of "projects" but these are seperate and can be independant of the 'Applications' that are defined on the server.  With it being quite possible and easy for serval projects in your developement tool to run under the same application on the server or vice-a-versa

Translate
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