<?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: Mapping Seaside Blog to PostgreSQL with Glorp</title>
	<atom:link href="http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/feed/" rel="self" type="application/rss+xml" />
	<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/</link>
	<description>thoughts on Smalltalk and programming in general...</description>
	<pubDate>Wed, 23 Jul 2008 20:20:13 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-11812</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Sat, 08 Mar 2008 20:33:54 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-11812</guid>
		<description>I don't really know anything about Visual Works, I'm just a Squeaker, sorry.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t really know anything about Visual Works, I&#8217;m just a Squeaker, sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Carlos</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-11805</link>
		<dc:creator>Carlos</dc:creator>
		<pubDate>Sat, 08 Mar 2008 12:40:35 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-11805</guid>
		<description>Ramon, very nice post. I found a demo in the Cincom site that illustrates this article in VW steb by step. Seems that there is some UI code, maybe built by UIPainter. I am interested in how a glorp-based model i editable-viewable with a classic GUI. Regards, Carlos</description>
		<content:encoded><![CDATA[<p>Ramon, very nice post. I found a demo in the Cincom site that illustrates this article in VW steb by step. Seems that there is some UI code, maybe built by UIPainter. I am interested in how a glorp-based model i editable-viewable with a classic GUI. Regards, Carlos</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mikey</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-9069</link>
		<dc:creator>Mikey</dc:creator>
		<pubDate>Wed, 28 Nov 2007 19:21:19 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-9069</guid>
		<description>Yeah, this is a very very cool blog. ;-) 
I just added you to my favorites. 
 
Thanx, 
Mikey</description>
		<content:encoded><![CDATA[<p>Yeah, this is a very very cool blog. ;-)<br />
I just added you to my favorites. </p>
<p>Thanx,<br />
Mikey</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-6204</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Wed, 10 Oct 2007 03:28:44 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-6204</guid>
		<description>I have a much better one now, a great new UI package was released that really cleans Squeak up.  I'll update my image here soon so anyone can download it.  Email me or leave a comment here if you have any questions about the package.</description>
		<content:encoded><![CDATA[<p>I have a much better one now, a great new UI package was released that really cleans Squeak up.  I&#8217;ll update my image here soon so anyone can download it.  Email me or leave a comment here if you have any questions about the package.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: And</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-6203</link>
		<dc:creator>And</dc:creator>
		<pubDate>Wed, 10 Oct 2007 03:26:16 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-6203</guid>
		<description>Thanks! I will study that code and try to 'get it'.

I downloaded your image...wow! What a difference from the default Squeak image, fantastic!</description>
		<content:encoded><![CDATA[<p>Thanks! I will study that code and try to &#8216;get it&#8217;.</p>
<p>I downloaded your image&#8230;wow! What a difference from the default Squeak image, fantastic!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-6202</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Wed, 10 Oct 2007 03:09:17 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-6202</guid>
		<description>See my MagritteGlorp package on SqueakSource, it has the necessary code to integrate Seaside with Glorp including a custom seaside session class, a connection pool, and a few other things.  You don't actually need to use Magritte, you can write your Glorp descriptor normally and use the Seaside Glorp integration.

For that small a load, a single squeak image will probably work just fine.</description>
		<content:encoded><![CDATA[<p>See my MagritteGlorp package on SqueakSource, it has the necessary code to integrate Seaside with Glorp including a custom seaside session class, a connection pool, and a few other things.  You don&#8217;t actually need to use Magritte, you can write your Glorp descriptor normally and use the Seaside Glorp integration.</p>
<p>For that small a load, a single squeak image will probably work just fine.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: And</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-6201</link>
		<dc:creator>And</dc:creator>
		<pubDate>Wed, 10 Oct 2007 03:05:01 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-6201</guid>
		<description>I wrote a small app with Seaside using Squeak just to get the "feel" of it, but I am new to Smalltalk and there are two things that prevents me to begin using it for "real" projects at my work and it will be very helpful to get some clarifications and/or advice:

1. Understanding how to use Glorp sessions from Seaside.
At this moment I just created a singleton to get the session, is that the right way? I mean I have no idea how multiple requests are handled by Seaside and if that approach works for multiple queries from different users,etc.

2. Deployment
My web applications are used internally and for some clients, there is no need for huge scaling, a few dozen concurrent users tops. Will only one Squeak instance be sufficient? If not, should I follow the posts made about the deployment architecture used in DabbleDB and used that kind of setup with Apache,etc?</description>
		<content:encoded><![CDATA[<p>I wrote a small app with Seaside using Squeak just to get the &#8220;feel&#8221; of it, but I am new to Smalltalk and there are two things that prevents me to begin using it for &#8220;real&#8221; projects at my work and it will be very helpful to get some clarifications and/or advice:</p>
<p>1. Understanding how to use Glorp sessions from Seaside.<br />
At this moment I just created a singleton to get the session, is that the right way? I mean I have no idea how multiple requests are handled by Seaside and if that approach works for multiple queries from different users,etc.</p>
<p>2. Deployment<br />
My web applications are used internally and for some clients, there is no need for huge scaling, a few dozen concurrent users tops. Will only one Squeak instance be sufficient? If not, should I follow the posts made about the deployment architecture used in DabbleDB and used that kind of setup with Apache,etc?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: LavernRengerson</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-2450</link>
		<dc:creator>LavernRengerson</dc:creator>
		<pubDate>Mon, 02 Apr 2007 16:24:16 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-2450</guid>
		<description>Oh I like that! Nice post. 
This place is alright...I'll be back for sure.</description>
		<content:encoded><![CDATA[<p>Oh I like that! Nice post.<br />
This place is alright&#8230;I&#8217;ll be back for sure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: BradleyWinters</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-2444</link>
		<dc:creator>BradleyWinters</dc:creator>
		<pubDate>Sun, 01 Apr 2007 22:19:21 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-2444</guid>
		<description>Nice. I absolutely agree with you. 
Keep up the nice work. I'll be back for more!</description>
		<content:encoded><![CDATA[<p>Nice. I absolutely agree with you.<br />
Keep up the nice work. I&#8217;ll be back for more!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-2320</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Wed, 21 Feb 2007 15:58:06 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-2320</guid>
		<description>I will see about putting up a ready to run Glorp image tonight.</description>
		<content:encoded><![CDATA[<p>I will see about putting up a ready to run Glorp image tonight.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Valy</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-2319</link>
		<dc:creator>Valy</dc:creator>
		<pubDate>Wed, 21 Feb 2007 01:24:58 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-2319</guid>
		<description>Hi,

I am trying to get started with Seaside ( I am new to Squeak and Smalltalk ), and I am getting stuck at several points.

One is the access to Postgresql ( which I will need for a new project ). My confusion begins with the versions and VM images, 3.9 for example lists Glorp in the packages list but fails installation ( not supported ), the link for the Squeak port found here http://www.glorp.org/versions.html is dead.

Is there any website/blog with an image that includes the necessary 'components' (Glorp, script.aculo.us, Seaside,etc) ?

Valy</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am trying to get started with Seaside ( I am new to Squeak and Smalltalk ), and I am getting stuck at several points.</p>
<p>One is the access to Postgresql ( which I will need for a new project ). My confusion begins with the versions and VM images, 3.9 for example lists Glorp in the packages list but fails installation ( not supported ), the link for the Squeak port found here <a href="http://www.glorp.org/versions.html" rel="nofollow">http://www.glorp.org/versions.html</a> is dead.</p>
<p>Is there any website/blog with an image that includes the necessary &#8216;components&#8217; (Glorp, script.aculo.us, Seaside,etc) ?</p>
<p>Valy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-798</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Sun, 07 Jan 2007 20:33:03 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-798</guid>
		<description>It's sort of like ActiveRecord, except the database is never read, only written, I consider the Smalltalk objects the real schema and the database as totally subservient to them.</description>
		<content:encoded><![CDATA[<p>It&#8217;s sort of like ActiveRecord, except the database is never read, only written, I consider the Smalltalk objects the real schema and the database as totally subservient to them.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martial</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-797</link>
		<dc:creator>Martial</dc:creator>
		<pubDate>Sun, 07 Jan 2007 20:03:11 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-797</guid>
		<description>Oops! I have more to learn about seaside and the session...
An ActiveRecord should be far better. If you need help for testing your classes, tell me!

Regards,

Martial</description>
		<content:encoded><![CDATA[<p>Oops! I have more to learn about seaside and the session&#8230;<br />
An ActiveRecord should be far better. If you need help for testing your classes, tell me!</p>
<p>Regards,</p>
<p>Martial</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-795</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Sun, 07 Jan 2007 19:43:23 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-795</guid>
		<description>Actually, the session is available from anywhere as a singleton, so BlogDatabase database would be the same as saying WACurrentSession value database.  

However, as I said, I'm still working on how I'd like to do it.  As for the persistentId, I'll be removing that, Glorp supports pseudo variables and doesn't really require it.  I'd also implement that rule with a database constraint rather than a query, so I wouldn't use it anyway.

I'm currently busy creating my own version of ActiveRecord that creates all the mappings automatically from the meta data contained within the Magritte descriptions.  I have it working and have the blog mapped to PostgreSQL with zero configuration.  I'll figure out how I want to handle the session along with this and open source the code shortly after I do some more testing and feel it's stable enough.</description>
		<content:encoded><![CDATA[<p>Actually, the session is available from anywhere as a singleton, so BlogDatabase database would be the same as saying WACurrentSession value database.  </p>
<p>However, as I said, I&#8217;m still working on how I&#8217;d like to do it.  As for the persistentId, I&#8217;ll be removing that, Glorp supports pseudo variables and doesn&#8217;t really require it.  I&#8217;d also implement that rule with a database constraint rather than a query, so I wouldn&#8217;t use it anyway.</p>
<p>I&#8217;m currently busy creating my own version of ActiveRecord that creates all the mappings automatically from the meta data contained within the Magritte descriptions.  I have it working and have the blog mapped to PostgreSQL with zero configuration.  I&#8217;ll figure out how I want to handle the session along with this and open source the code shortly after I do some more testing and feel it&#8217;s stable enough.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martial</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-793</link>
		<dc:creator>Martial</dc:creator>
		<pubDate>Sun, 07 Jan 2007 19:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-793</guid>
		<description>Thanks! It works now. I agree there must be a better way. I thought about create a BlogDatabase class to manage the session connection because aWASession object is only seen from the BlogView thus I guess it's not a pure MVC architecture. In such a class, I copy the methods you create for the session and so, I can use the message addCondition:labelled used by BlogPost class&#62;&#62;descriptionTitle as you show it in your previous video tutorial.
I write this as follows:

addCondition: [:value &#124; (BlogDatabase
				commit: [BlogDatabase database
						readOneOf: BlogPost
						where: [:each &#124; each title = value]]) isNil]
		labelled: 'Already here';

Finally I notice you forgot to mention the creation of the i-var persistentId in BlogPost and BlogComment and their accessor messages.</description>
		<content:encoded><![CDATA[<p>Thanks! It works now. I agree there must be a better way. I thought about create a BlogDatabase class to manage the session connection because aWASession object is only seen from the BlogView thus I guess it&#8217;s not a pure MVC architecture. In such a class, I copy the methods you create for the session and so, I can use the message addCondition:labelled used by BlogPost class&gt;&gt;descriptionTitle as you show it in your previous video tutorial.<br />
I write this as follows:</p>
<p>addCondition: [:value | (BlogDatabase<br />
				commit: [BlogDatabase database<br />
						readOneOf: BlogPost<br />
						where: [:each | each title = value]]) isNil]<br />
		labelled: &#8216;Already here&#8217;;</p>
<p>Finally I notice you forgot to mention the creation of the i-var persistentId in BlogPost and BlogComment and their accessor messages.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-790</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Sat, 06 Jan 2007 16:07:43 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-790</guid>
		<description>OK, I added the missing methods for session.  I left them out because I'm not sure I want to keep one Glorp session per one Seaside session, I have to do a bit of testing before I decide what's best practice there.</description>
		<content:encoded><![CDATA[<p>OK, I added the missing methods for session.  I left them out because I&#8217;m not sure I want to keep one Glorp session per one Seaside session, I have to do a bit of testing before I decide what&#8217;s best practice there.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Martial</title>
		<link>http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-788</link>
		<dc:creator>Martial</dc:creator>
		<pubDate>Sat, 06 Jan 2007 14:28:33 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/mapping-seaside-blog-to-postgresql-with-glorp/#comment-788</guid>
		<description>Hi,

Your tutorial is a pretty good work. It's exactly what I was looking for. But I don't understand the last part. I mean it looks like there is no definition of the database message for the session. I guess it must reach aPostgreSQLPlatform object but I don't know how to do this. I'm blocked at the line 'So far so good...' and after that I am a bit lost. I made a new WASession subclass and I added the following methods but it doesn't work...

Martial</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>Your tutorial is a pretty good work. It&#8217;s exactly what I was looking for. But I don&#8217;t understand the last part. I mean it looks like there is no definition of the database message for the session. I guess it must reach aPostgreSQLPlatform object but I don&#8217;t know how to do this. I&#8217;m blocked at the line &#8216;So far so good&#8230;&#8217; and after that I am a bit lost. I made a new WASession subclass and I added the following methods but it doesn&#8217;t work&#8230;</p>
<p>Martial</p>
]]></content:encoded>
	</item>
</channel>
</rss>
