On Github drublic / kjs-components
Freelancer, Front-End Developer, noch Freiburg
und andere: github.com/drublic
Components?
Beispiele
Module selbst bauen
Module, Widget, …
Wikipedia:
Component-based software engineering is a branch of software engineering that emphasizes the separation of concerns in respect of the wide-ranging functionality available throughout a given software system.
und führt aus:
It is a reuse-based approach to defining, implementing and composing loosely coupled independent components into systems.
Aufteilung der Zuständigkeiten
Schwache Verzahnung
Unabhängig
Wiederverwendbar
Verschiede “Teile” einer Website
Ähnlich wie jQuery Plugins
Betrachtung ohne Kontext
Responsive
Bessere Verteilung innerhalb eines Teams
Schnellere Entwicklung
Leichtere Code-Updates
Große Websites (“wide-ranging functionality”)
Web applications
Style Guides
Small web projects?
Runterbrechen auf ein Minimum (?)
Flexibilität im Auge behalten
Markup
Styles
Functionality
User Interface Libraries
Forms, buttons, lists, messages, …
+ schnelle Entwicklung
+ einfache Wiederverwendbarkeit
- mehr Funktionalität als erwünscht
- DRY?
A package manager for the web
Automatisches management von Components
$ npm install -g bower
Einfaches Installieren
$ bower install css-modal
Eigene Git Repositories mit Bower managen
Components helfen mit der Spezifizität
Betrachtung ohne Kontext
Component Libraries
Component Based Development • KarlsruheJS - 18.09.2013 • Hans Chr. Reinl / @drublic