EPUB PDF JPG
本書有DRM加密保護,需使用HyRead閱讀軟體開啟
  • D Web development:leverage the power of D and the vibe.d framework to develop web applications that are incredibly fast
  • 點閱:55
  • 作者: Kai Nacke
  • 出版社:Packt Publishing Ltd.
  • 出版年:2016
  • ISBN:9781785288890; 9781785280108
  • 格式:EPUB 流式,PDF,JPG

As a general-purpose language, D has held good potential of being applied in the burgeoning web server domain. D's build speed makes its convenience close to that of scripting languages—the argument goes—and there's also a lot to like about the running speed of the resulting native code, too.

This has remained a theoretical possibility for a good while, until vibe.d came out of nowhere to take the D community by storm. The vibe.d framework is everything that I'd hoped it to be—a comprehensive, compelling, modern framework that wonderfully uses D's features to strike a balance between flexibility, performance,and ease of use.

It is everything I hoped... except for one thing. It doesn't have a good book teaching it properly. Therefore, it's easy to imagine my giddiness now that I was offered the honor to write this foreword for such a book.

Written by Kai Nacke, a long-standing and respected luminary of the D community (known among other things for LDC, the LLVM-based D compiler), D Web Development does an admirable job of taking its reader from not knowing much about web development (as I confess your truly is, or at least was) to getting a high-performance server up and running. Also, customizing it in so many ways: content, localization, data connectivity, interoperation, and defining extensions.

Since its creation, vibe.d has slowly but surely become one of the most important frameworks written in D and simultaneously one of the best examples of using D on large scale, so much so that vibe.d is being made part of the reference D distribution.

This book is a necessary and welcome term of that equation.

Kai Nacke is a professional IT architect living in Düsseldorf, Germany. He holds a diploma in computer science from the University of Dortmund. His diploma thesis about universal hash functions was recognized as the best of the semester. He has been with IBM for more than 15 years, and has great experience in the development and architecture of business and enterprise applications.

Fascinated by the first home computer, he learned to program a VIC-20 in BASIC.

Later, he turned to Turbo PASCAL and Small C on CP/M. Experimenting with the source of Small C created his interest in compiler technology. Many computers,operating systems, and languages followed these first steps.

Around 2005, he became interested in the D programming language and created the first fun applications in D. Missing a 64-bit D compiler for Windows, he started to contribute to the LLVM compiler framework and LDC, the LLVM-based D compiler.

Soon, he became committer of both projects and is now the current maintainer of LDC.

He is also a speaker at the Free and Open Source Software Developers' European Meeting (FOSDEM) and was one of the reviewers of D Cookbook, Packt Publishing.

  • Preface
  • Chapter 1 : Getting Started with Your First Web Application
    • Installing the D compiler and the DUB package manager
    • Creating your first web application
    • Summary
  • Chapter 2 : Using Templates for Your Web Pages
    • Benefits of using templates
    • Creating your first template
    • Solving common tasks
    • Summary
  • Chapter 3 : Get Interactive – Forms and Flow Control
    • Introducing the note application
    • Creating a template with a simple form
    • A closer look at route matching
    • Serving static files
    • Storing session data
    • Authenticating the user
    • Displaying an error page
    • Uploading files
    • Summary
  • Chapter 4 : Easy Forms with the Web Framework
    • Taking advantage of unique D features
    • Converting the note application
    • Validating user input
    • Adding authentication
    • Localizing the web content
    • Summary
  • Chapter 5 : Accessing a Database
    • Choosing the right database technology
    • Using the Redis key – value store
    • Using the MongoDB document database
    • Using the MySQL relational database
    • Summary
  • Chapter 6 : Using the REST Interface
    • Defining the principles of the World Wide Web
    • Serializing D to JSON and back
    • Creating and using a REST service
    • Tailoring the generated REST API
    • Accessing CouchDB
    • Summary
  • Chapter 7 : The vibe.d Internals
    • The programming model of vibe.d
    • Coding your own main function
    • Performing background work
    • Porting an existing driver
    • An alternative solution for the existing drivers
    • Summary
  • Chapter 8 : Using vibe.d with a GUI Client
    • The GUI event loop and vibe.d
    • Creating a Win32 GUI application
    • Creating an X11 GUI application
    • Integrating with other GUI toolkits
    • Summary
  • Chapter 9 : Power Your Application with vibe.d Extensions
    • Publishing your project in the DUB registry
    • Useful community projects
    • Summary
  • Index
紙本書 NT$ 1120
單本電子書
NT$ 896

還沒安裝 HyRead 3 嗎?馬上免費安裝~
QR Code