DESKTOP

Silverlight Tools: XML Editors

7/25/2010 5:10:17 PM
I_section3_d1e1386.html

Introducing Silverlight Tools

As you saw in the previous chapter, there is no kind of compilation or binary data with Silverlight. All you need to create them are these three kinds of files:

  • XAML files to contain the Silverlight content

  • JavaScript files with additional code for the Silverlight content and code to control and access the Silverlight content

  • HTML files to present the Silverlight content

Generally, an XML editor would be enough to create Silverlight applications. But that's the same thing as saying, "ASP.NET 2.0 applications can be created in Notepad." Of course that's possible, but who would want to do that?

Therefore, we will introduce three kinds of editors in this chapter that should be helpful when creating Silverlight applications. For each kind of editor, we briefly introduce one specific editor and also have a look at the competition, if there is any.

1. XML Editors

For editing XAML, a mighty XML editor should be enough. There are many good ones out there, including (http://www.oxygenxml.com/) and XMLSpy (http://www.xmlspy.com/). Even Microsoft has a dedicated XML editor now, XML Notepad 2007 (available at http://www.microsoft.com/downloads/details.aspx?FamilyID=72d6aa49-787d-4118-ba5f-4f30fe913628&DisplayLang=en; see Figure 1). Thanks to the availability of an XML schema for XML, code completion is at least theoretically possible. As you saw in the previous chapter, Visual Studio 2005 offers IntelliSense as well, and you get even more IntelliSense (including JavaScript code) in Visual Studio 2008.

Figure 1. XML Notepad 2007


The one thing pure XML editors are always lacking is WYSIWYG functionality. Many of them try to use CSS and/or XSLT to convert the XML into something viewable (including the XML editor I am using to write this book), but for Silverlight that's not a feasible option. An editor that does both is, of course, a better option. You may want to have a look at Spket IDE from http://www.spket.com/. It is free for noncommercial use and offers both JavaScript and XAML code completion. Figure 2 shows the XAML editor of Spket IDE in action.

Figure 2. Spket IDE


Other  
  •  Algorithms for Compiler Design: VARIOUS APPROACHES TO SYMBOL TABLE ORGANIZATION
  •  Algorithms for Compiler Design: REPRESENTING THE SCOPE INFORMATION IN THE SYMBOL TABLE
  •  Algorithms for Compiler Design: ACTIVATION OF THE PROCEDURE AND THE ACTIVATION RECORD
  •  Algorithms for Compiler Design: STACK ALLOCATION
  •  Algorithms for Compiler Design: ERROR RECOVERY IN LR PARSING
  •  Algorithms for Compiler Design: PREDICTIVE PARSING ERROR RECOVERY
  •  Algorithms for Compiler Design: LOOP OPTIMIZATION
  •  Algorithms for Compiler Design: ELIMINATING INDUCTION VARIABLES
  •  Algorithms for Compiler Design: ELIMINATING LOCAL COMMON SUBEXPRESSIONS
  •  Algorithms for Compiler Design:
  •  Algorithms for Compiler Design
  •  Algorithms for Compiler Design: THE MACHINE MODEL
  •  Algorithms for Compiler Design: STRAIGHTFORWARD CODE GENERATION
  •  Algorithms for Compiler Design: USING DAG FOR CODE GENERATION
  •  Algorithms for Compiler Design: USING ALGEBRAIC PROPERTIES TO REDUCE THE REGISTER REQUIREMENT
  •  Algorithms for Compiler Design: PEEPHOLE OPTIMIZATION
  •  Algorithms for Compiler Design: IMPLEMENTATION OF THE TRANSLATIONS SPECIFIED BY SYNTAX-DIRECTED DEFINITIONS
  •  Algorithms for Compiler Design: L-ATTRIBUTED DEFINITIONS
  •  Algorithms for Compiler Design: SYNTAX-DIRECTED TRANSLATION SCHEMES
  •  Algorithms for Compiler Design: INTERMEDIATE CODE GENERATION
  •  
    Top 10
    Installing the Exchange Server 2010 prerequisites
    Algorithms for Compiler Design:
    Business Intelligence in SharePoint 2010 with Business Connectivity Services : Consuming External Content Types (part 3) - Business Connectivity Services Web Parts
    Windows Azure : Static reference data (part 2) - Performance disadvantages of a chatty interface & Caching static data
    The Membership Data Store
    Optimizing an Exchange Server 2010 Environment - Analyzing and Monitoring Core Elements
    Algorithms for Compiler Design: IMPLEMENTATION in Bottom-up Parsing
    Collaborating Within an Exchange Server Environment Using Microsoft Office SharePoint Server 2007 : Customizing and Developing MOSS Sites
    Microsoft Malicious Software Removal Tool
    Modifying Display Appearance and Video Settings
    Most View
    BizTalk 2006 : Building a Resequencing Aggregator
    Windows Server 2008 : Transport-Level Security - Using IPSec Encryption with Windows Server 2008 R2
    Windows 7 : Understanding User Account Control and Its Impact on Performance
    Algorithms for Compiler Design: THE LR PARSER
    Port-Binding Shellcode
    Building Android Apps: Web SQL Database (part 4) - Deleting Rows
    Silverlight : Play a Video
    Windows Phone 7 Development : Understanding Trial and Full Modes (part 1) - Using the IsTrial Method
    iPhone Application Development : Understanding Interface Builder
    Server 2008 : Hardening Server Security
    Managing Local User Accounts and Groups in Vista
    Using Windows Phone 7 Technologies : Retrieving Accelerometer Data (part 1)
    iPhone Application Development : Creating User Interfaces
    Programming with DirectX : Textures in Direct3D 10 (part 1) - Textures Coordinates
    Installing SQL Server 2008
    Defensive Database Programming with SQL Server: The Ticket-Tracking System (part 2) - Removing the performance hit of ON UPDATE CASCADE
    Android’s Securable IPC Mechanisms
    Windows 7 :Navigating Your Computer with the Address Bar (part 1) - Accessing Locations on Your Computer
    Advanced ASP.NET : Component-Based Programming - The ObjectDataSource
    Windows 7 : Using Advanced Security Options (part 2) - Configuring Windows Defender