Re: [Wt-interest] WServer implementation

2009-09-30 Thread Lars Hamren
Hi, Sorry for having been out of touch for some time. I think that the WServer classes are at a stage where it would be a good idea for me to hand them over to Koen et al. They know how to best integrate my code into Wt. Dynamic loading has not been implemented, but I do not see it as very

Re: [Wt-interest] WServer implementation

2009-07-13 Thread Koen Deforche
Hey Lars, 2009/7/8 Lars Hamren ham...@sdu.se: Hi, Koen I looked at your previous version and liked it alot. Thank you, that's nice to hear. And I like Wt a lot. I am still thinking about how to assume a sensible default... In yet another version, now uploaded, I have implemented the

Re: [Wt-interest] WServer implementation

2009-07-08 Thread Lars Hamren
Hi, Koen I would also add a: Factory *getTheFactory(); which would then be used by the current WRun() and which simply returns the sole registered factory (which was linked in) or fails if multiple or no factories were available. This is the behaviour of find(string name) if name is

Re: [Wt-interest] WServer implementation

2009-07-08 Thread Lars Hamren
Hi, There is a new version available at http://www.sdu.se/tmp/. WRun() no longer references WTHTTP_CONFIGURATION. WRun now parses the '--server-type,-s' argument to determine which server to create. Regards /Lars --

Re: [Wt-interest] WServer implementation

2009-07-08 Thread Koen Deforche
Hey Lars, 2009/7/8 Lars Hamren ham...@sdu.se: Hi, There is a new version available at http://www.sdu.se/tmp/. WRun() no longer references WTHTTP_CONFIGURATION. WRun now parses the '--server-type,-s' argument to determine which server to create. I looked at your previous version and liked

Re: [Wt-interest] WServer implementation

2009-07-07 Thread Wim Dumon
2009/7/6 Lars Hamren ham...@sdu.se: As I need to write a new server implementation, I have looked at the existing servers. As far as I understand it, fcgi/* and http/* both implement the class WServer and the function WRun(), and are placed in different libraries: libwtfcgi and libwthttp,

Re: [Wt-interest] WServer implementation

2009-07-07 Thread Lars Hamren
Ok, this is acceptable. Well, I'll have a stab at it and see how it goes. As for DLL:s, they are not strictly necessary to make the ABC useful. Applications can still have their own, application-specific, connectors linked in. I would suggest putting the the standard connectors into libwt, and

Re: [Wt-interest] WServer implementation

2009-07-07 Thread Koen Deforche
Hey Lars, 2009/7/7 Lars Hamren ham...@sdu.se: How do I change the cmake files so that the examples are linked to both http and fcgi libraries, not just the http library? You should change lines 83 to set EXAMPLES_CONNECTOR to both wthttp and wtfcgi. Good luck, koen

Re: [Wt-interest] WServer implementation

2009-07-07 Thread Lars Hamren
There is now an archive with my proposed changes at http://www.sdu.se/tmp/ I have tested the http connector on Linux, but not the fcgi connector. No tests on Windows, but there should be no platform dependencies in my changes. See the CHANGES file for a brief overview of changed files.