0.3.1 • Published 11 months ago

oxmodule v0.3.1

Weekly downloads
-
License
ISC
Repository
github
Last release
11 months ago

ITholics' oxmodule

Introduction

Helper to create module (v2.1) skeleton for oXID written for NodeJS.

Usage

You may install it globally:

npm install -g oxmodule
oxmodule

or better:

npx oxmodule

If the module structure is like:

  • modules

    • vendor
      • module_name1
      • module_name2

You will be asked for the installation path (defaults to current directory). You can provide the modules/ or modules/vendor/ if the target-directory is f.e. vendor/module_name3. Tt will add the module_name3 to the vendor folder. If the vendor das not exist, you must provide the modules/ folder.

In the process of creation it will ask you some questions about the module you like to create:

  • composer naming
  • target directory naming
  • module id
  • etc...

You should be in the <SHOP>/source/modules or <SHOP>/source/modules/<YOUR_VENDOR> directory or providing this directory in the process.

Skeleton

  • TARGET_VENDOR
    • TARGET_NAME
      • Application
        • Component
          • Widget
        • Controller
          • Admin
        • Core
          • Module.php
        • Model
        • translations (optional)
          • de
            • ID_de_lang.php
          • en
            • ID_en_lang.php
          • es
            • ID_es_lang.php
          • fr
            • ID_fr_lang.php
          • it
            • ID_it_lang.php
        • views
          • admin (oxid <7)
            • de
              • ID_admin_de_lang.php
            • en
              • ID_admin_en_lang.php
            • tpl
          • admin_smarty (oxid >=7)
            • de
              • ID_admin_de_lang.php
            • en
              • ID_admin_en_lang.php
            • tpl
          • admin_twig (oxid >=7)
            • de
              • ID_admin_de_lang.php
            • en
              • ID_admin_en_lang.php
            • tpl
          • blocks
          • tpl
      • bin
        • install.sh
        • update.sh
        • remove.sh
      • docs
      • out (oxid <7)
      • assets (oxid >=7)
      • Smarty
      • composer.json
      • metadata.php
      • README.md

Changelog

View Changelog here.

0.3.0

11 months ago

0.3.1

11 months ago

0.2.0

1 year ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.0

2 years ago