Topic: Variables as a database
I will write about programming of games, but as a whole it can concerns and other areas in the same way. A game state are values of variables. Debuggers allow to view these values, but in stupid enough mode, here a variable, here its value. If it is the pointer, here value of that that under the pointer, if an array here all 100500 array cells and if it is the linked list about it at all does not know and walk itself under pointers. And it would be desirable, to pull out from an array or the list elements corresponding to any criterion, to look only the fields necessary now, to pull out any fields from the bound variables. Probably to change any values directly in . It is possible through any to collect values of all variables and to give them outside. Well the most simple variant the server in itself to launch, to which to be connected by the browser, and in js to create variables with the same names and values and for debugging to browser consoles on js to write any requests. And it is possible to store initially all variables games describing a state, not as it is simple members of classes, and in . type of a database with the general-purpose interface. Then it is possible to do the client, allowing to work with this "database", the same basis is useful at creation of any interfaces that directly in the interface description to write what data in it should be shown. For certain such hundred times it is already invented and made. Where to look and esteem about the such?