On Sep 27, 2018, at 14:22, Cowboy <[email protected]> wrote:
> STRONG objection !!
>
> While you and I might be quite comfortable at a command shell interface
> ( perhaps even more comfortable than with a GUI in many cases )
> this is absolutely the wrong direction for the "everything smartphone"
> generation.
It’s actually the same approach that most every other FOSS DB-based system
(WordPress, Drupal, etc) takes. Database management (creation, deletion,
backup, restoration) is properly outside the scope of the application. The
typical workflow for creating a new DB goes like this (I’ll use WordPress’s
famous ‘five minute install' as an example):
1) Create an empty database of the appropriate name
2) Create a RDBMS user with appropriate rights to access that database.
3) Enter the values for what you’ve done (DB name, username, password)
into application configuration [‘wp-config.php’].
4) Start the application. When it sees the empty database, it then
initializes a new DB schema in the provided container, ready for user
customization.
And that’s exactly how the Rivendell 3.x codebase does it. Taking this approach
has allowed us to throw out a couple thousand lines of fussy, bug-prone code in
rdadmin(1) that previously attempted to read the user’s mind and manage the DB
‘automagically’ (and all too often got it wrong).
Since this is in fact a standard trope for initializing DB-based applications,
hopefully the '“everything smartphone” generation’ won’t find it too unnerving.
:)
> And, although it pains me, you and I are mortal !
[shock and dismay!]
Cheers!
|----------------------------------------------------------------------|
| Frederick F. Gleason, Jr. | Chief Developer |
| | Paravel Systems |
|----------------------------------------------------------------------|
| A room without books is like a body without a soul. |
| -- Cicero |
|----------------------------------------------------------------------|_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev