Premium Content


Premium Content articles are the very best articles from the world's leading internet technology, subject-matter experts. We have many categories of content below on a wide variety of subjects that have all been commissioned from big name authors.

Explore the Premium Content

Reading an RSS feed with Flex 2

RSS feeds are a common way for Web site owners to provide information to the public, usually as a series of news items. Each news item is provided using a standard XML language so it can be read with an RSS reader or aggregator. In this article, I want to show you how to create a Flex 2 application that consumes an RSS feed.

We'll grab the feed from the Adobe xml news aggregator at http://weblogs.macromedia.com/mxna/. This aggregator displays news items from several different sources. We'll display a list of headlines from the news feed in a List control. When we click a headline, we'll see further details about that news item. We'll also be able to open the item in a Web browser to see the full details.

Read More

Object Oriented Data Access in ASP.NET 2.0 – Part 1

With the complexity of applications these days, developers must take special care to make sure that their code is robust, scalable and re-usable. Depending on the size of the application you’re creating the thought of manually coding your own data access layer might seem like a huge overhead.

The problem with some of the controls provided by the .NET framework is that they essentially eliminate the developer from the coding equation, and instead provide default built in plumbing for a lot of common features an application may require. If your client requires a very simple, small scale application that only provides a minimal set of features you can usually get away with this approach.

Read More

Leveraging the YUI; A Functional News Scroller Part Two

In part one of this tutorial, we looked at getting the basics of the scroller in working order. We've created our XML data source and extracted the relevant information from it and displayed it on the page. In this part, we're going to refine it initially by making it actually look like a news scroller. We'll then add some additional features that make it pause scrolling when the mouse pointer rolls over a news item, and deal with the issue of linking to or displaying the full story information in some way.

Read More

Creating a Flex image gallery – part 2

Welcome to the second article in our two part series on creating an image gallery using Flex Builder 2. You need to complete the first part of this series before you start this article. In part 1, we created a simple photo gallery application that loaded external photos and displayed their title. In this article, we'll add styling to the application and load the details of each photo from an XML document.

I want to cover

  • Styling the interface
  • Adding a fade in effect to the images
  • Creating the XML for the image list
  • Loading the XML document
  • Finding information in the XML document
Read More

GridView for Beginners in ASP.NET 2.0

With the release of .NET 2.0 comes the learning curve of a new technology. Once again we all get to stumble through becoming familiar with a new set of .NET user interface controls. It’s an evolutionary process, whereby the benefits and shortcomings of these new controls are exposed over time.

There are of course new developers who never had to suffer through the evolution of the .NET 1.x DataGrid control. This was probably the largest focus of much research and information available on the Internet as developers tried to find myriads of different uses for this control.

Read More

Creating a Flex image gallery – part 1

Welcome to part 1 of this tutorial series on creating an image gallery using Flex Builder 2. In this two part series, we'll build an image gallery application that loads external images. In part 1, we'll create the application and I'll show you how to load external photos and display a title. You'll be able to use buttons to navigate through the images in the gallery. In part 2, we'll add styling to the application and load photo details from an XML document.

In this article, I want to cover the following topics:

  • Setting up the project
  • Creating the application interface
  • Creating the list of images to load
  • Showing the first image
  • Creating the navigation buttons

In the second article in the series, I'll cover

  • Styling the interface
  • Adding a fade in effect to the images
  • Creating the XML for the image list
  • Loading the XML document
  • Finding information in the XML document
Read More

Creative Portfolio: Brochures and Creative Mailers

Brochures, mailers, postcards, and fliers offer the second cornerstone to a client’s corporate image package after stationery. Corporate branding (logo, taglines, etc.) should carry over onto any collateral materials, so the projects contained in the beginning of this tutorial go that route. There are some layout and folding considerations to learn, after all. But, to offset this often puzzling routine, Linda provides some creative solutions to the ordinary brochure. Read on…

The Portfolio Project: Brochures, Flyers, and Mailers

PORTFOLIO PROJECT: You can develop two different projects in this tutorial for your portfolio. One would consist of a traditional brochure, and the second – which would be for the same company – would provide a more creative and offbeat solution.

TOOLS: Any software that allows you to create a print layout, including software that allows you to work with images either as vectors or bitmaps.

WHAT YOU’LL ACCOMPLISH: This project will help you to understand folds and layouts for various mailing materials for a corporate client or small business. Preferably, these projects would match the stationery that you create from the stationery article, so that you can show your ability to continue a corporate package. This is the second in three steps which leads to the total corporate package that also includes an annual report (following article).

Read More

Leveraging the YUI – A Functional News Scroller Part One(updated)

Most of you will probably already know what the Yahoo! UI Library (YUI) is and what it can do, but for those of you that don't I'll give it a brief introduction.  The YUI is an extensive collection of utilities and controls, written in JavaScript, that you can use to build rich, interactive and attractive web applications.   The scripts make heavy use of AJAX and DOM scripting, and are supported across a range of browsers making them ideal for use in many design situations.

The YUI can be downloaded from Yahoo and used free of charge for personal or commercial websites.  There is a wealth of resources and documentation for them on the Yahoo Developer Network site http://developer.yahoo.com/yui/#support so it's well worth having a look there.  Additionally, Yahoo also provides a service whereby you don't download the files yourself, but instead reference minimal versions of the files on Yahoo's servers.  This way, Yahoo will serve the files for you.

Read More

Styling Flex components

One common requirement for developers is to be able to change the appearance of the components in their applications. In Flex, there are lots of ways that you can do this including working with CSS, ActionScript and adding skins or themes.

In this article, I'm going to explore the first two methods. I'll show you how CSS styles work in Flex and how to write ActionScript to create, modify and remove style declarations.

Even though you could use any text editor, I've assumed that you're working with Flex Builder for this article. I've also assumed that you're familiar with Flex Builder and that you've already built some simple applications. If not, you may want to go back and read some earlier articles in this series.

Read More

Creative Portfolio: Corporate Materials

A client’s stationery might seem like an easy project, but stationery defines a client’s image. You could consider stationery as a “cornerstone” on which other corporate and collateral materials are developed, because that stationery would hold a client’s logo, its corporate colours, and information about how to contact the client. In this tutorial, Linda shows how you might tackle a project that would include an envelope, letterhead, and a business card. Additionally, she uses examples from a designer’s portfolio that will help you to define your online and CD portfolio as well.

The Portfolio Project: Corporate Stationery

PORTFOLIO PROJECT: You will develop corporate letterhead, envelope, and business card. This is a two-pronged project, because you will also examine a designer’s Web site that holds a perfect example for an online or CD portfolio.

TOOLS: Any software that allows you to create a print layout, including software that allows you to work with images either as vectors or bitmaps.

WHAT YOU’LL ACCOMPLISH: You will learn the process by which you begin to create corporate packages. This bedrock, or initial corporate project, will prepare you for upcoming tasks – the corporate brochure and the annual report. In addition, the steps you’ll take here will help you to begin to look at all projects as coherent packages.

Read More

Creative Portfolio: Collateral Materials

“Collateral materials” might sound stuffy and boring, but Linda offers a project that might turn your objections into excitement. You will create a T-shirt design, a postcard mailer, and a poster for a musician or for a band through this tutorial. And, you’ll also determine how you would box this merchandise to send to radio and/or television stations as a promotional package. This article will make you stretch your brain as well as your talents, and you’ll take away some ideas for other projects in the process!

The Portfolio Project: Promotional Package for Musician

PORTFOLIO PROJECT: For this project you will create a coherent collateral marketing package for a musician or for a band. This package will include a T-Shirt or sweatshirt iron-on design, promotional postcard or mailer, and a poster that will promote an already existing CD. In addition, you’ll need to develop a package for mailing these promotional materials to radio stations.

TOOLS: A software program that allows you to create print layouts.

WHAT YOU’LL ACCOMPLISH: This project will help you to pull together many of your previous lessons into one coherent package. The variety of materials involved offers many formats to test one design.

Read More

Using Skins and Themes in ASP.NET 2.0

The advent of the .NET framework version 2.0 has brought along several radical changes in all aspects of development from desktop to web applications. Making the switch from ASP.NET 1.x to 2.0 is quite the undertaking as many of the core methodologies used in 1.x are no longer available in 2.0.

Along with change comes improvement, and in many ways ASP.NET 2.0 has changed for the better. ASP.NET 2.0 has changed the way web applications are developed much the same as ASP.NET 1.0 changed classic ASP, they are similar but in many ways they are worlds apart.

In this tutorial we will look at one of the new features available in ASP.NET 2.0 called “Themes”. Themes or skins allow a developer or GUI designer to create multiple interface appearances for the same application through the use of CSS stylesheets and .skin files. Skin files are a new type of file available in ASP.NET 2.0.

Read More
Newer articles Older articles