Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.
Shawn Wildermuth
Microsoft MVP, Author, and Speaker
https://wildermuth.com
@shawnwildermuth
Beyond Bower:
Strategies for A...
Who Am I?
Author, Instructor, Coach
Pluralsight Author
> 20 Courses to my name
http://shawnw.me/psauthor
Wilder Minds Trai...
BEYOND BOWER
What Bower
Was… Client-side Dependency Management
Repository for Dependencies
What Bower
Wasn’t…
Production Packaging for Dependencies
Library ManagerNode Package
Manager (NPM)
Yarn
Alternatives to Bower
Node Package
Manager
Pros:
Largest Repository
Actively Developed for Server-side
Venerable
Strong Ecosystem
Node Package
Manager
Cons:
Still need to solve Deployment
Needs Middleware for Dev-time
Demo
Bower to NPM
Yarn
Pros:
Layered over NPM
Uses NPM Repository
Improved Dependency Walking
Improved Performance
Deterministic Installs (l...
Yarn Cons:
Still need to solve Deployment
Separate installation (not just NPM pkg)
Owned by FB and may share usage info
Demo
Bower to Yarn
Library
Manager Pros:
Handles Deployment
Works well if you are VS centric
Great if you think npm/yarn are overkill
Library
Manager
Cons:
Does not manage dependencies
Uses CDNs and File System to find files
Demo
Bower to Libman
Hybrid
Approach?
Use LibMan and NPM?
Demo
Hybrid Approach
Takeaways…
Important Links:
My Blog: wildermuth.com
NPM: npmjs.com
Yarn: yarnpkg.com
LibMan: shawnw.me/corelibman
Beyond Bower: Strategies for ASP.NET Core Developers
Beyond Bower: Strategies for ASP.NET Core Developers
Nächste SlideShare
Wird geladen in …5
×

Beyond Bower: Strategies for ASP.NET Core Developers

102 Aufrufe

Veröffentlicht am

In this talk from Techorama Netherlands 2018, I show how to use NPM, Yarn, and other solutions for the newly defunct Bower package manager.

Veröffentlicht in: Technologie
  • Als Erste(r) kommentieren

  • Gehören Sie zu den Ersten, denen das gefällt!

Beyond Bower: Strategies for ASP.NET Core Developers

  1. 1. Shawn Wildermuth Microsoft MVP, Author, and Speaker https://wildermuth.com @shawnwildermuth Beyond Bower: Strategies for ASP.NET Core Developers
  2. 2. Who Am I? Author, Instructor, Coach Pluralsight Author > 20 Courses to my name http://shawnw.me/psauthor Wilder Minds Training Courses on Vue, Bootstrap 4 & Font Awesome http://shawnw.me/my-courses Making a Film Hello World Film http://helloworldfilm.com
  3. 3. BEYOND BOWER
  4. 4. What Bower Was… Client-side Dependency Management Repository for Dependencies
  5. 5. What Bower Wasn’t… Production Packaging for Dependencies
  6. 6. Library ManagerNode Package Manager (NPM) Yarn Alternatives to Bower
  7. 7. Node Package Manager Pros: Largest Repository Actively Developed for Server-side Venerable Strong Ecosystem
  8. 8. Node Package Manager Cons: Still need to solve Deployment Needs Middleware for Dev-time
  9. 9. Demo Bower to NPM
  10. 10. Yarn Pros: Layered over NPM Uses NPM Repository Improved Dependency Walking Improved Performance Deterministic Installs (lock files)
  11. 11. Yarn Cons: Still need to solve Deployment Separate installation (not just NPM pkg) Owned by FB and may share usage info
  12. 12. Demo Bower to Yarn
  13. 13. Library Manager Pros: Handles Deployment Works well if you are VS centric Great if you think npm/yarn are overkill
  14. 14. Library Manager Cons: Does not manage dependencies Uses CDNs and File System to find files
  15. 15. Demo Bower to Libman
  16. 16. Hybrid Approach? Use LibMan and NPM?
  17. 17. Demo Hybrid Approach
  18. 18. Takeaways… Important Links: My Blog: wildermuth.com NPM: npmjs.com Yarn: yarnpkg.com LibMan: shawnw.me/corelibman

×