2.x

Image

Over 70 simple incredibly effective recipes for taking control of Yahoo! User Interface Library like a Pro

  • Easily develop feature-rich internet applications to interact with the user using various built-in components of YUI library
  • Simple and powerful recipes explaining how to use and implement YUI 2.x components
  • Gain a thorough understanding of the YUI tools
  • Plenty of example code to help you improve your coding and productivity with the YUI Library
  • Hands-on solutions that takes a practical approach to recipes

In Detail

The Yahoo! User Interface (YUI) Library is a set of utilities and controls, written in JavaScript, for building richly interactive web applications using techniques such as DOM scripting, DHTML, and AJAX. Although you can create stylish Internet applications by modifying its default components, even advanced users find it challenging to create impressive feature-rich Internet applications using YUI.

This book will help you learn how to use YUI 2.x to build richer, more interactive web applications that impress clients and wow your friends. It has recipes explaining over twenty-five YUI components, showing how to use them, and how to configure them to meet your needs. Each covered component will have extractable code samples that showcase the common ways that the component is used.

The book starts by explaining the core features of YUI 2.x, the utilities that the rest of the library depends on and that will make your life easier. It then explains how to build UI components and make AJAX requests using the YUI framework. Each recipe will cover the most common ways to use a component, how to configure it, and then explain any other features that may be available. We wrap things up by looking at some of the recent beta components and explain how to use them, and how they may be useful on your web application.

For each of the recipes, there is an introductory example, then more advanced examples, followed by an explanation of how the component works and what YUI is doing. For more experienced developers, most recipes also include additional discussion of the solution, explaining to further customize and enhance the component.

This practical book, packed with easy-to-follow recipes, will help you create modern rich internet applications using the most powerful components of Yahoo! User Interface Library (YUI)

What you will learn from this book

  • Understand how YUI 2.x works and what features are available
  • Understand how YUI components interact with the DOM, and why
  • Effortlessly search the DOM and listen for end-user events
  • Simplify retrieving server-side data using AJAX and DataSource
  • Learn how to load your scripts and CSS on demand
  • Create sophisticated HTML-based panels, tooltips, and dialogs
  • Make interactive inputs with AutoComplete
  • Harness the power of drag and drop for your UI
  • Build sortable, dynamic tables using DataTable
  • Design richer user interfaces using YUI buttons and menus
  • Show data hierarchies using the TreeView
  • Explore some of the more recent beta components
  • Take control of your UI as you master YUI 2.x

Approach

This book contains recipes that showcase the common components of YUI, providing suggested examples of use, and a detailed explanation. Except for the first three chapters, which cover the 3 components of YUI that form the foundation for all other components, this book is not meant to be read cover-to-cover. Each recipe is presented as a separate, standalone entity and reading of other prior recipes is not required. Each chapter tackles a particular component or set of related components, introducing the component and explaining how to use it.

Who this book is written for

If you are a web application developer and have some prior experience with or interest in using YUI 2.x to improve the UI of their web applications, then this book is for you. It assumes the reader has prior knowledge of JavaScript, HTML, CSS, and basic understanding of how a website works. This book provides an easy-to-use guide for implementing YUI 2.x components, and does not require an expertise in either JavaScript or YUI.

Image

Over 70 simple incredibly effective recipes for taking control of Yahoo! User Interface Library like a Pro

  • Easily develop feature-rich internet applications to interact with the user using various built-in components of YUI library
  • Simple and powerful recipes explaining how to use and implement YUI 2.x components
  • Gain a thorough understanding of the YUI tools
  • Plenty of example code to help you improve your coding and productivity with the YUI Library
  • Hands-on solutions that takes a practical approach to recipes

In Detail

The Yahoo! User Interface (YUI) Library is a set of utilities and controls, written in JavaScript, for building richly interactive web applications using techniques such as DOM scripting, DHTML, and AJAX. Although you can create stylish Internet applications by modifying its default components, even advanced users find it challenging to create impressive feature-rich Internet applications using YUI.

This book will help you learn how to use YUI 2.x to build richer, more interactive web applications that impress clients and wow your friends. It has recipes explaining over twenty-five YUI components, showing how to use them, and how to configure them to meet your needs. Each covered component will have extractable code samples that showcase the common ways that the component is used.

The book starts by explaining the core features of YUI 2.x, the utilities that the rest of the library depends on and that will make your life easier. It then explains how to build UI components and make AJAX requests using the YUI framework. Each recipe will cover the most common ways to use a component, how to configure it, and then explain any other features that may be available. We wrap things up by looking at some of the recent beta components and explain how to use them, and how they may be useful on your web application.

For each of the recipes, there is an introductory example, then more advanced examples, followed by an explanation of how the component works and what YUI is doing. For more experienced developers, most recipes also include additional discussion of the solution, explaining to further customize and enhance the component.

This practical book, packed with easy-to-follow recipes, will help you create modern rich internet applications using the most powerful components of Yahoo! User Interface Library (YUI)

What you will learn from this book

  • Understand how YUI 2.x works and what features are available
  • Understand how YUI components interact with the DOM, and why
  • Effortlessly search the DOM and listen for end-user events
  • Simplify retrieving server-side data using AJAX and DataSource
  • Learn how to load your scripts and CSS on demand
  • Create sophisticated HTML-based panels, tooltips, and dialogs
  • Make interactive inputs with AutoComplete
  • Harness the power of drag and drop for your UI
  • Build sortable, dynamic tables using DataTable
  • Design richer user interfaces using YUI buttons and menus
  • Show data hierarchies using the TreeView
  • Explore some of the more recent beta components
  • Take control of your UI as you master YUI 2.x

Approach

This book contains recipes that showcase the common components of YUI, providing suggested examples of use, and a detailed explanation. Except for the first three chapters, which cover the 3 components of YUI that form the foundation for all other components, this book is not meant to be read cover-to-cover. Each recipe is presented as a separate, standalone entity and reading of other prior recipes is not required. Each chapter tackles a particular component or set of related components, introducing the component and explaining how to use it.

Who this book is written for

If you are a web application developer and have some prior experience with or interest in using YUI 2.x to improve the UI of their web applications, then this book is for you. It assumes the reader has prior knowledge of JavaScript, HTML, CSS, and basic understanding of how a website works. This book provides an easy-to-use guide for implementing YUI 2.x components, and does not require an expertise in either JavaScript or YUI.

Image

Rapidly retrieve data from your database into .NET objects

  • Incorporate robust, efficient data access into your .Net projects
  • Gain database independence, not tied to any particular technology
  • Avoid spending countless hours developing data access layers
  • Eliminate writing stored procedures
  • Clear, precise step-by-step directions to get up and running quickly

In Detail

NHibernate is an open source object-relational mapper, or simply put, a way to retrieve data from your database into standard .NET objects. Quite often we spend hours designing the database, only to go back and re-design a mechanism to access that data and then optimize that mechanism. This book will save you time on your project, providing all the information along with concrete examples about the use and optimization of NHibernate.

This book is an approachable, detailed introduction to the NHibernate object-relational mapper and how to integrate it with your .NET projects. If you're tired of writing stored procedures or maintaining inline SQL, this is the book for you.

Connecting to a database to retrieve data is a major part of nearly every project, from websites to desktop applications to distributed applications. Using the techniques presented in this book, you can access data in your own database with little or no code.

This book covers the use of NHibernate from a first glance at retrieving data and developing access layers to more advanced topics such as optimization and Security and Membership providers. It will show you how to connect to multiple databases and speed up your web applications using strong caching tools. We also discuss the use of third-party tools for code generation and other tricks to make your development smoother, quicker, and more effective.

This easy-to-follow guide will show you how to connect the NHibernate object-relational mapper to your projects to create a rich, efficient, object-oriented data access layer with little or no additional work

What you will learn from this book

  • Use NHibernate to retrieve and store data in your database
  • Develop an efficient, robust data access layer with little or no code
  • Design or modify your database for high performance
  • Connect to multiple databases or database backends with simple code
  • Implement base classes to provide basic functionality for all database objects
  • Improve the performance of your data retrieval methods with proven open source technology
  • Make web applications faster using strong caching strategies such as memcached
  • Simplify data storage and display using built-in .NET data controls with NHibernate
  • Using NHibernate to control application security using Membership and Role providers and .NET security controls

Approach

This is a beginner's guide to NHibernate that starts from ground zero. Successive chapters build upon earlier concepts, while the sample code presents various ways to accomplish typical data access tasks. Within a few chapters you have a running application using NHibernate to retrieve and store data.

We examine all of the topics required to get a functional data access layer implemented by writing the least amount of code possible, presenting options along the way to handle particular edge cases or situations as they arise.

When you have completed the various exercises you will have running data-bound desktop and web applications, as well as an understanding of how to implement NHibernate in your own applications.

Who this book is written for

This book is for new and seasoned developers of .NET web or desktop applications who want a better way to access database data. It is a basic introduction to NHibernate, with enough information to get a solid foundation in using NHibernate. Some advanced concepts are presented where appropriate to enhance functionality or in situations where they are commonly used.

Subscribe to RSS - 2.x