Leanpub Header

Skip to main content

Modulare Webentwicklung

Im Laufe der Lebenszeit eines Projektes wird häufig schlecht wartbarer Code geschrieben. Die Gründe dafür sind vielfältig. Dieses Buch soll Ihnen dabei helfen, solche Codemonster in Zukunft zu verhindern. Idealerweise beseitigen Sie auch die Gespenster der Vergangenheit.

Minimum price

$7.99

$8.00

You pay

$8.00

Author earns

$6.40
$

...Or Buy With Credits!

You can get credits monthly with a Reader Membership
PDF
EPUB
WEB
98
Pages
About

About

About the Book

Webseiten sind Gebilde, die aus vielen Einzelteilen bestehen. Diese kann man grundsätzlich unabhängig voneinander betrachten. CSS-Frameworks sind genau so aufgebaut. Allerdings muss man dafür sorgen, dass HTML und CSS diese Modularisierung auch erlauben. Dieses Buch handelt davon.

Share this book

Author

About the Author

Jens Grochtdreis

Jens Grochtdreis ist freier Webentwickler und Berater (grochtdreis.de). Er ist dabei auf moderne Frontendentwicklung, Responsive Webdesign und Frontend Architektur spezialisiert. Vor seiner Selbständigkeit (2009) arbeitete er zehn Jahre in Agenturen u.a. für eine sehr große deutsche Bank und einen großen Telekommunikationsanbieter. Im November 2019 beendete er seine Selbständigkeit und arbeitet seitdem als Frontend-Entwickler für den SWR, die zweitgrößte Rundfunkanstalt innerhalb der ARD.

Jens gründete 2005 die Webkrauts (webkrauts.de), um für ein besseres Medium zu streiten. Wenn er nicht gerade bloggt (grochtdreis.de/weblog), twittert (twitter.com/flocke), surft oder codet, dann entspannt er sich bei Comics, Krimis, hört Blues oder kocht.

Contents

Table of Contents

1.Vorgeplänkel

  1. Die Kaskade
  2. Die Spezifität
  3. Richtiger Umgang mit diesen Prinzipien

2.Webseiten modular entwickeln

  1. Eine Seite ist eine Ansammlung von Modulen
  2. Erst der Sinn, dann die Optik
  3. Layout und Design
  4. Der neue Blick auf das CSS
  5. Das Ziel: Modulbaukasten

3.Mit CSS gestalten

  1. Die berühmten “Best Practices”
  2. Aufpassen bei Verboten

4.Volle Kontrolle über den Code

  1. Inhaltspflege kommt von Redakteuren
  2. Ausnahmen sollten nicht die Regel werden

5.Jedes Modul ist eine eigene Welt

  1. Module identifizieren
  2. Am Namen sollst Du sie erkennen

6.Differenz zwischen Design und Realität

  1. Realistische Dummy-Inhalte nutzen
  2. Quellen für realistische Dummy-Inhalte

7.Unterschiedliche Arten zu stylen

8.Die objektorientierten Ansätze

  1. Objektorientiertes CSS und Semantik
  2. OOCSS
  3. SMACSS: Unterschiedliche Einzelteile des CSS
  4. BEM (Block, Element, Modifier)

9.Strikte Regeln können sinnvoll sein

  1. Sind Klassen wirklich klasse?
  2. Sind IDs wirklich böse?

10.Entkoppelung von HTML und CSS

  1. Eine Entkoppelung wird es nie geben
  2. Elemente dürfen direkt gestylt werden
  3. Best Practices statt absoluter Abstraktion
  4. Semantische Klassen
  5. Unterschiedliche Arten zu stylen

11.Mein modularer Ansatz

  1. Wähle Deine Waffen weise
  2. Einzelne HTML-Dateien
  3. Taskrunner
  4. Schnipsel im CSS dank Präprozessoren
  5. Module erstellen
  6. Kapselung der Module für sich selber
  7. Module auszeichnen
  8. Ein System erarbeiten, das alle intuitiv verstehen
  9. Arbeit in einer Pattern Library
  10. Lösung und Problem gleichermassen

12.Fazit und Ausblick

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