Blog

Faster Data Generation with Presets by Gregg Bolinger on Nov 11, 2013

As we make improvements to GenRocket, one of our main focuses is always on speed and efficiency.  One area where speed really matters is in creating Domains, Attributes, and assigning Generators to those Attributes. list of websites  Currently, it is extremely simple to do this but depending on how large a project’s business model is, it can be time consuming.  To help negate a lot of this boilerplate modeling we came up with the concept of a Preset.

A GenRocket Preset is a common use Domain consisting of a set of Attributes with best practice Generators assigned to them.  As Software Engineers ourselves, having worked on many, many projects over the course of our careers, we recognize that most business models will consist of the same core set of Domains; User, Person, Customer, Account, Address, Company, Department, and the list goes on.

Any of our core Presets can be added to an existing GenRocket Project either by using the context menu on the Preset…

Add Preset

…or by clicking the Add To Project button on the Presets description page.

Add Preset

Simply type a new name, if necessary, and specify the Package for the Domain.

Screen Shot 2013-11-01 at 1.57.12 PM

A new Domain based on the chosen Preset will appear in your Project tree with all your other Domains.

Screen Shot 2013-11-01 at 1.57.35 PM

If that’s all you need, you’re done!  Otherwise, simply modify the new Domain to better represent your data by customizing the Attributes and Generators.

For standard projects we feel like this is about a 75% speed increase in modeling your data.  This feature is currently available in GenRocket 2.0 which has just been released. back links .  We will constantly be looking for new Presets to add to the core set.  And we’re currently working on enhancements to the Preset feature which will include the following:

  • Presets categorized by industry – Writing the next cutting edge healthcare, education, or social networking app?  Choose a specific Industry for a specific list of Presets that make most sense for that industry
  • User defined Presets – Does your Organization use the same core business model from project to project?  Take any of your existing Domains and convert them to a Preset only available to your Organization.

Watch the following video that our CEO, Hycel Taylor, created to see Presets in action.

 

 

Speed and efficiency, that’s our goal as we improve GenRocket.  If you have any ideas on how we can make GenRocket better, please let us know.