Hi Tim

I agree that it would be quite simple to do this. My current project is faced with the same problem in a different web framework, so we're considering writing our own.
Let me know if you need teaming up on this to create a common solution.

/Jeppe

Tim Fennell wrote:
I saw Eelco write a little about it, and I think they basically hit  
the same wall that I'm hitting now.  It seems to be the case that  
OGNL is a powerful general _expression_ language - but is really  
overkill as a replacement for BeanUtils.  I believe they were using  
it much like Stripes does - to set and retreive nested properties  
with some help instantiating null objects along the way.

The more I think about this, the more I think a custom solution would  
be simpler.  I'm not even sure a parser generate is needed.  The  
subset of syntax that I need to parse is so small, I think a custom  
coded parser would still be < 50 loc in the end.  Realistically I  
think it needs to deal with:
	1. dot notation
	2. square bracket notiation
	3. single-quoted strings
	4. double quoted strings
	5. numerics

It doesn't need to allow anything more complex like arithmetic  
expressions, method invocations or anything....

-t

On Jul 19, 2006, at 6:53 PM, RepublicanJew wrote:

  
Didn't the Wicket framework (http://wicket.sourceforge.net) ditch  
OGNL in favor
of a Wicket-centric approach recently?  They mention an associated  
performance
boost on the Wicket news page, but maybe there was more to it.   
Does ne1 read
these boards that knows why Wicket went this same route?

-RJ


---------------------------------------------------------------------- 
---
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to  
share your
opinions on IT & business topics through brief surveys -- and earn  
cash
http://www.techsay.com/default.php? 
page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development
    


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

  
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to