<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://www.usualcoding.eu/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
  <title>UsualCoding.eu - soci</title>
  <link>http://www.usualcoding.eu/</link>
  <description>Use(less|ful) stuff</description>
  <language>en</language>
  <pubDate>Wed, 21 Jul 2010 22:55:36 +0200</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>Modern C++</title>
    <link>http://www.usualcoding.eu/post/2007/06/04/Modern-C</link>
    <guid isPermaLink="false">urn:md5:26a8ed51c3817a4eddd6f8d325c7cb97</guid>
    <pubDate>Mon, 04 Jun 2007 01:38:00 +0000</pubDate>
    <dc:creator>Seb</dc:creator>
        <category>C++</category>
        <category>asio</category><category>boost</category><category>code</category><category>cpp</category><category>poco</category><category>soci</category><category>wt</category>    
    <description>    &lt;p&gt;In the days of dynamic programming languages and gigantic runtime frameworks like .Net or Java it seems complicated and painful to write new code in a compiled language like C++. I mean why bother writing more code, spending more time writing it when you have the choice of implementation.&lt;br /&gt;
Well sometimes you don't have that choice. Perhaps because of backwards compatibility, because performance matters or maybe just for fun.&lt;/p&gt;
&lt;p&gt;Well you don't need to be jealous of your fellow C# programmers. There are plenty of great C++ libraries out there that make life much easier. Thanks to them you will be able to write portable code without always reinventing the wheel.&lt;/p&gt;
&lt;p&gt;Ever wanted to &quot;embed&quot; SQL queries in C++ code? &lt;a href=&quot;http://soci.sourceforge.net/&quot;&gt;SOCI&lt;/a&gt; is the answer:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    int count;&lt;br /&gt;    sql &amp;lt;&amp;lt; &quot;select count(*) from person&quot;, into(count);&lt;br /&gt;&lt;br /&gt;    string name;&lt;br /&gt;    sql &amp;lt;&amp;lt; &quot;select name from person where id = 42&quot;, into(name);&lt;br /&gt;&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It provides you with an IOStream-like interface queries and a portable codebase for the most common databases (mysql, oracle, postgres...).&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.appinf.com/poco/info/index.html&quot;&gt;POCO&lt;/a&gt; is a complete set of libraries with everything you may have missed in Boost. I addition to the usual stuff like threads, streams and filesystem access, you will also find shared libraries loading, xml, networking and more.&lt;/p&gt;
&lt;p&gt;Crazy people looking to create web applications might want to have a look at &lt;a href=&quot;http://wipkip.irule.be/wt/&quot;&gt;Wt&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;So C++ may be a hard language but a lot has been done to help people through their pain.&lt;/p&gt;
&lt;p&gt;Have fun.&lt;/p&gt;
&lt;p&gt;Links:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&quot;http://www.boost.org/&quot;&gt;Boost&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://asio.sourceforge.net/&quot;&gt;Boost Asio&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://soci.sourceforge.net/&quot;&gt;SOCI - The C++ Database Access Library&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://www.appinf.com/poco/info/index.html&quot;&gt;POCO C++ Libraries&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&quot;http://wipkip.irule.be/wt/&quot;&gt;Wt: a C++ Web Toolkit&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;</description>
    
    
    
          <comments>http://www.usualcoding.eu/post/2007/06/04/Modern-C#comment-form</comments>
      <wfw:comment>http://www.usualcoding.eu/post/2007/06/04/Modern-C#comment-form</wfw:comment>
      <wfw:commentRss>http://www.usualcoding.eu/feed/rss2/comments/2</wfw:commentRss>
      </item>
    
</channel>
</rss>