It takes care of some not so interesting, but important, aspects of your workflow (like reducing image size) so that you can focus on the building. Gulp is a JavaScript build tool that allows you to automate parts of your workflow to streamline your process.Minification, or minifying as I like to call it, is the act or process of removing unnecessary parts of source code to reduce size.If you don’t know what all of these words mean, fear not! I have some relevant and important links/descriptions below to help bring you up to speed. So today, I’m going to teach you how to use Gulp and an npm package called gulp-imagemin to reduce the size of your images on the fly. Images are great way to help tell stories and emphasize critical parts of our lives.īut if you’re like me you know that having a large image can seriously impact the performance of your site/app. You would be hard pressed to find a single page or application that doesn’t contain at least one image in some form or another. When poor-quality browser-sniffing code, feature-detection code, and vendor prefix usage block browsers from running code they could otherwise use just fine.Images are everywhere across the internet.These days, most cross-browser JavaScript problems are seen: Things have improved significantly since then modern browsers do a good job of supporting "classic JavaScript features", and the requirement to use such code has diminished as the requirement to support older browsers has lessened (although bear in mind that they have not gone away altogether). This is one of the main reasons why libraries like jQuery came into existence - to abstract away differences in browser implementations, so a developer could just use, for example, jQuery.ajax(), which would then handle the differences in the background. Solve common problems in your JavaScript code.Express Tutorial Part 7: Deploying to production.Express Tutorial Part 6: Working with forms.Express Tutorial Part 5: Displaying library data.Express Tutorial Part 4: Routes and controllers.Express Tutorial Part 3: Using a Database (with Mongoose).Express Tutorial Part 2: Creating a skeleton website.Express Tutorial: The Local Library website.Setting up a Node development environment.Express web framework (Node.js/JavaScript).Express Web Framework (Node.js/JavaScript).Django Tutorial Part 11: Deploying Django to production.Django Tutorial Part 10: Testing a Django web application.Django Tutorial Part 9: Working with forms.Django Tutorial Part 8: User authentication and permissions.Django Tutorial Part 7: Sessions framework.Django Tutorial Part 6: Generic list and detail views.Django Tutorial Part 5: Creating our home page.Django Tutorial Part 4: Django admin site.Django Tutorial Part 2: Creating a skeleton website.Django Tutorial: The Local Library website.Setting up a Django development environment.Server-side website programming first steps.Setting up your own test automation environment.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |