This'd make a great post on the Mach-II blog! On Mar 29, 2011 2:19 AM, "Peter J. Farrell" <[email protected]> wrote: > Here are my three or five if you count it a different way. Inline below. > > Eric Cobb said the following on 03/28/2011 09:48 AM: >> The Dashboard and Caching are two of the things that I want to start >> using. I haven't had a chance yet, but I'm hoping to soon. > > * All the new endpoint stuff > - File endpoint now serves all assets (img, js, css) in the dashboard. > If you've never noticed, the dashboard doesn't require any files to be > placed in a browser-accessible location. No more ad-hoc cfcontent plus > the ability to parse .cfm files and send as other content types (this is > how we customize paths in CSS files in the dashboard -- they are .cfm > files served as .css files). > > http://trac.mach-ii.com/machii/wiki/IntroToFileEndpoints > > - Task endpoint. Oh, my never again do I have to setup scheduled tasks > in the CFML engine administrator. It's as simple as defining functions > in a task CFC endpoint and manage (add/delete) the tasks for you : > > <cffunction name="markOldInProgressAssessmentSessions" access="public" > returntype="void" output="false" > hint="Marks all old 'in progress' assessment sessions as 'exception'." > task:interval="0,0,5,0"> > <cfargument name="event" type="MachII.framework.Event" > required="true" /> > <cfset > getAssessmentSessionService().markOldInProgressAssessmentSessions() /> > </cffunction> > > * Built-in security via basic HTTP access authenticate which > <cfschedule> supports > * Auto-registration of tasks implemented in your endpoint in your > CFML engine > * Exception handling > * Logic to disallow allow concurrent task execution (not allowing > two requests to a task at one time) > * Retry on a number of time when a task fails > > http://trac.mach-ii.com/machii/wiki/IntoToScheduledTaskEndpoints > > P.S. I haven't gotten to Railo support for this - only ACF and OpenBD. > Any Railo users want to help by implementing > MachII.util.cfmlEngine.AdminApiAdapterRA.cfc ? Let me know... > > - REST endpoint. Ah, I've spent way too much time working on APIs for > clients this year. What a joy to not have to worry about plumbing... > > http://trac.mach-ii.com/machii/wiki/IntroToRESTEndpoints > > * Form tag library. A select cannot get more simple than this (which > includes sorting of the country struct with US and Canada first with a > wildcard): > > <form:select path="country" multiple="true" size="10"> > <form:option value="" label="#attributes.defaultOption#" /> > <form:options items="#variables.countries#" displayOrder="US,CA,*" /> > </form:select> > > http://trac.mach-ii.com/machii/wiki/MachII1.8SpecificationFormTagLib > > * View-loaders. Um no more page-view nodes? Zing! > > <page-views> > <!-- This would load all views with the pattern of "/views/**/*.cfm" > which is the most basic and common pattern --> > <view-loader type="MachII.framework.viewLoaders.PatternViewLoader" /> > <!-- Normal static page-view nodes are allowed --> > <page-view name="someView" page="/views/someView.cfm"/> > </page-views> > > http://trac.mach-ii.com/machii/wiki/MachII1.8SpecificationViewLoaders > > -- > Peter J. Farrell > [email protected] > [email protected] > http://blog.maestropublishing.com > Identi.ca / Twitter: @maestrofjp > > -- > To post to this group, send email to [email protected] > For more options and to unsubscribe, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en > > SVN: http://svn.mach-ii.com/machii/ > Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
-- To post to this group, send email to [email protected] For more options and to unsubscribe, visit this group at http://groups.google.com/group/mach-ii-for-coldfusion?hl=en SVN: http://svn.mach-ii.com/machii/ Wiki / Documentation / Tickets: http://trac.mach-ii.com/machii/
