mmagnuski / eegDb

eegDb is an egglab plugin that eases up managing preprocessing routines. It allows to create project databases for reproducible eeg preprocessing with eeglab.
MIT License
3 stars 3 forks source link

Blocking vs non-blocking #39

Closed mmagnuski closed 9 years ago

mmagnuski commented 10 years ago

This is a rather long-term plan but it would be nice to decide/find out what would be the best way to organize our GUI behavior (best in terms of convenience and function - like synchronizing windows).

Blocking GUIs are easy because they can have simple input-output pipelinie without worrying about how to synchronize with base workspace etc. But - they are blocking - command line input is not possible, which is rather sad :cry: Going the non-blocking way is neither easy nor elegant on the other hand - usually requires either awful lot of guidata() usage and assignin, evalin kind of stuff or using global variables which are evil :fire:

We will try to work out some standard here. This is a goal far beyond v 0.1 - but we should keep this in mind.

mmagnuski commented 9 years ago

Refactoring guis as objects seems to be the best solution.