Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default ZC mini framework - Under development

    While developing mods for ZC, I found myself struggling with the messy codes (I'm a bad programmer *___*). From time to time I had to go through tons of html codes to debug my mods, which is not good for my health .

    I really miss the CakePHP and Rails *_*, I want separation of powers (oops, I mean logic and display codes). I want to let the designers change the "look" as they want, without having to know much about the logic behind it (and without touching my logic codes).

    So I'm developing a mini framework to solve this, the goals are:
    1. Taking advantage of Smarty template engine. Take most of the logic codes out of display codes(html).
    2. Never ever edit any ZenCart files.
    3. Allow users to take advantage of the framework only where they want, without having to make any change at any other place.
    4. Stick to the way ZC works to avoid confusion: template files should be in templates folder, modules files(containing logic functions) should be in modules folder.
    ZC's template over-ride system will still be effective.
    5. Automatically calls the appropriate function and template based on the action.
    6. Automatically validates all passed parameters before executing any functions.
    7. Can be used in both "admin" and "includes".

    This mod is currently under development, but it will be available in the near future. And once it's done I'll make sure all my current mods make use of it.
    You can have a look at the latest revisions here:
    https://svn.rubikintegration.com/zen...ate_framework/

    If you have any suggestion, or if you want to help please let me know.

    yellow1912
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: ZC mini framework - Under development

    Just a quick update:

    I have been so busy lately, but I still work on this whenever I have time.
    It's around 50% done now, it can recognize and call the correct template file now. I'll try to have an alpha release soon so we can see how it goes.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

 

 

Similar Threads

  1. Zend Framework?
    By Zean in forum General Questions
    Replies: 1
    Last Post: 1 Aug 2015, 11:03 PM
  2. Under construction - development methodology
    By kohudson in forum General Questions
    Replies: 1
    Last Post: 31 Jan 2007, 08:41 PM

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