python - Collaboration of command line and UI widgets -


could assume every powerful application provide command line/script input?

even there many many fancy widgets in current software, still think command line input mode in ui still necessary nowadays, since command line/script input more straight forward , neat. if application provide more domain specific script language, more powerful.

is there book provide theory on this? effective ui?

you ask books related theory of this. theory 1 of separating presentation logic business logic, or separation of concerns. goes many names such model/view/controller, model/view/presenter, , many others, , there plenty of books on subject.

if design application way, presentation layer (ie: user interface) separate entity can replaced another. thus, have graphical user interface textual one. arguably, in perfect world apps work way, desktop ui, web ui, command line ui, , on.

this comes @ great cost, however. difficult design applications in way and, because of loose coupling between application , ui there may performance penalties. further add difficulty, inherently difficult provide rich command line interface complex application. how go creating command line input adobe photoshop or microsoft excel, example?

so while it's possible in theoretical sense, practical sense becomes more difficult complexity of ui goes up. there many applications able accomplish this, however. example, many version control systems such bitkeeper, accurev , others have both command line , graphical interfaces.

so, yes, it's possible applications could implement both graphical ui , command line ui, , it's true few of them do, it's not reasonable expect applications or can.


Comments

Popular posts from this blog

php - What is the difference between $_SERVER['PATH_INFO'] and $_SERVER['ORIG_PATH_INFO']? -

fortran - Function return type mismatch -

queue - mq_receive: message too long -