Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Sep 2004
    Location
    Murfreesboro, TN
    Posts
    588
    Plugin Contributions
    0

    Default ZC program flow and logic

    I have sifted through a couple of previous posts and never really quite found the answer(s) I have been looking for. I was wondering if there is (even a basic) chart of the program flow of ZC operation on how things work if one wanted to learn how to code in PHP.

    For example, what happens and what is loaded when a person goes to the home page of a site and in what order do those things load. Sure, you can look at the pages source and get a starting point (and I have seen on the wiki mention of the application.php part) but these things really do not help a "newb" learn the basic mechanics of the ZC world.

    I am taking a couple of basic programming classes for school right now and I would like to be principle and theory into practice. Any help pointing to documentation or posts not on the wiki (or even adding that information) to the wiki would be very helpful.

    Also if people were to learn the mechanics on how much of the program worked imagine over time the lead developers would actually get time to work on the things they want or need to get done.

    tia

    0be1
    "Give me one hundred preachers who fear nothing but sin and desire nothing but God, and I care not whether they be clergymen or laymen, they alone will shake the gates of Hell and set up the kingdom of Heaven upon Earth." - John Wesley

  2. #2
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: ZC program flow and logic

    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Sep 2004
    Location
    Murfreesboro, TN
    Posts
    588
    Plugin Contributions
    0

    Default Re: ZC program flow and logic

    Dr. Byte;

    I already have that as well and that did not help me understand much either. There has to be some way for a person who has a little experience in the way of programming to be able to step into (certain parts) of the ZC world and learn about program flow and mechanics.

    Thank you for the reply though. Also I am not sure how much this document has changed up to version 1.3.8. Is there anyone on the design team assigned to documentation?

    thanks again for your reply (promptly too!! )

    Sincerely,

    0be1
    "Give me one hundred preachers who fear nothing but sin and desire nothing but God, and I care not whether they be clergymen or laymen, they alone will shake the gates of Hell and set up the kingdom of Heaven upon Earth." - John Wesley

  4. #4
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: ZC program flow and logic

    The concepts outlined in that document have not changed largely from 136 to 138.
    That document was written to provide a high-level overview of how the procedural code flows on every click.
    It's not really a programmer's guide, although I have often referred to it for a quick-check when debugging where certain things might be going wrong in someone's custom coding etc.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Aug 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: ZC program flow and logic

    <rant>
    I actually bought the book Zen Cart and the art of ecommerce and it was Great for setting up the site and configuring sales taxes and products, but like with many users I was not satisfied with the templates, so I started creating my own.
    I'm still not there

    I would be willing to pay twice as much for a book that took you from the basics of php, limited to what is used in the site, followed by a description of what does what and when. Even a software decision tree, flow chart or logic diagram.
    I get that the pages are asembled on the fly, from information obtained in a step by step fashion, but when I look at the source code on a delivered page, I have no idea of how it was assembled. This makes it hard to troubleshoot.
    Using the web developers add on for FireFox has been a godsend in determining what comes from css and other stuff.

    Of course a book like that would put developers out of work ( I really doubt that) but it would make some guru a ton of cash , and free up a lot of space on this board.

    </rant>

  6. #6
    Join Date
    Aug 2010
    Posts
    13
    Plugin Contributions
    0

    Default Re: ZC program flow and logic

    http://www.zen-cart.com/wiki/index.php/Pages

    This is a great companion piece to the troubleshooting guide. It explains the flow a little bit better.

    Still haven't figured out how the forms are generated, ie for the multiple products vs a single product, and a bunch more I'm sure.

  7. #7
    Join Date
    Dec 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: ZC program flow and logic

    did you ever find what you are looking for?

  8. #8
    Join Date
    Mar 2008
    Location
    Ontario
    Posts
    39
    Plugin Contributions
    0

    Default Re: ZC program flow and logic

    Wow!

    Most important thread on the site. Glad I saw this.
    Jonny
    http://meshgraphics.com Where shapes become different shapes than the shapes they had been previously. Me do good ad copy 2

  9. #9
    Join Date
    Jun 2010
    Location
    New Iberia, LA
    Posts
    50
    Plugin Contributions
    0

    Default Re: ZC program flow and logic

    Does the program flow documentation have a 1.5 version?
    zen-cart-v1.3.9h

  10. #10
    Join Date
    Jan 2004
    Posts
    66,364
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: ZC program flow and logic

    For the most part things are pretty much the same overall flow, with the occasional added feature being loaded/instantiated, etc.
    Is there something specific that you feel is missing, or some specific piece of information you're looking for?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Categories and Subcategory Logic
    By Jim21 in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 10 Sep 2010, 08:31 AM
  2. Zen Cart program flow
    By ckosloff in forum General Questions
    Replies: 3
    Last Post: 21 Sep 2009, 06:50 PM
  3. Understanding checkout flow regarding paypal, checkout_process.php and before_process
    By s_p_ike in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 1 Sep 2009, 12:50 PM
  4. Change page flow and construct hybrid page
    By triplemaya in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 31 Oct 2008, 11:54 AM
  5. Jam Affiliate Program and Myspace....
    By khopek in forum General Questions
    Replies: 1
    Last Post: 3 Sep 2007, 12:24 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR