Share this blog:

Friday, January 13, 2012

Alpha psychology: Simplifying parent-child relationships

If you've just arrived here from Google, let me give you this disclaimer: This is not about your mother. 

Master-detail relationships (also known as parent-child) are central to the majority of data-driven applications, so it was an obvious target for improvement when we started Alpha Five Version 11.

In our earlier versions, you can model master-detail relationships using multiple grids. You'd have one for the master and one for the detail, and then you'd embed the detail grid into the master. This works, but it has its drawbacks. A major one is that you would have to use multiple submit buttons -- one for each grid.

We needed to create one screen for the developer that looks exactly like your invoice (or whatever else you're looking to build) with a single submit button that allows you to enter or edit the data as a single, logical form. Now, with Alpha Five Version 11, you can create web-based screens that look exactly like the forms that you have in mind.

The new dialogue's single submit button will automatically save data to the master table and every detail table at once, all wrapped into a single transaction. And the best past is: No coding is required on your part!

We've also switched up the order of your developing process. With this dialogue component, you can start laying out the design of your dialogue before you have defined the tables on which the dialogue is based. That should make things easier on the eyes!

Finally, once you've completed the design of the dialogue, one button tells Alpha to automatically build both the master and detail tables.

And if you're like us and have been searching for a tool to make this easier for years, your search ends here. We've looked around and haven't been able to find any other RAD tool for web application development that allows you to create a form for entering master-detail data as a single transaction.

Want to know more about how it works? It's all completed in two quick steps. First, you design your form by laying out the fields however you want them. Next, tell Alpha how you want your fields to be mapped. Or, if you don't have the time to decide yourself, you can always tell Alpha to create the tables for you.

Take a look at this link for a step-by-step explanation.

0 comments:

Related Posts Plugin for WordPress, Blogger...