Stefan, wir überlegen ob wir von Grunt auf Gulp wechseln sollten… Ja, die Trends zeigen, dass mehr nach Gulp als Grunt gesucht wird, die Technologie wirkt zukunftsträchtiger…. Und wir haben gerade gemerkt, dass wir schon ein Buch zu Grunt veröffentlichen …. Weiß nicht, ob das nötig ist, die Konzepte sind die gleichen, die Technologien sind ja eigentlich austauschbar Aha
0 0,75 1,5 2,25 3 Feb 15 Mar 15 Apr 15 Mai 15 Jun 15 Jul 15 Aug 15 Sep 15 Okt 15 Nov 15 Dez 15 Jan 16 Feb 16 ZEITVERTEILUNG IM ERSTEN SCHREIBJAHR Appendix A MEAP
• Getting Started With Gulp • The building blocks of Gulp • Gulp command-line interface • The local Gulp installation • The Gulpfile and Gulp plugins • Streams and the virtual file system • Readable and Writeable Streams • Transforming Data • The Virtual File System • Streams in Gulp • Our First Gulpfile • Creating a JavaScript bundle: The script task • Doing Quality checks: The test task • Compiling Less: The styles task • Summary • Setting up Gulp • The building blocks of Gulp • The Gulp Command Line Interface • The local Gulp installation • Creating Gulpfiles • A Gulp "Hello World" task • Dealing with streams • Readable and writeable streams with Gulp • Handling tasks with Gulp plugins • Transforming data • Changing the file structure • Chaining plugins • Summary
Gulpfile http://localhost:3000 localhost:3000 server Client 3. Websocket connection 2. Response with injection 1. Request File system Serves files Notifies of change Watched by Your Gulpfile watches over changes in your file system. Once a change occurs, Gulp notifies the server that a change has happened. BrowserSync, knowing of the files it serves, swaps the new contents in through the established websocket connection. No reload is seen, just the new contents. The client (browser) requests files from your server. The response is modified by the addition of a new JavaScript file, injecting a websocket connection to the server.
Insert a comma after Gulp. Second line write Gulp in capitals, change text to: “….” What do you refer to when speaking of the original Gulp task? OK OK
1. Writing takes a lot of time 2. Create a narrative 3. Just in time is better than on demand 4. Draw, then write 5. Let somebody proof-read 6. Marketing…