Saturday, February 25, 2006 2:02:05 AM UTC :: Filed Under ASP.NET

Maruis Marais from CodeProject.com was nice enough to share is extensive library of Visual Studio 2005 Unit Testing Code Snippets (C#).  A VB.NET set would sure be nice!   Upon trying to install these code snippets, I realized that the Code Snippets Manager does not show-up on my Tools menu in Visual Studio 2005 and I have no idea why.  I can still access the manager by typing Ctrl+K then Ctrl+B, but it would be nice if I could just go to the Tools menu because I know I’ll forget that key combination! ;-)

Update: I was able to add the Code Snippets Manager back to the Tools menu by opening VS.NET 2005 and navigating to Tools > Customize... > Commands (Tab) > Category: Tools and then dragging the Code Snippet Manager back into the Tools menu.

Wednesday, February 15, 2006 9:39:36 PM UTC :: Filed Under ASP.NET | VB.NET

Abstract class – Defines the methods and common attributes of a set of classes that are conceptually similar.  Abstract classes are never instantiated.

Attribute - Data associated with an object (also called a data member.)

Class – Blueprint of an object - defines the methods and data of an object of its type.

Constructor - Procedure that is invoked when an object is created.

Concrete class – A class that implements a particular type of behavior for an abstract class. Concrete classes are specific, non-changing implementations of a concept.

Derived Class - A class that is specialized from a base class.  Contains all of the attributes and methods of the base class but may also contain other attributes or different method implimentations.

Destructor - Procedure that is invoked when a object is deleted.

Encapsulation – Typically defined as data hiding, but better thought of as any kind of hiding (type, implementation, design, and so on.) Objects encapsulate their data.  Abstract classes encapsulate their derived concrete classes.

Functional Decomposition - A method of analysis in which a problem is broken into smaller and smaller functions.

Inheritance – A way that a class is specialized, used to relate derived classes with their base classes. A class inherits from another class when it receives some or all of the qualities of that class.  The starting class is called the base, super, parent, or generalized class, whereas the inheriting class is called the derived, sub, child, or specialized class.

Instance – A particular example of a class. (It is always an object.) A particular instance or entity of a class.  Each object has its own state.  This enables me to have several objects of the same type (class).

Instantiation – The process of creating an instance of a class.

Interface – An interface is like a class, but only provides a specification – and not an implementation – for its members.  It is similar to an abstract class consisting only of abstract members.  When programming, you use interfaces when you need several classes to share some characteristics that are not present in a common base class and want to be sure that each class implements the characteristic on its own (because each member is abstract.)

Member - Either data ora procedure of a class.

Method - Procedures that are associated with a class.

Object - An entity with responsibilities.  A special, self-contained holder of both data and procedures that operate on that data.  An object's data is protected from external objects.

Perspectives – There are three different perspectives for looking at objects: conceptual, specification, and implementation.  These distinctions are helpful in understanding the relationship between abstract classes and their derivations.  The abstract class defines how to solve things conceptually.  It also gives the specification for communicating with any object derived from it. Each derivation provides the specific implementation needed.

Polymorphism – Being able to refer to different derivations of a class in the same way, but getting the behavior appropriate to the derived class being referred to.

Superclass - A class from which other classes are derived. Contains the master definitions of data nad procedures that all derived classes will use (and for procedures, possibly override.)

Friday, February 10, 2006 5:14:42 PM UTC :: Filed Under ASP.NET

I recently downloaded the Microsoft Internet Explorer 7 Beta 2 and to my surprise, one of my web site designs completely falls apart in IE 7 :-(  In my quest to figure-out the problem, I figured the first thing I need to know is whether or not IE 7 is displaying the web site in “quirks-mode” or not.  The browser doesn’t display this information anywhere (that I’m aware of), but I found a quick way to display this information.  In your browser’s address bar, paste the following code:

javascript:alert(document.compatMode)

Wednesday, February 08, 2006 2:30:42 PM UTC :: Filed Under ASP.NET

The CopySourceAsHtml VS.NET plug-in certainly won’t make you a better programmer, but it might help make your blog posts prettier :-)   The utility allows you to keep the code coloring that is present in Visual Studio so you can post code snippets into HTML documents without losing the coloring.  Get the plug-in by visiting Jason Haley’s blog.  You can download the plug-in here.

Monday, January 30, 2006 10:01:01 PM UTC :: Filed Under Photography

Thanks to a new Photoshop add-in released by Adobe, Photoshop now supports the Olympus Evolt E-500 RAW file format… lucky me!

Click here to download the Adobe Camera RAW 3.3 add-in

Thursday, January 26, 2006 11:12:23 PM UTC :: Filed Under ASP.NET

Have you ever wanted your own MSDN action figure? Well, probably not, but in case you do, visit the new MSDN Webcast Source Force web site and get yourself a set of MSDN Lego-man-looking characters just by watching webcasts!

Navigation
On this page....
Search
Archives
<February 2006>
SunMonTueWedThuFriSat
2930311234
567891011
12131415161718
19202122232425
2627281234
567891011
Categories
Contact me
Send mail to the author(s) Contact Todd M. Taylor