Book Image

D Cookbook

By : Adam Ruppe
Book Image

D Cookbook

By: Adam Ruppe

Overview of this book

Table of Contents (21 chapters)
D Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 12. Web and GUI Programming

In this chapter, we will use third-party libraries to write web and GUI programs with D. We will investigate the following recipes:

  • Creating a dynamic website with cgi.d

  • Creating a web API with web.d

  • Parsing and modifying an HTML page with dom.d

  • Accessing a SQL database

  • Sending an e-mail

  • Writing colored output to the console

  • Getting real-time input from the terminal

  • Working with image files

  • Creating a graphics window to show a TV static demo

  • Creating an OpenGL window