topics that matter; ideas worth sharing

share a tip, submit a link, add something new

Blueprint for .Net development

March 5, 2001, 12:40 PM —  Computerworld — 

Every couple of years, Microsoft Corp. hoists a flag to rally the troops. Win32, OLE, Component Object Model (COM), ActiveX and Windows DNA would, we were told, revolutionize the business of creating and deploying software. Because these campaigns addressed important issues, they were greeted with a measure of enthusiasm. Because they entailed risk, uncertainty and retraining, they were greeted with an equal measure of weary skepticism.

So it is for the new campaign, which is called .Net. But this time, enthusiasts appear to outweigh skeptics. Everyone agrees that business applications and network services are becoming the same thing. IT has learned, and will never forget, the lessons of the first-generation Web: open standards, universal access, rapid development, continuous deployment.

Now the second-generation Web is being constructed, and Microsoft is determined to be one of its architects. Chastened by its failure to catch the first wave and challenged by the thriving open-source and Java communities, it's put together a compelling strategy. It aims, as usual, to deliver tools and environments that take care of plumbing so the majority of developers can focus on creating the applications they're hired to build. Here's a blueprint for the second-generation Web from a .Net perspective:

XML

.Net uses XML for universal representation, exchange and storage of all kinds of data -- and, in particular, to describe and manipulate component interfaces.

Components

Today, components come in many flavors: shared libraries, script language modules and application-specific plug-ins. Component models like COM and Common Object Request Broker Architecture (CORBA) make code reuse among these flavors possible but not easy, so it often doesn't happen. .Net aims to make component construction and reuse so easy that there's no excuse not to do it.

Objects

In theory, objects created by object-oriented programming (OOP) languages are components. In practice, the languages' object models don't match cross-language component models like COM and CORBA. The .Net Common Language Runtime, a universal OOP engine, aims to solve this problem.

Because all .Net languages share the same object model, an object written in any language is automatically a component available to all others.

A bonus: OOP-style inheritance works across component and language boundaries.

Frameworks

Every programming language comes with standard libraries -- called frameworks in the case of OOP languages -- that encapsulate common code and define patterns for using it. The Java Development Kit's class libraries are such a framework. The .Net framework covers similar ground but in a language-neutral way. C#, Visual Basic.Net and other .Net languages are only lenses through which programmers see the same underlying framework.

Glue

In every programming environment, there's a division of labor. A few people make the components that many others glue together. Components are often written in compiled languages such as C and C++. The glue is usually a scripting language, ideally one supported by an integrated development environment. The first-generation Web is bound together by glue languages: JavaScript, Perl, Python, PHP and several forms of Visual Basic. But it's also balkanized into glue-language communities. One .Net goal is to universalize the glue -- making components, plus the knowledge and the

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
Resources
White Paper

Symantec Backup Exec 12 and Backup Exec System Recovery 8 deliver industry leading Windows data protection and system recovery. Download this whitepaper to find out the top reasons to upgrade and how to get continuous data protection and complete system recovery.

Webcast

Data and system loss — from a hard drive failure, malicious attack, natural disaster, or simple human error — can happen anytime. Don’t leave your business vulnerable. Make sure you have a secure recovery strategy in place. Symantec's latest backup and system recovery technology can efficiently restore critical applications, individual emails and documents and even restore your entire system in minutes in the event of a loss.

White Paper

Businesses face a growing challenge to ensure that the IT environment is properly protected. Backup Exec 12 integrates with other applications in the Symantec family of products, to complement your current data protection strategy, keep your data securely backed up and make it recoverable when you need it most.

Free stuff
Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

More Resources