At this point I'll make a comment:
I tested the simplechat and the broadcast examples, but it was only working right with the build in server. At the fcgi version, i couldn't use it.
After a year of searching I did found out the reason!
I added at my mod_fastcgi.conf the line:
FastCgiServer <path-to-script> and now it is working.
It would be nice if you can add a comment everywhere that it is needed :)
Greetings
Torsten
Gesendet: Montag, 10. März 2014 um 15:52 Uhr
Von: "Koen Deforche" <[email protected]>
An: "[email protected]" <[email protected]>
Betreff: Re: [Wt-interest] Displaying dynamic data
Von: "Koen Deforche" <[email protected]>
An: "[email protected]" <[email protected]>
Betreff: Re: [Wt-interest] Displaying dynamic data
Hey Tor,
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech_______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interestThere are two examples that demonstrate such a thing:
feature/serverpush
feature/broadcast
The second one is perhaps more fitting for your use-case.
Regards,
koen
2014-03-10 14:59 GMT+01:00 Tor Arne Fallingen <[email protected]>:
Hey again,
Its monday and Ive been trying to get this working, but Im trying a bit back and forth with no luck. Is there a small simple example on how to do this? I mean, Ive made a counter, and Im trying to update the text in a header with the increasing int. Im using Andres Jaimes simple c++/Wt skeleton as a basis for my testing of different functionalities.
Regards,
Tor
9. mars 2014 kl. 10:53 skrev Tor Arne Fallingen <[email protected]>:
> Great, thanks.
>
> Regards,
> Tor
>
> Sendt fra min iPhone
>
>> Den 9. mars 2014 kl. 08:28 skrev Nagaev Boris <[email protected]>:
>>
>> Hello,
>>
>> Wt supports server-initiated updates.
>> See methods WApplication::enableUpdates and WApplication::triggerUpdate.
>>
>> You would find method WServer::post interesting too.
>>
>> Regards,
>> Boris Nagaev
>>
>>
>>> On Sun, Mar 9, 2014 at 2:13 AM, Tor Arne Fallingen <[email protected]> wrote:
>>> Hey,
>>>
>>> Ive been playing around with Wt to learn how to do different things, and its been quite enjoyable this far. But as part of a system where we are using Wt for an embedded system, we want to be able to show dynamic data like graphs and changing values. One of the things I was hoping to not have to do was learning _javascript_ to accomplish this, its enough having to learn C++. So I wonder if there is a method of doing this? I can’t have the user clicking a pushbutton to invoke reloading a graph to see the new value/values or updating a numeric value. I see signals and slots, but it seem like they have to be triggered somehow. It would be perfect if a change in the data server side could trigger an update on the client/browser, or if something like a thread could run on the client side, updating the graphs and values.
>>> Its not so easy finding a lot of documentation on Wt, so I have to try and post this and see if anyone can show me in the right direction :)
>>>
>>> Regards,
>>> Tor
>>>
>>> ------------------------------------------------------------------------------
>>> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
>>> With Perforce, you get hassle-free workflows. Merge that actually works.
>>> Faster operations. Version large binaries. Built-in WAN optimization and the
>>> freedom to use Git, Perforce or both. Make the move to Perforce.
>>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> witty-interest mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/witty-interest
>>
>> ------------------------------------------------------------------------------
>> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
>> With Perforce, you get hassle-free workflows. Merge that actually works.
>> Faster operations. Version large binaries. Built-in WAN optimization and the
>> freedom to use Git, Perforce or both. Make the move to Perforce.
>> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
>> _______________________________________________
>> witty-interest mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/witty-interest
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest
------------------------------------------------------------------------------ Learn Graph Databases - Download FREE O'Reilly Book "Graph Databases" is the definitive new guide to graph databases and their applications. Written by three acclaimed leaders in the field, this first edition is now available. Download your free book today! http://p.sf.net/sfu/13534_NeoTech
_______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
