Re: Regular expression action mapper

2010-07-30 Thread Wes Wannemacher
a regular expression action mapper similar to Django's URL dispatcher. Given this regex.mapping file listProduct::^/products$ showProduct:entityId:^/product/([0-9]+)$ showProduct:productName:^/product/([a-zA-Z0-9_]+)$ deleteAttributeProductAdmin:entityId,entityType,attributeId:^/admin

Regular expression action mapper

2010-07-18 Thread koolbunnyrabbit
Hi all, Just trying to give back (or a shameless plug - you decide) Months ago (last year really) I implemented a regular expression action mapper similar to Django's URL dispatcher. Given this regex.mapping file listProduct::^/products$ showProduct:entityId:^/product/([0-9

Regular Expression Action Mapper

2009-06-10 Thread foo bar
Hi all, I've just started implementing a regex action mapper (influenced by Django's URL dispatcher [1]). Just wondering whether anyone has done this before. Would like to know what other people think as well. Ideas ? Suggestions ? Bugs ? This is what I have at the moment, protected String[]