OReilly essential silverlight 2 up to date apr 2008 ISBN 0596519982

481 121 0
OReilly essential silverlight 2 up to date apr 2008 ISBN 0596519982

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Essential Silverlight 2 Up-to-Date by Christian Wenz Publisher: O'Reilly Pub Date: April 15, 2008 Print ISBN-13: 978-0-596-51998-8 Pages: 212 Table of Contents | Index Overview Now you can design rich Internet applications (RIAs) for the Web using Silverlight 2, the latest version of Microsoft's hot new runtime application without waiting for the official release That's right With Essential Silverlight 2 Up-to-Date, you not only get a concise, easy-to-understand introduction to Silverlight 2, but thorough coverage of the CTPs, betas, and RTM releases as they become available Once you buy this Up-to-Date edition, you'll be able to download free PDFs of all the revisions to Silverlight pages that you can print and insert right into the book's unique binder format Pre-printed updates will also be available for purchase It combines the the speed of technology with convenience of a book With Essential Silverlight 2 Up-to-Date, you learn to take advantage of Microsoft's cross-browser Silverlight plug-in with tools for animation, vector graphics, and video playback, as well as new NET support for web services, networking and LINQ (language integrated query) This guide gives you complete step-by-step instructions for using everything Silverlight has to offer, along with: Clever ways to create interactive UIs that are more robust and easier to debug and test than what you can achieve on other platforms Scores of tested JavaScript and C# code examples that you can reuse in your own applications Expert guidance from an author who understands RIA technologies, including ASP.NET, Flash, PHP, and JavaScript Ready to deliver a more complete Web experience? Now there's no reason to wait Essential Silverlight 2 Up to Date offers a whole new world of possibilities Essential Silverlight 2 Up-to-Date by Christian Wenz Publisher: O'Reilly Pub Date: April 15, 2008 Print ISBN-13: 978-0-596-51998-8 Pages: 212 Table of Contents | Index Copyright Preface Part 1: Introduction Chapter 1 Introducing Silverlight 2 Section 1.1 Rich Internet Applications Section 1.2 RIA Technologies Chapter 2 Introducing WPF Section 2.1 Vectors Section 2.2 WPF Section 2.3 XAML Section 2.4 Further Reading Chapter 3 Getting Started with Silverlight 2 Section 3.1 Setting Up a Silverlight Development System Section 3.2 A First Silverlight Example: Creating a Web Site Section 3.3 A Second Silverlight Example: Creating a Project Section 3.4 Further Reading Chapter 4 Introducing Silverlight Tools Section 4.1 XML Editors Section 4.2 Vector Graphics Editors Section 4.3 Silverlight IDEs Section 4.4 Further Reading Part 2: Declarative Silverlight Chapter 5 Introducing XAML Section 5.1 Using Text Section 5.2 Using Shapes Section 5.3 Positioning Elements Section 5.4 Using Images Section 5.5 Using Brushes Section 5.6 Further Reading Chapter 6 Handling User Interaction and Events Section 6.1 Events and Event Handlers Section 6.2 Mouse Events Section 6.3 Keyboard Events Section 6.4 Further Reading Chapter 7 Transforming and Animating Content Section 7.1 Transformations Section 7.2 Animations Section 7.3 Further Reading Chapter 8 Adding Sound and Video Section 8.1 Preparing Multimedia Data Section 8.2 MediaElement Section 8.3 Further Reading Part 3: Programming Silverlight with NET Chapter 9 Adding Silverlight Content to ASP.NET 3.5 Applications Section 9.1 Embedding XAML Section 9.2 Embedding Media Content Section 9.3 Further Reading Part 4: Programming Silverlight with JavaScript Chapter 10 Accessing Silverlight Content with JavaScript Section 10.1 Accessing the Plug-in Section 10.2 Communicating with the Plug-in Section 10.3 Further Reading Chapter 11 Special Silverlight JavaScript APIs Section 11.1 Advanced JavaScript APIs Section 11.2 Dynamically Downloading Content Section 11.3 Using Additional Fonts Section 11.4 Further Reading Part 5: Appendix Appendix A Silverlight JavaScript Reference Section A.1 Using the Silverlight Plug-in Colophon Index Copyright Copyright © 2008, O'Reilly Media All rights reserved Printed in the United States of America Published by O'Reilly Media, Inc., 1005 Gravenstein Highway North, Sebastopol, CA 95472 O'Reilly books may be purchased for educational, business, or sales promotional use Online editions are also available for most titles (http://safari.oreilly.com) For more information, contact our corporate/institutional sales department: (800) 998-9938 or corporate@oreilly.com Editor: John Osborn Editor: Laurel R.T Ruma Production Editor: Sarah Schneider Editor: Audrey Doyle Nutshell Handbook, the Nutshell Handbook logo, and the O'Reilly logo are registered trademarks of O'Reilly Media, Inc Essential Silverlight 2 Up-to-Date, the image of a collared pratincole, and related trade dress are trademarks of O'Reilly Media, Inc Microsoft, MSDN, Windows, the NET logo, Visual Studio, Visual C#, Visual Basic, IntelliSense, and Silverlight are registered trademarks or trademarks of Microsoft Corporation Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks Where those designations appear in this book, and O'Reilly Media, Inc was aware of trademark claims, the designations have been printed in caps or initial caps While every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions, or for damages resulting from the use of the information contained herein Preface I would consider myself a web guy When I first accessed the World Wide Web sometime around 1994, I immediately fell in love with its possibilities and technical challenges From then on, I almost exclusively worked on web projects and did very little programming apart from that As the years have passed, I have seen technologies come and go, but some of them stayed For instance, I remember starting to work with ASP and PHP simultaneously around 1997 or 1998, and finally moving away from ASP because it was so limited I returned to the ASP world when the first betas of ASP.NET were released, and my interest heightened when ASP.NET 2.0 came up, and it was off to the races again (Today, I am happily using both.) I appreciate that my JavaScript knowledge is in demand again, thanks to one new term: Ajax One of the technologies I really developed a love-hate relationship with was Macromedia Flash (now Adobe Flash) I really like that the technology can do so much more than HTML and JavaScript, including everything you want to call "Ajax." I am also happy that the browser plug-in has such an enormous market share I really, really hate the Flash editor The designers I work with are very happy with it, but from a developer's perspective, I change into explicit lyrics mode whenever I have to use it This is probably no surprise: Flash is historically a designer's tool and has just recently begun to appeal to developers I am a terrible designer, so I probably do not deserve better But still, Flash is a very nice technology because it combines advanced graphical features with powerful coding support So, I was more than happy when I heard that Microsoft was working on a similar technology: Silverlight (No one at Microsoft will ever tell you that there is a connection between Silverlight and Flash, and that's probably true, but it serves to point out similarities and differences.) Knowing that Microsoft has always been a very developer-friendly company, I expected Silverlight to have the features of Flash, with a better development experience (at least for me) And, to be honest, the first steps that were released as "Silverlight 1.0" were really promising Most programming is done in trusted Visual Studio, but there are designer tools as well Microsoft still has a long way to go, with the tool and market share, but the first steps are done, and I look forward to seeing the next ones Although Silverlight 1.0 was released a mere few months ago (in September 2007, to be exact), Silverlight 2 is already on the horizon This book features the latest, prebeta build of Silverlight 2 As Silverlight 2 continues to evolve, this book will adapt to each new version as well We plan to release an update to Essential Silverlight 2 Up-to-Date whenever a new, significant Silverlight release comes out of the Redmond labs Once Silverlight 2 gos RTM, this book will be updated one last time as well We did our best to bring you up-to-date information by using sources within Microsoft to get an advance look at new features and releases of Silverlight However, until the final book is in your hands, some weeks will have passed, so there may be new releases, new features, or some features might even have been dropped We will always try to come up with a new release as soon as possible, and will add errata and late-breaking changes on the book's catalog page at http://www.oreilly.com/catalog/9780596519988 P.1 Who This Book Is For There are two target audiences for this book: developers who would like to familiarize themselves with the Silverlight technology, and designers who would like to see what Silverlight has to offer I've chosen to focus on the developer True to the promise of an O'Reilly Essentials book, Essential Silverlight 2 Up-to-Date is not a complete reference or in-depth tutorial Instead, you will quickly learn how to get Silverlight 2 up and running, learn what this new platform has to offer, and put its capabilities to the test through the dozens of working code examples Support for Silverlight from Microsoft and third parties continues to grow, and whenever possible we point you to sources For Further Reading that you can turn to for information This book covers Silverlight 2 For details on Silverlight 1.0, you can refer to my book Essential Silverlight 1.0 While knowledge of Windows Presentation Foundation (WPF) is not required, if you have already worked with it, it has many similarities with the Silverlight UI framework From a programming point of view, JavaScript and C# are the languages of choice If you have not worked with either language before, refer to the O'Reilly catalog for some excellent choices P.2 How This Book Is Organized Part 1 contains background information on Silverlight and related technologies Chapter 1 A brief introduction to Silverlight and other rich Internet applications Chapter 2 Introduces WPF and how it relates to Silverlight Chapter 3 Goes through all the required installation steps and steps for creating your first Silverlight application Chapter 4 Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Z] lightweight version element Linear method 2nd element 2nd element element Linux platforms listeners (event) Loaded event loadFile( ) function 2nd Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Z] M (move) instruction Macromedia Flash markers 2nd storing element MatrixTransform transformation Media File Editor (Windows) Media Server (Windows) element media position, determining MediaOpened event handler MediaSource property Microsoft Design Expression Studio Internet Explorer Paint Update Microsoft Intermediate Language (MSIL) Mono project Moonlight mouse events MouseEnter event mouseInit( ) function MouseLeave event MouseLeftButtonDown event 2nd MouseLeftButtonUp event 2nd MouseMove event 2nd Movie Maker (Windows) Mozilla Firefox MSIL (Microsoft Intermediate Language) multimedia controlling converting data embedding markers, adding preparing data for streaming video Muted property MXML (Flex) Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Z] name property namespaces NaturalDuration attribute NaturalDuration.Timespan property NaturalVideoHeight property NaturalVideoWidth property network efficiency None option (Stretch attribute) None value Notepad XML Novell Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Z] element onError property Opacity values open( ) method Opening property OpenType fonts 2nd Opera editor Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Z] Page.xaml Page.xaml.cs Paint (Microsoft) parentElement property patches, installing Visual Studio element element paths, creating Pause( ) method 2nd Paused property Photoshop (Adobe) pixels PlaceholderImageUrl property PlatformKey property Play( ) method Playing property PlayOrPause( ) function plug-ins accessing communicating with plugin variable plugin.content.source property element 2nd element Points property element Position property Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Z] RadiusX attribute RadiusX parameter RadiusY attribute RadiusY parameter element 2nd declarative event handlers and element relativePosition value ReleaseMouseCapture( ) method remove( ) method removeAt( ) method RenderTransform elements RepeatBehavior property responseText property Resume( ) method RGB colors RIAs (rich Internet applications) 2nd shortcomings of rich Internet applications (RIAs) 2nd shortcomings of root property RotateTransform transformation Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Z] Safari same-origin policy sandbox, shortcomings of RIAs ScaleMode attribute ScaleMode property ScaleTransform transformation Scene.xaml Scene.xaml.js schemas (XML) script download times, shortcomings of RIAs element tag search engines, shortcomings of RIAs Seek( ) method send( ) method sender argument settings.background property settings.enabledFramerateCounter property settings.enableHtmlAccess property settings.enableRedrawRegions property settings.maxFrameRate property settings.windowless property setValue( ) method shapes, using showInfo( ) function showInfoJS( ) function ShowMarker( ) function showMarker( ) method Silverlight Application Wizard Silverlight Script Web entry (Visual Studio) Silverlight.createObjectEx( ) method Silverlight.js file 2nd SilverlightTestPage.aspx element SkewTransform transformation element 2nd Source attribute source property 2nd 3rd element Spket IDE Spline method 2nd element SQLite stairway effect (pixels) Stop( ) method 2nd Stopped property element 2nd multimedia, positioning storyboards streaming video Stretch attribute Stroke property 2nd 3rd StrokeThickness property Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Z] templates Text marker property text, using with XAML element declarative event handlers event listeners positioning elements and RenderTransform, using rotating event mouse events TextWrapping property ThumbnailImageSource property Time marker property Times New Roman font TimeSpan property Title property To property toggle( ) method tools transformations element element TranslateTransform transformation Trebuchet MS font triggers 2nd TrueType fonts (TTF) 2nd try catch blocks, avoiding JavaScript errors TTF (TrueType fonts) 2nd Type marker property Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Z] UIs (user interfaces) Uniform option (Stretch attribute) Uniform value UniformToFill option (Stretch attribute) UniformToFill value Update mechanism (Windows) user interfaces (UIs) Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Z] V (vertical) command Value attribute vectors graphics editors images, using Verdana font Version attribute video (streaming) video.Position.TotalSeconds property element Vista (Windows) Visual Studio, installing Visual Basic Visual C# node Visual Studio Expression Blend 2 installing XAML and Visual Web Developer option Volume attribute Volume property 2nd volume, setting in media files VolumeDown( ) function volumeDown( ) method VolumeUp( ) function volumeUp( ) method Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Z] WCF (Windows Communication Foundation) WCS (Windows CardSpace) web.config WF (Windows Workflow Foundation) Width attribute Windows Media File Editor Media Server Movie Maker Update mechanism Vista [See Vista] Windows CardSpace (WCS) Windows Communication Foundation (WCF) Windows Media Audio (WMA) Windows Media Video (WMV) Windows Presentation Foundation [See WPF] Windows Presentation Foundation Everywhere (WPF/E) 2nd Windows Workflow Foundation (WF) WMA (Windows Media Audio) WMV (Windows Media Video) WPF (Windows Presentation Foundation) WPF/E (Windows Presentation Foundation Everywhere) 2nd wrapping text WYSIWYG functionality, using XML editors and Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Z] XAML (eXtensible Application Markup Language) 2nd 3rd 4th content, modifying editors for vector graphics embedding text, using XamlFile (text field) XamlOutput.children xap files XML (eXtensible Markup Language) editors for vectors graphics and XML Notepad editor XMLHttpRequest object 2nd XMLSpy editor XSLT Index [SYMBOL] [A] [B] [C] [D] [E] [F] [G] [H] [I] [J] [K] [L] [M] [N] [O] [P] [R] [S] [T] [U] [V] [W] [X] [Z] Z command, closing paths z-index property (CSS) ... We plan to release an update to Essential Silverlight 2 Up- to- Date whenever a new, significant Silverlight release comes out of the Redmond labs Once Silverlight 2 gos RTM, this book will be updated one last... Ready to deliver a more complete Web experience? Now there's no reason to wait Essential Silverlight 2 Up to Date offers a whole new world of possibilities Essential Silverlight 2 Up- to- Date. .. True to the promise of an O'Reilly Essentials book, Essential Silverlight 2 Up- to- Date is not a complete reference or in-depth tutorial Instead, you will quickly learn how to get Silverlight 2 up and running, learn what this new platform has to offer, and

Ngày đăng: 26/03/2019, 17:05

Từ khóa liên quan

Mục lục

  • Essential Silverlight 2 Up-to-Date

  • Table of Contents

  • Copyright

  • Preface

  • Part 1: Introduction

    • Chapter 1. Introducing Silverlight 2

      • Section 1.1. Rich Internet Applications

      • Section 1.2. RIA Technologies

      • Chapter 2. Introducing WPF

        • Section 2.1. Vectors

        • Section 2.2. WPF

        • Section 2.3. XAML

        • Section 2.4. Further Reading

        • Chapter 3. Getting Started with Silverlight 2

          • Section 3.1. Setting Up a Silverlight Development System

          • Section 3.2. A First Silverlight Example: Creating a Web Site

          • Section 3.3. A Second Silverlight Example: Creating a Project

          • Section 3.4. Further Reading

          • Chapter 4. Introducing Silverlight Tools

            • Section 4.1. XML Editors

            • Section 4.2. Vector Graphics Editors

            • Section 4.3. Silverlight IDEs

            • Section 4.4. Further Reading

            • Part 2: Declarative Silverlight

              • Chapter 5. Introducing XAML

                • Section 5.1. Using Text

                • Section 5.2. Using Shapes

Tài liệu cùng người dùng

  • Đang cập nhật ...

Tài liệu liên quan