Free Newsletters
Technology & Business Daily

InfoWorld
Log-in | Register

Castle built for .Net

Open source project looks to assist developers

By Paul Krill
November 21, 2006
 

Castle, which is an open source project to ease development on Microsoft's .Net platform, is nearing its general release.

Free IT resource

Open Source Business Conference (OSBC) May 22-23, 2007

Sponsored by OSBC

Free IT resource

Virtualization Insights from Top Experts - Learn how virtualization gets real!

Sponsored by Dell

Spawned out of the defunct Apache Avalon object-oriented framework, Castle is built as a set of programming libraries. In addition to .Net, it also will work with Mono, an open source implementation of .Net. 

"Castle's goals are avoid code repetition, use convention instead of configuration whenever it's possible, and handle common tasks on the programmer's behalf," said project creator Hamilton Verissimo, founder of the Castle Stronghold consultancy in Brazil.

A second release candidate of Castle 1.0 is available as of several weeks ago. A general release is targeted for January. 

Castle can be used for enterprise and Web application development. It features tools including MonoRail, which is a Web framework inspired by Ruby on Rails. MonoRail uses the MVC (Model-View-Controller) pattern for application flow, data, and views. AJAX (Asynchronous JavaScript and XML) is featured as well.

Also in Castle are ActiveRecord, for mapping objects to databases, and Windsor, which is an object lifecycle container for making code more maintainable. 

"[Castle is] a collection of many different tools and features primarily designed for easing development and reducing development time," said Kevin Williams, who is a developer involved in Castle.

Ease of use and intuitiveness are the primary draws of Castle, Williams said.

"Of all the software that I've used over the years in .Net, I've never seen anything as easy to use or powerful as the Castle tools," Williams said.

"It's very intuitive to use and you have a lot of control over things and it's very extensible," Williams said. Users can mold Castle to their environment or use it with the Visual Studio IDE.

"Probably the best thing I can say is that as developers improve their practices and learn about new methodologies and techniques and design patterns and all these things, sometimes it's difficult to put all these tool together and make it work," Williams said. "Castle fits all those pieces together for you and gives you a jumpstart in what you want to build."

Castle began as an attempt to bridge Avalon to .Net. Planning already is under way for version 2.0 of Castle. The MonoRail component in version 2.0 may be enabled to work with many view engines at the same time. A domain language to generate JavaScript also is eyed, as is a better template engine in the vein of Ruby. Performance improvements also are planned for MonoRail.

Initialization and mapping improvements are expected for ActiveRecord in Castle 2.0. The IoC (Inversion of Control) microkernel in Castle may be more configurable as well.





 


 
Paul Krill is an InfoWorld editor at large.
 

TOP NEWS:


»  Yahoo tells Icahn that its own board knows best
Yahoo claims that Icahn's proposal shows a 'significant misunderstanding' of how Microsoft's buyout offer was handled

»  Does Icahn have a backup plan?
Carl Icahn is trying to force Yahoo back to the bargaining table with Microsoft, but if Microsoft is no longer interested, he'll need to have other options available

»  Sprint: WiMax cleared for commercial use
Sprint has completed nearly a year's worth of testing and has now declared WiMax up to commerical deployment standards

»  Tools circulate that crack Debian, Ubuntu keys
The tools take advantage of a recently discovered vulnerability and can be used to forge digital signatures and steal confidential information

»  Facebook to Google: Friend Disconnect
Facebook cites violation of its terms of service as grounds for blocking Google's Friend Connect from accessing social network's members' data

»  U.S. to investigate semiconductor patent complaints
LSI and subsidiary Agere Systems ask ITC to bar imports by companies violating their patent for semiconductor chips containing tungsten metal




Virtualization: A Step by Step Approach to Success
Your virtual machines can be up and running in a matter of minutes. HP and Citrix have integrated XenServer with HP ProLiant servers and management tools, powered by hardware-assisted Intel Virtualization Technology to enable high- performance, cost-savings solutions for server consolidation and disaster recovery. Sponsor: HP

»  Click here to view this Webcast
  Storage is big, and getting bigger
The only certainty is that your requirement for storage will never be satisfied. While you clean out space and authorize POs, you might consider another alternative: outsourcing. The best way to deal with storage might be to let someone else deal with it. Sponsored by SGI

»  Click here to download now

- Special Advertising Partners -
WHITE PAPERS
 

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
INFOWORLD MARKETPLACE
 
» BUY A LINK NOW
 

FIND PRODUCTS AND COMPANIES
» COMPLETE PRODUCT GUIDE



TECHNOLOGY INDEX
• Applications
• Application Development
• Security
• Networking
• Wireless
• Platforms
• Hardware
• Data Management
• Storage
• Web Services
• Business
• Telecom
• Professional Services
• Standards

TECH WATCH 


What's the 411 on GOOG-411?
Just as Google has become synonymous with "performing a Web search," 411 is understood to mean "information" -- as in "what's the 411?" I was thus surprised to discover, from a billboard, no less, that the king of search is taking on the ...

Apple HTML source reveals 'iPhone Extreme'
"This one's a stretch..." reports AppleInsider. Um, yeah. Reporting on HTML code sightings of product names could be called a stretch, but iPhone Extreme has a ring to it. Now, that sounds like the product Apple should have released first, rather ...

COLUMNISTS

Unified under law
Ephraim Schwartz's Column and Blog (InfoWorld) - In the litigious world we live in, deploying a unified communications platform in your enterprise could...
» MORE COLUMNISTS

MORE INFOWORLD BLOGS


Open Sources 
Product Management
When I joined MySQL four years ago, there was quite a lot of debate about product management. We didn't actually have ...

Zero Day 
Botnet herders tending smaller flocks
New research backs up the theory that botnet operators are keeping their networks smaller in a continued effort to keep ...



• Advice Line
• Database Underground
• The Deep End
• Enterprise Mac
• Geeks in Paradise
• Grid Meter
• The Gripe Line
• InfoWorld Daily
• Inside IT
• IT Troubleshooter
• ITXtreme
• Open Sources
• ProdBlog
• Real World SOA
• Reality Check
• Security Adviser
• SMB IT
• The Storage Network
• Tech Watch
• Virtualization Report
• Zero Day

ADVERTISEMENT


RESOURCE CENTERadvertisement 

GOVERNMENT IT & POLICY
'If you don't go after the network, you're never going to stop these guys. Never.'
From the State Department, All the News for Inquiring Minds
TechPresident, the Internet Citizenry's New Consensus Taker



Sponsored Technology Links

 
 
 HOME  NEWS  BLOGS  PODCASTS  VIDEOS  TECHNOLOGIES  TEST CENTER  EVENTS  CAREERS  IT EXEC-CONNECT   About | Advertise | Awards | RSS | Contact Us 

Copyright © 2008, Reprints, Permissions, Licensing, IDG Network, Privacy Policy, Terms of Service.
All Rights reserved. InfoWorld is a leading publisher of technology information and product reviews on topics including viruses,
phishing, worms, firewalls, security, servers, storage, networking, wireless, databases, and web services.

CIO :: ComputerWorld :: CSO :: Demo :: GamePro :: Games.net :: IDG Connect :: IDG World Expo
Industry Standard :: IT World :: JavaWorld :: LinuxWorld :: MacUser :: Macworld :: Network World :: PC World :: Playlist