From: Lane S. <la...@op...> - 2005-08-10 02:17:23
|
Marc Palmer wrote: >It's a nice idea, but I have precious little time at the moment. I think a >concrete WAR file that you can point at a directory of templates and have >it serve the pages is a -must- have for WM though. > > for the documentation improvements: the examples/ folder now contains a build.xml that contains a deployment task to a web container for the examples + a web.xml. no war file. I could of course create this too. > > > >>Also, I see a limitation with XML property specification ala Spring. >>First, I do not like XML as a bean property spec. I would much rather >>use #bean to instantiate and set props . Second, it does not allow for >>the beans properties to persist in state and then evolve. Fine for the >>default settings of a bean. >> >> > >I think you've got the wrong end of the stick here. > >The Spring bean config stuff is geared at application component >initialization (i.e. business logic objects, EJBs - yuck!, etc) > >Its XML grammar is trivial, and you are not restricted to their XML - you >can write any bean factory implementation that uses any file format you like. > > that's cool. I like this. >i.e. you could write a WebMacroBeanFactory for spring that parses WM >templates to initialize the bean context. > >However Spring's XML config is very good because it can be validated using >any standard XML validation tool (and as part of the build process) and >99% of the world knows a lot more about XML than WebMacro. > > sad :(. but because the world uses a lot of crap like ASP and JSP does not mean that I am going too. >Whatever, WebMacro configuration needs to be "bean scriptable". I am not >suggesting any replacement of the existing properties config scheme for WM >- but it -must- be possible for users to configurable WebMacro at runtime, >and from any POJO configuration tool such as Spring, Pico etc. > > Agreed! >Right now the WM config/context system is not really "POJO". > > I do not think it is far from that, really. -Lane >Cheers > > > >------------------------------------------------------- >SF.Net email is sponsored by: Discover Easy Linux Migration Strategies >from IBM. Find simple to follow Roadmaps, straightforward articles, >informative Webcasts and more! Get everything you need to get up to >speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click >_______________________________________________ >Webmacro-user mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-user > > > -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |