NHibernate 4.x Cookbook
Gunnar Liljas, Alexander Zaytsev, Jason Dentler
- 出版商: Packt Publishing
- 出版日期: 2017-01-27
- 售價: $2,170
- 貴賓價: 9.5 折 $2,062
- 語言: 英文
- 頁數: 448
- 裝訂: Paperback
- ISBN: 1784396427
- ISBN-13: 9781784396428
-
相關分類:
Java 相關技術
海外代購書籍(需單獨結帳)
買這商品的人也買了...
-
$520$411 -
$420$332 -
$509精通 C# 5.0 與 .NET 4.5 高級編程-LINQ, WCF, WPF 和 WF
-
$620$484 -
$580$493 -
$860$731 -
$650$507 -
$299$236 -
$249$224 -
$352大話代碼架構 (項目實戰版)
-
$1,200$948 -
$474$450 -
$354$336 -
$520$411 -
$350$315 -
$454Spring 微服務架構設計, 2/e
-
$1,670$1,587 -
$536精通Spring Cloud微服務架構
-
$403Vue.js 入門與商城開發實戰
-
$780$608 -
$780$515 -
$400$360 -
$458Spring Boot 企業級項目開發實戰
-
$650$507 -
$690$538
相關主題
商品描述
Over 90 incredible and powerful recipes to help you efficiently use NHibernate in your application
About This Book
- Master the full range of NHibernate features through detailed example recipes that you can quickly apply to your own applications
- Reduce hours of application development time and get a better application architecture and improved performance
- Create, maintain, and update your database structure automatically with the help of NHibernate
Who This Book Is For
This book is written for .NET developers who want to use NHibernate and those who want to deepen their knowledge of the platform. Examples are written in C# and XML. Some basic knowledge of SQL is assumed. If you build .NET applications that use relational databases, this book is for you.
What You Will Learn
- Create a persistent object model to move data in and out of your database
- Build the database from your model automatically
- Configure NHibernate for use with WebForms, MVC, WPF, and WinForms applications
- Create database queries using a variety of methods
- Improve the performance of your applications using a variety of techniques
- Build an infrastructure for fast, easy, test-driven development of your data access layer
- Implement entity validation, auditing, full-text search, horizontal partitioning (sharding), and spatial queries using NHibernate Contrib projects
In Detail
NHibernate is a mature, flexible, scalable, and feature-complete open source project for data access. Although it sounds like an easy task to build and maintain database applications, it can be challenging to get beyond the basics and develop applications that meet your needs perfectly. NHibernate allows you to use plain SQL and stored procedures less and keep focus on your application logic instead. Learning the best practices for a NHibernate-based application will help you avoid problems and ensure that your project is a success.
The book will take you from the absolute basics of NHibernate through to its most advanced features, showing you how to take full advantage of each concept to quickly create amazing database applications. You will learn several techniques for each of the four core NHibernate tasks―configuration, mapping, session and transaction management, and querying―and which techniques fit best with various types of applications. In short, you will be able to build an application using NHibernate by the end of the book.
You will also learn how to best implement enterprise application architecture patterns using NHibernate, leading to clean, easy-to-understand code and increased productivity. In addition to new features, you will learn creative ways to extend the NHibernate core, as well as gaining techniques to work with the NHibernate search, shards, spatial, envers, and validation projects.
Style and approach
This book contains recipes with examples organized in functional areas, each containing step-by-step instructions on everything necessary to execute a particular task. The book is designed so you can read it from start to end or just open up any chapter and start following the recipes.
商品描述(中文翻譯)
超過90個令人驚嘆且強大的食譜,幫助您在應用程式中高效使用NHibernate
關於本書
- 通過詳細的實例食譜,掌握NHibernate的全部功能,並能快速應用於自己的應用程式
- 減少應用程式開發時間,獲得更好的應用程式架構和更高的性能
- 借助NHibernate的幫助,自動創建、維護和更新數據庫結構
適合閱讀對象
本書針對想要使用NHibernate的.NET開發人員以及想要深入了解該平台的人士撰寫。示例使用C#和XML編寫。假設讀者具備一些SQL的基本知識。如果您構建使用關聯數據庫的.NET應用程式,本書適合您。
您將學到的內容
- 創建持久化對象模型,以在數據庫中移動數據
- 自動從模型構建數據庫
- 配置NHibernate以用於WebForms、MVC、WPF和WinForms應用程式
- 使用各種方法創建數據庫查詢
- 使用各種技術提高應用程式的性能
- 構建快速、簡單、面向測試的數據訪問層基礎設施
- 使用NHibernate Contrib項目實現實體驗證、審計、全文搜索、水平分區(分片)和空間查詢
詳細內容
NHibernate是一個成熟、靈活、可擴展且功能完整的開源數據訪問項目。儘管構建和維護數據庫應用程式聽起來很簡單,但要超越基礎知識並開發完全滿足您需求的應用程式可能會具有挑戰性。NHibernate允許您少使用純SQL和存儲過程,更多地專注於應用程式邏輯。學習NHibernate的最佳實踐將幫助您避免問題,確保項目的成功。
本書將從NHibernate的基礎知識一直介紹到其最高級功能,向您展示如何充分利用每個概念,快速創建令人驚嘆的數據庫應用程式。您將學習四個核心NHibernate任務(配置、映射、會話和事務管理以及查詢)的多種技術,以及這些技術與各種應用程式類型的最佳配合方式。簡而言之,您將能夠在本書結束時使用NHibernate構建應用程式。
您還將學習如何使用NHibernate最佳實現企業應用程式架構模式,從而獲得乾淨、易於理解的代碼和提高生產力。除了介紹新功能外,您還將學習擴展NHibernate核心的創造性方法,以及使用NHibernate搜索、分片、空間、envers和驗證項目的技巧。
風格和方法
本書包含按功能區域組織的食譜,每個食譜都包含逐步指示,涵蓋執行特定任務所需的一切。本書設計成您可以從頭到尾閱讀,或者只需打開任何一章並開始按照食譜進行操作。