Hi Folks.
Was hoping someone could answer a couple of programming questions for me. I see a lot of really knowledgeable people here in the forums, doing all kinds of customization and mods, and I'm hoping I can learn this as well.
I am reading through the developers API tutorial which is helping a great deal. I also found a "Zen Cart Program Flow (v1.3 series)" chart somewhere in this forum. Here are 2 things I am kind of stuck on. Any help would greatly be appreciated.
First question: Am I correct in assuming that each time I visit a page within my cart, ALL of the steps in the "Zen Cart Program Flow" get executed? Seems to me that some of the initial stuff like the InitSystem calls would only need to be executed once at the start of the session, but the flow chart doesn't make that clear... at least that I can see. Maybe I'm missing it. So is there a place in the program flow that represents a point when a user changes to a new page, or does this entire flow happen each time a new page is visited. The last event leads me to believe that it happens every time since it says, "causing actual output to the browser." Need some clarification on this, please.
Second question... When a particular class is instantiated, does that class remain instantiated for the entire users session, or does each class get instantiated over and over again as the program flow progresses. Perhaps the answer to the above question will answer this question for me.
OK, that's all for now. Thanks a bunch for taking the time to look at this post and providing some guidance. Really appreciate all the contributions in this forum.
And just so I'm not out of line with the posting guidelines here. I am using ZenCart 1.3.8a fully upgraded and patched to the most recent level. The only add-on I'm using at the moment is the Image Handler2. Site is a basic vanilla install of ZC with some Admin customization. Site = www.bryia.com. Yes, I've been reading the FAQ's and the forum for months.
Thanks again folks.
Bruhn




