Hi, I am just getting my hands on zf2. I have scenario in which i have created a user form which is used in application in two places. I want to know what is the best practice? i have two options:
1) to instantiate the form object directly in controller by including the form class. 2) get the form via service manager. i have one more doubt. does accessing everything via service locator has some effect on application, i mean does services get accessed on runtime or how does it work? -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/use-a-form-using-service-locator-tp4659115.html Sent from the Zend Framework mailing list archive at Nabble.com. -- List: fw-general@lists.zend.com Info: http://framework.zend.com/archives Unsubscribe: fw-general-unsubscr...@lists.zend.com