Leanpub Header

Skip to main content

Web-Programmierung mit Node

Webapps mit Express und Pug

Dieses Werk zeigt die Bausteine, die Sie benötigen, um eine Web-Applikation mit Node zu erstellen. Dazu gehört neben Node selbst das Middleware-Framework Express und die Vorlagensprache Pug (ehemals JADE). 

Minimum price

$14.90

$24.90

You pay

$24.90

Author earns

$19.92
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
WEB
274
Pages
36,087Words
About

About

About the Book

Node.js ist eine auf JavaScript basierende serverseitige Programmierumgebung für die Applikationsentwicklung. Schwerpunkt sind meist Webapplikationen, allerdings ist Node keineswegs darauf begrenzt. Zusammen mit der Paketverwaltung Node Package Manager (npm) entstand eine leistungsfähige Umgebung zur plattformunabhängigen Programmierung. 

Dieses Werk zeigt die Bausteine, die Sie benötigen, um eine Web-Applikation mit Node zu erstellen. Dazu gehört neben Node selbst das Middleware-Framework Express und die Vorlagensprache Pug (ehemals JADE). 

Dieses Werk geht auf Node in seiner elementarsten Form ein, zeigt die Programmierung einer einfachen Applikationstruktur für eine Webanwendung und stellt die wichtigsten Node-Module vor, angelehnt an die offizielle Dokumentation. Im selben Stil wird Express und Pug gezeigt, damit der Leser einen schnellen Überblick über die Grundlagen und Möglichkeiten bekommt. Der Teil der Anwendung, der clientseitig erforderlich ist, findet dagegen keine Beachtung. In den gezeigten Beispielen wird nur HTML benutzt.

Share this book

Author

About the Author

Jörg Krause

I like to introduce myself as an experienced expert in the field of Web Technologies, especially for JavaScript/TypeScript, NodeJS, Azure Development, SQL Server, and related subjects.

I'm a developer, consultant, trainer, and software architect. I work as a freelance consultant for enterprises and run a few amazing projects on my own, such as a very smart Web Component framework and helpers for cloud-native architectures.

Contents

Table of Contents

Einleitung

  1. Vorwort
  2. Anmerkungen
  3. Tipp
  4. Warnung
  5. Information
  6. Über den Autor

1.Installationsprobleme

  1. 1.1NodeJs
  2. 1.2Probleme mit NPM
  3. 1.3Probleme mit Git
  4. 1.4Offline Installation

2.Die Bausteine des MEAN-Stack

  1. 2.1Der Paketmanager
  2. Windows-Repositories für Client-Bibliotheken
  3. 2.2Bibliotheken und Frameworks
  4. 2.3Prinzipien
  5. 2.4Zusammenfassung

3.Die ersten Schritte

  1. 3.1Elementares in JavaScript
  2. 3.2Installation und Konfiguration
  3. 3.3Initialisieren der Node-Applikation
  4. 3.4Die erste Applikation
  5. 3.5Pakete
  6. 3.6Eine lokale Applikation erstellen
  7. 3.7Eine Serverapplikation erstellen
  8. 3.8Umgang mit Anfragen

4.Server-Applikationen

  1. 4.1Die Architektur einer Server-Applikation
  2. 4.2Die vollständige Server-Applikation
  3. 4.3Zusammenfassung

5.Einführung in Express

  1. 5.1Installation
  2. 5.2Applikationsstruktur
  3. 5.3Routing in Node-Applikationen
  4. 5.4Eine Beispielapplikation

6.Einführung in Pug

  1. 6.1Übersicht
  2. 6.2Applikationsstruktur
  3. 6.3Pug-Views

7.Sprachbausteine von Pug

  1. 7.1Doctype
  2. 7.2Attribute
  3. 7.3Umgang mit CSS-Klassen
  4. 7.4Das Class-Literal
  5. 7.5ID-Literal
  6. 7.6Befehle
  7. 7.7JavaScript-Code
  8. 7.8Kommentare
  9. 7.9Erben von Vorlagen
  10. 7.10Filter
  11. 7.11Partielle Seiten
  12. 7.12Interpolationen
  13. 7.13Mixins (Funktionen)
  14. 7.14Umgang mit Text

8.Die Pug-API

  1. 8.1API-Optionen
  2. 8.2API-Funktionen

Anhang

  1. Konfiguration der Datei package.json
  2. Schnellübersicht
  3. Die API-Referenz für Express
  4. Die API des Routers
  5. Weitere Bibliotheken

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub