BrainDump
  Home arrow BrainDump arrow Working with Code Libraries
Iron Speed
ASP Free Forums 
.NET  
ASP  
ASP Code  
ASP.NET  
ASP.NET Code  
BrainDump  
C#  
Code Examples  
Database  
Database Code  
IIS  
Microsoft Access  
MS SQL Server  
Visual Basic.NET  
Windows Scripting  
Windows Security  
XML  
ASP Web Hosting  
ASP.NET Web Hosting 
Dedicated Servers 
Actuate Whitepapers 
VeriSign Whitepapers 
Windows Web Hosting
 
IBM® developerWorks 
Sun Developer Network 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
BRAINDUMP

Working with Code Libraries
By: O'Reilly Media
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 1
    2007-08-02

    Table of Contents:
  • Working with Code Libraries
  • 4.1 Externalizing Business Rules with NxBRE
  • Using NxBRE
  • Creating rules for the Inference Engine
  • Implementing the engine

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT

    At the virtual BlackBerry Technical Seminar 2008, you can ask your development questions directly of Research In Motion® (RIM) experts, and take advantage of learning opportunities designed uniquely for BlackBerry solution developers. Register Today!

    Working with Code Libraries


    (Page 1 of 5 )

    Code libraries allow you to reuse code and save you a large amount of time and money. This article, the first in a multi-part series, discusses the NxBRE library; future articles will cover other libraries. This article is excerpted from chapter four of Windows Developer Power Tools, written by James Avery and Jim Holmes (O'Reilly, 2006; ISBN: 0596527543). Copyright © 2006 O'Reilly Media, Inc. All rights reserved. Used with permission from the publisher. Available from booksellers or direct from O'Reilly Media.

    4.0  Introduction

    Code reuse is a critical part of good software development. Why spend time and money designing, building, and testing a library if someone’s already done the heavy lifting for you? The story told way too often in software development circles is of the team that decided to “implement their own X,” where X could be a logging framework, a custom Flash graphing engine, a compression formula, and so on. The team always ends up spending way more time working on their custom creation than actually adding value to the business they are working with, and usually the project gets cancelled or goes way over budget. Don’t make the same mistake; always use an existing library whenever possible!

    The Tools

    For abstracting business rules into XML 
       NxBRE 
      
    Gives you the ability to pull your business rules out of
       your code and keep them stored in XML or Visio
       documents.

    For adding quality logging to your application    
       log4net 
       Lets you create logfiles for your application with
       varying levels of detail. The people responsible for
       maintaining your application will thank you.

    For implementing search functionality 
       Lucene.Net 
       Gives your users enhanced search functionality.

    For comparing libraries 
       LibCheck 
       Compares two versions of an assembly to see what
       has changed. This can be very useful when you’re
       trying to diagnose why something is broken or is
       causing unexpected behavior.

    For visually comparing assemblies 
       Reflector.Diff 
      
    Lets you visually compare the differences between
       assemblies.

    For adding spellchecking capabilities to your application 
       NetSpell 
      
    Gives your users the ability to check their spelling
       while using your application.

    For adding chart capabilities 
       NPlot 
       Lets you add charts and graphs to your application.

    For sorting collections 
       NSort 
      
    Gives you the functionality to sort your collections in a
       number of different ways.

    For adding RSS to your application 
       RSS.NET 
       Enables you to add RSS feeds to your site (and read
       from current RSS feeds) without writing a line of XML.

    For adding compression to your application 
       SharpZipLib 
       Easily compresses files or information using any
       number of compression algorithms.

    For writing XML documents 
       ExcelXMLWriter 
       Lets you easily export Excel spreadsheets from your
       application.

    For creating PDFs 
       iTextSharp 
       Gives your users the ability to export PDFs from your
       application.

    More BrainDump Articles
    More By O'Reilly Media


       · This article is an excerpt from the book "Windows Developer Power Tools," published...
     

    Buy this book now. This article is excerpted from chapter four of Windows Developer Power Tools, written by James Avery and Jim Holmes (O'Reilly, 2006; ISBN: 0596527543). Check it out today at your favorite bookstore. Buy this book now.

    BRAINDUMP ARTICLES

    - Codes and Packages in Microsoft Project 2007
    - Windows 7: Rumors and Demos
    - XP SP3 Why Me?
    - Breaking Up Your Work in Microsoft Project
    - Breaking Work into Task-Sized Chunks
    - Putting Microsoft`s Worldwide Telescope Unde...
    - Handling Multiple Contracts with Indigo
    - Cleaning Out Your Data in XP
    - Multiple Service Contracts and Indigo
    - Cleaning Out Your Programs in XP
    - Handling Metadata with Indigo
    - Building Blocks for a WCF Service Web Site
    - Help! I Need Some Remote Assistance
    - Using Service Templates with Indigo
    - Windows XP Tips for Task Manager

    Iron Speed




    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway