Comments
Richard Davies wrote: The UK has a good crop of technology pioneers in cloud computing - for example ElasticHosts, FlexiScale, Flexiant, OnApp - and also some strong government initiatives such as G-Cloud. We will have to see whether this kind of technical leadership converts into swift mass-market adoption or not.
Cloud Expo on Google News

SYS-CON.TV
Cloud Expo & Virtualization 2009 East
PLATINUM SPONSORS:
IBM
Smarter Business Solutions Through Dynamic Infrastructure
IBM
Smarter Insights: How the CIO Becomes a Hero Again
Microsoft
Windows Azure
GOLD SPONSORS:
Appsense
Why VDI?
CA
Maximizing the Business Value of Virtualization in Enterprise and Cloud Computing Environments
ExactTarget
Messaging in the Cloud - Email, SMS and Voice
Freedom OSS
Stairway to the Cloud
Sun
Sun's Incubation Platform: Helping Startups Serve the Enterprise
POWER PANELS:
Cloud Computing & Enterprise IT: Cost & Operational Benefits
How and Why is a Flexible IT Infrastructure the Key To the Future?
Click For 2008 West
Event Webcasts
John Farrar on COOP
COOP seems to rely on a CFC in the same folder as the calling file and with the same name extension

Steve Bryant's Blog

Yesterday John Farrar presented to the Online ColdFusion Meetup Group on his forms custom tag set, COOP. Actually, he describes it as a framework to separate page markup from processing logic.

Most of what I saw solves a problem in the same space as a custom tag set that I have been using for a few years (and hoping to put into beta soon). So, I am likely somewhat biased about what I saw.

That being said, I was really impressed with what I saw. It was interesting to see where John and I took similar approaches and where our solutions differed.

COOP seems to rely on a CFC in the same folder as the calling file and with the same name (except the .cfc) extension. John called this a "coprocessor". It looked a lot like a page controller to me. I have mixed feelings about this. On one hand, I was unsure of how I felt about introducing a requirement for an external file for each page. On the other hand, I generally like the use of a page controller.

He has several different kinds of form fields available. One thing that I noticed is that he has a "RadioButtonList" and "CheckboxList" where I named mine "radio" and "checkbox" for similar functionality. His name here is a much better description of the functionality and I wish I had thought of it.

His approach did seam to write table tags instead of providing an option for a more semantic style as well. He also used a separate tag for a label than for a form field. In one way, I didn't like this difference in approach as it made the code longer and required tables. The advantage of this option, however, is that it makes it easy to have multiple fields on one row with one label - something difficult with my approach.

This made for some nice-looking forms that seemed very "tight" in their presentation (which I liked).

He also allows pass-through attributes in his tag. This means that any attribute not directly used by the tag, will be written as an attribute in the HTML element. For example, you could add a "style" attribute to any tag. This is something we have in common, though I think I may have a list of pass-through attributes, which isn't as flexible an approach as John seems to have in COOP.

COOP allows you to specify a validation method from the coprocessor as well as using the coprocessor for other settings and data. This does provide a bit of an external dependency, but makes for a very nice separation of display and logic. John explained that his goal was that a non-programmer could handle the display code for the form.

The form is self-posting by default, but you can specify an action attribute if you prefer. This does circumvent the built-in validation, but John said that given the separation between the logic and display it should be easy to allow for validation even if the form isn't self-posting.

He is working on adding AJAX support and has complete documentation almost complete.

Overall, this looks like a very good offering. Indeed, Sean Corfield said "COOP looks very nice and cleanly architected".

If you are looking for a good form custom tag set, this is definitely worth a look. In the meantime, check out his recording.

About Steve Bryant
Steve Bryant is the founder and CEO of Bryant Web Consulting LLC (www.bryantwebconsulting.com) and teaches ColdFusion at Breakaway Interactive (www.breakawayinteractive.com). He got his BA in philosophy at Oklahoma State University. Steve, one of the top ColdFusion developers in the country, still has no idea how that led to a career in Web development. Steve blogs at steve.coldfusionjournal.com as one of CFDJ's published bloggers.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

COOP seems to rely on a CFC in the same folder as the calling file and with the same name (except the .cfc) extension. John called this a 'coprocessor'. It looked a lot like a page controller to me. I have mixed feelings about this. On one hand, I was unsure of how I felt about introducing a requirement for an external file for each page. On the other hand, I generally like the use of a page controller.


Your Feedback
ColdFusion News wrote: COOP seems to rely on a CFC in the same folder as the calling file and with the same name (except the .cfc) extension. John called this a 'coprocessor'. It looked a lot like a page controller to me. I have mixed feelings about this. On one hand, I was unsure of how I felt about introducing a requirement for an external file for each page. On the other hand, I generally like the use of a page controller.
Latest Cloud Developer Stories
As a result, it said, of “customer feedback and evolving usage patterns,” Microsoft cut the price of its cloud-ified SQL Azure database 48%–75% for databases larger than 1GB and introduced a new entry-level 100MB model. It blogged that it’s noticed that many projects start smal...
Wide and cheap availability of cloud-based media services is upon us. With the transformations these services are already bringing to the consumption of music, video and interactive media, change has likewise come to professional workflows. Documents in 2012 are read, written, co...
With Cloud Expo 2012 New York (10th Cloud Expo) just four months away, what better time to start introducing you in greater detail to the distinguished individuals in our incredible Speaker Faculty for the technical and strategy sessions at the conference... We have technical ...
Fresh off a happy quarter, Rackspace said Thursday that it’s bought SharePoint911, one of those you-never-heard-of-them outfits that does SharePoint consulting, training and JumpStart services so it can deliver newfangled SharePoint services along with its existing SharePoint hos...
Cloud is a shift from the focus on underlying technology implementation to leveraging existing implementations and further building upon them. Cloud orchestration or a network of clouds is the wave of the future where these clouds can operate with elasticity, scalability, and eff...
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON Featured Whitepapers
ADS BY GOOGLE

Breaking Cloud Computing News

Mayor Jerry Sanders and San Diego City Councilmen Kevin Faulconer and Todd Gloria o...