Essential SQL on SQL Server 2008 Oct 2009
Essential SQL on SQL Server 2008
300 pages
Publisher: Jones and Bartlett Publishers, Inc.; 1 edition (December 8, 2009)
Language: English
ISBN-10: 076378138X
ISBN-13: 978-0763781385
Chapter 1—Starting Microsoft® SQL Server® 2008 1
Chapter 2—Beginning SQL Commands in Microsoft® SQL Server® 29
Chapter 3—Creating,Populating,Altering,and Deleting Tables 71
Chapter 4—Joins 101
Chapter 5—Functions 127
Chapter 6—Query Development and Derived Structures 179
Chapter 7—Set Operations 213
Chapter 8—Joins Versus Subqueries 249
Chapter 9—Aggregation and GROUP BY 265
Chapter 10—Correlated Subqueries 291
Chapter 11—Indexes and Constraints on Tables 321
Appendix 1 355
Appendix 2 359
Glossary of Important Commands and Functions 373
Effective C# (Covers C# 4.0) Mar 2010
Effective C# (Covers C# 4.0): 50 Specific Ways to Improve Your C#, Second Edition
352 pages
Publisher: Addison-Wesley Professional; 2 edition (March 15, 2010)
Language: English
ISBN-10: 0321658701
ISBN-13: 978-0321658708
You’ll learn how to
Use both types of C# constants for efficiency and maintainability (see Item 2)
Employ immutable data types to promote multicore processing (see Item 20)
Minimize garbage collection, boxing, and unboxing (see Items 16 and 45)
Take full advantage of interfaces and delegates (see Items 22 though 25)
Make the most of the parallel framework (see Items 35 through 37)
Use duck typing in C# (see Item 38)
Spot the advantages of the dynamic and Expression types over reflection (see Items 42 and 43)
Assess why query expressions are better than loops (see Item 8)
Understand how generic covariance and contravariance affect your designs (see Item 29)
See how optional parameters can minimize the number of method overloads (see Item 10)
Chapter 1 C# Language Idioms 1
Item 1: Use Properties Instead of Accessible Data Members 1
Item 2: Prefer readonly to const 8
Item 3: Prefer the is or as Operators to Casts 12
Item 4: Use Conditional Attributes Instead of #if 20
Item 5: Always Provide ToString() 28
Item 6: Understand the Relationships Among the Many Different
Concepts of Equality 36
Item 7: Understand the Pitfalls of GetHashCode() 44
Item 8: Prefer Query Syntax to Loops 51
Item 9: Avoid Conversion Operators in Your APIs 56
Item 10: Use Optional Parameters to Minimize Method Overloads 60
Item 11: Understand the Attraction of Small Functions 64
Chapter 2 .NET Resource Management 69
Item 12: Prefer Member Initializers to Assignment Statements 74
Item 13: Use Proper Initialization for Static Class Members 77
Item 14: Minimize Duplicate Initialization Logic 79
Item 15: Utilize using and try/finally for Resource Cleanup 87
Item 16: Avoid Creating Unnecessary Objects 94
Item 17: Implement the Standard Dispose Pattern 98
Item 18: Distinguish Between Value Types and Reference Types 104
Item 19: Ensure That 0 Is a Valid State for Value Types 110
Item 20: Prefer Immutable Atomic Value Types 114
Chapter 3 Expressing Designs in C# 125
Item 21: Limit Visibility of Your Types 126
Item 22: Prefer Defining and Implementing Interfaces to Inheritance 129
Item 23: Understand How Interface Methods Differ from Virtual
Methods 139
Item 24: Express Callbacks with Delegates 143
Item 25: Implement the Event Pattern for Notifications 146
Item 26: Avoid Returning References to Internal Class Objects 154
Item 27: Prefer Making Your Types Serializable 157
Item 28: Create Large-Grain Internet Service APIs 166
Item 29: Support Generic Covariance and Contravariance 171
Chapter 4 Working with the Framework 179
Item 30: Prefer Overrides to Event Handlers 179
Item 31: Implement Ordering Relations with IComparable<T> and
IComparer<T> 183
Item 32: Avoid ICloneable 190
Item 33: Use the new Modifier Only to React to Base Class Updates 194
Item 34: Avoid Overloading Methods Defined in Base Classes 198
Item 35: Learn How PLINQ Implements Parallel Algorithms 203
Item 36: Understand How to Use PLINQ for I/O Bound Operations 215
Item 37: Construct Parallel Algorithms with Exceptions in Mind 220
Chapter 5 Dynamic Programming in C# 227
Item 38: Understand the Pros and Cons of Dynamic 227
Item 39: Use Dynamic to Leverage the Runtime Type of Generic
Type Parameters 236
Item 40: Use Dynamic for Parameters That Receive Anonymous Types 239
Item 41: Use DynamicObject or IDynamicMetaObjectProvider for
Data-Driven Dynamic Types 243
Item 42: Understand How to Make Use of the Expression API 254
Item 43: Use Expressions to Transform Late Binding into Early Binding 261
Item 44: Minimize Dynamic Objects in Public APIs 267
Chapter 6 Miscellaneous 275
Item 45: Minimize Boxing and Unboxing 275
Item 46: Create Complete Application-Specific Exception Classes 279
Item 47: Prefer the Strong Exception Guarantee 284
Item 48: Prefer Safe Code 294
Item 49: Prefer CLS-Compliant Assemblies 298
Item 50: Prefer Smaller, Cohesive Assemblies 303
Index 309
Essential C# 4.0, 3rd Edition Mar 2010
Essential C# 4.0, 3rd Edition (Microsoft .NET Development Series)
984 pages
Publisher: Addison-Wesley Professional; 3 edition (March 20, 2010)
Language: English
ISBN-10: 0321694694
ISBN-13: 978-0321694690
Following an introduction to C#, readers learn about
Best practices for object-oriented programming in C#
C# primitive data types, value and reference types, implicitly typed variables, anonymous types, plus dynamic typing in C# 4.0
Methods and parameters–including extension methods, partial methods, and C# 4.0’s optional and named parameters
Generics, concurrent collections, and custom collections with iterators
Delegates, events, and lambda expressions
Collection interfaces and standard query operators
Query expressions and the tree expressions on which LINQ providers are based
Reflection, attributes, and dynamic programming
Parallel Query Processing with PLINQ
Multithreaded programming with the Task Parallel Library
Platform interoperability and unsafe code
The Common Language Infrastructure that underlies C#
Contents at a Glance
1 Introducing C# 1
2 Data Types 31
3 Operators and Control Flow 83
4 Methods and Parameters 149
5 Classes 201
6 Inheritance 269
7 Interfaces 305
8 Value Types 331
9 Well-Formed Types 357
10 Exception Handling 405
11 Generics 421
12 Delegates and Lambda Expressions 469
13 Events 507
14 Collection Interfaces with Standard Query Operators 535
15 LINQ with Query Expressions 589
16 Building Custom Collections 611
17 Reflection, Attributes, and Dynamic Programming 651
18 Multithreading 701
19 Synchronization and More Multithreading Patterns 749
20 Platform Interoperability and Unsafe Code 815
21 The Common Language Infrastructure 843
A Downloading and Installing the C# Compiler and the
CLI Platform 865
B Full Source Code Listings 869
C Concurrent Classes from System. Collections. Concurrent 895
D C# 2.0 Topics 899
E C# 3.0 Topics 903
F C# 4.0 Topics 905
Index 907
Smart Business Intelligence Solutions with Microsoft SQL Server 2008 Feb 2009
Smart Business Intelligence Solutions with Microsoft SQL Server 2008
Discover how to:
Manage the development life cycle and build a BI team
Dig into SQL Server Analysis Services, Integration Services, and Reporting Services
Navigate the Business Intelligence Development Studio (BIDS)
Write queries that rank, sort, and drill down on sales data
Develop extract, transform, and load (ETL) solutions
Add a source code control system
Help secure packages for deployment via encryption and credentials
Use MDX and DMX Query Designers to build reports based on OLAP cubes and data mining models
Create and implement custom objects using .NET code
View reports in Microsoft Office Excel® and Office SharePoint® Serverook
Part I Business Intelligence for Business Decision Makers and Architects
1 Business Intelligence Basics 3
2 Visualizing Business Intelligence Results 27
3 Building Effective Business Intelligence Processes 61
4 Physical Architecture in Business Intelligence Solutions 85
5 Logical OLAP Design Concepts for Architects 115
Part II Microsoft SQL Server 2008 Analysis Services for Developers
6 Understanding SSAS in SSMS and SQL Server Profler 153
7 Designing OLAP Cubes Using BIDS 183
8 Refning Cubes and Dimensions 225
9 Processing Cubes and Dimensions 257
10 Introduction to MDX 293
11 Advanced MDX 329
12 Understanding Data Mining Structures 355
13 Implementing Data Mining Structures 399
Part III Microsoft SQL Server 2008 Integration Services for Developers
14 Architectural Components of Microsoft SQL Server 2008 Integration Services 435
15 Creating Microsoft SQL Server 2008 Integration Services
Packages with Business Intelligence Development Studio 463
16 Advanced Features in Microsoft SQL Server 2008
Integration Services 497
17 Microsoft SQL Server 2008 Integration Services Packages in Business Intelligence Solutions 515
18 Deploying and Managing Solutions in Microsoft SQL Server
2008 Integration Services 539
19 Extending and Integrating SQL Server 2008 Integration Services 567
Part IV Microsoft SQL Server Reporting Services and Other Client Interfaces for Business Intelligence
20 Creating Reports in SQL Server 2008 Reporting Services 603
21 Building Reports for SQL Server 2008 Reporting Services 627
22 Advanced SQL Server 2008 Reporting Services 647
23 Using Microsoft Excel 2007 as an OLAP Cube Client 671
24 Microsoft Offce 2007 as a Data Mining Client 687
25 SQL Server Business Intelligence and Microsoft Offce SharePoint Server 2007 723
Microsoft SQL Server 2008 MDX Step by Step Feb 2009
Microsoft SQL Server 2008 MDX Step by Step
Teach yourself the Multidimensional Expressions (MDX) query language—one step at a time. With this practical, learn-by-doing tutorial, you’ll build the core techniques for using MDX with Analysis Services to deliver high-performance business intelligence solutions.
Discover how to:
Construct and execute MDX queries
Work with tuples, sets, and expressions
Build complex sets to retrieve the exact data users need
Perform aggregation functions and navigate data hierarchies
Assemble time-based business metrics
Customize an Analysis Services cube through the MDX script
Implement dynamic security to control data access
Develop MDX-driven reports in SQL Server Reporting Services
Contents at a Glance
Part I MDX Fundamentals
1 Welcome to MDX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
2 Using the MDX Query Editor. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
3 Understanding Tuples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
4 Working with Sets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
5 Working with Expressions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91
Part II MDX Functions
6 Building Complex Sets. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123
7 Performing Aggregation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 157
8 Navigating Hierarchies. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181
9 Working with Time. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 211
Part III MDX Applications
10 Enhancing the Cube. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
11 Implementing Dynamic Security . . . . . . . . . . . . . . . . . . . . . . . . . 273
12 Building Reports. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
Microsoft SQL Server 2008 Analysis Services Step by Step Apr 2009
Teach yourself to use SQL Server 2008 Analysis Services for business intelligence—one step at a time. You'll start by building your understanding of the business intelligence platform enabled by SQL Server and the Microsoft Office System, highlighting the role of Analysis Services. Then, you’ll create a simple multidimensional OLAP cube and progressively add features to help improve, secure, deploy, and maintain an Analysis Services database. You'll explore core Analysis Services 2008 features and capabilities, including dimension, cube, and aggregation design wizards; a new attribute relationship designer; designer AMO warnings; and using dynamic management views to monitor resources. And as you complete each lesson, you can hone your skills using the practice exercises from the companion CD. Plus, you can review and download code samples illustrating the author’s own, professional techniques—direct from the companion Web site.
Contents at a Glance
Part I Understanding Business Intelligence and Analysis Services
1 Business Intelligence: A Data Analysis Foundation ……………1
2 Understanding OLAP and Analysis Services ……………………… 23
3 Accessing Source Data …………………………………………………37
Pa rt I I Design Fundamentals
4 Creating Dimensions ……………………………………………………57
5 Creating a Cube …………………………………………………………101
6 Creating Advanced Measures and Calculations ……………………139
7 Advanced Dimension Design ……………………………………………177
Part III Advanced Design
8 Working with Account Intelligence ……………………………197
9 Currency Conversion and Multiple Languages …………………215
10 Interacting with a Cube……………………………………………233
11 Retrieving Data from Analysis Services ………………………257
12 Implementing Security………………………………………………293
13 Designing Aggregations ……………………………………………313
Part Iv Production Management
14 Managing Partitions and Database Processing ………………341
15 Managing Deployment ………………………………………………371
16 Advanced Monitoring and Management Tools ……………………385
Microsoft Visual C# 2010 Step by Step Mar 2010
Teach yourself Visual C# 2010-one step at a time. Ideal for developers with fundamental programming skills, this practical tutorial features learn-by-doing exercises that demonstrate how, when, and why to use the features of the C# rapid application development environment. You'll learn how to use Microsoft Visual Studio® 2010 and Microsoft .NET Framework 4.0; develop a solid, fundamental understanding of C# language features; and then get to work creating actual components and working applications for the Windows® operating system. You'll also delve into data management technologies and Web-based applications.
Contents at a Glance
Part I Introducing Microsoft Visual C# and Microsoft
Visual Studio 2010
1 Welcome to C# 3
2 Working with Variables, Operators, and Expressions 27
3 Writing Methods and Applying Scope 47
4 Using Decision Statements 73
5 Using Compound Assignment and Iteration Statements 91
6 Managing Errors and Exceptions 109
Part II Understanding the C# Language
7 Creating and Managing Classes and Objects 129
8 Understanding Values and References 151
9 Creating Value Types with Enumerations and Structures 173
10 Using Arrays and Collections 191
11 Understanding Parameter Arrays 219
12 Working with Inheritance 231
13 Creating Interfaces and Defning Abstract Classes 253
14 Using Garbage Collection and Resource Management 279
Part III Creating Components
15 Implementing Properties to Access Fields 295
16 Using Indexers 315
17 Interrupting Program Flow and Handling Events 329
18 Introducing Generics 353
19 Enumerating Collections 381
20 Querying In-Memory Data by Using Query Expressions 395
21 Operator Overloading 419
Part IV Building Windows Presentation Foundation
Applications
22 Introducing Windows Presentation Foundation 443
23 Gathering User Input 477
24 Performing Validation 509
Part V Managing Data
25 Querying Information in a Database 535
26 Displaying and Editing Data by Using the Entity
Framework and Data Binding 565
Part VI Building Professional Solutions with
Visual Studio 2010
27 Introducing the Task Parallel Library 599
28 Performing Parallel Data Access 649
29 Creating and Using a Web Service 683
Appendix
Interoperating with Dynamic Languages 717
Erlang and OTP in Action MEAP May 2010
Erlang and OTP in Action
Martin Logan, Eric Merritt, and Richard Carlsson
MEAP Began: August 2008
Softbound print: May 2010 (est.) | 500 pages
ISBN: 1933988789
Part One: Getting Past Pure Erlang; The OTP Basics
Chapter One: The Foundations of Erlang/OTP
Chapter Two: Erlang Essentials
Chapter Three: Writing a TCP based RPC Service
Chapter Four: OTP Packaging and Organization
Chapter Five: Processes, Linking and the Platform
Part Two: Building A Production System
Chapter Six: Implementing a Caching System
Chapter Seven: Logging and Eventing the Erlang/OTP way
Chapter Eight: Introducing Distributed Erlang/OTP way
Chapter Nine: Converting the Cache into a Distributed Application
Chapter Ten: Packaging, Services and Deployment
Part Three: Working in a Modern Environment
Chapter Eleven: Non-native Erlang Distribution with TCP and REST
Chapter Twelve: Drivers and Multi-Language Interfaces
Chapter Thirteen: Communication between Erlang and Java via JInterface
Chapter Fourteen: Optimization and Performance
Chapter Fifteen: Make it Faster
Appendix A – Installing Erlang
Appendix B – Lists and Referential Transparency
Getting StartED with Dojo Jan 2010
What you’ll learn
Understand why using Dojo is recommended over plain JavaScript.
Examine Dojo’s Core functions that empower the developer to focus on efficient, easy-to-maintain solutions.
Utilize Dojo’s powerful event management and handling features to easily execute functions from user and program interaction.
Create rich user experiences with the powerful and easy-to-use utilities Dojo provides for animation.
Implement and use the large selection of Dojo’s premade, well-constructed, and skinnable widgets in a website or application.
Bring third-party dynamic data and content into your website or application using Dojo’s robust tools for easy Ajax implementation and handling.
Chapter 1: JavaScript Fundamentals..................................................1
Chapter 2: Digging Deeper ............................................................ 29
Chapter 3: Enhancing with Dojo ..................................................... 49
Chapter 4: Dojo DOM Basics........................................................... 87
Chapter 5: Managing User Interaction with Dojo ............................... 119
Chapter 6: Make It Rich .............................................................. 141
Chapter 7: Dynamic Data ............................................................ 171
Chapter 8: Widgets ................................................................... 193
Chapter 9: Where to Go from Here................................................ 233
Appendix A: Setting Up a Local Web Server ..................................... 265
Appendix B: Dojo Base Quick Reference ......................................... 281
Appendix C: Plug-ins.................................................................. 289
Index..................................................................................... 317
Flex on Java MEAP Jul 2010
Flex on Java
Bernerd Allmon and Jeremy Anderson
MEAP Began: May 2008
Softbound print: July 2010 (est.) | 375 pages
ISBN: 1933988797
Part 1: Getting started
1. Some Flex with your Java
2. Beginning with Java
3. Getting Rich with Flex
4. Connecting to Web Services
Part 2: Strengthening the backend
5. BlazeDS remoting and logging
6. Flex messenging
Part 3: Going above and beyond
7. Securing and personalizing your application
8. Charting with DeGrafa
9. Desktop 2.0 with Adobe AIR
10. Testing your Flex app with FlexUnit
11. Flex on Grails
Pro Entity Framework 4.0
Chapter 1: Introducing the ADO.NET 4.0 Entity Framework..................................1
Chapter 2: The Entity Data Model ........................................................13
Chapter 3: The Entity Data Model Inside and Out...............35
Chapter 4: Querying the .....................................63
Chapter 5: Working with Entities........................83
Chapter 6: Stored Procedures and the EDM.................93
Chapter 7: Relationships and Associations................109
Chapter 8: T4 Code Generation ...........................127
Chapter 9: Model-First Development ......................145
Chapter 10: Code-Only Development .......................167
Chapter 11: N-tier Development with WCF Data Services ...187
Chapter 12: Performance Tuning and Exception Handling ...209
Chapter 13: Data Binding with the Entity Framework.......229
Professional Cairngorm
Chapter 1: Introducing Cairngorm ...................................................................1
Chapter 2: Frameworks and Design Patterns .................................................13
Chapter 3: The ServiceLocator ......................................................................29
Chapter 4: The ModelLocator ........................................................................45
Chapter 5: The FrontController ......................................................................55
Chapter 6: Events .........................................................................................63
Chapter 7: Commands ..................................................................................73
Chapter 8: Delegates ....................................................................................81
Chapter 9: Value Objects ..............................................................................89
Chapter 10: How the Pieces Work Together ...................................................97
Chapter 11: Project Overview .....................................................................105
Chapter 12: Flex Project Setup ..................................................................111
Chapter 13: The Backend ..........................................................................119
Chapter 14: Main Application Setup ...........................................................123
Chapter 15: User Registration ....................................................................129
Chapter 16: User Login ..............................................................................147
Chapter 17: Adding Posts ..........................................................................159
Chapter 18: Loading Posts .........................................................................173
Chapter 19: Adding a Commenting System .................................................185
Chapter 20: Adding Search Capabilities .....................................................201
Chapter 21: Reviewing Version One ............................................................217
Chapter 22: Combining Classes .................................................................223
Chapter 23: Calling Methods on Views .......................................................249
Chapter 24: Sequencing Commands ...........................................................259
Chapter 25: Criticisms of Cairngorm ..........................................................263
Chapter 26: Best Practices ........................................................................271
Chapter 27: Cairngorm Plug-in ...................................................................279
Chapter 28: Cairngorm Extensions .............................................................301
Chapter 29: Looking Back and Ahead .........................................................309
C++ Concurrency in Action MAEP Sep 2010
Table of Contents
Chapter One: Introduction
Chapter Two: Managing Threads
Chapter Three: Sharing Data
Chapter Four: Synchronizing Concurrent Operations
Chapter Five: The C++ Memory Model and Operations on Atomic Types
Chapter Six: Designing Data Structures for Concurrency I: Lock-based Data Structures
Chapter Seven: Designing Data Structures for Concurrency II: Lock-free Concurrent Data
Structures
Chapter Eight: Designing Concurrent Code
Chapter Nine: High Level Thread Management
Chapter Ten: Testing and Debugging Multi-threaded Applications
Appendix A: New Features of the C++ language used by the thread library
Lucene in Action 2nd Edition MEAP Jun 2010
Part 1: Core Lucene
1. Meet Lucene
2. Building a search index
3. Adding search to your application
4. Lucene’s analysis process
5. Advanced search techniques
6. Extending search
Part 2: Applied Lucene
7. Extracting text with Tika
8. Essential Lucene extensions
9. Further Lucene extensions
10. Using Lucene from other programming languages
11. Lucene administration and performance tuning
Osgi in Action: Creating Modular Applications in Java Jun 2010
Table of Contents
1. OSGi Revealed
2. Mastering Modularity
3. Learning Lifecycle
4. Studying Services
5. Delving Deeper into Modularity
6. Moving Toward Bundles
7. Managing Bundles and Applications
8. Testing Applications
9. Debugging Applications
10. Component Models
11. Launching and Embedding an OSGi
Framework
12. Security
13. Web Applications and Services
Pro ASP.NET MVC Framework
PART 1 Introducing ASP .NET MVC
CHAPTER 1 What’s the Big Idea?............................................3
CHAPTER 2 Your First ASP.NET MVC Application............................15
CHAPTER 3 Prerequisites.................................................. 37
CHAPTER 4 SportsStore:A Real Application................................ 81
CHAPTER 5 SportsStore:Navigation and Shopping Cart.................... 121
CHAPTER 6 SportsStore: Administration and Final Enhancements.......... 171
PART 2 ASP.NET MVC in Detail
CHAPTER 7 Overview of ASP.NET MVC Projects............................203
CHAPTER 8 URLs and Routing............................................. 221
CHAPTER 9 Controllers and Actions.......................................259
CHAPTER 10 Views........................................................ 321
CHAPTER 11 Data Entry.................................................... 369
CHAPTER 12 Ajax and Client Scripting...................................... 419
CHAPTER 13 Security and Vulnerability..................................... 459
CHAPTER 14 Deployment.................................................. 477
CHAPTER 15 ASP.NET Platform Features...................................505
CHAPTER 16 Combining MVC and WebForms...............................555
INDEX .......................................................................573
ASP.NET MVC Framework Unleashed
Part IBuilding ASP.NET MVC Applications 5
1 An Introduction to ASP.NET MVC.................................................................7
2 Building a Simple ASP.NET MVC Application..............................................23
3 Understanding Controllers and Actions......................................................47
4 Understanding Views....................................................................................83
5 Understanding Models................................................................................119
6 Understanding HTML Helpers....................................................................159
7 Understanding Model Binders and Action Filters......................................207
8 Validating Form Data..................................................................................241
9 Understanding Routing..............................................................................269
10 Understanding View Master Pages and View User Controls.....................295
11 Better Performance with Caching..............................................................325
12 Authenticating Users..................................................................................365
13 Deploying ASP.NET MVC Applications......................................................401
14 Working with Ajax......................................................................................427
15 Using jQuery...............................................................................................479
Part IIWalkthrough: Building the Unleashed Blog Application 503
16 Overview of the Application......................................................................505
17 Database Access...........................................................................................511
18 Creating the Routes....................................................................................543
19 Adding Validation.......................................................................................567
20 Paging, Views, and Ajax..............................................................................593
21 Adding Comments......................................................................................621
Part IIIAppendixes 645
A C# and VB.NET Language Features............................................................647
B Using a Unit Testing Framework................................................................659
C Using a Mock Object Framework...............................................................679
WPF Programmer's Reference: Windows Presentation Foundation with C# 2010 and .NET 4
Chapter 1 WPF Overview 1
Chapter 2 WPF in Visual Studio 21
Chapter 3 Expression Blend 37
Chapter 4 Common Properties 61
Chapter 5 Content Controls 73
Chapter 6 Layout Controls 101
Chapter 7 User Interaction Controls 119
Chapter 8 Two-Dimensional Drawing Controls 145
Chapter 9 Properties 153
Chapter 10 Pens and Brushes 165
Chapter 11 Events and Code-Behind 179
Chapter 12 Resources 193
Chapter 13 Styles and Property Triggers 213
Chapter 14 Event Triggers and Animation 235
Chapter 15 Templates 263
Chapter 16 Themes and Skins 283
Chapter 17 Printing 303
Chapter 18 Data Binding 317
Chapter 19 Commanding 347
Chapter 20 Transformations and Efects 359
Chapter 21 Documents 367
Chapter 22 Navigation-Based Applications 379
Chapter 23 Three-Dimensional Drawing 387
Chapter 24 Silverlight 407
a Appendix Common Properties 417
B Appendix Content Controls 425
c Appendix Layout Controls 443
d Appendix User Interaction Controls 461
e Appendix MediaElement Control 487
F Appendix Pens 493
g Appendix Brushes 495
h Appendix Path Mini-Language 507
I Appendix XPath 511
J Appendix Data Binding 519
K Appendix Commanding Classes 525
L Appendix Bitmap Efects 533
m Appendix Styles 535
n Appendix Templates 539
o Appendix Triggers and Animation 549
P Appendix Index of Example Programs 555
Index 573
Beginning Android 2
Chapter 1: The Big Picture......................................................................................................................... 1
Chapter 2: Projects and Targets ................................................................................................................ 5
Chapter 3: Creating a Skeleton Application............................................................................................. 17
Chapter 4: Using XML-Based Layouts...................................................................................................... 23
Chapter 5: Employing Basic Widgets ....................................................................................................... 29
Chapter 6: Working with Containers........................................................................................................ 39
Chapter 7: Using Selection Widgets......................................................................................................... 59
Chapter 8: Getting Fancy with Lists......................................................................................................... 75
Chapter 9: Employing Fancy Widgets and Containers ............................................................................. 95
Chapter 10: The Input Method Framework ............................................................................................ 117
Chapter 11: Applying Menus.................................................................................................................. 125
Chapter 12: Fonts................................................................................................................................... 137
Chapter 13: Embedding the WebKit Browser......................................................................................... 141
Chapter 14: Showing Pop-Up Messages................................................................................................ 149
Chapter 15: Dealing with Threads ......................................................................................................... 155
Chapter 16: Handling Activity Life Cycle Events .................................................................................... 167
Chapter 17: Creating Intent Filters ........................................................................................................ 171
Chapter 18: Launching Activities and Subactivities .............................................................................. 177
Chapter 19: Handling Rotation............................................................................................................... 185
Chapter 20: Working with Resources .................................................................................................... 197
Chapter 21: Using Preferences .............................................................................................................. 213
Chapter 22: Managing and Accessing Local Databases ........................................................................ 225
Chapter 23: Accessing Files................................................................................................................... 237
Chapter 24: Leveraging Java Libraries.................................................................................................. 245
Chapter 25: Communicating via the Internet ......................................................................................... 253
Chapter 26: Using a Content Provider.................................................................................................... 259
Chapter 27: Building a Content Provider ............................................................................................... 265
Chapter 28: Requesting and Requiring Permissions ............................................................................. 275
Chapter 29: Creating a Service .............................................................................................................. 279
Chapter 30: Invoking a Service.............................................................................................................. 285
Chapter 31: Alerting Users via Notifications.......................................................................................... 289
Chapter 32: Accessing Location-Based Services................................................................................... 295
Chapter 33: Mapping with MapView and MapActivity........................................................................... 301
Chapter 34: Handling Telephone Calls ................................................................................................... 311
Chapter 35: Development Tools ............................................................................................................. 315
Chapter 36: Handling Multiple Screen Sizes.......................................................................................... 331
Chapter 37: Dealing with Devices.......................................................................................................... 353
Chapter 38: Handling Platform Changes................................................................................................ 359
Chapter 39: Where Do We Go from Here? .............................................................................................. 367
JavaScript and AJAX For Dummies
Part I: Programming with JavaScript ............................. 7
Chapter 1: Taking the Web to the Next Level.................................................................9
Chapter 2: Writing Your First Program .........................................................................31
Chapter 3: Changing Program Behavior with Conditions ...........................................55
Chapter 4: Loops and Debugging ...................................................................................71
Chapter 5: Functions, Arrays, and Objects ...................................................................97
Part II: Using JavaScript to Enhance Your Pages ........ 129
Chapter 6: Talking to the Page .....................................................................................131
Chapter 7: Getting Valid Input ......................................................................................157
Chapter 8: Moving and Grooving .................................................................................181
Part III: Moving Up to AJAX ..................................... 221
Chapter 9: AJAX Essentials ...........................................................................................223
Chapter 10: Improving JavaScript and AJAX with jQuery ........................................239
Chapter 11: Animating jQuery ......................................................................................265
Chapter 12: Using the jQuery User Interface Toolkit ................................................293
Chapter 13: Improving Usability with jQuery ............................................................317
Chapter 14: Working with AJAX Data ..........................................................................339
Part IV: The Part of Tens .......................................... 367
Chapter 15: Ten Amazing jQuery Plugins ...................................................................369
Chapter 16: Ten Great Resources ................................................................................397
Index ...................................................................... 401
Addison Wesley C++ Programming Language The 4th Edition 2013
The C++ programming language / Bjarne Stroustrup.—Fourth edition.
pages cm
Includes bibliographical references and index.
ISBN 978-0-321-56384-2 (pbk. : alk. paper)—ISBN 0-321-56384-0 (pbk. : alk. paper)
1. C++ (Computer programming language) I. Title.
QA76.73.C153 S77 2013
005.13’3—dc23 2013002159
Node.js v0.10.15 API
NodeJs Node.js v0.10.15 Manual & Documentation
自己制作的离线文档,拿来分享下
Telerik Reporting Q1 2012 Source
Telerik_Reporting_Q1_2012_v6_0_12_215_Source
Telerik Reporting 2012源码
Telerik Web UI 2012 Source
Telerik.Web.UI_2012_1_215_Source
Telerik Web UI最新源代码
Wrox - Ivor Horton's Beginning Visual C++ 2010 Apr 2010
Wrox - Ivor Horton's Beginning Visual C++ 2010 Apr 2010
Ivor Horton's Beginning Visual C++ 2010
1272 pages
Publisher: Wrox; Pap/Pas edition (April 12, 2010)
Language: English
ISBN-10: 0470500883
ISBN-13: 978-0470500880
The leading author of programming tutorials for beginners introduces you to Visual C++ 2010
Ivor Horton is the preeminent author of introductory programming language tutorials; previous editions of his Beginning Visual C++ have sold nearly 100,000 copies. This book is a comprehensive introduction to both the Standard C++ language and to Visual C++ 2010; no previous programming experience is required.
All aspects of the 2010 release are covered, including changes to the language and the C++ standard..
Microsoft Visual C++ is one of the most popular C++ development environments and compilers, used by hundreds of thousands of developers
Ivor Horton's approach to programming tutorials has achieved a huge following; this book gives beginning programmers a comprehensive introduction to both Standard C++ and Visual C++ 2010
Covers all the language changes in Visual C++ 2010, library additions, new MFC features, changes in the Visual Studio development environment, and more
Also includes a brief introduction to programming for multicore processors in native C++ and C++/CLR processors
Nearly 100,000 copies of this book have been sold in previous editions
Beginners seeking a complete education in Visual C++ will find everything they need in Ivor Horton's Beginning Visual C++ 2010.
CHAPTER 1 Programming with Visual C++ 2010 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
CHAPTER 2 Data, Variables, and Calculations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
CHAPTER 3 Decisions and Loops . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
CHAPTER 4 Arrays, Strings, and Pointers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 167
CHAPTER 5 Introducing Structure into Your Programs . . . . . . . . . . . . . . . . . . . . . . . . 251
CHAPTER 6 More about Program Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .295
CHAPTER 7 Defi ning Your Own Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 353
CHAPTER 8 More on Classes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 435
CHAPTER 9 Class Inheritance and Virtual Functions . . . . . . . . . . . . . . . . . . . . . . . . . 549
CHAPTER 10 The Standard Template Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 645
CHAPTER 11 Debugging Techniques . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 755
CHAPTER 12 Windows Programming Concepts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 807
CHAPTER 13 Programming for Multiple Cores . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 843
CHAPTER 14 Windows Programming with the Microsoft Foundation Classes . . . . . 875
CHAPTER 15 Working with Menus and Toolbars . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .903
CHAPTER 16 Drawing in a Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 945
CHAPTER 17 Creating the Document and Improving the View . . . . . . . . . . . . . . . . . 1009
CHAPTER 18 Working with Dialogs and Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1059
CHAPTER 19 Storing and Printing Documents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1123
CHAPTER 20 Writing Your Own DLLs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1175
Apress - Beginning WF: Windows Workflow in .NET 4.0 Mar 2010
Beginning WF: Windows Workflow in .NET 4.0 (Expert's Voice in .Net)
500 pages
Publisher: Apress; 1 edition (March 19, 2010)
Language: English
ISBN-10: 1430224851
ISBN-13: 978-1430224853
What you'll learn
Beginning WF will take you step by step through many of the useful applications of workflow technology. Along the way, you will:
Create designer-based and code-based workflows
Communicate between applications using workflow activities
Implement SQL persistence with custom participants
Create workflow extensions and custom activities
Build applications that support long-running workflows
Host workflows in WCF services
Part 1: Introductio................................................................................................1
Chapter 1: Building a Simple Workflow..................................................................3
Chapter 2: Coded Workflows ................................................................................23
Chapter 3: Flowchart Workflow............................................................................33
Part 2: Designing Workflows ................................................................................43
Chapter 4: Passing Arguments .............................................................................45
Chapter 5: Replicated Activities ...........................................................................59
Chapter 6: ExceptioHandling .............................................................................69
Chapter 7: Extending the Built-IActivities .........................................................79
Part 3: Communication.........................................................................................93
Chapter 8: Send and Receive................................................................................95
Chapter 9: Communicating with the Host Application........................................123
Chapter 10: Web Services...................................................................................151
Part 4: Workflow Extensions ..............................................................................175
Chapter 11: SQL Persistence ..............................................................................177
Chapter 12: Custom Extensions..........................................................................209
Chapter 13: Tracking ..........................................................................................229
Chapter 14: Transactions....................................................................................255
Chapter 15: Transactions with Persistence........................................................277
Chapter 16: WorkflowServiceHost ......................................................................289
Part 5: Advanced Topics.....................................................................................317
Chapter 17: Compensation, Confirmation, and Cancellatio..............................319
Chapter 18: Collections.......................................................................................345
Chapter 19: Interoperability with Workflow 3.5 .................................................361
Chapter 20: Policy ..............................................................................................375
Appendix: Sample Workflow Project ..................................................................405
Index: .................................................................................................................439
Pro WPF in C# 2010 Mar 2010
Pro WPF in C# 2010: Windows Presentation Foundation in .NET 4
1216 pages
Publisher: Apress; 3 edition (March 31, 2010)
Language: English
ISBN-10: 1430272058
ISBN-13: 978-1430272052
Microsoft's Windows Presentation Foundation (WPF) provides the foundation for building applications and high-quality user experiences for the Windows operating system. It blends the application user interface, documents, and media content, while exploiting the full power of your computer's operating system.
Its functionality extends to the support for Tablet PCs and other forms of input device, and it provides a more modern imaging and printing pipeline, accessibility and UI automation infrastructure, data-driven UIs and visualization, and integration points for weaving the application experience into the Windows shell.
This book shows you how WPF really works. It provides you with the no-nonsense, practical advice that you need in order to build high-quality WPF applications quickly and easily. After giving you a firm foundation, it goes on to explore the more advance aspects of WPF and how they relate to the others elements of the .NET 4.0 platform and associated technologies such as Silverlight.
What you'll learn
WPF basics: XAML, layout, control essentials, and data flow
WPF applications: Navigation, commands, localization, and deployment
Advanced controls: Custom controls, menus, toolbars, and trees
WPF documents: Text layout, printing, and document packaging
Graphics and multimedia: Drawing shapes, sound and video, animation, geometric transformations, and imaging
Chapter 1: Introducing WPF describes the architecture of WPF, its DirectX plumbing, and the new
device-independent measurement system that resizes user interfaces automatically.
Chapter 2: XAML describes the XAML standard that you use to define user interfaces. You’ll learn
why it was created and how it works, and you’ll create a basic WPF window using different coding
approaches.
Chapter 3: Layout delves into the layout panels that allow you to organize elements in a WPF
window. You’ll consider different layout strategies, and you’ll build some common types of
windows.
Chapter 4: Dependency Properties describes how WPF uses dependency properties to provide
support for key features such as data binding and animation.
Chapter 5: Routed Events describes how WPF uses event routing to send events bubbling or
tunneling through the elements in your user interface. It also describes the basic set of mouse,
keyboard, and multitouch events that all WPF elements support.
Chapter 6: Controls considers the controls every Windows developer is familiar with, such as
buttons, text boxes, and labels–and their WPF twists.
Chapter 7: The Application introduces the WPF application model. You’ll see how to create single-
instance and document-based WPF applications.
Chapter 8: Element Binding introduces WPF data binding. You’ll see how to bind any type of obje
to your user interface.
Chapter 9: Commands introduces the WPF command model, which allows you to wire multiple
controls to the same logical action.
Chapter 10: Resources describes how resources let you embed binary files in your assembly and
reuse important objects throughout your user interface.
Chapter 11: Styles and Behaviors explains the WPF style system, which lets you apply a set of
common property values to an entire group of controls.
Chapter 12: Shapes, Brushes, and Transforms introduces the 2-D drawing model in WPF. You’ll
learn to create shapes, alter elements with transforms, and paint exotic effects with gradients, tiles
and images.
Chapter 13: Geometries and Drawings delves deeper into 2-D drawing. You’ll learn to create
complex paths that incorporate arcs and curves and how to use complex graphics efficiently.
Chapter 14: Effects and Visuals describes lower-level graphics programming. You’ll apply
Photoshop-style effects with pixel shaders, build a bitmap by hand, and use WPF’s visual layer for
optimized drawing.
Chapter 15: Animation Basics explores WPF’s animation framework, which lets you integrate
dynamic effects into your application using straightforward, declarative markup.
Chapter 16: Advanced Animations explore more sophisticated animation techniques like key-fram
animation, path-based animation, and frame-based animation. You’ll also consider a detailed
example that shows how to create and manage dynamic animations with code.
Chapter 17: Control Templates shows you how you can give any WPF control a dramatic new look
(and new behavior) by plugging in a customized template. You’ll also see how templates allow you
to build a skinnable application.
Chapter 18: Custom Elements explores how you can extend the existing WPF controls and create
your own. You’ll see several examples, including a template-based color picker, a flippable panel,
custom layout container, and a decorator that performs custom drawing.
Chapter 19: Data Binding shows you how to fetch information from a database, insert it into a
custom data objects, and bind these objects to WPF controls. You’ll also learn how to improve the
performance of huge data-bound lists with virtualization, and catch editing mistakes with
validation.
Chapter 20: Formatting Bound Data shows some of the tricks for turning raw data into rich data
displays that incorporate pictures, controls, and selection effects.
Chapter 21: Data Views explores how you use the view in a data-bound window to navigate through
a list of data items, and to apply filtering, sorting, and grouping.
Chapter 22: Lists, Grids, and Trees gives you a tour of WPF’s rich data controls, including the
ListView, TreeView, and DataGrid.
Chapter 23: Windows examines how windows work in WPF. You’ll also learn how to create
irregularly shaped windows and use Vista glass effects. You’ll also make the most of Windows 7
features by customizing taskbar jump lists, thumbnails, and icon overlays.
Chapter 24: Pages and Navigation describes how you can build pages in WPF and keep track of
navigation history. You’ll also see how to build a browser-hosted WPF application that can be
launched from a website.
Chapter 25: Menus, Toolbars, and Ribbons considers command-oriented controls such as menus
and toolbars. You’ll also get a taste of more modern user interface with the freely downloadable
Ribbon control.
Chapter 26: Sound and Video describes WPF’s media support. You’ll see how to control playback
for sound and video, and how to throw in synchronized animations and live effects.
Chapter 27: 3-D Drawing explores the support for drawing 3-D shapes in WPF. You’ll learn how to
create, transform, and animate 3-D objects. You’ll even see how to place interactive 2-D controls on
3-D surfaces.
Chapter 28: Documents introduces WPF’s rich document support. You’ll learn to use flow
documents to present large amounts of text in the most readable way possible, and you’ll use fixed
documents to show print-ready pages. You’ll even use the RichTextBox to provide document
editing.
Chapter 29: Printing demonstrates WPF’s printing model, which lets you draw text and shapes in a
print document. You’ll also learn how to manage page settings and print queues.
Chapter 30: Interacting with Windows Forms examines how you can combine WPF and Windows
Forms content in the same application–and even in the same window.
Chapter 31: Multithreading describes how to create responsive WPF applications that perform
time-consuming work in the background.
Chapter 32: The Add-In Model shows you how to create an extensible application that can
dynamically discover and load separate components.
Chapter 33: ClickOnce Deployment shows how you can deploy WPF applications using the
ClickOnce setup model.
Microsoft - Microsoft Visual Basic 2010 Step by Step May 2010
Microsoft Visual Basic 2010 Step by Step
576 pages
Publisher: Microsoft Press; 1 edition (May 7, 2010)
Language: English
ISBN-10: 0735626693
ISBN-13: 978-0735626690
Your hands-on, step-by-step guide to learning Visual Basic® 2010.
Teach yourself the essential tools and techniques for Visual Basic® 2010-one step at a time. No matter what your skill level, you'll find the practical guidance and examples you need to start building professional applications for Windows® and the Web.
Discover how to:
Work in the Microsoft® Visual Studio® 2010 Integrated Development Environment (IDE)
Master essential techniques-from managing data and variables to using inheritance and dialog boxes
Create professional-looking UIs; add visual effects and print support
Build compelling Web features with the Visual Web Developer tool
Use Microsoft® ADO.NET and advanced data presentation controls
Debug your programs and handle run-time errors
Use new features, such as Query Builder, and Microsoft® .NET Framework
Contents at a Glance
Part I Getting Started with Microsoft Visual Basic 2010
1 Exploring the Visual Studio Integrated Development
Environment 3
2 Writing Your First Program 37
3 Working with Toolbox Controls 67
4 Working with Menus, Toolbars, and Dialog Boxes 97
Part II Programming Fundamentals
5 Visual Basic Variables and Formulas,
and the NET Framework 123
6 Using Decision Structures 159
7 Using Loops and Timers 181
8 Debugging Visual Basic Programs 209
9 Trapping Errors by Using Structured Error Handling 227
10 Creating Modules and Procedures 247
11 Using Arrays to Manage Numeric and String Data 273
12 Working w
Microsoft - Microsoft ASP.NET 4 Step by Step May 2010
Microsoft ASP.NET 4 Step by Step
640 pages
Publisher: Microsoft Press; 1 edition (May 7, 2010)
Language: English
ISBN-10: 0735627010
ISBN-13: 978-0735627017
Teach yourself the fundamentals of Web development with ASP.NET 4-one step at a time. With STEP BY STEP, you get the guidance and learn-by-doing examples you need to start building Web applications and Web services in the Microsoft Visual Studio® 2010 environment. The author-a highly regarded programming expert, writer, and instructor-illuminates ASP.NET features through practical examples that help developers quickly grasp concepts and apply techniques to the real world. The book also includes a companion CD with code samples, data sets, and a fully searchable eBook.
Contents at a Glance
Part I Fundamentals
1 Web Application Basics ................................... 3
2 ASP.NET Application Fundamentals ........................ 25
3 The Page Rendering Model............................... 59
4 Custom Rendered Controls ............................... 79
5 Composite Controls .................................... 101
6 Control Potpourri ...................................... 119
Part II Advanced Features
7 A Consistent Look and Feel .............................. 143
8 Confguration ......................................... 163
9 Logging In ............................................ 181
10 Data Binding .......................................... 207
11 Web Site Navigation.................................... 237
12 Personalization ........................................ 257
13 Web Parts............................................. 267
Part III Caching and State Management
14 Session State .......................................... 291
15 Application Data Caching ............................... 321
16 Caching Output........................................ 343
Part IV Diagnostics and Plumbing
17 Diagnostics and Debugging ............................. 363
18 The HttpApplication Class and HTTP Modules .............. 385
19 HTTP Handlers......................................... 405
Part V Dynamic Data, XBAP, MVC, AJAX, and Silverlight
20 Dynamic Data ......................................... 423
21 ASP.NET and WPF Content .............................. 433
22 The ASP.NET MVC Framework ........................... 449
23 AJAX ................................................. 473
24 Silverlight and ASP.NET ................................. 513
Part VI Services and Deployment
25 Windows Communication Foundation .................... 555
26 Deployment ........................................... 575
Microsoft - Programming Microsoft ASP.NET MVC May 2010
Programming Microsoft ASP.NET MVC
592 pages
Publisher: Microsoft Press; 1 edition (May 14, 2010)
Language: English
ISBN-10: 0735627142
ISBN-13: 978-0735627147
Delve into the features, principles, and pillars of the ASP.NET MVC framework-deftly guided by Web development luminary Dino Esposito. ASP.NET MVC forces developers to think in terms of distinct components-model, view, controller-that make it easier to manage application complexity. Plunge into the framework's internal mechanics and gain a practical, what-why-how perspective behind each ASP.NET MVC building block. You'll understand how and when to use this programming model as an alternative to Web Forms-to gain full control of HTML, simplify testing and extensibility, and design better Web sites and experiences. As always, Esposito provides the detailed, insightful guidance and illustrative code samples you need to get productive quickly.
Contents at a Glance
Part I The Programming Paradigm
1 Goals of ASP.NET MVC and Motivation
for Its Development ...................................... 3
2 The Runtime Environment................................ 37
3 The MVC Pattern and Beyond............................. 81
Part II The Core of ASP.NET MVC
4 Inside Controllers ...................................... 123
5 Inside Views ........................................... 211
6 Inside Models ......................................... 277
Part III Programming Features
7 Data Entry in ASP.NET MVC.............................. 317
8 The ASP.NET MVC Infrastructure ......................... 355
9 AJAX Capabilities ....................................... 401
10 Testability and Unit Testing .............................. 435
11 Customizing ASP.NET MVC .............................. 477
Beginning Visual C# 2010 Apr 2010
Wrox - Beginning Visual C# 2010 Apr 2010
Beginning Visual C# 2010 (Wrox Programmer to Programmer)
1080 pages
Publisher: Wrox; 1 edition (April 5, 2010)
Language: English
ISBN-10: 0470502266
ISBN-13: 978-0470502266
Get ready for the next release of Microsoft's C# programming language with this essential Wrox beginner's guide. Beginning Microsoft Visual C# 2010 starts with the basics and brings you thoroughly up to speed. You'll first cover the fundamentals such as variables, flow control, and object-oriented programming and gradually build your skills for Web and Windows programming, Windows forms, and data access.
Step-by-step directions walk you through processes and invite you to "Try it Out," at every stage. By the end, you'll be able to write useful programming code following the steps you've learned in this thorough, practical book.
The C# 4 programming language version will be synonymous with writing code with in C# 2010 in Visual Studio 2010, and you can use it to write Windows applications, Web apps with ASP.NET, and Windows Mobile and ××ded CE apps
Provides step-by-step instructions for mastering topics such as variables, flow controls, and object-oriented programming before moving to Web and Windows programming and data access
Addresses expressions, functions, debugging, error handling, classes, collections, comparisons, conversions, and more
If you've always wanted to master Visual C# programming, this book is the perfect one-stop resource.
PARTI THE C# LANGUAGE
CHAPTER1 Introducing C#.................................................3
CHAPTER2 Writing a C# Program..........................................13
CHAPTER3 Variables and Expressions......................................31
CHAPTER4 Flow Control.................................................59
CHAPTER5 More About Variables.........................................93
CHAPTER6 Functions....................................................125
CHAPTER7 Debugging and Error Handling .................................155
CHAPTER8 Introduction to Object-Oriented Programming....................185
CHAPTER9 Defining Classes............................................209
CHAPTER10 Defining Class Members.......................................241
CHAPTER11 Collections,Comparisons,andConversions.....................277
CHAPTER12 Generics....................................................331
CHAPTER13 Additional OOP Techniques...................................373
CHAPTER14 C# Language Enhancements...................................401
PARTII WINDOWS PROGRAMMING
CHAPTER15 Basic Windows Programming..................................447
CHAPTER16 Advanced Windows Forms Features............................497
CHAPTER17 Deploying Windows Applications..............................533
PARTII IWEB PROGRAMMING
CHAPTER18 ASP.NET Web Programming..................................577
CHAPTER19 Web Services...............................................637
CHAPTER20 Deploying Web Applications..................................665
PARTIV DATA ACCESS
CHAPTER21 File System Data............................................683
CHAPTER22 XML.......................................................725
CHAPTER23 Introduction to LINQ.........................................753
CHAPTER24 Applying LINQ ..............................................795
PARTV ADDITIONAL TECHNIQUES
CHAPTER25 Windows Presentation Foundation.............................829
CHAPTER26 Windows Communication Foundation..........................899
CHAPTER27 Windows Workflow Foundation................................935
APPENDIXA Exercise Solutions...........................................957
INDEX..................................................................... 1009
Pro WPF in VB 2010 Apr 2010
Apress - Pro WPF in VB 2010 Apr 2010
Pro WPF in VB 2010
1212 pages
Publisher: Apress; 1 edition (April 30, 2010)
Language: English
ISBN-10: 1430272406
ISBN-13: 978-1430272403
This book shows you how WPF really works. It provides you with the no-nonsense, practical advice that you need in order to build high-quality WPF applications quickly and easily. Having built a firm foundation, it goes on to explore more advanced aspects of WPF and how they relate to the others elements of the .NET 4.0 platform and associated technologies such as Silverlight.
What you’ll learn
WPF basics: XAML, layout, control essentials, and data flow
WPF applications: Navigation, commands, localization, and deployment
Advanced controls: Custom controls, menus, toolbars, and trees
WPF documents: Text layout, printing, and document packaging
Graphics and multimedia: Drawing shapes, sound and video, animation, geometric transformations, and imaging
Contents. ................................................................................vi
About the Author ................................................................................................... xxxi
About the Technical Reviewer .............................................................................. xxxii
Acknowledgments ............................................................................................... xxxiii
Introduction......................................................................................................... xxxiv
Chapter 1: Introducing WPF . ..................................................................................1
Chapter 2: XAML . .................................................................................................23
Chapter 3: Layout. ................................................................................................61
Chapter 4: Dependency Properties . ...................................................................105
Chapter 5: Rou
Java: The Good Parts May 2010
O'Reilly - Java: The Good Parts May 2010
Java: The Good Parts
192 pages
Publisher: O'Reilly Media (May 6 2010)
Language: English
ISBN-10: 0596803737
ISBN-13: 978-0596803735
What if you could condense Java down to its very best features and build better applications with that simpler version? In this book, veteran Sun Labs engineer Jim Waldo reveals which parts of Java are most useful, and why those features make Java among the best programming languages available.
Every language eventually builds up crud, Java included. The core language has become increasingly large and complex, and the libraries associated with it have grown even more. Learn how to take advantage of Java's best features by working with an example application throughout the book. You may not like some of the features Jim Waldo considers good, but they'll actually help you write better code.
Learn how the type system and packages help you build large-scale software
Use exceptions to make code more reliable and easier to maintain
Manage memory automatically with garbage collection
Discover how the JVM provides portability, security, and nearly bug-free code
Use Javadoc to ×× documentation within the code
Take advantage of reusable data structures in the collections library
Use Java RMI to move code and data in a distributed network
Learn how Java concurrency constructs let you exploit multicore processors
Preface .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. vii
1. An Introduction to Java .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .1
What Is Java Good For? 3
2. The Type System .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .7
The Basics 7
Why Have Three? 9
Inside and Out 16
Beware 18
A Real Problem 19
3. Exceptions .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. 23
The Basics 24
The Why 27
How It Works 29
Use and Abuse 33
The Dark Side 37
4. Packages .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. . 39
The Basics 39
Packages and Access Control 42
An Example 44
Packages and the Filesystem 46
5. Garbage Collection .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .49
The Basics 50
Garbage Collection and References 51
Memory Leaks 53
Other Resources 56
6. The Java Virtual Machine .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. 63
The Basics 63
Security 66
Portability 67
Portability Traps 69
7. Javadoc .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .77
The Basics 78
An Example 80
Implementation Documentation 85
Package Documentation 86
Style Guides, Editors, and Nonterminating Discussions 88
8. Collections .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. 91
The Basics 91
Parameterized Types 98
Advanced Topics 105
Random Access 114
Some Last Thoughts 118
9. Remote Method Invocation and Object Serialization .. .. .. .. .. .. .. .. 121
The Basics 122
Object Serialization 134
Subtypes in RPC Systems 139
10. Concurrency .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. 145
The Basics 147
Synchronizing 152
Atomic Data 158
11. The Developer Ecology .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. . 163
IDEs 164
JUnit 166
FindBugs 170
Other Tools 171
Index .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. .. 175
Professional C#4.0 and .NET 4.0 part2
共两个压缩包
Professional C# 4 and .Net 4
Published by
Wiley Publishing, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
www.wiley.com
Copyright © 2010 by Wiley Publishing, Inc., Indianapolis, Indiana
Published simultaneously in Canada
ISBN: 978-0-470-50225-9
Part i: The C# language
Chapter 1: .NET Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Chapter 2: Core C# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Chapter 3: Objects and Types . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Chapter 4: Inheritance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Chapter 5: Generics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Chapter 6: Arrays and Tuples . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Chapter 7: Operators and Casts . . . . . . . . . . . . . . . . . . . . . . . . . . .151
Chapter 8: Delegates, Lambdas, and Events . . . . . . . . . . . . . . . . . . . . . 183
Chapter 9: Strings and Regular Expressions. . . . . . . . . . . . . . . . . . . . .207
Chapter 10: Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .225
Chapter 11: Language Integrated Query . . . . . . . . . . . . . . . . . . . . . . .267
Chapter 12: Dynamic Language Extensions . . . . . . . . . . . . . . . . . . . . . .295
Chapter 13: Memory Management and Pointers . . . . . . . . . . . . . . . . . . . .307
Chapter 14: Refection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .333
Chapter 15: Errors and Exceptions . . . . . . . . . . . . . . . . . . . . . . . . .351
Part ii: Visual Studio
Chapter 16: Visual Studio 2010 . . . . . . . . . . . . . . . . . . . . . . . . . .373
Chapter 17: Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .407
Part iii: foundation
Chapter 18: Assemblies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
Chapter 19: Instrumentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
Chapter 20: Threads, Tasks, and Synchronization . . . . . . . . . . . . . . . . . . 491
Chapter 21: Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .545
Chapter 22: Localization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .569
Chapter 23: System.Transactions . . . . . . . . . . . . . . . . . . . . . . . . . .605
Chapter 24: Networking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 637
Chapter 25: Windows Services . . . . . . . . . . . . . . . . . . . . . . . . . . .667
Chapter 26: Interop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .695
Chapter 27: Core XAML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 727
Chapter 28: Managed Extensibility Framework . . . . . . . . . . . . . . . . . . . . 747
Chapter 29: Manipulating Files and the Registry . . . . . . . . . . . . . . . . . 771
Part iV: data
Chapter 30: Core ADO.NET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 817
Chapter 31: ADO.NET Entity Framework . . . . . . . . . . . . . . . . . . . . . . . 861
Chapter 32: Data Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . .885
Chapter 33: Manipulating XML . . . . . . . . . . . . . . . . . . . . . . . . . . .903
Chapter 34: .NET Programming with SQL Server . . . . . . . . . . . . . . . . . . .955
Part V: Presentation
Chapter 35: Core WPF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .983
Chapter 36: Business Applications with WPF . . . . . . . . . . . . . . . . . . . .1035
Chapter 37: Creating Documents with WPF . . . . . . . . . . . . . . . . . . . . . 1075
Chapter 38: Silverlight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1095
Chapter 39: Windows Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1117
Chapter 40: Core ASP.NET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1149
Chapter 41: ASP.NET Features . . . . . . . . . . . . . . . . . . . . . . . . . . . 1185
Chapter 42: ASP.NET Dynamic Data and MVC . . . . . . . . . . . . . . . . . . . . 1243
Part Vi: Communication
Chapter 43: Windows Communication Foundation . . . . . . . . . . . . . . . . . . 1279
Chapter 44: Windows Workfow Foundation 4 . . . . . . . . . . . . . . . . . . . . 1309
Chapter 45: Peer-to-Peer Networking . . . . . . . . . . . . . . . . . . . . . . . . 1339
Chapter 46: Message Queuing . . . . . . . . . . . . . . . . . . . . . . . . . . . 1357
appendix: Guidelines for Windows 7 and Windows Server 2008 R2 . . . . . . . . . . . 1397
index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1417
online Chapters
Chapter 48: Graphics with GDI+ . . . . . . . . . . . . . . . . . . . . . . . . . . .OC1
Chapter 49: Visual Studio Tools for Ofce . . . . . . . . . . . . . . . . . . . . . . OC49
Chapter 50: Managed Add-In Framework . . . . . . . . . . . . . . . . . . . . . . OC77
Chapter 51: Enterprise Services . . . . . . . . . . . . . . . . . . . . . . . . . . OC97
Chapter 52: Directory Services . . . . . . . . . . . . . . . . . . . . . . . . . . OC123
Chapter 53: C#, Visual Basic, C++/CLI, and F# . . . . . . . . . . . . . . . . . . . OC157
Chapter 54: .NET Remoting . . . . . . . . . . . . . . . . . . . . . . . . . . . .OC191
Chapter 55: Web Services with ASP.NET . . . . . . . . . . . . . . . . . . . . .OC233
Chapter 56: LINQ to SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . .OC255
Chapter 57: Windows Workfow Foundation 3.0 . . . . . . . . . . . . . . . . . .OC279
Professional C# 4.0 and .NET 4.0 part1
共两个压缩包
Professional C# 4 and .Net 4
Published by
Wiley Publishing, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
www.wiley.com
Copyright © 2010 by Wiley Publishing, Inc., Indianapolis, Indiana
Published simultaneously in Canada
ISBN: 978-0-470-50225-9
Part i: The C# language
Chapter 1: .NET Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
Chapter 2: Core C# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Chapter 3: Objects and Types . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Chapter 4: Inheritance. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
Chapter 5: Generics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Chapter 6: Arrays and Tuples . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
Chapter 7: Operators and Casts . . . . . . . . . . . . . . . . . . . . . . . . . . .151
Chapter 8: Delegates, Lambdas, and Events . . . . . . . . . . . . . . . . . . . . . 183
Chapter 9: Strings and Regular Expressions. . . . . . . . . . . . . . . . . . . . .207
Chapter 10: Collections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .225
Chapter 11: Language Integrated Query . . . . . . . . . . . . . . . . . . . . . . .267
Chapter 12: Dynamic Language Extensions . . . . . . . . . . . . . . . . . . . . . .295
Chapter 13: Memory Management and Pointers . . . . . . . . . . . . . . . . . . . .307
Chapter 14: Refection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .333
Chapter 15: Errors and Exceptions . . . . . . . . . . . . . . . . . . . . . . . . .351
Part ii: Visual Studio
Chapter 16: Visual Studio 2010 . . . . . . . . . . . . . . . . . . . . . . . . . .373
Chapter 17: Deployment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .407
Part iii: foundation
Chapter 18: Assemblies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 431
Chapter 19: Instrumentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 461
Chapter 20: Threads, Tasks, and Synchronization . . . . . . . . . . . . . . . . . . 491
Chapter 21: Security . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .545
Chapter 22: Localization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .569
Chapter 23: System.Transactions . . . . . . . . . . . . . . . . . . . . . . . . . .605
Chapter 24: Networking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 637
Chapter 25: Windows Services . . . . . . . . . . . . . . . . . . . . . . . . . . .667
Chapter 26: Interop . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .695
Chapter 27: Core XAML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 727
Chapter 28: Managed Extensibility Framework . . . . . . . . . . . . . . . . . . . . 747
Chapter 29: Manipulating Files and the Registry . . . . . . . . . . . . . . . . . 771
Part iV: data
Chapter 30: Core ADO.NET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 817
Chapter 31: ADO.NET Entity Framework . . . . . . . . . . . . . . . . . . . . . . . 861
Chapter 32: Data Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . .885
Chapter 33: Manipulating XML . . . . . . . . . . . . . . . . . . . . . . . . . . .903
Chapter 34: .NET Programming with SQL Server . . . . . . . . . . . . . . . . . . .955
Part V: Presentation
Chapter 35: Core WPF . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .983
Chapter 36: Business Applications with WPF . . . . . . . . . . . . . . . . . . . .1035
Chapter 37: Creating Documents with WPF . . . . . . . . . . . . . . . . . . . . . 1075
Chapter 38: Silverlight . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1095
Chapter 39: Windows Forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1117
Chapter 40: Core ASP.NET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1149
Chapter 41: ASP.NET Features . . . . . . . . . . . . . . . . . . . . . . . . . . . 1185
Chapter 42: ASP.NET Dynamic Data and MVC . . . . . . . . . . . . . . . . . . . . 1243
Part Vi: Communication
Chapter 43: Windows Communication Foundation . . . . . . . . . . . . . . . . . . 1279
Chapter 44: Windows Workfow Foundation 4 . . . . . . . . . . . . . . . . . . . . 1309
Chapter 45: Peer-to-Peer Networking . . . . . . . . . . . . . . . . . . . . . . . . 1339
Chapter 46: Message Queuing . . . . . . . . . . . . . . . . . . . . . . . . . . . 1357
appendix: Guidelines for Windows 7 and Windows Server 2008 R2 . . . . . . . . . . . 1397
index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1417
online Chapters
Chapter 48: Graphics with GDI+ . . . . . . . . . . . . . . . . . . . . . . . . . . .OC1
Chapter 49: Visual Studio Tools for Ofce . . . . . . . . . . . . . . . . . . . . . . OC49
Chapter 50: Managed Add-In Framework . . . . . . . . . . . . . . . . . . . . . . OC77
Chapter 51: Enterprise Services . . . . . . . . . . . . . . . . . . . . . . . . . . OC97
Chapter 52: Directory Services . . . . . . . . . . . . . . . . . . . . . . . . . . OC123
Chapter 53: C#, Visual Basic, C++/CLI, and F# . . . . . . . . . . . . . . . . . . . OC157
Chapter 54: .NET Remoting . . . . . . . . . . . . . . . . . . . . . . . . . . . .OC191
Chapter 55: Web Services with ASP.NET . . . . . . . . . . . . . . . . . . . . .OC233
Chapter 56: LINQ to SQL . . . . . . . . . . . . . . . . . . . . . . . . . . . .OC255
Chapter 57: Windows Workfow Foundation 3.0 . . . . . . . . . . . . . . . . . .OC279
Delphi 2010 Handbook Feb 2010
Delphi 2010 Handbook: A Guide to the New Features of Delphi 2010; upgrading from Delphi 2009 (Volume 1)
318 pages
Publisher: CreateSpace (February 28, 2010)
Language: English
ISBN-10: 1450597262
ISBN-13: 978-1450597265
The guide to what's new in Delphi 2010, from the best-selling author of the Mastering Delphi series and the Delphi 2007 and 2009 Handbooks. The book covers all the new features of Delphi 2010 for Win32, from Extended RTTI to new IDE features, from Windows 7 support to the improved DataSnap architecture. This is a brand new book, there is no overlapping material with the Delphi 2007 Handbook and Delphi 2009 Handbook (which you can consider buying along with this book in printed or electronic format). The Delphi 2010 Handbook is expected to have about 300 pages covering exclusively new Delphi 2010 features. There is no introduction material or anything like that. The book is for developers who use Delphi 2010.
Chapter 1: A Better IDE..........................................19
Chapter 2: The Debugger........................................47
Chapter 3: Extended RTTI and Attributes............................63
Chapter 4: More on the Compiler and the RTL.......................103
Chapter 5: The VCL and Windows 7................................125
Chapter 6: Touch and Gestures...................................163
Chapter 7: Database Access and DataSnap...........................199
Chapter 8: REST Web Services...................................253
High Performance JavaScript Mar 2010
O’Reilly - High Performance JavaScript Mar 2010
High Performance JavaScript
240 pages
Publisher: Yahoo Press; 1 edition (March 23, 2010)
Language: English
ISBN-10: 059680279X
ISBN-13: 978-0596802790
If you're like most developers, you rely heavily on JavaScript to build interactive and quick-responding web applications. The problem is that all of those lines of JavaScript code can slow down your apps. This book reveals techniques and strategies to help you eliminate performance bottlenecks during development. You'll learn how to improve execution time, downloading, interaction with the DOM, page life cycle, and more.
Yahoo! frontend engineer Nicholas C. Zakas and five other JavaScript experts -- Ross Harmes, Julien Lecomte, Steven Levithan, Stoyan Stefanov, and Matt Sweeney -- demonstrate optimal ways to load code onto a page, and offer programming tips to help your JavaScript run as efficiently and quickly as possible. You'll learn the best practices to build and deploy your files to a production environment, and tools that can help you find problems once your site goes live.
Identify problem code and use faster alternatives to accomplish the same task
Improve scripts by learning how JavaScript stores and accesses data
Implement JavaScript code so that it doesn't slow down interaction with the DOM
Use optimization techniques to improve runtime performance
Learn ways to ensure the UI is responsive at all times
Achieve faster client-server communication
Use a build system to minify files, and HTTP compression to deliver them to the browser
Preface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi
1. Loading and Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Script Positioning 2
Grouping Scripts 4
Nonblocking Scripts 5
Deferred Scripts 5
Dynamic Script Elements 6
XMLHttpRequest Script Injection 9
Recommended Nonblocking Pattern 10
Summary 14
2. Data Access . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Managing Scope 16
Scope Chains and Identifier Resolution 16
Identifier Resolution Performance 19
Scope Chain Augmentation 21
Dynamic Scopes 24
Closures, Scope, and Memory 24
Object Members 27
Prototypes 27
Prototype Chains 29
Nested Members 30
Caching Object Member Values 31
Summary 33
3. DOM Scripting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
DOM in the Browser World 35
Inherently Slow 36
DOM Access and Modification 36
innerHTML Versus DOM methods 37
Cloning Nodes 41
HTML Collections 42
Walking the DOM 46
Repaints and Reflows 50
When Does a Reflow Happen? 51
Queuing and Flushing Render Tree Changes 51
Minimizing Repaints and Reflows 52
Caching Layout Information 56
Take Elements Out of the Flow for Animations 56
IE and :hover 57
Event Delegation 57
Summary 59
4. Algorithms and Flow Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Loops 61
Types of Loops 61
Loop Performance 63
Function-Based Iteration 67
Conditionals 68
if-else Versus switch 68
Optimizing if-else 70
Lookup Tables 72
Recursion 73
Call Stack Limits 74
Recursion Patterns 75
Iteration 76
Memoization 77
Summary 79
5. Strings and Regular Expressions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81
String Concatenation 81
Plus (+) and Plus-Equals (+=) Operators 82
Array Joining 84
String.prototype.concat 86
Regular Expression Optimization 87
How Regular Expressions Work 88
Understanding Backtracking 89
Runaway Backtracking 91
A Note on Benchmarking 96
More Ways to Improve Regular Expression Efficiency 96
When Not to Use Regular Expressions 99
String Trimming 99
Trimming with Regular Expressions 99
Trimming Without Regular Expressions 102
A Hybrid Solution 103
Summary 104
6. Responsive Interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
The Browser UI Thread 107
Browser Limits 109
How Long Is Too Long? 110
Yielding with Timers 111
Timer Basics 112
Timer Precision 114
Array Processing with Timers 114
Splitting Up Tasks 116
Timed Code 118
Timers and Performance 119
Web Workers 120
Worker Environment 120
Worker Communication 121
Loading External Files 122
Practical Uses 122
Summary 124
7. Ajax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125
Data Transmission 125
Requesting Data 125
Sending Data 131
Data Formats 134
XML 134
JSON 137
HTML 141
Custom Formatting 142
Data Format Conclusions 144
Ajax Performance Guidelines 145
Cache Data 145
Know the Limitations of Your Ajax Library 148
Summary 149
8. Programming Practices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
Avoid Double Evaluation 151
Use Object/Array Literals 153
Don’t Repeat Work 154
Lazy Loading 154
Conditional Advance Loading 156
Use the Fast Parts 156
Bitwise Operators 156
Native Methods 159
Summary 161
9. Building and Deploying High-Performance JavaScript Applications . . . . . . . . . . . 163
Apache Ant 163
Combining JavaScript Files 165
Preprocessing JavaScript Files 166
JavaScript Minification 168
Buildtime Versus Runtime Build Processes 170
JavaScript Compression 170
Caching JavaScript Files 171
Working Around Caching Issues 172
Using a Content Delivery Network 173
Deploying JavaScript Resources 173
Agile JavaScript Build Process 174
Summary 175
10. Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177
JavaScript Profiling 178
YUI Profiler 179
Anonymous Functions 182
Firebug 183
Console Panel Profiler 183
Console API 184
Net Panel 185
Internet Explorer Developer Tools 186
Safari Web Inspector 188
Profiles Panel 189
Resources Panel 191
Chrome Developer Tools 192
Script Blocking 193
Page Speed 194
Fiddler 196
YSlow 198
dynaTrace Ajax Edition 199
Summary 202
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
Beginning JavaScript 4th Edition Oct 2009
Beginning JavaScript 4th Edition
792 pages
Publisher: Wrox; 4 edition (October 26, 2009)
Language: English
ISBN-10: 0470525932
ISBN-13: 978-0470525937
The perennial bestseller returns with new details for using the latest tools and techniques available with JavaScript
JavaScript is the definitive language for making the Web a dynamic, rich, interactive medium. This guide to JavaScript builds on the success of previous editions and introduces you to many new advances in JavaScript development. The reorganization of the chapters helps streamline your learning process while new examples provide you with updated JavaScript programming techniques.
You'll get all-new coverage of Ajax for remote scripting, JavaScript frameworks, JavaScript and XML, and the latest features in modern Web browsers. Plus, all the featured code has been updated to ensure compliance with the most recent popular Web browsers.
Introduces you to the latest capabilities of JavaScript, the definitive language for developing dynamic, rich, interactive Web sites
Features new coverage of data types and variables, JavaScript and XML, Ajax for remote scripting, and popular JavaScript frameworks
Offers updated code that ensures compliance with the most popular Web browsers
Includes improved examples on the most up-to-date JavaScript programming techniques
Continuing in the superlative tradition of the first three editions, Beginning JavaScript, Fourth Edition, gets you up to speed on all the new advances in JavaScript development.
Beginning JavaScript®
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxv
Chapter 1: Introduction to JavaScript and the Web . . . . . . . . . . . . . . . . . . . . . 1
Chapter 2: Data Types and Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Chapter 3: Decisions, Loops, and Functions . . . . . . . . . . . . . . . . . . . . . . . . . 51
Chapter 4: Common Mistakes, Debugging, and Error Handling . . . . . . . . . . . 87
Chapter 5: JavaScript — An Object-Based Language . . . . . . . . . . . . . . . . . . 133
Chapter 6: Programming the Browser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
Chapter 7: HTML Forms: Interacting with the User . . . . . . . . . . . . . . . . . . . 219
Chapter 8: Windows and Frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 263
Chapter 9: String Manipulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301
Chapter 10: Date, Time, and Timers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
Chapter 11: Storing Information: Cookies . . . . . . . . . . . . . . . . . . . . . . . . . . 367
Chapter 12: Dynamic HTML and the W3C Document Object Model . . . . . . . 391
Chapter 13: Using ActiveX and Plug-Ins with JavaScript . . . . . . . . . . . . . . . 469
Chapter 14: Ajax . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
Chapter 15: JavaScript Frameworks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 527
Appendix A: Answers to Exercises . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 591
Appendix B: JavaScript Core Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . 665
Appendix C: W3C DOM Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 697
Appendix D: Latin-1 Character Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 725
Index . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 733
SOA Modeling Patterns for Service Oriented Discovery and Analysis
Wiley.SOA MoSOA Modeling Patterns for Service Oriented Discovery and Analysis
Wiley | 2010-01-07 | ISBN: 0470481978 | 480 pages | PDF | 7 MB
SOA Modeling Patterns for Service-Oriented Discovery and Analysis introduces a universal, easy-to-use, and nimble SOA modeling language to facilitate the service identification and examination life cycle stage. This business and technological vocabulary will benefit your service development endeavors and foster organizational software asset reuse and consolidation, and reduction of expenditure.
Whether you are a developer, business architect, technical architect, modeler, business analyst, team leader, or manager, this essential guide-introducing an elaborate set of more than 100 patterns and anti-patterns-will help you successfully discover and analyze services, and model a superior solution for your project,.
* Explores how to discover services
* Explains how to analyze services for construction and production
* How to assess service feasibility for deployment
* How to employ the SOA modeling language during the service identification and examination process
* How to utilize the SOA modeling patterns and anti-patterns for service discovery and analysis
CHAPTER 1 Introduction 1
What is Service-Oriented Discovery and Analysis? 2
Service-Oriented Analysis Endeavor 2
Service-Oriented Discovery Endeavor 7
Service-Oriented Discovery and Analysis Proposition 11
Driving Principles of Service-Oriented Discovery and Analysis 13
Service-Oriented Discovery and Analysis Modeling 15
Service-Oriented Discovery and Analysis Patterns 17
Summary 20
PART ONE Service-Oriented Discovery and Analysis Road Map Patterns 21
CHAPTER 2 Vertical Service Discovery and Analysis: Pursuing Inward and Downward Road Map Patterns 25
CHAPTER 3 Horizontal Service Discovery and Analysis: Pursuing Upward and Outward Road Map Patterns 41
CHAPTER 4 Service-Oriented Discovery and Analysis Best Practices Model: Striving for Balanced Solutions 59
PART TWO Service-Oriented Discovery Patterns 69
CHAPTER 5 Top-Down Business Process-Driven Service Discovery Pattern 71
CHAPTER 6 Top-Down Attribute-Driven Service Discovery Pattern 89
CHAPTER 7 Front-to-Back Service Discovery Pattern 105
CHAPTER 8 Back-to-Front Service Discovery Pattern 123
CHAPTER 9 Bottom-Up Service Discovery Pattern 145
CHAPTER 10 Meet-in-the-Middle Service Discovery Pattern 165
PART THREE Service-Oriented Categorization Patterns 181
CHAPTER 11 Service Source Categorization Patterns 183
CHAPTER 12 Service Structure Categorization Patterns 193
CHAPTER 13 Service Contextual Categorization Patterns 205
CHAPTER 14 Contextual Generalization Analysis Process and Modeling Patterns 225
CHAPTER 15 Contextual Specification Analysis Process and Modeling Patterns 245
CHAPTER 16 Contextual Expansion Analysis Process and Modeling Patterns 263
CHAPTER 17 Contextual Contraction Analysis Process and Modeling Patterns 283
PART FIVE Service-Oriented Structural Analysis Process and Modeling Patterns 303
CHAPTER 18 Structural Analysis and Modeling Principles:Introduction to Service Structural Notation and Modeling 305
CHAPTER 19 Structural Generalization Analysis Process and Modeling Patterns 331
CHAPTER 20 Structural Specification Analysis Process and Modeling Patterns 359
CHAPTER 21 Structural Expansion Analysis Process and Modeling Patterns 389
CHAPTER 22 Structural Contraction Analysis Process and Modeling Patterns 423