I’m curious as to what you are using these page related CFCs for?Are you creating a content management tool?

 

Thanks -

Tom

 

-----Original Message-----
From: Harry Klein [mailto:[EMAIL PROTECTED]
Sent:
Wednesday, January 07, 2004 10:06 AM
To: [EMAIL PROTECTED]
Subject: [CFCDev] BO, Manager and file operations

 

I have a question, regarding the positioning of two methods

 

Example: page object

 

CFC:

    page.cfc

    pagedao.cfc

    pagegateway.cfc

    pagemanager.cfc

 

Where should i include the methods createPage() and deletePage()?

createPage() should execute the dao create() Method and create a phyical file in the filesystem.

deletePage() should execute the dao delete() Method and delete this file.

 

The BO page.cfc doesn't seem to be the right place. Should i add this methods to the pagemanager or create another separate cfc?

The pagemanager manages the dao and gateway, i think this is also not the right place for this methods.

 

--

 

Harry Klein | Konzeption und Entwicklung
CONTENS Software GmbH

Oettingenstr. 25 | 80538 M�nchen

Fon: +49 (0)89 5199 69-0 | Fax: +49 (0)89 5199 69-78
mailto:[EMAIL PROTECTED] | http://www.contens.de

Reply via email to