Just Fake It: The MockDataObjects Module

7 Nov

Just Fake It: The MockDataObjects Module

Hello from the antipodes! It’s been a while since I’ve made any updates to my blog, and I just wanted to break the silence by demonstrating a new module that I’ve been working on called MockDataObjects. This extension gives DataObjects the ability to populate themselves intelligently with realistic-looking data. It comes with a variety of CMS enhancements and CLI tools for creating, populating, and managing mock data. It’s very useful in the early phases of a project when you need data to use for testing.

Also, frontend developers will enjoy the model-independent data generation, which offers new template tags that generate mock data on the fly, without requiring any database fields.

Enjoy!

5 Responses to “Just Fake It: The MockDataObjects Module”

  1. Jeremy 07. Nov, 2013 at 5:16 pm #

    Nice :) Does it work with Pages too?

    • unclecheese 07. Nov, 2013 at 5:17 pm #

      Yup. Pages are DataObjects. :-)

  2. r0nn1ef 07. Nov, 2013 at 6:16 pm #

    Thanks UC! Yet another great module. :)

  3. francisco 07. Nov, 2013 at 7:06 pm #

    Great pal, it looks really promising :)
    already added the es.yml file.

  4. Anselm Christophersen 08. Nov, 2013 at 4:05 am #

    Looks very useful. I like how it’s integrated in the CMS. For now I’ve been using SilverSmith’s fixtures. They tend to be a one-off help though, as you need to rebuild the entire site tree if you want to change anything.
    Would you suggest a workflow (for those who use SilverSmith), to kick off with SilverSmith’s fixtures, and go with MockDataObjects from there?