Code Generation with Roslyn
暫譯: 使用 Roslyn 的程式碼生成

Nick Harrison

  • 出版商: Apress
  • 出版日期: 2017-03-06
  • 售價: $1,450
  • 貴賓價: 9.5$1,378
  • 語言: 英文
  • 頁數: 105
  • 裝訂: Paperback
  • ISBN: 1484222105
  • ISBN-13: 9781484222102
  • 海外代購書籍(需單獨結帳)

商品描述

Learn how Roslyn's new code generation capability will let you write software that is more concise, runs faster, and is easier to maintain. You will learn from real-world business applications to create better software by letting the computer write its own code based on your business logic already defined in lookup tables.

Code Generation with Rosyln is the first book to cover this new capability.  You will learn how these techniques can be used to simplify systems integration so that if one system already defines business logic through lookup tables, you can integrate a new system and share business logic by allowing the new system to write its own business logic based on already existing table-based business logic.

One of the many benefits you will discover is that Roslyn uses an innovative approach to compiler design, opening up the inner workings of the compiler process. You will learn how to see the syntax tree that Roslyn is building as it compiles your code. Additionally, you will learn to feed it your own syntax tree that you create on the fly.

What You Will Learn:
• Structure logic to be stored in database design
• Build complex conditional logic based on lookup data in the database
• Compile code that you generate programmatically
• Discover generated code and run it dynamically to implement new business logic
• Debug problems in generated code
• Deploy and access generated code

Who This Book Is For:

Back end developers in very dynamic fast-paced business environments.   Developers focused on integrating different systems across an enterprise should also find this information useful.



di

商品描述(中文翻譯)

學習如何利用 Roslyn 的新代碼生成能力,讓您編寫更簡潔、運行更快速且更易於維護的軟體。您將從實際的商業應用中學習,通過讓電腦根據您已在查詢表中定義的商業邏輯自動編寫代碼,來創造更好的軟體。

《Code Generation with Roslyn》是第一本涵蓋這項新能力的書籍。您將學習如何使用這些技術來簡化系統整合,這樣如果一個系統已通過查詢表定義了商業邏輯,您就可以整合一個新系統,並通過允許新系統根據已存在的基於表格的商業邏輯自動編寫自己的商業邏輯來共享商業邏輯。

您將發現的眾多好處之一是,Roslyn 採用創新的編譯器設計方法,開放了編譯過程的內部運作。您將學習如何查看 Roslyn 在編譯您的代碼時所構建的語法樹。此外,您還將學會如何即時提供您自己創建的語法樹。

您將學到的內容包括:

• 結構邏輯以存儲在資料庫設計中
• 根據資料庫中的查詢數據構建複雜的條件邏輯
• 編譯您以程式化方式生成的代碼
• 發現生成的代碼並動態運行以實現新的商業邏輯
• 調試生成代碼中的問題
• 部署和訪問生成的代碼

本書適合於:

在非常動態快速變化的商業環境中的後端開發人員。專注於整合企業內不同系統的開發人員也會發現這些資訊非常有用。

最後瀏覽商品 (20)