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
2010-10-27 15:15:30
How about yourself? What do you usually do?
jblue
2010-10-28 00:52:08
@jblue I dont use modules :)
Gordon
2010-10-28 07:06:14
+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
2010-10-28 22:26:41