From: Glyn M. <gly...@gm...> - 2010-05-28 09:15:47
|
Hi Matt, On 28 May 2010 09:38, Mark Wright <mar...@in...> wrote: > Hi, > > cpp-netlib is really neat, thanks for writing this great library. > Thanks! > > I think it would be really great if cpp-netlib had more support for > XML REST web server and clients, and smtp client, so I vote for: > > * web framework > * more message algorithms (transforms, renderers) > * smtp client > > cpp-netlib REST XML clients and servers that are interopable with > C# WCF REST clients and servers would be really neat. Then it > would be interesting to run some benchmark tests to see how > C++ netlib XML REST clients and servers perform vs C# clients > and servers. Some obvious ideas for the XML parsing is to use > Rapid XML: > > http://rapidxml.sourceforge.net/manual.html#namespacerapidxml_1performance > > XML parsing is something that's going to crop up over again. For the XMPP client, I intend to write some simple backends around third party libs such as expat and libxml2 (not rapidxml as it's not an incremental parser). Rapid XML could still be useful for other parts. In any case, in the absence of Boost.Xml we'd have to make a lot of decisions about this ourselves so we don't end up writing our own XML library. > and the Half-Sync/Half-Async pattern: > > http://www.cs.wustl.edu/~schmidt/PDF/PLoP-95.pdf > > For C# REST XML, there is an article and examples at: > > http://msdn.microsoft.com/en-us/library/aa395208.aspx > > I guess you would have seen the ASIO blog articles about co-routines, > which may make it easier to implement some protocols, like smtp: > > > http://blog.think-async.com/2010/03/potted-guide-to-stackless-coroutines.html > > http://blog.think-async.com/2009/08/composed-operations-coroutines-and-code.html > http://blog.think-async.com/2009/08/secret-sauce-revealed.html > http://blog.think-async.com/2009/07/wife-says-i-cant-believe-it-works.html > > Thanks very much, > > Thank you too for your input. You've obviously given some thought to this, is it possible that you could contribute? <https://lists.sourceforge.net/lists/listinfo/cpp-netlib-devel> |