<?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: A Smalltalk ActiveRecord using Magritte, Seaside, and Glorp</title>
	<atom:link href="http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/feed/" rel="self" type="application/rss+xml" />
	<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/</link>
	<description>thoughts on Smalltalk and programming in general...</description>
	<pubDate>Fri, 16 May 2008 04:44:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-9144</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Mon, 03 Dec 2007 16:17:02 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-9144</guid>
		<description>I suggest you write your Glorp mappings manually in your MGDescriptorSystem subclass.  This package was meant to act as scaffolding to get you up and going until you can replace the simple automatic mappings with real hand written mappings that can take full advantage of Glorp's capabilities.

If you're not already, you'll want to hop on the Glorp mailing list and search the archives to see lot's of examples of similar mappings.  Glorp is far more capable than the simple inferred mappings can handle.</description>
		<content:encoded><![CDATA[<p>I suggest you write your Glorp mappings manually in your MGDescriptorSystem subclass.  This package was meant to act as scaffolding to get you up and going until you can replace the simple automatic mappings with real hand written mappings that can take full advantage of Glorp&#8217;s capabilities.</p>
<p>If you&#8217;re not already, you&#8217;ll want to hop on the Glorp mailing list and search the archives to see lot&#8217;s of examples of similar mappings.  Glorp is far more capable than the simple inferred mappings can handle.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cedric</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-9143</link>
		<dc:creator>Cedric</dc:creator>
		<pubDate>Mon, 03 Dec 2007 15:55:50 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-9143</guid>
		<description>Hi,
I'm trying to use the package for a little application using postgres, magritte and glorp and I met a problem with the MAFileDescription. I have a description like this :

descriptionImage
	^MAFileDescription new selectorAccessor: #image;
		kind: MAExternalFileModel;
		label: 'Image';
		priority: 150;
		yourself

The idea is to have the image on the disk and the informations (path, filename, type, size, ...) on the database. With only this description and no modification, the generated form work to upload the file, but it try to save the MAExternalFileModel object as a byteArray directly on the database using "do:" method which is not implemented.
I'm new to squeak and have some problem to see how to solve this properly. Any idea ?</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I&#8217;m trying to use the package for a little application using postgres, magritte and glorp and I met a problem with the MAFileDescription. I have a description like this :</p>
<p>descriptionImage<br />
	^MAFileDescription new selectorAccessor: #image;<br />
		kind: MAExternalFileModel;<br />
		label: &#8216;Image&#8217;;<br />
		priority: 150;<br />
		yourself</p>
<p>The idea is to have the image on the disk and the informations (path, filename, type, size, &#8230;) on the database. With only this description and no modification, the generated form work to upload the file, but it try to save the MAExternalFileModel object as a byteArray directly on the database using &#8220;do:&#8221; method which is not implemented.<br />
I&#8217;m new to squeak and have some problem to see how to solve this properly. Any idea ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-7176</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Sat, 03 Nov 2007 03:50:26 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-7176</guid>
		<description>You can just change that superclass to WASession instead, or load the previous version that didn't depend upon it.  If you really want it, you can get it from my image, but it's not necessary.  I kind of backed off of generating Glorp mappings as I got further into a real project that required mappings complex enough to justify writing them by hand.  

I'm going to tear the Magritte stuff out of it and use the package for Glorp and Seaside integration.  I've come to prefer simple pragmas for meta data rather than Magritte.  I put up that last version because it has some nifty schema migration automation in the Glorp descriptor class, even though I pretty much disabled the Magritte auto mappings.</description>
		<content:encoded><![CDATA[<p>You can just change that superclass to WASession instead, or load the previous version that didn&#8217;t depend upon it.  If you really want it, you can get it from my image, but it&#8217;s not necessary.  I kind of backed off of generating Glorp mappings as I got further into a real project that required mappings complex enough to justify writing them by hand.  </p>
<p>I&#8217;m going to tear the Magritte stuff out of it and use the package for Glorp and Seaside integration.  I&#8217;ve come to prefer simple pragmas for meta data rather than Magritte.  I put up that last version because it has some nifty schema migration automation in the Glorp descriptor class, even though I pretty much disabled the Magritte auto mappings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pablo Lalloni</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-7168</link>
		<dc:creator>Pablo Lalloni</dc:creator>
		<pubDate>Sat, 03 Nov 2007 00:30:08 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-7168</guid>
		<description>I'm trying to load MagritteGlorp-rjl.62 from SqueakSource but Monticello keeps me away complaining about a not existant required class SSSession which I don't have in my image... I've found out that MGGlorpSession inherits from SSSession and that SSSession is your personal WASession customization but I don't know/can't find which package should I load to get that. (I've seen it in your DevImage though).</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to load MagritteGlorp-rjl.62 from SqueakSource but Monticello keeps me away complaining about a not existant required class SSSession which I don&#8217;t have in my image&#8230; I&#8217;ve found out that MGGlorpSession inherits from SSSession and that SSSession is your personal WASession customization but I don&#8217;t know/can&#8217;t find which package should I load to get that. (I&#8217;ve seen it in your DevImage though).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-5897</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Fri, 21 Sep 2007 17:36:05 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-5897</guid>
		<description>Mostly, because it's simpler and I'm only using it for development, not production.  Magma would be much better for a production site because it has more advanced features like querying and indexing, a necessity.  However, I still think Gemstone will be the best choice as soon as their GLASS appliance is ready, which should be very very soon.  Gemstone also has the advantage of not being a SqueakVM, so it's likely much faster.  The SqueakVM is designed to be open and extensible, more for research, not for speed.</description>
		<content:encoded><![CDATA[<p>Mostly, because it&#8217;s simpler and I&#8217;m only using it for development, not production.  Magma would be much better for a production site because it has more advanced features like querying and indexing, a necessity.  However, I still think Gemstone will be the best choice as soon as their GLASS appliance is ready, which should be very very soon.  Gemstone also has the advantage of not being a SqueakVM, so it&#8217;s likely much faster.  The SqueakVM is designed to be open and extensible, more for research, not for speed.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bill</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-5891</link>
		<dc:creator>Bill</dc:creator>
		<pubDate>Fri, 21 Sep 2007 05:07:35 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-5891</guid>
		<description>Could you elaborate a bit on why you would choose GOODS over Magma?

Thanks a ton for this most helpful site! Have you thought about doing an "Intro to Seaside" book, including basics of Magritte   persistence? Squeak By Example   such a book would be a tremendous pair!</description>
		<content:encoded><![CDATA[<p>Could you elaborate a bit on why you would choose GOODS over Magma?</p>
<p>Thanks a ton for this most helpful site! Have you thought about doing an &#8220;Intro to Seaside&#8221; book, including basics of Magritte   persistence? Squeak By Example   such a book would be a tremendous pair!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-4226</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Thu, 02 Aug 2007 06:17:29 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-4226</guid>
		<description>I think Gemstone will be the way to go, for those who have the option.  I think I'll be using GOODS for it's simplicity during development and then porting to Gemstone for production, once it's available.</description>
		<content:encoded><![CDATA[<p>I think Gemstone will be the way to go, for those who have the option.  I think I&#8217;ll be using GOODS for it&#8217;s simplicity during development and then porting to Gemstone for production, once it&#8217;s available.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Conrad Taylor</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-4223</link>
		<dc:creator>Conrad Taylor</dc:creator>
		<pubDate>Thu, 02 Aug 2007 03:26:40 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-4223</guid>
		<description>Hi Ramon, thanks for the implementation of ActiveRecord and I really appreciate the effort because I was looking to recreate many of the Rails examples in Seaside.  After reading about the 
Gemstone/S 64 bit image, it seems that Gemostone is the way to go.</description>
		<content:encoded><![CDATA[<p>Hi Ramon, thanks for the implementation of ActiveRecord and I really appreciate the effort because I was looking to recreate many of the Rails examples in Seaside.  After reading about the<br />
Gemstone/S 64 bit image, it seems that Gemostone is the way to go.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2898</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Wed, 30 May 2007 02:55:02 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2898</guid>
		<description>See the update at the end of the above article.</description>
		<content:encoded><![CDATA[<p>See the update at the end of the above article.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Warren Wilkinson</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2897</link>
		<dc:creator>Warren Wilkinson</dc:creator>
		<pubDate>Tue, 29 May 2007 21:38:03 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2897</guid>
		<description>I've got your package installed from Monticello now, and I was wondering what it takes to get setup for the testcases to run? I've updated MTSetup  &#62;&#62; getGlorpSession(class method) to have the right DB credentials, and similarly updated MTDescriptors &#62;&#62; defaultLogin(class method), and then ran

MTDescriptors createSchema

My database log file tells me that tables 'mtuser', 'mtgroup' and 'association_object' are created, and have no rows when I select * from them.

When I run the tests, my DB log shows:
Could not receive data from client: Connection reset by peer
unexpectedEOF on client connection
(followed by DELETE statements which I guess come from the cleanup method)

This assert line doesn't pass:
self assert: testUser associations notEmpty.
(in MTAssociationTest &#62;&#62; testGroup )

Tables 'association_object' and 'mtgroup' are untouched, while 'mtuser' gets a blank user added (mtuserid is filled out, all other entries are blank).</description>
		<content:encoded><![CDATA[<p>I&#8217;ve got your package installed from Monticello now, and I was wondering what it takes to get setup for the testcases to run? I&#8217;ve updated MTSetup  &gt;&gt; getGlorpSession(class method) to have the right DB credentials, and similarly updated MTDescriptors &gt;&gt; defaultLogin(class method), and then ran</p>
<p>MTDescriptors createSchema</p>
<p>My database log file tells me that tables &#8216;mtuser&#8217;, &#8216;mtgroup&#8217; and &#8216;association_object&#8217; are created, and have no rows when I select * from them.</p>
<p>When I run the tests, my DB log shows:<br />
Could not receive data from client: Connection reset by peer<br />
unexpectedEOF on client connection<br />
(followed by DELETE statements which I guess come from the cleanup method)</p>
<p>This assert line doesn&#8217;t pass:<br />
self assert: testUser associations notEmpty.<br />
(in MTAssociationTest &gt;&gt; testGroup )</p>
<p>Tables &#8216;association_object&#8217; and &#8216;mtgroup&#8217; are untouched, while &#8216;mtuser&#8217; gets a blank user added (mtuserid is filled out, all other entries are blank).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2866</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Mon, 21 May 2007 01:12:58 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2866</guid>
		<description>Glorp will work with any database that a driver has been written for.  It just so happens that in Squeak, that has only been done for postgres.  In Visualworks Glorp works with many more databases.

As for getting Postgres up and running, I just do that standard install using the latest version from the webiste, and then change the authentication from md5 to password to avoid the complexity of getting cryptography working in Squeak.  I've never has any trouble installing it or starting it up under XP, it just works.

With Gemstone's release of it's Seaside port in a GemstoneS/64 image, I'm likely to abandon Glorp and relational databases in general.  I'd rather work with a Smalltalk image that just saves my objects directly and can scale to any level I need.  If you're doing anything new, I'd look into that.
Glorp is an object relational mapping layer, neither Magma nor OmniBase would have any use it of, they save objects directly.</description>
		<content:encoded><![CDATA[<p>Glorp will work with any database that a driver has been written for.  It just so happens that in Squeak, that has only been done for postgres.  In Visualworks Glorp works with many more databases.</p>
<p>As for getting Postgres up and running, I just do that standard install using the latest version from the webiste, and then change the authentication from md5 to password to avoid the complexity of getting cryptography working in Squeak.  I&#8217;ve never has any trouble installing it or starting it up under XP, it just works.</p>
<p>With Gemstone&#8217;s release of it&#8217;s Seaside port in a GemstoneS/64 image, I&#8217;m likely to abandon Glorp and relational databases in general.  I&#8217;d rather work with a Smalltalk image that just saves my objects directly and can scale to any level I need.  If you&#8217;re doing anything new, I&#8217;d look into that.<br />
Glorp is an object relational mapping layer, neither Magma nor OmniBase would have any use it of, they save objects directly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Stramba</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2863</link>
		<dc:creator>Mike Stramba</dc:creator>
		<pubDate>Sun, 20 May 2007 17:33:20 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2863</guid>
		<description>Hi Ramon,

I'm downloading your devImage now, is this Glorp "framework" specific to only Postgres? ... or is there any config parameters that will let me use it with other DB's (Odbc, Mysql, Magma, OmniBase) ?

I've tried to get PostGres running on my XP box without success.  
(priviliged/non user being the stumbling block to even start the sever)

Are you running Postgres on an XP box by any chance? .. If so any links / pointers to how to get it running / working versions would be great.


Mike</description>
		<content:encoded><![CDATA[<p>Hi Ramon,</p>
<p>I&#8217;m downloading your devImage now, is this Glorp &#8220;framework&#8221; specific to only Postgres? &#8230; or is there any config parameters that will let me use it with other DB&#8217;s (Odbc, Mysql, Magma, OmniBase) ?</p>
<p>I&#8217;ve tried to get PostGres running on my XP box without success.<br />
(priviliged/non user being the stumbling block to even start the sever)</p>
<p>Are you running Postgres on an XP box by any chance? .. If so any links / pointers to how to get it running / working versions would be great.</p>
<p>Mike</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2660</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Fri, 13 Apr 2007 21:05:48 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2660</guid>
		<description>No problem, if you really use it and find it useful, I'd be really interested in more detailed feedback.</description>
		<content:encoded><![CDATA[<p>No problem, if you really use it and find it useful, I&#8217;d be really interested in more detailed feedback.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2659</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Fri, 13 Apr 2007 20:11:27 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2659</guid>
		<description>BTW, your GlorpPreload loaded just fine with a new squeak system, so it must have something odd with my old system. Thanks again for the Glorp-Magritte unifying tool :)</description>
		<content:encoded><![CDATA[<p>BTW, your GlorpPreload loaded just fine with a new squeak system, so it must have something odd with my old system. Thanks again for the Glorp-Magritte unifying tool :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2424</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Fri, 30 Mar 2007 23:57:14 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2424</guid>
		<description>Yea, it'll work, I haven't really changed anything in it.</description>
		<content:encoded><![CDATA[<p>Yea, it&#8217;ll work, I haven&#8217;t really changed anything in it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2420</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Fri, 30 Mar 2007 18:57:17 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2420</guid>
		<description>Ah, that's easy -- thanks. BTW, I'm loading your code into one of my images, but the GlorpPreload in MagritteGlorp doesn't seem to be loadable. Do you know if the glorppreload from squeaksource is compatible with the rest of the packages in MagritteGlorp?</description>
		<content:encoded><![CDATA[<p>Ah, that&#8217;s easy &#8212; thanks. BTW, I&#8217;m loading your code into one of my images, but the GlorpPreload in MagritteGlorp doesn&#8217;t seem to be loadable. Do you know if the glorppreload from squeaksource is compatible with the rest of the packages in MagritteGlorp?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2419</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Fri, 30 Mar 2007 17:06:43 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2419</guid>
		<description>Sure, just set the preference...

&lt;pre&gt;
(self registerAsApplication: #yourAppName)
    preferenceAt: #sessionClass put: YourSessionClass
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Sure, just set the preference&#8230;</p>
<pre>
(self registerAsApplication: #yourAppName)
    preferenceAt: #sessionClass put: YourSessionClass
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2418</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Fri, 30 Mar 2007 16:42:50 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2418</guid>
		<description>You're absolutely right. I had re-initialized the component class and forgotten to use the config app to use my MGGlorpSession subclass. Is there a way to set the session class in the class initialization?</description>
		<content:encoded><![CDATA[<p>You&#8217;re absolutely right. I had re-initialized the component class and forgotten to use the config app to use my MGGlorpSession subclass. Is there a way to set the session class in the class initialization?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2413</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Fri, 30 Mar 2007 02:25:01 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2413</guid>
		<description>Yup, you need to also subclass MGGlorpSession and use it in your seaside app.  I should mention that #find and #findAll work on the current "Seaside" session, not Glorp session.  I can see from the error, you've not setup a custom session object, you're using the default one.</description>
		<content:encoded><![CDATA[<p>Yup, you need to also subclass MGGlorpSession and use it in your seaside app.  I should mention that #find and #findAll work on the current &#8220;Seaside&#8221; session, not Glorp session.  I can see from the error, you&#8217;ve not setup a custom session object, you&#8217;re using the default one.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2412</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 29 Mar 2007 23:00:47 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2412</guid>
		<description>Having fun using your image and your ActiveRecord implementation. This in conjunction with Magritte is very effective. #createSchema works great, and can register new objects into the database using my subclass of DescriptorSystem class&#62;&#62;getSession. I've created a subclass of WASystemConfiguration and added #glorpUserName, et. al. But I can't seemt to make #findAll work. MGQueryRunner&#62;&#62;execute calls #execute: on the current session, which gives the following error: "WASession(Object)&#62;&#62;doesNotUnderstand: #execute:" Any thoughts on what I am doing wrong?</description>
		<content:encoded><![CDATA[<p>Having fun using your image and your ActiveRecord implementation. This in conjunction with Magritte is very effective. #createSchema works great, and can register new objects into the database using my subclass of DescriptorSystem class&gt;&gt;getSession. I&#8217;ve created a subclass of WASystemConfiguration and added #glorpUserName, et. al. But I can&#8217;t seemt to make #findAll work. MGQueryRunner&gt;&gt;execute calls #execute: on the current session, which gives the following error: &#8220;WASession(Object)&gt;&gt;doesNotUnderstand: #execute:&#8221; Any thoughts on what I am doing wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2409</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Mon, 26 Mar 2007 01:24:41 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2409</guid>
		<description>Unique constraints are something best handled directly in the database.  There's no efficient way to do such in code.</description>
		<content:encoded><![CDATA[<p>Unique constraints are something best handled directly in the database.  There&#8217;s no efficient way to do such in code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2408</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Sun, 25 Mar 2007 20:03:18 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2408</guid>
		<description>Ramon, do you know how one can make to be unique two or more described instVars with this system? (keys of several fields)</description>
		<content:encoded><![CDATA[<p>Ramon, do you know how one can make to be unique two or more described instVars with this system? (keys of several fields)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastian</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2392</link>
		<dc:creator>Sebastian</dc:creator>
		<pubDate>Mon, 19 Mar 2007 22:03:30 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-2392</guid>
		<description>I really like this. I have downloaded your DevImage. What would you recomend to read after trying to use Glorp + your active record?
cheers.
Sebastian</description>
		<content:encoded><![CDATA[<p>I really like this. I have downloaded your DevImage. What would you recomend to read after trying to use Glorp + your active record?<br />
cheers.<br />
Sebastian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-1394</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Fri, 26 Jan 2007 17:58:27 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-1394</guid>
		<description>Yea, that's just a custom description I have for a custom money class I have, you can safely ignore any such warnings.  Yes, S was for Sentorsa.  

I'll try and keep squeak source up to date with my changes, I just uploaded current version with its dependencies.  I'm still working with the old version of Glorp but hope to move to the new port when Todd has it working well enough.  

This is of course a work in progress, so expect bugs and changes in design as I figure out the cleanest easiest way to do things.  I'll add features as I run into the need for them in my current projects, and hopefully integrate with Todds schema migration code soon removing the need to drop and recreate your schema when you change your model.

Of course, I'm always interested in any comments or discussion on the package.</description>
		<content:encoded><![CDATA[<p>Yea, that&#8217;s just a custom description I have for a custom money class I have, you can safely ignore any such warnings.  Yes, S was for Sentorsa.  </p>
<p>I&#8217;ll try and keep squeak source up to date with my changes, I just uploaded current version with its dependencies.  I&#8217;m still working with the old version of Glorp but hope to move to the new port when Todd has it working well enough.  </p>
<p>This is of course a work in progress, so expect bugs and changes in design as I figure out the cleanest easiest way to do things.  I&#8217;ll add features as I run into the need for them in my current projects, and hopefully integrate with Todds schema migration code soon removing the need to drop and recreate your schema when you change your model.</p>
<p>Of course, I&#8217;m always interested in any comments or discussion on the package.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Giovanni Binda</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-1392</link>
		<dc:creator>Giovanni Binda</dc:creator>
		<pubDate>Fri, 26 Jan 2007 17:14:32 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-1392</guid>
		<description>Following your progress with most interest. Building on magritte for persistence mechanism makes a lot of sense !
I suppose that the class SMMoneyDescription is a custom class for Magritte from you, because I have no such class in Magritte and you are using the S (for Sentora) prefix, am I wrong ? Monticello makes an argument to it, that I simply Proceed.
I only loaded your package and will do the testing those next days.
Good work ! 
... many thanks from people that are skeptic of oodbms (for scalable project), when we have allready existing database such postgres !!!</description>
		<content:encoded><![CDATA[<p>Following your progress with most interest. Building on magritte for persistence mechanism makes a lot of sense !<br />
I suppose that the class SMMoneyDescription is a custom class for Magritte from you, because I have no such class in Magritte and you are using the S (for Sentora) prefix, am I wrong ? Monticello makes an argument to it, that I simply Proceed.<br />
I only loaded your package and will do the testing those next days.<br />
Good work !<br />
&#8230; many thanks from people that are skeptic of oodbms (for scalable project), when we have allready existing database such postgres !!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ramon Leon</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-933</link>
		<dc:creator>Ramon Leon</dc:creator>
		<pubDate>Tue, 16 Jan 2007 14:34:35 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-933</guid>
		<description>Thanks, looking forward to some feedback, and yea, I guess that extension method does kind of belong in Magritte.</description>
		<content:encoded><![CDATA[<p>Thanks, looking forward to some feedback, and yea, I guess that extension method does kind of belong in Magritte.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damien Cassou</title>
		<link>http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-929</link>
		<dc:creator>Damien Cassou</dc:creator>
		<pubDate>Tue, 16 Jan 2007 13:47:22 +0000</pubDate>
		<guid isPermaLink="false">http://onsmalltalk.com/programming/smalltalk/a-smalltalk-activerecord-using-magritte-seaside-and-glorp/#comment-929</guid>
		<description>Really really great. I'll reread your posts to install glorp. I really want to test this.

#dynamicallyRefreshed is a good idea. You should put it in Magritte directly.</description>
		<content:encoded><![CDATA[<p>Really really great. I&#8217;ll reread your posts to install glorp. I really want to test this.</p>
<p>#dynamicallyRefreshed is a good idea. You should put it in Magritte directly.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
