(Peyton McCullough) We all know that objects are created from classes. But can a class be created from a class? Yes it can; this is called a metaclass. They give us a great deal of power when it comes to changing the behavior of a class. Python 2.2 supports metaclasses.
Tag: Development
Microsoft Computing: Visual Studio .NET 2005
(Chris Peters) In this latest release of Visual Studio, Microsoft has added some welcome enhancements to the Web and Windows programming environments, especially for larger shops. But also included in the November 7 release announcement is a new version of SQL Server 2005 and early next year, a
What to Expect When Installing the .NET Framework Version 2.0 and SDK
(Ziran Sun) Unless you’ve been living under a rock for the last month, you almost certainly know that Microsoft recently released the .NET Framework Version 2.0. The first step to developing great applications using this new technology is to get it installed and start exploring the many resources av
Use the .NET Framework to Generate and Execute Custom Controls at Run Time
(Morgan Skinner) One of the often overlooked features of the Microsoft .NET Framework is its ability to generate, compile, and execute custom code at run time. This is done, for example, during serialization of XML data, and in the use of regular expressions, where the expression evaluation function
Multithreading with the BackgroundWorker Component
(Paul Kimmel) .NET has tremendous support for asynchronous and multi-threaded programming. In previous versions, we had the Timer, asynchronous method invocation, the ThreadPool, and the Thread class. For lightweight processing parlour tricks, the Timer works fine. For lightweight asynchronous behav
Building a Better ASP.NET 1.1 BasePage Framework
(Chase Thomas) This is a journey on how to build a better Base page. The result of this will be a reusable framework that you can use to create as many Base pages as you like (on many different sites) and still have something that will keep the designers on your team happy. There is a lot to explain
Visual Studio 2005 for the Web
(Brian Goldfarb) With ASP.NET 2.0 we have provided an incredibly powerful and flexible platform for Web developers. The breadth and scope of the features and opportunity are simply incredible — to think System.Web.dll is now four times bigger than it was with ASP.NET 1.1. With this ton of new code I
Overview of Automated Transactions
(Kamran Shakil) Two or more .NET Framework objects can participate in the same transaction. One or more .NET Framework objects can participate in the same transaction as one or more COM+ objects. All objects must be hosted in Microsoft Windows 2K Component Services so as to receive services such as
Drag and Drop ListBox Items Using OLE
(Ali Rafiee) OLE has made drag and drop a piece of cake. It allows two unrelated applications to exchange data in a format that they can both understand, with the help of Clipboard formats. Using OLE for drag and drop is a relatively simple task to accomplish. By using MFC, there really isn’t much t
Working with Partial Types
This article talks about Partial types which is one of the new feature of Micrsoft .NET Framework 2.0, this feature is available with both the languages C# 2.0 and Visual Basic 2005.