Re: [Wonder-disc] Helper Functions
Re: [Wonder-disc] Helper Functions
- Subject: Re: [Wonder-disc] Helper Functions
- From: Mike Schrag <email@hidden>
- Date: Sat, 21 Oct 2006 21:15:23 -0400
Oops -- My reply was supposed to be on the Wonder list ... Address
completion mixup :) Oh well. Uh. Wonder's really cool. Everyone
go download it. That is all.
ms
On Oct 21, 2006, at 3:15 PM, Cornelius Jaeger wrote:
hi mike
i'm gonna get a chance to play with it next week.
i have to say it's so obvious that i can't believe it's not in the
standard webobjects package.
that said it was probably not straight forward to implement and
java doesn't really lend itself to this kind of thing.
i only mentioned aop because i know it supports a notion similar to
categories, somewhat more powerful but that's all that's really
needed.
AspectJ now seems to be an eclipse project http://www.eclipse.org/
aspectj/ so i have to get my projects moved to WOLips first because
i ain't going through the pain of getting aop working with vexcode
(that's chuck's © if i remember correctly).
as soon as i get anywhere i'll chime in.
many regards, thx and stay valiant!
cornelius
On 20.10.2006, at 10:25, Mike Schrag wrote:
Namespacing is definitely the tricky part at the moment. I tried
to address _basic_ namespace support in a straightforward way,
figuring once people use it, other ideas would come up.
I was thinking that ERExtensions might have the "main" set of
helpers for the base types (String, NSTimestamp, primitives, etc),
which you could extend in your own apps. Alternatively, WOOGNL
could depend on ERX (it doesn't now) and we can put the main
helpers in there. The OGNL option organizationally makes a little
more sense, I think.
I've not really done anything with AOP, so I'm open for
suggestions/recommendations here. Every time I've looked at AOP
it sort of looked insane and I scurried away :)
The auto-increasing id helper is a bit of a funky case. You're
not really "formatting" anything in that case -- you're generating
(if i understand you correctly). You could probably trick it into
working, but I can't think of a "natural" way to do it with the
current syntax.
This is all pretty new (we've only been using it here for about a
week), so let me know if you have suggestions for it.
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden