<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: It Just Works</title>
	<atom:link href="http://pocoproject.org/blog/?feed=rss2&#038;p=115" rel="self" type="application/rss+xml" />
	<link>http://pocoproject.org/blog/?p=115</link>
	<description>News and discussion for the POCO Community</description>
	<lastBuildDate>Thu, 09 May 2013 12:05:16 +0200</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: alex</title>
		<link>http://pocoproject.org/blog/?p=115&#038;cpage=1#comment-311</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Fri, 08 Feb 2008 00:29:32 +0000</pubDate>
		<guid isPermaLink="false">http://pocoproject.org/poco/blog/?p=115#comment-311</guid>
		<description>Mike,

I gave it a bit of thought today and it may actually be easier than I originally thought. Would you be willing to put in some work and turn it into an actual feature?

Alex</description>
		<content:encoded><![CDATA[<p>Mike,</p>
<p>I gave it a bit of thought today and it may actually be easier than I originally thought. Would you be willing to put in some work and turn it into an actual feature?</p>
<p>Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://pocoproject.org/blog/?p=115&#038;cpage=1#comment-310</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Thu, 07 Feb 2008 00:58:46 +0000</pubDate>
		<guid isPermaLink="false">http://pocoproject.org/poco/blog/?p=115#comment-310</guid>
		<description>This is easily doable for POD bindings and some databases (SQLite for sure), but the only truly portable way across all databases that I can think of would be to massage the SQL string and replace the placeholders before execution or turn placeholders into question marks and provide sufficient amount of bindings. Things then get more complicated when bindings are containers or complex types such as tuples or objects. Even more complicated for containers of tuples or objects. And yet more complicated for bulk execution. The solution I&#039;d be willing to add as a feature should work in all of the above cases.

Alex</description>
		<content:encoded><![CDATA[<p>This is easily doable for POD bindings and some databases (SQLite for sure), but the only truly portable way across all databases that I can think of would be to massage the SQL string and replace the placeholders before execution or turn placeholders into question marks and provide sufficient amount of bindings. Things then get more complicated when bindings are containers or complex types such as tuples or objects. Even more complicated for containers of tuples or objects. And yet more complicated for bulk execution. The solution I&#8217;d be willing to add as a feature should work in all of the above cases.</p>
<p>Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://pocoproject.org/blog/?p=115&#038;cpage=1#comment-309</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Wed, 06 Feb 2008 21:53:35 +0000</pubDate>
		<guid isPermaLink="false">http://pocoproject.org/poco/blog/?p=115#comment-309</guid>
		<description>Do you plan to support binding by name?

Something like this:

string addr = &quot;...&quot;;
session &lt;&lt; &quot;update person &quot;
       &quot;set main_address = :addr, contact_address = :addr &quot;
       &quot;where id = 7&quot;,
       use(addr, &quot;addr&quot;), now;

It is very useful --- never make an error in order of parameters.

If it can be implemented as some extension of existing implementation please let me know.</description>
		<content:encoded><![CDATA[<p>Do you plan to support binding by name?</p>
<p>Something like this:</p>
<p>string addr = &#8220;&#8230;&#8221;;<br />
session &lt;&lt; &#8220;update person &#8221;<br />
       &#8220;set main_address = :addr, contact_address = :addr &#8221;<br />
       &#8220;where id = 7&#8243;,<br />
       use(addr, &#8220;addr&#8221;), now;</p>
<p>It is very useful &#8212; never make an error in order of parameters.</p>
<p>If it can be implemented as some extension of existing implementation please let me know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://pocoproject.org/blog/?p=115&#038;cpage=1#comment-301</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Wed, 16 Jan 2008 03:39:12 +0000</pubDate>
		<guid isPermaLink="false">http://pocoproject.org/poco/blog/?p=115#comment-301</guid>
		<description>It absolutely would. Anyone willing to contribute ? ;-) (it&#039;s only two virtual functions, see the sample).

In the meantime, few data modifications:

&lt;ul&gt;
&lt;li&gt;fix for &lt;a href=&quot;https://sourceforge.net/tracker/index.php?func=detail&amp;aid=1871946&amp;group_id=132964&amp;atid=725709&quot; rel=&quot;nofollow&quot;&gt;this&lt;/a&gt; SF bug report&lt;/li&gt;
&lt;li&gt;use() takes reference now (this may break some code that should have been broken in the first place)&lt;/li&gt;
&lt;li&gt;bind() for constants (this is for const char* and other consts - it&#039;ll make an internal copy of the value)&lt;/li&gt;
&lt;li&gt;Statement: allow for easier external binding supply (this is for Brad, I hope it makes him happy ;-)&lt;/li&gt;
&lt;/ul&gt;

Alex</description>
		<content:encoded><![CDATA[<p>It absolutely would. Anyone willing to contribute ? <img src='http://pocoproject.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' />  (it&#8217;s only two virtual functions, see the sample).</p>
<p>In the meantime, few data modifications:</p>
<ul>
<li>fix for <a href="https://sourceforge.net/tracker/index.php?func=detail&#038;aid=1871946&#038;group_id=132964&#038;atid=725709" rel="nofollow">this</a> SF bug report</li>
<li>use() takes reference now (this may break some code that should have been broken in the first place)</li>
<li>bind() for constants (this is for const char* and other consts &#8211; it&#8217;ll make an internal copy of the value)</li>
<li>Statement: allow for easier external binding supply (this is for Brad, I hope it makes him happy <img src='http://pocoproject.org/blog/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </li>
</ul>
<p>Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: paschal</title>
		<link>http://pocoproject.org/blog/?p=115&#038;cpage=1#comment-302</link>
		<dc:creator>paschal</dc:creator>
		<pubDate>Tue, 15 Jan 2008 19:00:10 +0000</pubDate>
		<guid isPermaLink="false">http://pocoproject.org/poco/blog/?p=115#comment-302</guid>
		<description>This would also be cool in my opinion

std::cout &lt;&lt; RecordSet(session, &quot;SELECT * FROM Simpsons&quot;, new JSONFormatter());

paschal.</description>
		<content:encoded><![CDATA[<p>This would also be cool in my opinion</p>
<p>std::cout &lt;&lt; RecordSet(session, &#8220;SELECT * FROM Simpsons&#8221;, new JSONFormatter());</p>
<p>paschal.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://pocoproject.org/blog/?p=115&#038;cpage=1#comment-303</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Sat, 12 Jan 2008 18:57:20 +0000</pubDate>
		<guid isPermaLink="false">http://pocoproject.org/poco/blog/?p=115#comment-303</guid>
		<description>Few additions to Data SVN trunk:

&lt;ul&gt;
&lt;li&gt;SQL logging channel and archiving strategy&lt;/li&gt;
&lt;li&gt;row formatting refactored&lt;/li&gt;
&lt;li&gt;affected row count for insert, delete and update returned from Statement::execute()&lt;/li&gt;
&lt;li&gt;internal SQL string formatting capability using Poco::format()&lt;/li&gt;
&lt;/ul&gt;</description>
		<content:encoded><![CDATA[<p>Few additions to Data SVN trunk:</p>
<ul>
<li>SQL logging channel and archiving strategy</li>
<li>row formatting refactored</li>
<li>affected row count for insert, delete and update returned from Statement::execute()</li>
<li>internal SQL string formatting capability using Poco::format()</li>
</ul>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://pocoproject.org/blog/?p=115&#038;cpage=1#comment-304</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Fri, 11 Jan 2008 12:08:37 +0000</pubDate>
		<guid isPermaLink="false">http://pocoproject.org/poco/blog/?p=115#comment-304</guid>
		<description>James,

While talking to other projects and trying to merge may seem like a good idea initially, it is our experience that usually it does not bear much fruit and proves to be a waste of time. We tried it with &lt;a href=&quot;http://soci.sourceforge.net/&quot; rel=&quot;nofollow&quot;&gt;SOCI&lt;/a&gt; and &lt;a href=&quot;http://pt-framework.sourceforge.net/&quot; rel=&quot;nofollow&quot;&gt;Platinum&lt;/a&gt;. The main reason for failure is that ultimately none of the options turns out to be aceptable for both sides. Merging is a tough thing and people (including us) usually stick strongly to their code. While I may be willing to consider molding &lt;a href=&quot;http://poco.svn.sourceforge.net/viewvc/poco/sandbox/Servlet/&quot; rel=&quot;nofollow&quot;&gt;PocoServlet&lt;/a&gt; code to meet &lt;a href=&quot;http://www.total-knowledge.com&quot; rel=&quot;nofollow&quot;&gt;Total Knowledge&lt;/a&gt; half way, I would not be willing to give up Poco::Net dependency in favor of socket++ and would not be willing to have firm Apache dependency. That being said, we are very interested in your fastCGI code (I had plans myself for it) - it would be a nice addition to the servlet library, so if you are willing to contribute it, by all means do so. Recently, Paschal has ported all the Tomcat samples (I&#039;ll submit them, I hope, this weekend) to SVN.

Also, this reply is by no means meant to discourage you to talk to CppServ folks. Please do talk to them if you have time and enthusiasm, but be aware what you may be facing.

Alex</description>
		<content:encoded><![CDATA[<p>James,</p>
<p>While talking to other projects and trying to merge may seem like a good idea initially, it is our experience that usually it does not bear much fruit and proves to be a waste of time. We tried it with <a href="http://soci.sourceforge.net/" rel="nofollow">SOCI</a> and <a href="http://pt-framework.sourceforge.net/" rel="nofollow">Platinum</a>. The main reason for failure is that ultimately none of the options turns out to be aceptable for both sides. Merging is a tough thing and people (including us) usually stick strongly to their code. While I may be willing to consider molding <a href="http://poco.svn.sourceforge.net/viewvc/poco/sandbox/Servlet/" rel="nofollow">PocoServlet</a> code to meet <a href="http://www.total-knowledge.com" rel="nofollow">Total Knowledge</a> half way, I would not be willing to give up Poco::Net dependency in favor of socket++ and would not be willing to have firm Apache dependency. That being said, we are very interested in your fastCGI code (I had plans myself for it) &#8211; it would be a nice addition to the servlet library, so if you are willing to contribute it, by all means do so. Recently, Paschal has ported all the Tomcat samples (I&#8217;ll submit them, I hope, this weekend) to SVN.</p>
<p>Also, this reply is by no means meant to discourage you to talk to CppServ folks. Please do talk to them if you have time and enthusiasm, but be aware what you may be facing.</p>
<p>Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Mansion</title>
		<link>http://pocoproject.org/blog/?p=115&#038;cpage=1#comment-305</link>
		<dc:creator>James Mansion</dc:creator>
		<pubDate>Fri, 11 Jan 2008 11:17:41 +0000</pubDate>
		<guid isPermaLink="false">http://pocoproject.org/poco/blog/?p=115#comment-305</guid>
		<description>Can&#039;t help thinking that it would be worth talking to these guys http://www.total-knowledge.com/progs/cppserv/ if there are any issues relating to creating de-factor standards for this sort of thing.

Note to self: have a POCO port of libFastCGI: must send it along.</description>
		<content:encoded><![CDATA[<p>Can&#8217;t help thinking that it would be worth talking to these guys <a href="http://www.total-knowledge.com/progs/cppserv/" rel="nofollow">http://www.total-knowledge.com/progs/cppserv/</a> if there are any issues relating to creating de-factor standards for this sort of thing.</p>
<p>Note to self: have a POCO port of libFastCGI: must send it along.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paschal</title>
		<link>http://pocoproject.org/blog/?p=115&#038;cpage=1#comment-308</link>
		<dc:creator>Paschal</dc:creator>
		<pubDate>Mon, 07 Jan 2008 00:25:10 +0000</pubDate>
		<guid isPermaLink="false">http://pocoproject.org/poco/blog/?p=115#comment-308</guid>
		<description>Just tuned in!
This is simply exciting news. HTTPServer, Servlets and now Server Pages ... should this be called CSP ?. C++ has finally joined the internet party in a big way.. because of Poco.

You guys are geniuses.</description>
		<content:encoded><![CDATA[<p>Just tuned in!<br />
This is simply exciting news. HTTPServer, Servlets and now Server Pages &#8230; should this be called CSP ?. C++ has finally joined the internet party in a big way.. because of Poco.</p>
<p>You guys are geniuses.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alex</title>
		<link>http://pocoproject.org/blog/?p=115&#038;cpage=1#comment-306</link>
		<dc:creator>alex</dc:creator>
		<pubDate>Sun, 06 Jan 2008 22:52:31 +0000</pubDate>
		<guid isPermaLink="false">http://pocoproject.org/poco/blog/?p=115#comment-306</guid>
		<description>Ah great. I thought about it long time ago, in my servlet days. So, your page compiler, in turn, will work great with the servlets.

Paschal, are you tuned in?</description>
		<content:encoded><![CDATA[<p>Ah great. I thought about it long time ago, in my servlet days. So, your page compiler, in turn, will work great with the servlets.</p>
<p>Paschal, are you tuned in?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
