I would like to investigate using some aspect-like functionality in my app
(the behavior & state of many of my objects should (appear to) be different depending on the context in which they are used). I found AspectS and PerspectiveS on SqueakMap, but they seem to be dated and inactive. Anyone know of any current & reasonably stable package for Aspect-like functionality? Thanks - Sophie |
Hi Sophie,
On Jan 23, 2008 5:42 PM, itsme213 <[hidden email]> wrote: > Anyone know of any current & reasonably stable package for Aspect-like > functionality? please take a look at http://www.swa.hpi.uni-potsdam.de/cop/index.html - context-oriented programming could do the trick for you. An implementation for Squeak is available. Best, Michael |
Hi Michael,
> please take a look at http://www.swa.hpi.uni-potsdam.de/cop/index.html > - context-oriented programming could do the trick for you. An > implementation for Squeak is available. This looks very promising. If I may check a couple of things, please: - what is the license? - any papers or other docs specific to ContextS? - dependencies? squeak 3.9? AspectS? others? - in your opinion, is it stable enough to use to develop a commercial app? - any thoughts on challenges of developing/debugging using ContextS? btw: I tried loading ContextS.08Jul2330.cs.gz directly in a 3.9 image and got a few errors with a Pragma: in CsAnnotationsTest (I think pragmas expect symbols rather than classes). I was able to skip these. Many thanks, Sophie |
Hi Sophie,
On Jan 23, 2008 8:14 PM, itsme213 <[hidden email]> wrote: > This looks very promising. If I may check a couple of things, please: > - what is the license? MIT. > - any papers or other docs specific to ContextS? Incoming... there will be a tutorial paper available for download soon. > - dependencies? squeak 3.9? AspectS? others? Squeak 3.8 and Croquet are supported. The traits-induced changes to the Squeak core in 3.9 are incompatible with ContextS. > - in your opinion, is it stable enough to use to develop a commercial app? > - any thoughts on challenges of developing/debugging using ContextS? It's a research prototype. That should answer both above questions. :-) We're working on it to make it stable and robust, of course; and user / programmer experience is certainly helpful in that. So, please use it, and let us know how it works for you, and also please ask us questions. By the way, there will be an updated version soon. Best, Michael |
> We're working on it to make it stable and robust, of course; > and user / programmer experience is certainly helpful in > that. So, please use it, and let us know how it works for > you, and also please ask us questions. > > By the way, there will be an updated version soon. > > Best, > > Michael > Cheers, Sebastian |
Hi Sebastian,
On Jan 24, 2008 12:37 PM, Sebastian Sastre <[hidden email]> wrote: > Hi Michael, will that updated version load in 3.9 or 3.10? most likely not, unless Traits are removed from yon Squeak images. 3.8 and Croquet are supported; supporting Traits-bestowed images would mean in-depth changes, which we don't have the time to apply. Best, Michael |
"Michael Haupt" <[hidden email]> wrote in message > It's a research prototype. That should answer both above questions. :-) I can tell from some of the #flag notes in the code :-) >> Hi Michael, will that updated version load in 3.9 or 3.10? > > most likely not, unless Traits are removed from yon Squeak images. Any pointer to how I might "remove" Traits from my image, and if that would break other packages that used traits? Do you think that, due to how traits are "flattened" at compilation, those other packages will continue to work (and not using things like > supporting Traits-bestowed images would > mean in-depth changes, which we don't have the time to apply. Understood. CoP sounds _really_ right for some problems, I sincerely hope it can remain an option with 3.9/3.10, as going to 3.8 will be difficult. Thanks -- Sophie |
Hi Sophie,
On Jan 24, 2008 4:26 PM, itsme213 <[hidden email]> wrote: > Any pointer to how I might "remove" Traits from my image, and if that would > break other packages that used traits? I don't have any idea as to whether this is possible at all. Best, Michael |
"Michael Haupt" <[hidden email]> wrote in message >> Any pointer to how I might "remove" Traits from my image, and if that >> would >> break other packages that used traits? > > I don't have any idea as to whether this is possible at all. Ok, I will see if I can load up Seaside etc. + my work in a 3.8 image to try out ContextS. Many thanks - Sophie |
"itsme213" <[hidden email]> wrote
> Ok, I will see if I can load up Seaside etc. + my work in a 3.8 image to > try out ContextS. Just an update: I did some experiments in Squeak 3.8, and ContextS provides a very nice architectural option for my needs (for many needs, I suspect) even with its limited tooling. I am still unsure about the feasibility & cost for me to go back to, and then remain at, 3.8 ... Sophie |
Free forum by Nabble | Edit this page |