Hi,
my data class has following attributes; title content creation date modified date type and except content, the collection of elements of this data shlould be indexed; that is, title, creation/modified date and type be key. If single key is required, then dictionary will be my choice(or should I use tree?). What is the best data structure for multiple keyed data? This question has been one of my hurddle to the OODB; if like now, sql db will be used, I know how to handle this. Thanks in advance. _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
With MagmaCollections you can index all the attributes that you want
and then you can perform queries that use them as it was pointed by a previous mail. But if you are forced to use a RDBMS, then use GLORP, and hadle your collections in a regular way. I believe Norbert Hartl has just finished porting the latest version of GLORP to Squeak. Hope that helps bye r. On Nov 25, 2007 10:22 PM, <[hidden email]> wrote: > Hi, > > my data class has following attributes; > > title > content > creation date > modified date > type > > and except content, the collection of > elements of this data shlould be indexed; that is, > title, creation/modified date and type be key. > > If single key is required, then dictionary will be my choice(or > should I use tree?). What is the best data structure for multiple > keyed data? This question has been one of my hurddle to the > OODB; if like now, sql db will be used, I know how to handle this. > > Thanks in advance. > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Does Magma work under Visual Works?
If not, how difficult would it be to port it? Victor _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi!
Victor <[hidden email]> wrote: > Does Magma work under Visual Works? > If not, how difficult would it be to port it? It does not and I would be surprised about a port - my guess is that Magma is highly Squeak specific. If you want an OODB with VW I guess GemStone is the way to go - not open source though. regards, Göran _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Victor-67
You can use Glorp against most relational databases, and Glorp is portable
between Squeak and VW ----- Original Message ----- From: "Victor" <[hidden email]> To: "Seaside - general discussion" <[hidden email]> Sent: Monday, November 26, 2007 8:25 AM Subject: [Seaside] Magma > Does Magma work under Visual Works? > If not, how difficult would it be to port it? > > Victor > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi,
Is there anyone using Glorp successfully with MySQL databases in squeak? I've been working on some seaside application but i have been using 'Persistence' package to connect to MySQL databases. I'd like to know what are people's opinion in using Glorp with MySQL in squeak. Cheers, Alex Paes Em 11/26/07 13:42 James Robertson escreveu: > You can use Glorp against most relational databases, and Glorp is > portable between Squeak and VW > > ----- Original Message ----- From: "Victor" <[hidden email]> > To: "Seaside - general discussion" <[hidden email]> > Sent: Monday, November 26, 2007 8:25 AM > Subject: [Seaside] Magma > > >> Does Magma work under Visual Works? >> If not, how difficult would it be to port it? >> >> Victor >> _______________________________________________ >> seaside mailing list >> [hidden email] >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >> > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Hi Alex,
MySQL should be used only as if it is a strong restriction for you not a delivered choice. It is almost the same as using MS Access. I you are restricted to RDBMS and can make a choice on one, you should consider PostgresSQL as the best open source RDBMS. Personally I like more ODBs, cheers, Sebastian Sastre > -----Mensaje original----- > De: [hidden email] > [mailto:[hidden email]] En nombre > de Alexandre Paes > Enviado el: Lunes, 26 de Noviembre de 2007 11:52 > Para: Seaside - general discussion > Asunto: Re: [Seaside] Magma > > Hi, > > Is there anyone using Glorp successfully with MySQL databases > in squeak? > I've been working on some seaside application but i have been > using 'Persistence' package to connect to MySQL databases. > I'd like to know what are people's opinion in using Glorp > with MySQL in squeak. > > Cheers, > > Alex Paes > > > Em 11/26/07 13:42 James Robertson escreveu: > > You can use Glorp against most relational databases, and Glorp is > > portable between Squeak and VW > > > > ----- Original Message ----- From: "Victor" <[hidden email]> > > To: "Seaside - general discussion" > > <[hidden email]> > > Sent: Monday, November 26, 2007 8:25 AM > > Subject: [Seaside] Magma > > > > > >> Does Magma work under Visual Works? > >> If not, how difficult would it be to port it? > >> > >> Victor > >> _______________________________________________ > >> seaside mailing list > >> [hidden email] > >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > >> > > > > _______________________________________________ > > seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
2007/11/26, Sebastian Sastre <[hidden email]>:
> Hi Alex, > > MySQL should be used only as if it is a strong restriction for you > not a delivered choice. It is almost the same as using MS Access. I you are > restricted to RDBMS and can make a choice on one, you should consider > PostgresSQL as the best open source RDBMS. Makes you wonder why all the huge Web 2.0 setups (Wikipedia, flickr, YouTube, digg, facebook del.ico.us, [1]) and Google and Yahoo! use MySQL. [1] http://mysql.com/customers/#Web+2.0 Cheers Philippe > Personally I like more ODBs, > > cheers, > > Sebastian Sastre > > > > -----Mensaje original----- > > De: [hidden email] > > [mailto:[hidden email]] En nombre > > de Alexandre Paes > > Enviado el: Lunes, 26 de Noviembre de 2007 11:52 > > Para: Seaside - general discussion > > Asunto: Re: [Seaside] Magma > > > > Hi, > > > > Is there anyone using Glorp successfully with MySQL databases > > in squeak? > > I've been working on some seaside application but i have been > > using 'Persistence' package to connect to MySQL databases. > > I'd like to know what are people's opinion in using Glorp > > with MySQL in squeak. > > > > Cheers, > > > > Alex Paes > > > > > > Em 11/26/07 13:42 James Robertson escreveu: > > > You can use Glorp against most relational databases, and Glorp is > > > portable between Squeak and VW > > > > > > ----- Original Message ----- From: "Victor" <[hidden email]> > > > To: "Seaside - general discussion" > > > <[hidden email]> > > > Sent: Monday, November 26, 2007 8:25 AM > > > Subject: [Seaside] Magma > > > > > > > > >> Does Magma work under Visual Works? > > >> If not, how difficult would it be to port it? > > >> > > >> Victor > > >> _______________________________________________ > > >> seaside mailing list > > >> [hidden email] > > >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > >> > > > > > > _______________________________________________ > > > seaside mailing list > > > [hidden email] > > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > > _______________________________________________ > > seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
>>>>> "Philippe" == Philippe Marschall <[hidden email]> writes:
Philippe> Makes you wonder why all the huge Web 2.0 setups (Wikipedia, flickr, Philippe> YouTube, digg, facebook del.ico.us, [1]) and Google and Yahoo! use Philippe> MySQL. Legacy. And that's now the only reason to keep using it. PostgreSQL has surpassed MySQL now in terms of both speed *and* feature set, not to mention an unconfusing licensing model. Friends don't let friends use MySQL. Yeah, it was the only game in town at one point, but it got too comfy, and now the market has moved on. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[hidden email]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
I think the question was posted in the context of relational vs. OODB.
Victor ============================================== Randal L. Schwartz wrote: >>>>>> "Philippe" == Philippe Marschall <[hidden email]> writes: > > Philippe> Makes you wonder why all the huge Web 2.0 setups (Wikipedia, flickr, > Philippe> YouTube, digg, facebook del.ico.us, [1]) and Google and Yahoo! use > Philippe> MySQL. > > Legacy. And that's now the only reason to keep using it. PostgreSQL has > surpassed MySQL now in terms of both speed *and* feature set, not to mention > an unconfusing licensing model. > > Friends don't let friends use MySQL. Yeah, it was the only game in town at > one point, but it got too comfy, and now the market has moved on. > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Sebastian Sastre-2
Hi Sebastian,
In this case it IS really a strong restriction i have since i must keep the application synchronized with a MySQL database in use by another application that was developed in PHP + MySQL. So in this case i have my hands tied, obviously one can argue that the PHP application should be updated to use PostgreSQL instead but that is not an option atm. Still anxious for reports of people actually using MySQL in squeak, Glorp or other... Cheers, Alex Paes Em 11/26/07 16:13 Sebastian Sastre escreveu: > Hi Alex, > > MySQL should be used only as if it is a strong restriction for you > not a delivered choice. It is almost the same as using MS Access. I you are > restricted to RDBMS and can make a choice on one, you should consider > PostgresSQL as the best open source RDBMS. > > Personally I like more ODBs, > > cheers, > > Sebastian Sastre > > >> -----Mensaje original----- >> De: [hidden email] >> [mailto:[hidden email]] En nombre >> de Alexandre Paes >> Enviado el: Lunes, 26 de Noviembre de 2007 11:52 >> Para: Seaside - general discussion >> Asunto: Re: [Seaside] Magma >> >> Hi, >> >> Is there anyone using Glorp successfully with MySQL databases >> in squeak? >> I've been working on some seaside application but i have been >> using 'Persistence' package to connect to MySQL databases. >> I'd like to know what are people's opinion in using Glorp >> with MySQL in squeak. >> >> Cheers, >> >> Alex Paes >> >> >> Em 11/26/07 13:42 James Robertson escreveu: >>> You can use Glorp against most relational databases, and Glorp is >>> portable between Squeak and VW >>> >>> ----- Original Message ----- From: "Victor" <[hidden email]> >>> To: "Seaside - general discussion" >>> <[hidden email]> >>> Sent: Monday, November 26, 2007 8:25 AM >>> Subject: [Seaside] Magma >>> >>> >>>> Does Magma work under Visual Works? >>>> If not, how difficult would it be to port it? >>>> >>>> Victor >>>> _______________________________________________ >>>> seaside mailing list >>>> [hidden email] >>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >>>> >>> _______________________________________________ >>> seaside mailing list >>> [hidden email] >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >>> >> _______________________________________________ >> seaside mailing list >> [hidden email] >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Göran Krampe
Hello Göran,
What makes you think that Magma is so hard to port to VW? I'm just curious about what core parts of both Smalltalks are radically different. Thanks On Nov 26, 2007 9:32 AM, <[hidden email]> wrote: > Hi! > > Victor <[hidden email]> wrote: > > Does Magma work under Visual Works? > > If not, how difficult would it be to port it? > > It does not and I would be surprised about a port - my guess is that > Magma is highly Squeak specific. If you want an OODB with VW I guess > GemStone is the way to go - not open source though. > > regards, Göran > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Alexandre Paes
Well, I can say this about Cincom Smalltalk - we intend to support MySQL as
a first class choice with our Seaside support. In the meantime, you could take a look at our developer program: http://www.cincomsmalltalk.com/userblogs/cincom/blogView?content=vwDeveloper ----- Original Message ----- From: "Alexandre Paes" <[hidden email]> To: "Seaside - general discussion" <[hidden email]> Sent: Monday, November 26, 2007 12:11 PM Subject: Re: [Seaside] Magma > Hi Sebastian, > > In this case it IS really a strong restriction i have since i must keep > the application synchronized with a MySQL database in use by another > application that was developed in PHP + MySQL. So in this case i have my > hands tied, obviously one can argue that the PHP application should be > updated to use PostgreSQL instead but that is not an option atm. > > Still anxious for reports of people actually using MySQL in squeak, Glorp > or other... > > > Cheers, > > Alex Paes > > > Em 11/26/07 16:13 Sebastian Sastre escreveu: >> Hi Alex, >> >> MySQL should be used only as if it is a strong restriction for you >> not a delivered choice. It is almost the same as using MS Access. I you >> are >> restricted to RDBMS and can make a choice on one, you should consider >> PostgresSQL as the best open source RDBMS. >> >> Personally I like more ODBs, >> >> cheers, >> >> Sebastian Sastre >> >> >>> -----Mensaje original----- >>> De: [hidden email] >>> [mailto:[hidden email]] En nombre de >>> Alexandre Paes >>> Enviado el: Lunes, 26 de Noviembre de 2007 11:52 >>> Para: Seaside - general discussion >>> Asunto: Re: [Seaside] Magma >>> >>> Hi, >>> >>> Is there anyone using Glorp successfully with MySQL databases in squeak? >>> I've been working on some seaside application but i have been using >>> 'Persistence' package to connect to MySQL databases. I'd like to know >>> what are people's opinion in using Glorp with MySQL in squeak. >>> >>> Cheers, >>> >>> Alex Paes >>> >>> >>> Em 11/26/07 13:42 James Robertson escreveu: >>>> You can use Glorp against most relational databases, and Glorp is >>>> portable between Squeak and VW >>>> >>>> ----- Original Message ----- From: "Victor" <[hidden email]> >>>> To: "Seaside - general discussion" <[hidden email]> >>>> Sent: Monday, November 26, 2007 8:25 AM >>>> Subject: [Seaside] Magma >>>> >>>> >>>>> Does Magma work under Visual Works? >>>>> If not, how difficult would it be to port it? >>>>> >>>>> Victor >>>>> _______________________________________________ >>>>> seaside mailing list >>>>> [hidden email] >>>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >>>>> >>>> _______________________________________________ >>>> seaside mailing list >>>> [hidden email] >>>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >>>> >>> _______________________________________________ >>> seaside mailing list >>> [hidden email] >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >> >> _______________________________________________ >> seaside mailing list >> [hidden email] >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside >> > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Alexandre Paes
OK, I just wanted to make sure you can evaluate to evade a personal
compromise with an RDBMS that is not the ideal one. But that is not possible when is a strict rectriction as you said is your case. cheers, Sebastian Sastre > -----Mensaje original----- > De: [hidden email] > [mailto:[hidden email]] En nombre > de Alexandre Paes > Enviado el: Lunes, 26 de Noviembre de 2007 15:12 > Para: Seaside - general discussion > Asunto: Re: [Seaside] Magma > > Hi Sebastian, > > In this case it IS really a strong restriction i have since i > must keep the application synchronized with a MySQL database > in use by another application that was developed in PHP + > MySQL. So in this case i have my hands tied, obviously one > can argue that the PHP application should be updated to use > PostgreSQL instead but that is not an option atm. > > Still anxious for reports of people actually using MySQL in > squeak, Glorp or other... > > > Cheers, > > Alex Paes > > > Em 11/26/07 16:13 Sebastian Sastre escreveu: > > Hi Alex, > > > > MySQL should be used only as if it is a strong > restriction for you > > not a delivered choice. It is almost the same as using MS > Access. I you are > > restricted to RDBMS and can make a choice on one, you > should consider > > PostgresSQL as the best open source RDBMS. > > > > Personally I like more ODBs, > > > > cheers, > > > > Sebastian Sastre > > > > > >> -----Mensaje original----- > >> De: [hidden email] > >> [mailto:[hidden email]] En nombre > >> de Alexandre Paes > >> Enviado el: Lunes, 26 de Noviembre de 2007 11:52 > >> Para: Seaside - general discussion > >> Asunto: Re: [Seaside] Magma > >> > >> Hi, > >> > >> Is there anyone using Glorp successfully with MySQL databases > >> in squeak? > >> I've been working on some seaside application but i have been > >> using 'Persistence' package to connect to MySQL databases. > >> I'd like to know what are people's opinion in using Glorp > >> with MySQL in squeak. > >> > >> Cheers, > >> > >> Alex Paes > >> > >> > >> Em 11/26/07 13:42 James Robertson escreveu: > >>> You can use Glorp against most relational databases, and Glorp is > >>> portable between Squeak and VW > >>> > >>> ----- Original Message ----- From: "Victor" > <[hidden email]> > >>> To: "Seaside - general discussion" > >>> <[hidden email]> > >>> Sent: Monday, November 26, 2007 8:25 AM > >>> Subject: [Seaside] Magma > >>> > >>> > >>>> Does Magma work under Visual Works? > >>>> If not, how difficult would it be to port it? > >>>> > >>>> Victor > >>>> _______________________________________________ > >>>> seaside mailing list > >>>> [hidden email] > >>>> > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > >>>> > >>> _______________________________________________ > >>> seaside mailing list > >>> [hidden email] > >>> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > >>> > >> _______________________________________________ > >> seaside mailing list > >> [hidden email] > >> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > > _______________________________________________ > > seaside mailing list > > [hidden email] > > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Ramiro Diaz Trepat
Hi all (and Chris)!
"Ramiro Diaz Trepat" <[hidden email]> wrote: > Hello Göran, > What makes you think that Magma is so hard to port to VW? > I'm just curious about what core parts of both Smalltalks are > radically different. > Thanks Well, honestly - it is just a hunch. Best would be to invite Chris to this discussion, which I just did. :) regards, Göran > On Nov 26, 2007 9:32 AM, <[hidden email]> wrote: > > Hi! > > > > Victor <[hidden email]> wrote: > > > Does Magma work under Visual Works? > > > If not, how difficult would it be to port it? > > > > It does not and I would be surprised about a port - my guess is that > > Magma is highly Squeak specific. If you want an OODB with VW I guess > > GemStone is the way to go - not open source though. > > > > regards, Göran seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Chun, Sungjin
No, I'm currently using sqlite but I would like to move on to the OODB, maybe
Magma. ----- Original Message ----- From: Ramiro Diaz Trepat <[hidden email]> To: Seaside - general discussion <[hidden email]> Sent: 07-11-26 22:03:30 Subject: Re: [Seaside] [Q] Best data structure for... With MagmaCollections you can index all the attributes that you want and then you can perform queries that use them as it was pointed by a previous mail. But if you are forced to use a RDBMS, then use GLORP, and hadle your collections in a regular way. I believe Norbert Hartl has just finished porting the latest version of GLORP to Squeak. Hope that helps bye r. On Nov 25, 2007 10:22 PM, <[hidden email]> wrote: > Hi, > > my data class has following attributes; > > title > content > creation date > modified date > type > > and except content, the collection of > elements of this data shlould be indexed; that is, > title, creation/modified date and type be key. > > If single key is required, then dictionary will be my choice(or > should I use tree?). What is the best data structure for multiple > keyed data? This question has been one of my hurddle to the > OODB; if like now, sql db will be used, I know how to handle this. > > Thanks in advance. > > _______________________________________________ > seaside mailing list > [hidden email] > http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside > > [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
In reply to this post by Göran Krampe
Unfortunately, I have never worked in a modern version of VW; only 2.x
I think. Magma is still 100% Smalltalk so, theoretically, it should be portable. But I have no idea how easy or difficult it would be. Does VW have the equivalent of Squeak's #becomeForward:copyHash: true? That could be a show-stopper if it doesn't. I was contacted a year ago by a gentleman interested in porting Magma to VW. We had a few exchanges but I don't think he ever found time to work on it. I think it would be fun to see how much *faster* Magma would be under VW. Not just the VM and JIT, but also its Dictionary's are surely a lot more scalable than Squeaks.. On Nov 26, 2007 3:17 PM, <[hidden email]> wrote: > Hi all (and Chris)! > > "Ramiro Diaz Trepat" <[hidden email]> wrote: > > Hello Göran, > > What makes you think that Magma is so hard to port to VW? > > I'm just curious about what core parts of both Smalltalks are > > radically different. > > Thanks > > Well, honestly - it is just a hunch. Best would be to invite Chris to > this discussion, which I just did. :) > > regards, Göran > > > > On Nov 26, 2007 9:32 AM, <[hidden email]> wrote: > > > Hi! > > > > > > Victor <[hidden email]> wrote: > > > > Does Magma work under Visual Works? > > > > If not, how difficult would it be to port it? > > > > > > It does not and I would be surprised about a port - my guess is that > > > Magma is highly Squeak specific. If you want an OODB with VW I guess > > > GemStone is the way to go - not open source though. > > > > > > regards, Göran > _______________________________________________ seaside mailing list [hidden email] http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside |
Free forum by Nabble | Edit this page |