views:

50

answers:

2

Is it good or bad practice to create separate bootstrap for each module. They make the project look a lot less disorganized in my opinion so I'd like to know if it's the norm to have them in each module.

+3  A: 

For ZF1, there currently is no official recommendation to my knowledge. Your best bet is

Gordon
How about yourself? What do you usually do?
jblue
@jblue I dont use modules :)
Gordon
+1  A: 

I don't think there's any "best practise", like much in ZF it's just another choice available to you.

Personally, I rarely use them. Module bootstraps are a nice idea, but since by default all module bootstraps run on every request I don't really see the point.

There are some examples of how to make module bootstraps only run when the current request is for that module, Matthew's article has some good links.

simonrjones