Git Product home page Git Product logo

extrabuilder's Introduction

MODX Package & Custom Table Builder UI

ExtraBuilder adds the ability to create tables directly in the MODX Manager interface. This can be useful to rapidly prototype custom tables, skipping some of the learning curve of setting up a schema XML file and the supporting directory structure and files. New users can simply create new Model (Package), Objects (tables), and associated Fields and Relationships all from within a standard UI.

Full Documenation

See the full docs for further usage details

Functionality Added

Below are the key additions to MODX when you install:

  1. Menu added "Extras > ExtraBuilder" with sub-menus:
    1. Package Builder
    2. Transport Builder
  2. The main "/extrabuilder" directory is added to your "/core/components/" directory
  3. A category "ExtraBuilder" is used as a transport mechanism, but no Elements will appear under it.
  4. No other plugins, or elements are created at this time.

Package Builder

Selecting this menu option will take you to the main package building area where you can do the following:

  1. Define a new Package or use "Import Schema" to import an existing schema file.
  2. Create Object (custom table) child entries under the top level "Package" which is your model.
  3. Create Fields associated to the object (database columns)
  4. Create Relationships between objects. (xPDO feature to describe the relationship for the ORM)
  5. Preview the Schema
  6. Build the package to create the database tables, and columns as well as automatically create the PHP Class files needed for xPDO.

Transport Builder

This area allows you to create a transport package that has all your component files, schema, etc. It requires that you create a main Category to use as the transport mechanism. All child elements will be added to your package.

  1. Create a Transport
  2. Select the Package and corresponding Category
  3. Provide version details
  4. Transport Utilities
    1. Create New PHP Resolver (Run a script on Install/Update/Uninstall)
    2. Add "Create Tables Resolver" (Creates/Updates Tables on Install/Uninstall)
    3. Add "Remove Tables Resolver" (Drop Tables on Uninstall)
    4. Backup All Elements (Create a backup of Elements in your _build/ directory for source control)
  5. Build Transport Package!

extrabuilder's People

Contributors

jaredfhealy avatar lancec99 avatar muzzwood avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.