I’m currently writing some console commands that are purely for monitoring and need to deal with a lot of statistical data. In short, it were great to have something like a console version of CDetailView and CGridView. Before I start writing my own: Has anyone ever done something like that and would mind sharing their work?
I’m really not sure about ASCII-art. If at all, I’d keep it in the lower ranges. High-ASCII tends to be a problem with the Windows cli. So far, I have settled for four possible widgets:
CConsoleDetailView: text-only version of CDetailView
CConsoleGridView: Same for the CGridView
CConsolePortlet: Speaks for itself
CAnsiWidget: Widget for all enhanced text. That is bold, coloured, whatnot
Btw: It’s surprisingly hard to clear the screen with php-cli