Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
D Web Development

You're reading from   D Web Development Leverage the power of D and the vibe.d framework to develop web applications that are incredibly fast

Arrow left icon
Product type Paperback
Published in Jan 2016
Publisher Packt
ISBN-13 9781785288890
Length 196 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Kai Nacke Kai Nacke
Author Profile Icon Kai Nacke
Kai Nacke
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Preface 1. Getting Started with Your First Web Application FREE CHAPTER 2. Using Templates for Your Web Pages 3. Get Interactive – Forms and Flow Control 4. Easy Forms with the Web Framework 5. Accessing a Database 6. Using the REST Interface 7. The vibe.d Internals 8. Using vibe.d with a GUI Client 9. Power Your Application with vibe.d Extensions Index

Chapter 1. Getting Started with Your First Web Application

Today's World Wide Web is shaped by sites, such as Facebook and Amazon, that handle millions of users. The vibe.d framework is designed to create fast and scalable web applications. A significant difference from other frameworks is the use of the D programming language.

In this chapter, you will learn the following:

  • How to install a D compiler and the DUB package manager
  • What the prerequisites of the vibe.d framework are
  • What the project structure and files created by the DUB package manager are
  • How to create a simple web application How to develop with the D programming language

The D programming language is a general purpose programming language that offers modern convenience, modeling power, and native efficiency with a familiar C-style syntax. If you are new to D, then you should visit http://dlang.org/. This site contains the language definition, references to the standard libraries, downloads for the D compiler, and a lot of other tools.

If you have any questions about D, then visit the web forum at http://forum.dlang.org/.

To develop an application in D, all you need is your favorite text editor and the D compiler. The vibe.d framework is used for web applications. You can find information about vibe.d and the programming documentation at http://vibed.org/. For any questions about vibe.d, you can use the web forum at http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/.

The vibe.d framework has some external dependencies, too. It requires the event notification library libevent and the OpenSSL libraries. If you need more information about these libraries, then please visit http://libevent.org/ and https://openssl.org/.

The following section describes how to install the D compiler, package manager DUB, and dependencies on your operating system.

You have been reading a chapter from
D Web Development
Published in: Jan 2016
Publisher: Packt
ISBN-13: 9781785288890
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image