Google Groups Home
Help | Sign in
Message from discussion what's new in 2.0
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Peter J. Farrell  
View profile
 More options May 5, 6:00 pm
From: "Peter J. Farrell" <pe...@mach-ii.com>
Date: Mon, 05 May 2008 17:00:18 -0500
Local: Mon, May 5 2008 6:00 pm
Subject: Re: [Mach-II] Re: what's new in 2.0
<jorge_loyo> said the following on 5/5/2008 4:47 PM:
> very nice... I like this a lot. page-views & listeners sections would
> definitely be a lot more compact.

More than likely we will let use some sort of ANT-style path selectors
so it's not just an all for one effort and allows you some granularity.  
This is pseudo XML:

<page-views>
    <page-view-loader type="MachII.framework.PageViewLoader"
path="/views/products/**/*.cfm" nameBase="products" />
</page-views>

This would produce page-views at runtime that would be represented like
this:
<page-view name="products.index" page="/views/products/index.cfm"/>
<page-view name="products.widgetA" page="/views/products/widgetsA.cfm"/>
<page-view name="products.widgetB" page="/views/products/widgetsB.cfm"/>

You could define multiple loaders if needed.

.Peter


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google