Tag Info

New answers tagged

0

If you're going to have a significant amount of logic written client-side, then consider using MV[C]-style "separation of concerns" in your client-side JS code. For example, you might have some JS "view" logic which handles rendering: <script type="text/javascript"> function renderUser(user) { $('#username').val(user.username); ...


0

You might use an HTTP server library like libonion (or perhaps Wt), perhaps even in your C application, and use AJAX techniques (perhaps with Jquery) -and perhaps WebSocket- to periodically update the dynamic web page. FWIW, my MELT monitor is doing this. Notice that web technology cannot guarantee any update frequency, in particular in the event of long ...


2

The concept of a local web app is a good and appropriate one. I have built several of these, and they work well. They have very fast update times, and let me work with Web tools rather than the declining breed of GUI toolkits. I recommend a WebSocket-based connection between your Python code and your web page/client/app. This will give you near-real-time ...



Top 50 recent answers are included