Hello -
After many years of researching web application frameworks for
doing CRUD apps - including frameworks based on NodeJS, Golang, Python, Java,
Scala, Clojure, Erlang, Haskell, and SML/NJ (while
avoiding PHP :-) - I finally discovered Portofino today (by trying a different Google search: "master detail CRUD") and I am very impressed with its features, stability and ease-of-use.
Within an hour of downloading Portofino, I was able to unzip it, launch TomCat, import an existing database, and do some setup - and have a working web app with all the basic features (navigation / menus, persistence / CRUD, authentication / authorization). This is the first time I have been able to get a web app up and running so fast!
One additional feature which is nice to have an a (web) database is a "master-detail" form: specifically, which includes two datagrids on the same form (eg, a parent table "Customers" and a child table "Invoices"), where the user can click on an individual row in the parent (Customers) table, to display a set of row in the child (Invoices) table.
Here is an example of a JavaScript framework (ShieldUI, closed-source I believe), which does this:
Each time you click on a row in the upper (parent) datagrid - it instantly displays a different set of rows in the lower (child) grid.
Questions:1. Is this possible to do using Portofino?
I am looking at the page
http://portofino.manydesigns.com/en/features/crud which shows an example of a master-detail form - but the parent form displays a
single record.
So what I am asking is: is it possible for the master firm to display
multiple records (in a list, or "datagrid") - allowing the user to
click on a record in the parent datagrid (or in the worst case: select a checkbox) in order to display the associated records in the child datagrid?
2. Can this be accomplished simply by doing basic
configuration - or would it be necessary to do
customization also?
3. Are there any examples / tutorials providing more detailed information / instructions on how to do this?
4. Would it be possible, in the future (after I learn more about Groovy :-) for me to define a wizard to generate this type of page containing a master-detail pair of datagrids?
I have frequently used such a "form wizard" in Microsoft Access for example:
I would like to express my thanks to the developer of the Portofino project.
It does not seem to be very well-known yet (perhaps because
the only Wikipedia page is in Italian?) but it is a very complete system providing an excellent web application development tool.
(And the fact that the development tool is browser-based is yet another "plus").
- Stefan Scott