Unidatab-CGI reloaded

check it out! (on https://github.com/emilbarton/Unidatab-CGI)

This old graphical interface to Unidatab has been rewritten entirely to conform to the new version Unidatab. Experimenting with the software is now fairly easier. The output is always readable while Unidatab function calls are made automatically after filling out the proper fields on a web page and clicking the dedicated menu items. In the same time I brought some changes to Unidatab itself. The anonymous login is replaced by a guest user and this change should be echoed on any running database by the administrator simply creating a new guest user with proper access level for who want to keep some anonymous login. Note that by default, the guest user is created but not allowed anything before its access level is set (this was already the case in prior versions).

The work on this interface made me see the main obstacle remaining in Unidatab’s C++ code: the printing options are completely merged into the execution functions. During the years it took to write Unidatab, from the first PL/perlu scripts until now, the code gained much too much in complexity, so that I can barely read it today and understand how it behaves actually in terms of output generation. I do not dare to change anything – because it works like that. But it has become clear that if anything has to be done now to improve Unidatab, it will have to deal in priority with the SQL output preparation. Due to an insane degree of intrication, this represents a lot of work and requires a better understanding of how Sqlite3 proceedes.

Please note that Unidatab-CGI won’t behave correctly without a fallback record aliased ‘unid_home’. This record is included in the default set.

Here a few screenshots:

Screenshot from 2017-10-19 16-10-23
the login window
Screenshot from 2017-10-19 16-08-04
the display of a record (note that embedded records are clickable)
Screenshot from 2017-10-19 16-08-56
a list (here object ids are clickable)
Screenshot-2017-10-13 Unidatab-SQL
testing an SQL request
Screenshot from 2017-10-19 16-09-38
a standardized interaction window

[2018 edit]


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s