Re: [fw-general] Complex ACL

2009-08-29 Thread netlynx
debussy007 wrote: > > 1. Where are the privileges ? > It seems that often in a CMS there are privileges, e.g. a user may be able > to "view" the list of pages but not to "update" them. Some may "publish" > or "delete" them, etc. > Of course you can keep it simple but keep this into mind if you

RE: [fw-general] Zend Auth and subdomains

2009-08-29 Thread Sergio Rinaudo
I still have this problem, I've done some tests: The value of $_COOKIE["PHPSESSID"] is readable and identical on every subdomain. The problem is that if I change subdomain I am automatically disconnected. Maybe is there some other configuration with Zend_Auth? Sergio Rinaudo From: kaiohk

RE: [fw-general] Zend Auth and subdomains

2009-08-29 Thread Sergio Rinaudo
Hi, thanks for your reply. According with this documentation page http://framework.zend.com/manual/en/zend.session.global_session_management.html#zend.session.global_session_management.setoptions.example and also with your advice, I added the line cookie_domain in my application.ini [..] resou

Re: [fw-general] Zend Auth and subdomains

2009-08-29 Thread Ben Scholzen 'DASPRiD'
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sergio Rinaudo wrote on 30.08.2009 01:44: > If a website is structured between various subdomains, what should be a > solution with Zend Framework to have an user logged for each subdomain? > I'm stuck with this problem.. Just set the cookie domain in

[fw-general] Zend Auth and subdomains

2009-08-29 Thread Sergio Rinaudo
Hi, If a website is structured between various subdomains, what should be a solution with Zend Framework to have an user logged for each subdomain? I'm stuck with this problem.. Hope to receive some advices :) Thanks Sergio Rinaudo __

Re: [fw-general] Complex ACL

2009-08-29 Thread debussy007
Hey, first of all I'm not an advanced ZF programmer, I am just comparing your structure with mine (also about a CMS design). Some major differences I notice with my logic: 1. Where are the privileges ? It seems that often in a CMS there are privileges, e.g. a user may be able to "view" the list

[fw-general] Zend_Tool and modules

2009-08-29 Thread iceangel89
i noticed Zend_Tool still does not handle modules very well. 1. upon creation i think resources.frontController.moduleDirectory = APPLICATION_PATH "/modules" should be added to application.ini 2. Class names should be named with the Module prefix eg. Admin_IndexController -- View this mes

[fw-general] Provide web.config when creating projects in zend tool?

2009-08-29 Thread iceangel89
since zend server supports iis, i suppose zend framework should "support" that also. i think providing a web.config for iis users will be useful -- View this message in context: http://www.nabble.com/Provide-web.config-when-creating-projects-in-zend-tool--tp25202794p25202794.html Sent from the Z

[fw-general] Overriding an ActionHelper for a controller

2009-08-29 Thread debussy007
Hi, I handle my ACL/Auth in a plugin. However I notice that more and more controllers need to have specific ACL management. Per consequent, I have a lot of: if($this->getControllerName === 'xyz') { ... } else { ... } in my plugin. Not very clean code, I'm sure you agree ) I'm thinking about a li

[fw-general] ACL, Auth und Auth_Adapter_LDAP (and OpenLDAP)

2009-08-29 Thread Daniela Waranie
Hi all, i am very new to the Zend Framework and i want to know your thoughts about the following things: (I know it is a cross topic thing, sorry. ...but you are well skilled ;-)) 1) I want to manage Users and there Login (username and password) in a directory server (OpenLDAP). 2) I want to man

Re: [fw-general] Data Mappers and Relational Modelling

2009-08-29 Thread Benjamin Eberlei
Hello, lazy loads are implemented by some underyling magic. Say you have a Quiz with questions and you load the quiz. Instead of adding an array of all the questions right away, you build a collection class which implements ArrayAccess, Iterator and Countable and takes a PHP Callback which is fi