|
|
YOUR FEEDBACK
|
TOP MICROSOFT .NET LINKS Tools
Flash ASP.NET
Dynamic interactive medium for Web applications
By: Ryan Moore
May. 17, 2006 12:15 PM
Digg This!
Page 1 of 2
next page »
As the World Wide Web's landscape has evolved from the days of multimedia-void static HMTL pages, the need for a dynamic interactive medium for Web applications has become apparent. Adobe Flash, as many developers know, is the most widely distributed, capable technology for achieving this new Internet medium. But Flash developers can't achieve the features expected from modern Web applications with Flash alone - for Flash's resources to be put to proper use, Flash must team up with a server-side technology capable of functionality such as database access and file manipulation. Microsoft's newest Web technology, ASP.NET, is a perfect counterpart for Flash, putting powerful capabilities at the fingertips of Flash developers, created using a programming language that is both friendly and familiar to ActionScript developers.
ASP.NET by itself is actually just a small part of a larger development framework created by Microsoft, known collectively as the .NET Framework. The .NET Framework is a software development platform that is used to build and deploy applications for a variety of uses, ranging from Web-based applications to Web Services to desktop-based applications. Although created by Microsoft, the .NET Framework is an Open Source standard, designed to be completely platform-independent, and therefore isn't restricted to execute on a Microsoft-based operating system. The Open Source, platform-independent distribution of the .NET Framework is called Mono and is available at www.gomono.com. Among other things, the Mono Framework lets ASP.NET applications be deployed on non-Microsoft base Web servers, such as Linux or Sun. Languages like ASP.NET are typically referred to as "server-side" languages because, unlike Flash applications, which are displayed and execute in the Flash Player on a user's computer, server-side languages perform their magic on a Web server. Typically, server-side languages like ASP.NET are used to generate HTML documents that are sent to a browser for display. Server-side languages are used, for example, to generate all of the content you see on large-scale sites like www.amazon.com or www.cnn.com. When used in conjunction with Flash, however, ASP.NET is used instead to access and process information, package that information in a well-defined manner, and transmit that information to a Flash interface, which displays it for a user. Its ability to function in this role lets developers access the powerful functionality of ASP.NET without relying on HTML as a user interface. Instead, a rich interactive medium such as Flash can be employed, dramatically increasing the capabilities of Web-based applications.
Why Use ASP.NET for Flash Development? One of the foundations of the .NET Framework and ASP.NET is called the Framework Class Library (referred to as FCL). The FCL is a collection of reusable, commonly used objects. These objects let developers build on complex code that has already been created, eliminating the need to "reinvent the wheel" in your application. The Framework Class Library is very similar to the pre-built classes and components provided in Flash such as MovieClip, Button, and variable types such as String and Number. The libraries in FCL include tremendously powerful collections, such as ADO.NET - the .NET Framework's data access libraries - and ASP.NET - the libraries that give .NET the ability to create and distribute Web applications. Access to the FCL gives developers a major jumpstart in application development, allowing focus to reside on the higher-level design of the application and steer clear of unnecessary dirty work. For Flash developers specifically this means that you can spend more time on the Flash side of the application and less on server-side functionality. One of the classes included in FCL that makes integrating with Flash a breeze is Web Services. Using ASP.NET, the creation of Web Services is a very painless process, since much of the underlying work is already contained in FCL. Web Services make it possible for developers to execute complex functions with an ASP.NET application and return complex results to a Flash application without having to create complicated data-formatting procedures. Another reason that Flash developers will find ASP.NET a good match is the programming language commonly used to create ASP.NET applications, C#. C# (pronounced see sharp), is the newest language in the C family of languages. C# is a best-of-breed language combining the most popular features of C++, Java, and Visual Basic - which share the same foundations as ActionScript's foundation, JavaScript. Because C# and ActionScript have emerged from very similar models, their syntax is very similar, making for an easy transition between the two languages. Like ActionScript 2.0, C# is also a fully object-oriented language, which makes development very intuitive for an ActionScript programmer. I should mention that, although C# is the preferred language for creating ASP.NET applications, it's by no means the only one. Because of the flexibility of the .NET Framework, ASP.NET applications can be written in any ASP.NET compatible language, such as VB.NET and JScript (Java for .NET). This flexibility also makes the transition process easier for a developer who might already be familiar with one of these compatible programming languages.
What Types of Functionality Can ASP.NET Be Used For?
Another one of the strengths of ASP.NET for Flash developers is the preferred development environment used to create ASP.NET applications - Visual Studio.NET. Visual Studio.NET 2005 is one of the most advanced development environments in existence today. The features built into Visual Studio.NET not only help make ASP.NET development more effortless, but also help developers new to .NET programming learn these languages more easily. In the past, Visual Studio.NET was not an affordable tool for many developers, with its various editions starting at around $1,000. However, with its 2005 product line, Microsoft has released a version of Visual Studio.NET called the "Express Editions" that is available free of charge until November 6, 2006. Specifically for Flash developers, the Visual Web Developer Edition is a perfect tool for beginning ASP.NET development, and is available for download at http://msdn.microsoft.com/vstudio/express/vwd/.
Methods Used for Flash-ASP.NET Interaction Page 1 of 2 next page »
MICROSOFT .NET LATEST STORIES
SUBSCRIBE TO THE WORLD'S MOST POWERFUL NEWSLETTERS SUBSCRIBE TO OUR RSS FEEDS & GET YOUR SYS-CON NEWS LIVE!
|
SYS-CON FEATURED WHITEPAPERS MOST READ THIS WEEK BREAKING NEWS FROM THE WIRES
|
|||||||||||||||||||||||||||||||||||