Hey Mohammed, 2011/12/16 Mohammed Rashad <mohammedrasha...@gmail.com>: > I would like to develop a new connector for Wt. current Wt supports > whttp,wtfastcgi and ISAPI connector. With NaCl connector Wt will rock!!. > Koen said me once about having a NaCl connector and I would like to work on > it. I lost the mail he replied long back. > > This message is all about starting a new discussion about adding NaCl > connector. I am applying as student to Wt community for guidance on building > a new Wt connector. > If somebody is already doing it Ignore this mail with a reply. I only want > to make that happen.
That is awesome! Many times I have lousy ideas but usually time catches up with this. But the NaCl connector keeps intriguing me, so it would be fantastic to have it. What I have done in that area is only this: I have been able to build Wt using the NaCl toolchain, but thus without a connector. That went out-of-the box. But I've not done any actual work on the connector. You will find that the connector interface is quite simple -- you need to implement three things: - an implementation of WebRequest (see for example http/HTTPRequest.C) - some methods of WServer (see for example http/WServer.C) Obviously, there will not be actual requests, and I was also thinking that perhaps it is easiest to start with supporting Wt's widgetset mode because that aligns with the other nacl examples where a particular object in an HTML page is implemented using nacl (or may be not). Instead of having a <script> tag to bootstrap the wt application, you would then use a foreign nacl object ? The idea should then be that the initial JavaScript file and subsequent 'Ajax' calls are communicated over the JavaScript-Nacl communication channel, but appear to the Wt library itself as JavaScript resp. Ajax requests. The only modification that is then obviously needed is in Wt to not generate these Ajax calls (in Wt.js) but do something else. I don't believe it is a totally easy work, but, on the other hand, it seems like a lot of fun and you do not need to know too much of Wt internals. Regards, koen ------------------------------------------------------------------------------ Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure _______________________________________________ witty-interest mailing list witty-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/witty-interest