Here is another approach:
http://forum.world.st/Best-practices-available-for-Seaside-Gemstone-tp2721023p2901998.html
sergio_101 wrote
> I am building a seaside application, and am in the process of building my
> models and unit tests.
>
> I have a few objects that build up my data by creating o
Hi, all..
these are all ideas that make sense, and for the sake of any new people
coming to pharo/smalltalk, i want to clarify just a little bit more what i
am actually doing.
i am setting up a new site that needs to have a bunch of data available at
all times. something like.. products, product
Store the objects in an array in a class variable.
To delete, just nil the class variable.
On Thu, Jan 15, 2015 at 3:44 PM, jtuc...@objektfabrik.de <
jtuc...@objektfabrik.de> wrote:
> Sergio,
>
> I'D say you first need to define what you mean by "persistent" If all you
> need is to have them sur
Sergio,
I'D say you first need to define what you mean by "persistent" If all
you need is to have them survive a Garbage Collection, you just need to
make sure these objects are referenced by som eother objects. Depending
on your use case, this can be Seaside Sessions, Global variables
(proba
On Thu, Jan 15, 2015 at 6:06 AM, sergio_101 wrote:
> I am building a seaside application, and am in the process of building my
> models and unit tests.
>
> I have a few objects that build up my data by creating objects.
>
> when i run the data creation methods, everything is fine. immediately
> a
Le 15/1/15 06:06, sergio_101 a écrit :
I am building a seaside application, and am in the process of building
my models and unit tests.
I have a few objects that build up my data by creating objects.
when i run the data creation methods, everything is fine. immediately
afterward, since these
I am building a seaside application, and am in the process of building my
models and unit tests.
I have a few objects that build up my data by creating objects.
when i run the data creation methods, everything is fine. immediately
afterward, since these objects to belong to anything, they are cle