Re: [fw-general] ZF 1.8 and Performance Guide (using find/sed to remove require once calls)

2009-05-01 Thread Jamie Krasnoo
Sounds like you're using the new Autoloader. Read http://devzone.zend.com/article/4525-Developing-a-Comprehensive-Autoloaderand that will give you more insight as to how it works. My guess is that you don't have $autoloader-suppressNotFoundWarnings(false); and that's why you're getting a blank

[fw-general] Zend_Application is not running the session resource.

2009-07-05 Thread Jamie Krasnoo
I followed the documentation for configuring the session resource through the Application.ini. However Zend_Application doesn't run the Session resource to configure sessions. I have the following in the ini below the [production] section. I just want to configure the regular file session. Am I

Re: [fw-general] Zend_Application is not running the session resource.

2009-07-06 Thread Jamie Krasnoo
That's what I did do. However the session isn't being configured at all by the resource. When I do create a new session namespace or use Zend_Session::start() the session goes to the default configuration. On Mon, Jul 6, 2009 at 2:28 AM, ozzycan oezkan@gmail.com wrote: Use

Re: [fw-general] Zend_Application is not running the session resource.

2009-07-06 Thread Jamie Krasnoo
Yea, that's what I did. I failed to mention that I had an _initSession in the bootstrap too. That prevented the resource from being run. So I changed it to _initSessionStart() and placed $this-bootstrap('session') in front like you said and that fixed the problem. On Mon, Jul 6, 2009 at 7:31 AM,

[fw-general] Help creating session Save Handler for Memcached

2009-07-26 Thread Jamie Krasnoo
I'm trying to create a session handler that uses Memcached since I haven't seen an official Zend_Session_SaveHandler_Memcached. I'm also trying to intelligently do it so I don't have problems with the cache data expiring before it should logging the user out. That would create a major annoyance.

Re: [fw-general] Zend guru advise on how to build a secure function

2011-03-01 Thread Jamie Krasnoo
The current version for HtmlPurifier is 4.2.0. Is there still a vulnerability with it? The site says it's fixed. Jamie On Tue, Mar 1, 2011 at 8:56 AM, Zladivliba Voskuy nospam...@hotmail.fr wrote: Actually that's the one anwser I was hoping not to get ;-))) Well the problem is that

[fw-general] How would you handle dynamic forms and validation?

2011-06-23 Thread Jamie Krasnoo
Hey all, I'm on a project where in the admin for users you have a static part of the form and a few dynamic parts. The static part is the usual user name, password, first name, last name, etc. The dynamic part is putting in street addresses, phone numbers and email addresses. They'll have to put

Re: [fw-general] Re: How would you handle dynamic forms and validation?

2011-06-25 Thread Jamie Krasnoo
On Sat, Jun 25, 2011 at 4:29 PM, David Mintz da...@davidmintz.org wrote: On Sat, Jun 25, 2011 at 10:39 AM, Jurian Sluiman subscr...@juriansluiman.nl wrote: On Friday 24 Jun 2011 16:30:18 David Mintz wrote: On Thu, Jun 23, 2011 at 3:31 PM, James Ganong james.gan...@gmail.com wrote: Don't

[fw-general] [ZF1] Zend_Form and array notation - kinda stuck

2012-04-23 Thread Jamie Krasnoo
Hey all, I'm trying to get this type of array notation for a custom Zend_Form. fields[0][name] fields[0][description] fields[0][required] ... The form will be dynamic and at the same time the class will have to be able to process the POST input. I've been somewhat successful but the array

[fw-general] Zend_Layout, best practices

2012-07-23 Thread Jamie Krasnoo
Hey all, I've been looking at the docs for Zend_Layout, but it's left me with a few questions. Are there any best practices when creating a layout script? Also, since the docs show either render or partial being used. If I have a partial such as header and I need to communicate anything to that

[fw-general] Locking out a module from normal routes?

2012-08-06 Thread Jamie Krasnoo
I've figured out how to route a subdomain to a specific module. The problem is that the module is still visible to the base domain. Is there a way to make sure that the module is ignored by normal base routes and routes a user to the error page if they try to get to it? Jamie

[fw-general] [ZF2] Abstract Factory Configuration Problem - Possible Infinite Loop Bug

2014-03-11 Thread Jamie Krasnoo
Hi All, I'm just learning about ZF2 and need to make sure I'm using the service manager abstract factory configuration in application.config.php correctly before I start jumping up and down and pointing out a bug. I'm using the Zend Skeletion Application as a base. In the application.config.php

[fw-general] Help me with ZF2 routing?

2014-05-20 Thread Jamie Krasnoo
Hi All, I've attached what I've done for the config of my Admin module. I can't seem to get my head around the routing yet. I've taken the Application config and made it generic so I can get a good start. What I'd like to do is route /admin/login to the login action of the Auth Controller.

Re: [fw-general] Help me with ZF2 routing?

2014-05-21 Thread Jamie Krasnoo
value. Op 21 mei 2014, om 00:31 heeft Jamie Krasnoo jkras...@gmail.com het volgende geschreven: Hi All, I've attached what I've done for the config of my Admin module. I can't seem to get my head around the routing yet. I've taken the Application config and made it generic so I can get

[fw-general] [ZF2]What is the best way to run something on every controller of a module?

2014-05-21 Thread Jamie Krasnoo
I'm trying to figure out what would be more appropriate when you need to run something for every controller and its actions in a Module. Currently I have a callback registered to the route event and check the route match name for the module name and return if it's not and move forward if it is. Is

Re: [fw-general] [ZF2]What is the best way to run something on every controller of a module?

2014-05-21 Thread Jamie Krasnoo
) { echo 'controller ' . get_class($e-getTarget()) . ' dispatched'; }); Marco Pivetta http://twitter.com/Ocramius http://ocramius.github.com/ On 22 May 2014 00:29, Jamie Krasnoo jkras...@gmail.com wrote: I'm trying to figure out what would be more appropriate when you need to run something

[fw-general] Authentication Best Practices?

2014-05-31 Thread Jamie Krasnoo
Hi All, Before I dive headfirst in to creating the authentication for a site I'm building. I thought I'd ask a few questions and get your opinion on the best thing to do as far as security and authentication on a zf2 site. I'm trying to make the Admin area as secure as possible. I've read

[fw-general] [ZF3][Application Skeleton] Session Cache save handler configuration

2016-11-04 Thread Jamie Krasnoo
Hey all, I hope this is the right list to ask at. If not, my bad, please point me in the right direction. I'm just getting used to ZF3 and the Application Skeleton. I've figured out the session config and I'm able to get it going. However I'd like to use Redis as a save handler and looking