<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Thoughts on a Web ToolKit</title>
	<atom:link href="http://journal.paul.querna.org/articles/2006/06/04/thoughts-on-a-web-toolkit/feed/" rel="self" type="application/rss+xml" />
	<link>http://journal.paul.querna.org/articles/2006/06/04/thoughts-on-a-web-toolkit/</link>
	<description>Now with more async io</description>
	<pubDate>Thu, 04 Dec 2008 17:27:11 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
		<item>
		<title>By: Paul</title>
		<link>http://journal.paul.querna.org/articles/2006/06/04/thoughts-on-a-web-toolkit/#comment-72</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Mon, 05 Jun 2006 09:53:33 +0000</pubDate>
		<guid isPermaLink="false">#comment-72</guid>
		<description>On Wit -- It takes the approach of a Widget Toolkit, heavily mixing the presentation with the 'business logic', in my experience these type of toolkit designs end up not working so well.  I prefer the separate template file, which contains all of your design -- the code just sets some variables for it, ala ClearSilver or somewhat how Smarty works in PHP.</description>
		<content:encoded><![CDATA[<p>On Wit &#8212; It takes the approach of a Widget Toolkit, heavily mixing the presentation with the &#8216;business logic&#8217;, in my experience these type of toolkit designs end up not working so well.  I prefer the separate template file, which contains all of your design &#8212; the code just sets some variables for it, ala ClearSilver or somewhat how Smarty works in PHP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: the_angry_angel</title>
		<link>http://journal.paul.querna.org/articles/2006/06/04/thoughts-on-a-web-toolkit/#comment-70</link>
		<dc:creator>the_angry_angel</dc:creator>
		<pubDate>Mon, 05 Jun 2006 08:51:51 +0000</pubDate>
		<guid isPermaLink="false">#comment-70</guid>
		<description>I know my opinion probably counts for very little, and my experience with C and C++ webkits is limited. However, I do prefer to work with the example style that Ryan gives.

That said, the &lt;a href='http://jose.med.kuleuven.ac.be/wt/Home.fcg' rel="nofollow"&gt;http://jose.med.kuleuven.ac.be/wt/Home.fcg&lt;/a&gt; way of going about things seems to be quite cool on initial inspection, although a little higher level than I imagine you are aiming for...

Like Ryan says, you can always wrap a C API. Vice versa being rather more complex to do..for obvious reasons.</description>
		<content:encoded><![CDATA[<p>I know my opinion probably counts for very little, and my experience with C and C++ webkits is limited. However, I do prefer to work with the example style that Ryan gives.</p>
<p>That said, the <a href='http://jose.med.kuleuven.ac.be/wt/Home.fcg' rel="nofollow">http://jose.med.kuleuven.ac.be/wt/Home.fcg</a> way of going about things seems to be quite cool on initial inspection, although a little higher level than I imagine you are aiming for&#8230;</p>
<p>Like Ryan says, you can always wrap a C API. Vice versa being rather more complex to do..for obvious reasons.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Garrett</title>
		<link>http://journal.paul.querna.org/articles/2006/06/04/thoughts-on-a-web-toolkit/#comment-68</link>
		<dc:creator>Garrett</dc:creator>
		<pubDate>Mon, 05 Jun 2006 06:40:42 +0000</pubDate>
		<guid isPermaLink="false">#comment-68</guid>
		<description>You already know my opinion on the C/C++ bit (C++ bad, or at least C++ not much better than C for the part you seem to want it to make easier for you), but as far as the callbacks + a runloop function versus requiring the user to do that, it seems like one can be built atop the other.  If you provide the matching code, and let the user run their handlers manually, that leaves that open for them, but you can then build the rest on top of it.  Although you should note that for things like fcgi the run loop part is kind of required...</description>
		<content:encoded><![CDATA[<p>You already know my opinion on the C/C++ bit (C++ bad, or at least C++ not much better than C for the part you seem to want it to make easier for you), but as far as the callbacks + a runloop function versus requiring the user to do that, it seems like one can be built atop the other.  If you provide the matching code, and let the user run their handlers manually, that leaves that open for them, but you can then build the rest on top of it.  Although you should note that for things like fcgi the run loop part is kind of required&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://journal.paul.querna.org/articles/2006/06/04/thoughts-on-a-web-toolkit/#comment-66</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sun, 04 Jun 2006 23:27:33 +0000</pubDate>
		<guid isPermaLink="false">#comment-66</guid>
		<description>Ya, I really want to capture some of the 'magic' that many of the newer kits like Ruby on Rails or Django do -- it kind of can meke it difficult to use straight C for some of that magic.

I don't want it to be so directly tied to an SQL DB/object marshling system as Django and RoR seem to be.  That should be something you can build on top.
</description>
		<content:encoded><![CDATA[<p>Ya, I really want to capture some of the &#8216;magic&#8217; that many of the newer kits like Ruby on Rails or Django do &#8212; it kind of can meke it difficult to use straight C for some of that magic.</p>
<p>I don&#8217;t want it to be so directly tied to an SQL DB/object marshling system as Django and RoR seem to be.  That should be something you can build on top.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By:  Ryan</title>
		<link>http://journal.paul.querna.org/articles/2006/06/04/thoughts-on-a-web-toolkit/#comment-64</link>
		<dc:creator> Ryan</dc:creator>
		<pubDate>Sun, 04 Jun 2006 23:11:45 +0000</pubDate>
		<guid isPermaLink="false">#comment-64</guid>
		<description>Perhaps it should be C++.  People are getting quite used to the Ruby on Rails or Django philosophy of doing things in an object oriented fashion.  it would be slick to be able to inherit from a XMLRPC object and have it automatically know how to handle a post, and serialize the replies.
&lt;br&gt;&lt;br&gt;
&lt;p&gt;
However, I like the modular approach with C.  Something like:
&lt;/p&gt;
&lt;pre&gt;
app* app = new_app();
pwt *my_xmlrpc_pinger = pwt_new_xmlrpc(my_callback);
pwt_register_mount(app, "/ping", my_xmlrpc_pinger);
pwt_register_mount(app, "/ping/static_page", pwt_static_page("dummypage"));
pwt_run_app(app);
&lt;/pre&gt;

Even though the OS will cache the CGIs a C++ based web based application would use more memory than a C based API.  Bad if there are a lot of CGIs.  A good C library can always be wrapped into a C++ library.  

In summary, I'm on the fence. I am voting for the modular approach, whether that is in C or C++ I'm not sure.</description>
		<content:encoded><![CDATA[<p>Perhaps it should be C++.  People are getting quite used to the Ruby on Rails or Django philosophy of doing things in an object oriented fashion.  it would be slick to be able to inherit from a XMLRPC object and have it automatically know how to handle a post, and serialize the replies.</p>
<p>
However, I like the modular approach with C.  Something like:
</p>
<pre>
app* app = new_app();
pwt *my_xmlrpc_pinger = pwt_new_xmlrpc(my_callback);
pwt_register_mount(app, "/ping", my_xmlrpc_pinger);
pwt_register_mount(app, "/ping/static_page", pwt_static_page("dummypage"));
pwt_run_app(app);
</pre>
<p>Even though the OS will cache the CGIs a C++ based web based application would use more memory than a C based API.  Bad if there are a lot of CGIs.  A good C library can always be wrapped into a C++ library.  </p>
<p>In summary, I&#8217;m on the fence. I am voting for the modular approach, whether that is in C or C++ I&#8217;m not sure.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
