<?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: PEAR::Calendar updated</title>
	<atom:link href="http://www.sitepoint.com/blogs/2004/08/16/pearcalendar-updated/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2004/08/16/pearcalendar-updated/</link>
	<description>News, opinion, and fresh thinking for web developers and designers. The official podcast of sitepoint.com.</description>
	<lastBuildDate>Sat, 20 Mar 2010 19:42:52 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Dangermouse</title>
		<link>http://www.sitepoint.com/blogs/2004/08/16/pearcalendar-updated/comment-page-1/#comment-917</link>
		<dc:creator>Dangermouse</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">1476074847#comment-917</guid>
		<description>&lt;p&gt;&lt;b&gt;please&lt;/b&gt; write a &lt;b&gt;tutorial&lt;/b&gt; for it!&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p><b>please</b> write a <b>tutorial</b> for it!</p>]]></content:encoded>
	</item>
	<item>
		<title>By: HarryF</title>
		<link>http://www.sitepoint.com/blogs/2004/08/16/pearcalendar-updated/comment-page-1/#comment-918</link>
		<dc:creator>HarryF</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">1476074847#comment-918</guid>
		<description>&lt;p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;br /&gt;
please write a tutorial for it!&lt;br /&gt;
&lt;/p&gt;&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;OK - will add that to the todo list. There is some documentation online &lt;a href=&quot;http://pear.php.net/manual/en/package.datetime.calendar.php&quot;&gt;here&lt;/a&gt; plus plenty of examples that come with it. Perhaps the most useful example is &lt;a href=&quot;http://cvs.php.net/co.php/pear/Calendar/docs/examples/20.php?r=1.2&quot;&gt;this one&lt;/a&gt; Lorenzo added - shows how to build an event calendar with it.&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>
<blockquote>
<p>
please write a tutorial for it!
</p>
</blockquote>
</p><p>OK &#8211; will add that to the todo list. There is some documentation online <a href="http://pear.php.net/manual/en/package.datetime.calendar.php">here</a> plus plenty of examples that come with it. Perhaps the most useful example is <a href="http://cvs.php.net/co.php/pear/Calendar/docs/examples/20.php?r=1.2">this one</a> Lorenzo added &#8211; shows how to build an event calendar with it.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Dave</title>
		<link>http://www.sitepoint.com/blogs/2004/08/16/pearcalendar-updated/comment-page-1/#comment-919</link>
		<dc:creator>Dave</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">1476074847#comment-919</guid>
		<description>&lt;p&gt;Awesome! Thanks Harry and Lorenzo. Ever since I discovered PEAR about 3 months ago, the Calendar package has been one of my favorite and oft used packages. Excellent work! And keep it up, I know we all appreciate it.&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>Awesome! Thanks Harry and Lorenzo. Ever since I discovered PEAR about 3 months ago, the Calendar package has been one of my favorite and oft used packages. Excellent work! And keep it up, I know we all appreciate it.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: jarad_mayers</title>
		<link>http://www.sitepoint.com/blogs/2004/08/16/pearcalendar-updated/comment-page-1/#comment-920</link>
		<dc:creator>jarad_mayers</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">1476074847#comment-920</guid>
		<description>&lt;p&gt;Does it support Hijri(Lunar based),Jalali(Sun based) and Hebrew Calendars. Also How well does PHP support I18N? Does it support BiDi? Those aforementioned Calendars are usually done right -to-left.&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>Does it support Hijri(Lunar based),Jalali(Sun based) and Hebrew Calendars. Also How well does PHP support I18N? Does it support BiDi? Those aforementioned Calendars are usually done right -to-left.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: cyberlot</title>
		<link>http://www.sitepoint.com/blogs/2004/08/16/pearcalendar-updated/comment-page-1/#comment-921</link>
		<dc:creator>cyberlot</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">1476074847#comment-921</guid>
		<description>&lt;p&gt;Maybe build memcached support or at least some sort of caching hooks so the user can implement there caching method of choice &lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>Maybe build memcached support or at least some sort of caching hooks so the user can implement there caching method of choice </p>]]></content:encoded>
	</item>
	<item>
		<title>By: HarryF</title>
		<link>http://www.sitepoint.com/blogs/2004/08/16/pearcalendar-updated/comment-page-1/#comment-922</link>
		<dc:creator>HarryF</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">1476074847#comment-922</guid>
		<description>&lt;p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;br /&gt;
Does it support Hijri(Lunar based),Jalali(Sun based) and Hebrew Calendars.&lt;br /&gt;
&lt;/p&gt;&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;Well not right now but &lt;i&gt;in theory&lt;/i&gt; it could. The calendars would need to have some quantity which can be equated to the calendar &quot;units&quot; of year, month, week, day, hour, minute and second. All the real math happens in the engine classes, even determining (what are normally absolute) values such as the number of days in a week. So (in theory) all you need to do is perform the required calendar math while implementing &lt;a href=&quot;http://pear.php.net/package/Calendar/docs/0.5.2/Calendar/Calendar_Engine_Interface.html&quot;&gt;this&lt;/a&gt; interface. I say in theory because it hasn&#039;t been done yet, other than the two existing engines, one using Unix timestamp-based calculations and the other using &lt;a href=&quot;http://pear.php.net/Date&quot;&gt;PEAR::Date&lt;/a&gt;. My guess is the notion of a week may be problematic is some cases but that can be fixed.&lt;/p&gt;

&lt;p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;br /&gt;
Also How well does PHP support I18N? Does it support BiDi? &lt;br /&gt;
&lt;/p&gt;&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;Not so well. For basic i18n you can change locales as with &lt;a href=&quot;http://cvs.php.net/co.php/pear/Calendar/docs/examples/9.php?r=1.1&quot;&gt;this example&lt;/a&gt;. Dealing with stuff like character sets and unicode is not natively handled - you have to start messing with stuff like the &lt;a href=&quot;http://www.php.net/mbstring&quot;&gt;mbstring&lt;/a&gt; extension.&lt;/p&gt;

&lt;p&gt;(Update) You may also be interested in this &lt;a href=&quot;http://pecl.php.net/package/fribidi&quot;&gt;http://pecl.php.net/package/fribidi&lt;/a&gt;...&lt;/p&gt;

&lt;p&gt;Things &lt;i&gt;may&lt;/i&gt; be getting better soon - an reads on the subject; &lt;a href=&quot;http://www.zend.com/lists/php-dev/200303/msg00656.html&quot;&gt;http://www.zend.com/lists/php-dev/200303/msg00656.html&lt;/a&gt;. Otherwise best to check in at the php.i18n mailing list &lt;a href=&quot;http://news.php.net/group.php?group=php.i18n&quot;&gt;http://news.php.net/group.php?group=php.i18n&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;br /&gt;
Those aforementioned Calendars are usually done right -to-left.&lt;br /&gt;
&lt;/p&gt;&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;That part shouldn&#039;t be too much of a problem. PEAR::Calendar doesn&#039;t itself generate any output - just generates a the elements of the calendar as a data structure for you to loop over and render whatever you want. Would probably just be a case of concatenating a string.&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>
<blockquote>
<p>
Does it support Hijri(Lunar based),Jalali(Sun based) and Hebrew Calendars.
</p>
</blockquote>
</p><p>Well not right now but <i>in theory</i> it could. The calendars would need to have some quantity which can be equated to the calendar &#8220;units&#8221; of year, month, week, day, hour, minute and second. All the real math happens in the engine classes, even determining (what are normally absolute) values such as the number of days in a week. So (in theory) all you need to do is perform the required calendar math while implementing <a href="http://pear.php.net/package/Calendar/docs/0.5.2/Calendar/Calendar_Engine_Interface.html">this</a> interface. I say in theory because it hasn&#8217;t been done yet, other than the two existing engines, one using Unix timestamp-based calculations and the other using <a href="http://pear.php.net/Date">PEAR::Date</a>. My guess is the notion of a week may be problematic is some cases but that can be fixed.</p>
<p>
<blockquote>
<p>
Also How well does PHP support I18N? Does it support BiDi? 
</p>
</blockquote>
</p><p>Not so well. For basic i18n you can change locales as with <a href="http://cvs.php.net/co.php/pear/Calendar/docs/examples/9.php?r=1.1">this example</a>. Dealing with stuff like character sets and unicode is not natively handled &#8211; you have to start messing with stuff like the <a href="http://www.php.net/mbstring">mbstring</a> extension.</p>
<p>(Update) You may also be interested in this <a href="http://pecl.php.net/package/fribidi">http://pecl.php.net/package/fribidi</a>&#8230;</p>
<p>Things <i>may</i> be getting better soon &#8211; an reads on the subject; <a href="http://www.zend.com/lists/php-dev/200303/msg00656.html">http://www.zend.com/lists/php-dev/200303/msg00656.html</a>. Otherwise best to check in at the php.i18n mailing list <a href="http://news.php.net/group.php?group=php.i18n">http://news.php.net/group.php?group=php.i18n</a>.</p>
<p>
<blockquote>
<p>
Those aforementioned Calendars are usually done right -to-left.
</p>
</blockquote>
</p><p>That part shouldn&#8217;t be too much of a problem. PEAR::Calendar doesn&#8217;t itself generate any output &#8211; just generates a the elements of the calendar as a data structure for you to loop over and render whatever you want. Would probably just be a case of concatenating a string.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: HarryF</title>
		<link>http://www.sitepoint.com/blogs/2004/08/16/pearcalendar-updated/comment-page-1/#comment-923</link>
		<dc:creator>HarryF</dc:creator>
		<pubDate>Tue, 30 Nov 1999 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">1476074847#comment-923</guid>
		<description>&lt;p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;br /&gt;
Maybe build memcached support or at least some sort of caching hooks so the user can implement there caching method of choice&lt;br /&gt;
&lt;/p&gt;&lt;/blockquote&gt;&lt;/p&gt;

&lt;p&gt;Perhaps some hooks is the best way - do with the objects as you like (and saves me having to reimplement stuff done elsewhere). Thanks - reckon I&#039;ll do that.&lt;/p&gt;

</description>
		<content:encoded><![CDATA[<p>
<blockquote>
<p>
Maybe build memcached support or at least some sort of caching hooks so the user can implement there caching method of choice
</p>
</blockquote>
</p><p>Perhaps some hooks is the best way &#8211; do with the objects as you like (and saves me having to reimplement stuff done elsewhere). Thanks &#8211; reckon I&#8217;ll do that.</p>]]></content:encoded>
	</item>
</channel>
</rss>
