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
    Projectors Awards – Q1 2013 : Panasonic PT-AT6000E, BenQ W1200, Epson EH-TW 4400
    HP LaserJet Pro 100 - Compact Color Laser MFP
    Retro Chic 1959
    DIY - Make Your Own CMS (Part 2)
    DIY - Make Your Own CMS (Part 1)
    Hot Gadgets – March 2013 (Part 2)
    Hot Gadgets – March 2013 (Part 1)
    The First Wave Of Touch-Centric Platform
    ASuS PadFone 2 - Two Times Is A Charm For This Phone-In-Tablet Combo
    Ready For The Picking
    Most View
    Programming the Mobile Web : Content Delivery (part 1) - Defining MIME Types
    Is It Time To Tweet? (Part 1)
    Restart Manager in Windows Vista
    How To Prolong Laptop Battery Life
    SQL Server 2008: Managing Query Performance - Forcing Index Seeks
    Huge Screen Supertest (Part 10)
    Which Is The Real Best-Seller Ultrabook? (Part 2) - Gigabyte U2442, Samsung Series 9 900X, HP Envy 6
    Algorithms for Compiler Design: IMPLEMENTATION in Bottom-up Parsing
    Best Photo Printers Revealed – Jan 2013 (Part 4) : Epson Stylus Photo R2000, Canon PIXMA Pro-1
    Advanced FAQ Corner, May 2012
    Music Streamers Awards – Q1 2013 (Part 1) : Cambridge Audio Stream Magic 6, Pionner N-50, Naim NAC-N 172 XS
    Sony HMZ-T2 Personal 3D Viewer
    Windows Server 2003 : Working with Resultant Set of Policy (part 1) - Generating RSoP Queries with the Resultant Set Of Policy Wizard
    Adobe Premiere CS6 : Time Is Money
    In Win H-Frame - All-Aluminium, Fanless Chassis
    Zipcloud Online Backup - The Backups Are Simple
    Graphics Card Shootout - Budget FPS (Part 4)
    Programming the Mobile Web : Testing and Debugging (part 2) - Server-Side Debugging & Markup Debugging
    VMware Fusion 5 - Your Mac is Virtually a PC
    All About Compact System Cameras (Part 3) - Panasonic DMC-GX1, Pentax K-01