API to set up pod in a file? in 2.0?

This topic is: not resolved

This topic contains 2 replies, has 2 voices, and was last updated by  scottnath 1 year, 5 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #166832

    scottnath
    Member

    Is it possible to set up a Pod and/or item in a file instead of the UI interface?

    I don’t mean data into an existing pod, I mean the pod itself and its corresponding columns.

    The reason I ask is in larger sites, where the site is in multiple environments (ie DEV, QA, STAGE, PROD, etc) we need the ability to move changes (such as a new column) from env to env without moving the database.

    If this isn’t in 1.X, do you think it could be something in 2.0?

    thank you,
    Scott

    #166833

    magi182
    Member

    Hey Scott, Check out the Pods Package Manager.

    While it isn’t exactly a file, it does allow you to move the structure of a pod, helpers, templates, without moving the data.

    #166834

    scottnath
    Member

    Thanks for that, but not what we’re looking for.

    Essentially, what happens in a multi-environment setup is you make changes in DEV, the files get moved to QA for testing, then moved to STAGE to re-test in an exact copy of the PROD env, then changes are put into PROD.

    The issue we run into with WordPress being so database-centric is that we can’t really make changes to the database by moving a database. And, it is very accident-prone to try and re-create our changes in the Admin interface (Will I remember all the steps I did before?) Therefore, we’re trying to figure out ways to have options/setups happen in files instead. That way, we just check them into the repository and check them out in the next environment.

    I realize it’s a tall order, but necessary for our setups. The idea is similar to what this custom fields plugin does:

    http://wordpress.org/extend/plugins/custom-metadata

    thanks for the response,
    Scott

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Wordpress Cloud Hosting