Results 1 to 10 of 26

Hybrid View

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

    Default Possible Module installer/upgrader [for mod developers]

    Here is the idea:
    Mods should be automatically installed and upgraded if possible.

    The current version of this mod takes care of the database part only.

    Brief intro:

    What it can do:
    1. Automatically install new module database patches
    2. Execute all database patches in order, so that it will work even if the users skipped several versions.

    How it works:

    1. All your sql patches should be put inside:
    admin/includes/module_installation/your_mod/db/
    naming from 0.sql to n.sql

    2. For each new version, you will need to pack a specific file called current_version.txt placed in admin/includes/module_installation/your_mod/

    module_installer will check compare the patch level it found in database against the current patch level, and will execute all new sql patches in order.



    This mod contains 2 classes:
    sqlPatch class:
    https://svn.rubikintegration.com/zen...atch_class.php

    --> This class simply uses all the functions found in ZenCart admin/sqlpatch.php, packed into a class with minor changes.

    module_installer class:
    https://svn.rubikintegration.com/zen..._installer.php

    --> The core of this installer
    Comments, code suggestions are all welcome.
    It'd be great if we can develop this mod to improve its functionality to make life easier for both developers and users.
    Last edited by yellow1912; 26 Jan 2008 at 08:39 AM.
    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
    Aug 2005
    Posts
    202
    Plugin Contributions
    0

    Default Re: Possible Module installer/upgrader [for mod developers]

    what a great idea.
    but i dont know if it is possible with the way Zen work rigth now.
    work fine for DB , but for edition of the core file , i am not really sure, but it is a great idea.

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

    Default Re: Possible Module installer/upgrader [for mod developers]

    It is already working for database, the next step is to allow developers to pack all files in a zip package, the this mod will automatically unzip into corresponding folders.
    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

  4. #4
    Join Date
    Aug 2005
    Posts
    202
    Plugin Contributions
    0

    Default Re: Possible Module installer/upgrader [for mod developers]

    Quote Originally Posted by yellow1912 View Post
    It is already working for database, the next step is to allow developers to pack all files in a zip package, the this mod will automatically unzip into corresponding folders.
    yes i understand like Easymod in phpbb .....
    would be neat.

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

    Default Re: Possible Module installer/upgrader [for mod developers]

    Yup, developers should spend less time answering questions like: how and where do I upload the files etc....
    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

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

    Default Re: Possible Module installer/upgrader [for mod developers]

    I have put this project on Google code under GNU v2.
    http://code.google.com/p/zencart-module-manager/

    Feel free to check it out, more docs will come soon.

    If you want to give a hand and join the developer team, please post here or send me a PM

    Regards
    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. Is it possible to have tax exemption with VAT-mod for European companies?
    By stomm in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 0
    Last Post: 16 Jun 2009, 04:39 PM
  2. Is it possible to disable an active shipping module for certain items?
    By Eticam in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 4 Dec 2006, 10:25 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