Re: [fw-general] Another multitier approach SERVICE and DAO

2009-08-22 Thread keith Pope
Services are available via the module autoloader, so if you have modules initialized via the modules resource plugin you can do: new ModuleA_Service_x Your services would be stored in: moduleA - services This is part of the resource autoloader, for dao you can add a custom resource type. You m

[fw-general] Another multitier approach SERVICE and DAO

2009-08-22 Thread tomascejka
Hi, I am newbee and study ZF and I would like separate Model logic to another tiers Service and Dao. Application assumptions that service and dao tier will be shared and accessed from any module. Dao object is object extends Zend_DB. Service will be my implementation. Application filesystem: |-