<?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: Towards a Standard for Django Session Messages</title>
	<atom:link href="http://www.caktusgroup.com/blog/2009/06/19/towards-a-standard-for-django-session-messages/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.caktusgroup.com/blog/2009/06/19/towards-a-standard-for-django-session-messages/</link>
	<description>Blog &#124; Django Web Development &#124; Raleigh Durham Chapel Hill &#124; Caktus Consulting Group</description>
	<pubDate>Thu, 11 Mar 2010 11:44:54 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.3</generator>
		<item>
		<title>By: tobias</title>
		<link>http://www.caktusgroup.com/blog/2009/06/19/towards-a-standard-for-django-session-messages/#comment-494</link>
		<dc:creator>tobias</dc:creator>
		<pubDate>Thu, 31 Dec 2009 14:41:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.caktusgroup.com/blog/?p=249#comment-494</guid>
		<description>A messages backend has been integrated in Django:

http://code.djangoproject.com/changeset/11804

It's only in trunk at this point, but it'll be released as part of Django 1.2.  The documentation can be found here:

http://docs.djangoproject.com/en/dev/ref/contrib/messages/

Enjoy!</description>
		<content:encoded><![CDATA[<p>A messages backend has been integrated in Django:</p>
<p><a href="http://code.djangoproject.com/changeset/11804" rel="nofollow">http://code.djangoproject.com/changeset/11804</a></p>
<p>It&#8217;s only in trunk at this point, but it&#8217;ll be released as part of Django 1.2.  The documentation can be found here:</p>
<p><a href="http://docs.djangoproject.com/en/dev/ref/contrib/messages/" rel="nofollow">http://docs.djangoproject.com/en/dev/ref/contrib/messages/</a></p>
<p>Enjoy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bbb</title>
		<link>http://www.caktusgroup.com/blog/2009/06/19/towards-a-standard-for-django-session-messages/#comment-493</link>
		<dc:creator>bbb</dc:creator>
		<pubDate>Thu, 31 Dec 2009 10:21:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.caktusgroup.com/blog/?p=249#comment-493</guid>
		<description>I needed this functionality and started to hack around the apparent lack of it--then thought twice. Googling a bit led me to Ticket #4604, and to here/django-notify. *Exactly* what I was looking for and works seamlessly. Props to the contributors, thanks!</description>
		<content:encoded><![CDATA[<p>I needed this functionality and started to hack around the apparent lack of it&#8211;then thought twice. Googling a bit led me to Ticket #4604, and to here/django-notify. *Exactly* what I was looking for and works seamlessly. Props to the contributors, thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tobias</title>
		<link>http://www.caktusgroup.com/blog/2009/06/19/towards-a-standard-for-django-session-messages/#comment-384</link>
		<dc:creator>tobias</dc:creator>
		<pubDate>Thu, 10 Sep 2009 22:42:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.caktusgroup.com/blog/?p=249#comment-384</guid>
		<description>The combo backend has been written (finally):

http://code.google.com/p/django-notify/issues/detail?id=5</description>
		<content:encoded><![CDATA[<p>The combo backend has been written (finally):</p>
<p><a href="http://code.google.com/p/django-notify/issues/detail?id=5" rel="nofollow">http://code.google.com/p/django-notify/issues/detail?id=5</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tobias</title>
		<link>http://www.caktusgroup.com/blog/2009/06/19/towards-a-standard-for-django-session-messages/#comment-257</link>
		<dc:creator>tobias</dc:creator>
		<pubDate>Sun, 28 Jun 2009 15:54:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.caktusgroup.com/blog/?p=249#comment-257</guid>
		<description>I'd be happy to contribute the combo backend..traveling right now but I'll look at it later this week.</description>
		<content:encoded><![CDATA[<p>I&#8217;d be happy to contribute the combo backend..traveling right now but I&#8217;ll look at it later this week.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SmileyChris</title>
		<link>http://www.caktusgroup.com/blog/2009/06/19/towards-a-standard-for-django-session-messages/#comment-256</link>
		<dc:creator>SmileyChris</dc:creator>
		<pubDate>Sun, 28 Jun 2009 02:29:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.caktusgroup.com/blog/?p=249#comment-256</guid>
		<description>Yep, django-notify comes with two temporary message storage backends. The first uses sessions, the other uses a signed cookie, just like Simon wants :)

The signed cookie backend doesn't handle longer messages being stored server side, but another backend which handles that would be easy to write and I'd be happy to include it too (probably even make it default - it's seems the best of both scenarios)</description>
		<content:encoded><![CDATA[<p>Yep, django-notify comes with two temporary message storage backends. The first uses sessions, the other uses a signed cookie, just like Simon wants <img src='http://www.caktusgroup.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The signed cookie backend doesn&#8217;t handle longer messages being stored server side, but another backend which handles that would be easy to write and I&#8217;d be happy to include it too (probably even make it default - it&#8217;s seems the best of both scenarios)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tobias</title>
		<link>http://www.caktusgroup.com/blog/2009/06/19/towards-a-standard-for-django-session-messages/#comment-237</link>
		<dc:creator>tobias</dc:creator>
		<pubDate>Sun, 21 Jun 2009 14:16:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.caktusgroup.com/blog/?p=249#comment-237</guid>
		<description>My understanding is that django-flash currently does not meet the conditions outlined above, but I think the author is working on some of them.

See conversation on this ticket:
http://code.djangoproject.com/ticket/4604</description>
		<content:encoded><![CDATA[<p>My understanding is that django-flash currently does not meet the conditions outlined above, but I think the author is working on some of them.</p>
<p>See conversation on this ticket:<br />
<a href="http://code.djangoproject.com/ticket/4604" rel="nofollow">http://code.djangoproject.com/ticket/4604</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vinilios</title>
		<link>http://www.caktusgroup.com/blog/2009/06/19/towards-a-standard-for-django-session-messages/#comment-233</link>
		<dc:creator>Vinilios</dc:creator>
		<pubDate>Sun, 21 Jun 2009 01:38:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.caktusgroup.com/blog/?p=249#comment-233</guid>
		<description>how about django-flash ?
http://github.com/danielfm/django-flash/tree/master

we have used in a couple of my company projects, it does good job</description>
		<content:encoded><![CDATA[<p>how about django-flash ?<br />
<a href="http://github.com/danielfm/django-flash/tree/master" rel="nofollow">http://github.com/danielfm/django-flash/tree/master</a></p>
<p>we have used in a couple of my company projects, it does good job</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tobias</title>
		<link>http://www.caktusgroup.com/blog/2009/06/19/towards-a-standard-for-django-session-messages/#comment-223</link>
		<dc:creator>tobias</dc:creator>
		<pubDate>Fri, 19 Jun 2009 20:08:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.caktusgroup.com/blog/?p=249#comment-223</guid>
		<description>I added a point about efficiency and avoiding the database hit if possible.  Thanks for the suggestions Simon and Sean.</description>
		<content:encoded><![CDATA[<p>I added a point about efficiency and avoiding the database hit if possible.  Thanks for the suggestions Simon and Sean.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sean Patrick Hogan</title>
		<link>http://www.caktusgroup.com/blog/2009/06/19/towards-a-standard-for-django-session-messages/#comment-222</link>
		<dc:creator>Sean Patrick Hogan</dc:creator>
		<pubDate>Fri, 19 Jun 2009 19:58:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.caktusgroup.com/blog/?p=249#comment-222</guid>
		<description>How time flies.  I remember when I opened the ticket two years ago.

Simon is right that there's no reason to make a round trip to the database to support this feature.  However, many would argue (like Cal Henderson) that we don't need to hit the database for sessions either.  With 4096 bytes we can store and sign quite a bit of data in there.

Not that Rails is the gold standard in these things, but they do use sessions for this storage.  I don't personally have any stake in a certain method, but I would be happy to see it done.

I'm glad to see the conversation pick up on the ticket again.  Hopefully it will make the 1.2 release and thanks to everyone working to get 1.1 out!</description>
		<content:encoded><![CDATA[<p>How time flies.  I remember when I opened the ticket two years ago.</p>
<p>Simon is right that there&#8217;s no reason to make a round trip to the database to support this feature.  However, many would argue (like Cal Henderson) that we don&#8217;t need to hit the database for sessions either.  With 4096 bytes we can store and sign quite a bit of data in there.</p>
<p>Not that Rails is the gold standard in these things, but they do use sessions for this storage.  I don&#8217;t personally have any stake in a certain method, but I would be happy to see it done.</p>
<p>I&#8217;m glad to see the conversation pick up on the ticket again.  Hopefully it will make the 1.2 release and thanks to everyone working to get 1.1 out!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tobias</title>
		<link>http://www.caktusgroup.com/blog/2009/06/19/towards-a-standard-for-django-session-messages/#comment-220</link>
		<dc:creator>tobias</dc:creator>
		<pubDate>Fri, 19 Jun 2009 19:45:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.caktusgroup.com/blog/?p=249#comment-220</guid>
		<description>That sounds perfectly reasonable, maybe even better.  I think django-notify has an option for cookie storage.

That said, I've had good luck with memcache as a session backend, which avoids the round trip to the database.  And assuming the database is out of the picture, the session is also just a key that references a larger "message" stored on the server.

Still, your point is well taken. "Session Messages" was probably a poor title choice for this article.</description>
		<content:encoded><![CDATA[<p>That sounds perfectly reasonable, maybe even better.  I think django-notify has an option for cookie storage.</p>
<p>That said, I&#8217;ve had good luck with memcache as a session backend, which avoids the round trip to the database.  And assuming the database is out of the picture, the session is also just a key that references a larger &#8220;message&#8221; stored on the server.</p>
<p>Still, your point is well taken. &#8220;Session Messages&#8221; was probably a poor title choice for this article.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
