<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : CXTPCalendarCustomDataProvider vs raw insertions</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Calendar : CXTPCalendarCustomDataProvider vs raw insertions]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 13 Jun 2026 05:09:18 +0000</pubDate>
  <lastBuildDate>Sat, 28 Oct 2006 10:47:40 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=5365</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[CXTPCalendarCustomDataProvider vs raw insertions : BTW. couple more notes. CXTPCalendarCustomDataProvider...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5365&amp;PID=16853&amp;title=cxtpcalendarcustomdataprovider-vs-raw-insertions#16853</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 5365<br /><strong>Posted:</strong> 28 October 2006 at 10:47am<br /><br />BTW. couple more notes. <br><br>CXTPCalendarCustomDataProvider is a default implementation of Custom Data Provider.<br>It is created if you use a connection string: 'Provider=Custom'<br>And its implementation fires notifications for DoXXX virtual functions calls.<br>This is an universal way. It is quite usefull for our ActiveX CalendarControl implementation.<br>&nbsp;<br>But for a C++ you can also create an own class dirived from CXTPCalendarData (or CXTPCalendarCustomDataProvider) and override DoXXX virtual functions and others if needed (like Open, Close ...). In this case just use CXTPCalendarCustomDataProvider as example.<br><br>Also use CXTPCalendarControl::SetDataProvider(CXTPCalendarData* pDataProvider, BOOL bCloseDataProviderWhenDestroy) method to set data provider.<br>&nbsp;<br>This way looks more convenient for C++. <br>&nbsp;<br>But anyway, you can use any of them if you like it more... <br><br><br>--<br>WBR,<br>Serge<br>]]>
   </description>
   <pubDate>Sat, 28 Oct 2006 10:47:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5365&amp;PID=16853&amp;title=cxtpcalendarcustomdataprovider-vs-raw-insertions#16853</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPCalendarCustomDataProvider vs raw insertions : Ok, thanks for your information....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5365&amp;PID=16851&amp;title=cxtpcalendarcustomdataprovider-vs-raw-insertions#16851</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 5365<br /><strong>Posted:</strong> 27 October 2006 at 7:39pm<br /><br />Ok, thanks for your information. I will take a closer look on the data provider class.]]>
   </description>
   <pubDate>Fri, 27 Oct 2006 19:39:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5365&amp;PID=16851&amp;title=cxtpcalendarcustomdataprovider-vs-raw-insertions#16851</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPCalendarCustomDataProvider vs raw insertions : I have been working on binding...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5365&amp;PID=16844&amp;title=cxtpcalendarcustomdataprovider-vs-raw-insertions#16844</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2321">JohnCrenshaw</a><br /><strong>Subject:</strong> 5365<br /><strong>Posted:</strong> 27 October 2006 at 9:41am<br /><br /><P>I have been working on binding a database of my own to the calendar control. It is actually fairly easy and well worth it.</P><P>Here are the advantages(as I see it) to binding the data:</P><P>Improved performance, since the database is accessed on an "as needed" basis, rather than loading everything up front.</P><P>Improved data integrigty, since the datasource is notified of changes to the calendar as they happen, these changes can be sent to the database, eliminating the possibility of data loss from a crash or something.</P><P>Cleaner code, since loading things up when you start and cleaning them out later certainly requires a couple of ugly loops, something feels much cleaner about responding to a request for events for a certain day and giving them then.</P><P>Basically, binding the datasource is the "right" way and loading to memory is the "easy" way. Binding will take you a couple of days, but is very easy and well worth it. If you intend for anyone else to ever use this, bind it</P>]]>
   </description>
   <pubDate>Fri, 27 Oct 2006 09:41:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5365&amp;PID=16844&amp;title=cxtpcalendarcustomdataprovider-vs-raw-insertions#16844</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPCalendarCustomDataProvider vs raw insertions : Hi,Yes, the idea of using Custom...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5365&amp;PID=16826&amp;title=cxtpcalendarcustomdataprovider-vs-raw-insertions#16826</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=862">sserge</a><br /><strong>Subject:</strong> 5365<br /><strong>Posted:</strong> 27 October 2006 at 3:02am<br /><br />Hi,<br><br>Yes, the idea of using Custom Data Provider is not to store all events in the memory, but provide them to Calendar control by request.<br><br>See also an article: <a href="http://codejock.com/support/articles/com/calendar/cp_3.asp" target="_blank">http://codejock.com/support/articles/com/calendar/cp_3.asp</a><br><br>Let me know if you do have any more questions.<br><br>--<br>WBR, <br>Serge<br>]]>
   </description>
   <pubDate>Fri, 27 Oct 2006 03:02:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5365&amp;PID=16826&amp;title=cxtpcalendarcustomdataprovider-vs-raw-insertions#16826</guid>
  </item> 
  <item>
   <title><![CDATA[CXTPCalendarCustomDataProvider vs raw insertions : Hi! I&amp;#039;m using the CXTPCalendarControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5365&amp;PID=16816&amp;title=cxtpcalendarcustomdataprovider-vs-raw-insertions#16816</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 5365<br /><strong>Posted:</strong> 26 October 2006 at 5:52pm<br /><br />Hi!<DIV><BR>I'm using the <FONT size=2>CXTPCalendarControl together with a custom SQLite database. Since I did not know how to use the <FONT size=2>CXTPCalendarCustomDataProvider interface, I simply inserted all events upon creation. This causes all events to be stored in RAM at all times.</FONT></FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>My question is; will&nbsp;the <FONT size=2>CXTPCalendarCustomDataProvider interface somehow improve the performance in my application compared with my current insertion method?</FONT></FONT></DIV><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>Thanks.</FONT></DIV>]]>
   </description>
   <pubDate>Thu, 26 Oct 2006 17:52:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5365&amp;PID=16816&amp;title=cxtpcalendarcustomdataprovider-vs-raw-insertions#16816</guid>
  </item> 
 </channel>
</rss>