Figure 9. After
drag and drop,
WaveMaker
creates the list
of data on the
top of the
screen, and
the editable
fields are listed
below. Red text
was added by
the author.
Figure 9 shows the results.
In essence, data from the MySQL
table is displayed on top, and a detail
section (with editable fields) is created
below. At the same instant, WaveMaker
creates three buttons for data manipulation: New, Update and Delete (Figure
10). The current view displays the
skeleton of the application, complete
and test-ready. Select Test from the
top window, and a new browser window
with the application displays in test
mode. Choose Run, and WaveMaker
saves and then runs the application
in a new browser window, as shown
Figure 10. In the bottom right, WaveMaker
automatically provides New, Update and
Delete buttons for the application.
in Figure 11.
Now, work with this mini-program
to verify the success of the transition,
exit the application and then re-visit
phpMyAdmin to see the elements properly added, changed and deleted.
Pinch Yourself
WaveMaker just completed this test
migration in approximately 15–20
minutes! Certainly more complex data
migrations will require a concerted
effort to ensure proper foreign keys and
precise index setup. Yet, the viability
of this principle is proven for a small
application migration.
In this test, WaveMaker performs
quite well. Building the application
and running it on the same machine
is a bit sluggish, but this will change
substantially with respect to hardware
specifications and overall configuration.