Alternatives to Sass logo

Alternatives to Sass

Stylus, styled-components, PostCSS, Bootstrap, and Less are the most popular alternatives and competitors to Sass.
41.8K
31.2K
+ 1
3K

What is Sass and what are its top alternatives?

Sass is a popular CSS preprocessor that offers features like variables, nesting, mixins, and functions to help streamline and organize stylesheets. It helps improve the efficiency of coding by allowing reusable code snippets and maintaining consistency throughout the project. However, one limitation of Sass is the learning curve for beginners due to the syntax differences from regular CSS.

  1. Less: Less is a CSS preprocessor that offers features similar to Sass, such as variables, mixins, and nested rules. It is known for its ease of use and compatibility with existing CSS code. Pros include its simpler syntax compared to Sass, while cons include a smaller community and less extensive documentation.
  2. PostCSS: PostCSS is a tool that allows for transforming CSS with JavaScript plugins, offering flexibility and customizability in the processing of stylesheets. Key features include a wide range of plugins for various tasks and the ability to create custom plugins. Pros include its modular approach and performance optimizations, while cons may include a steeper learning curve for complex setups.
  3. Stylus: Stylus is a preprocessor with a minimalistic syntax that aims to be expressive and efficient. It allows for defining variables, mixins, and functions in a clean and concise manner. Pros include its simplicity and flexibility, while cons may include a smaller community compared to Sass.
  4. CSS Modules: CSS Modules is a way to locally scope CSS by default, avoiding global namespace clashes and improving maintainability of styles. It offers features like composition, local scope, and automatic vendor prefixing. Pros include improved encapsulation of styles and better modularization, while cons may include more complex setup compared to traditional preprocessors like Sass.
  5. Stylelint: Stylelint is a linting tool for CSS that helps enforce consistent coding conventions and detect errors in stylesheets. It can be used alongside any CSS preprocessor, including Sass, to improve code quality and maintainability. Pros include its ability to catch potential issues early on, while cons may include the initial setup and configuration overhead.
  6. CSS Nano: CSS Nano is a minification tool for CSS that helps optimize stylesheets by removing unnecessary characters and reducing file size. It offers features like minification, compression, and optimization of styles. Pros include improved performance and faster load times, while cons may include potential loss of readability in the minified code.
  7. Gulp: Gulp is a task runner tool that automates repetitive tasks in the development workflow, such as minification, compilation, and optimization of CSS and other assets. It can be used in conjunction with Sass to streamline the build process. Pros include its flexibility and extensibility through plugins, while cons may include a potentially steep learning curve for beginners.
  8. Grunt: Grunt is another popular task runner tool similar to Gulp, offering automation of tasks like Sass compilation, image optimization, and code minification. It provides a configuration-based approach to defining tasks in the build process. Pros include its wide range of plugins and community support, while cons may include a more verbose configuration compared to Gulp.
  9. Tailwind CSS: Tailwind CSS is a utility-first CSS framework that helps build custom designs without writing CSS from scratch. It offers a set of predefined utility classes for common styles and components. Pros include rapid prototyping and streamlined development process, while cons may include a departure from traditional CSS and potential bloating of stylesheets.
  10. BEM (Block Element Modifier): BEM is a naming convention for CSS classes that helps maintain a clear and structured codebase. It aims to improve readability, scalability, and maintainability of stylesheets by following a specific naming pattern. Pros include better organization and naming consistency, while cons may include the initial learning curve and potential verbosity in class names.

Top Alternatives to Sass

  • Stylus
    Stylus

    Stylus is a revolutionary new language, providing an efficient, dynamic, and expressive way to generate CSS. Supporting both an indented syntax and regular CSS style. ...

  • styled-components
    styled-components

    Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅 ...

  • PostCSS
    PostCSS

    PostCSS is a tool for transforming CSS with JS plugins. These plugins can support variables and mixins, transpile future CSS syntax, inline images, and more. ...

  • Bootstrap
    Bootstrap

    Bootstrap is the most popular HTML, CSS, and JS framework for developing responsive, mobile first projects on the web. ...

  • Less
    Less

    Less is a CSS pre-processor, meaning that it extends the CSS language, adding features that allow variables, mixins, functions and many other techniques that allow you to make CSS that is more maintainable, themable and extendable. ...

  • node-sass
    node-sass

    It is a library that provides binding for Node.js to LibSass, the C version of the popular stylesheet preprocessor, Sass. It allows you to natively compile .scss files to css at incredible speed and automatically via a connect middleware. ...

  • JavaScript
    JavaScript

    JavaScript is most known as the scripting language for Web pages, but used in many non-browser environments as well such as node.js or Apache CouchDB. It is a prototype-based, multi-paradigm scripting language that is dynamic,and supports object-oriented, imperative, and functional programming styles. ...

  • Git
    Git

    Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. ...

Sass alternatives & related posts

Stylus logo

Stylus

426
410
331
Expressive, robust, feature-rich CSS language built for nodejs
426
410
+ 1
331
PROS OF STYLUS
  • 69
    Simple
  • 54
    Indented syntax
  • 38
    Efficient
  • 33
    Built for node.js
  • 32
    Open source
  • 24
    Expressive
  • 21
    Maintainable
  • 17
    Feature-rich
  • 13
    Better than CS
  • 6
    Variables
  • 5
    Functions
  • 3
    @extend directive
  • 2
    Contempt for curly brackets
  • 2
    Very clean
  • 2
    Mixins
  • 2
    Is Easy
  • 2
    No colons, semi-colons or even curly braces
  • 1
    Its unique
  • 1
    Dynamic selectors
  • 1
    Scriptable
  • 1
    Easy Efficiently
  • 1
    Transparent
  • 1
    Supports orthogonal architecture
CONS OF STYLUS
    Be the first to leave a con

    related Stylus posts

    Dave Willenberg
    Founding Director at Detroit Technical English · | 7 upvotes · 33.7K views
    HTML Templates: a Pain in the Backend

    We chose Pug because writing raw HTML is about as enjoyable as a fart in a spacesuit, and writing decently-rendering HTML for enterprise email clients is a soul-sucking type of black magic.

    Pug takes HTML as a (...markdown) language out of the stack by using a simple, sane syntax to represent HTML in just JavaScript©. Piecing together what you need from any number of standalone - including functional - components is both delightfully easy, and easy to maintain.

    All you're really writing are exportable JavaScript functions that take a single Object parameter - once that concept takes hold, you'll quickly swear off angle brackets in favor of neatly indented and extensible e-mail, invoice, and reporting templates.

    There's a jstransformer filter for instant interop with just about every preprocessor ( Stylus , in our case) and file format out there. Pass that compiled HTML though Juice on Node.js and bam - rugged HTML-emails that hold up in even the wonkiest Lotus Notes clients.

    That the end result is 'just HTML' is the final cherry on top. Debugging needs only DevTools, and Puppeteer 's now all you need to create fancy-pants PDFs to your heart's content.

    See more
    awesomebanana2018
    Shared insights
    on
    PostCSSPostCSSStylusStylusSassSass

    Originally, I was going to start using Sass with Parcel, but then I learned about Stylus, which looked interesting because it can get the property values of something directly instead of through variables, and PostCSS, which looked interesting because you can customize your Pre/Post-processing. Which tool would you recommend?

    See more
    styled-components logo

    styled-components

    1.8K
    600
    12
    Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps...
    1.8K
    600
    + 1
    12
    PROS OF STYLED-COMPONENTS
    • 11
      Very easy to use and integrate
    • 1
      Huihui
    CONS OF STYLED-COMPONENTS
      Be the first to leave a con

      related styled-components posts

      Johnny Bell

      I was building a personal project that I needed to store items in a real time database. I am more comfortable with my Frontend skills than my backend so I didn't want to spend time building out anything in Ruby or Go.

      I stumbled on Firebase by #Google, and it was really all I needed. It had realtime data, an area for storing file uploads and best of all for the amount of data I needed it was free!

      I built out my application using tools I was familiar with, React for the framework, Redux.js to manage my state across components, and styled-components for the styling.

      Now as this was a project I was just working on in my free time for fun I didn't really want to pay for hosting. I did some research and I found Netlify. I had actually seen them at #ReactRally the year before and deployed a Gatsby site to Netlify already.

      Netlify was very easy to setup and link to my GitHub account you select a repo and pretty much with very little configuration you have a live site that will deploy every time you push to master.

      With the selection of these tools I was able to build out my application, connect it to a realtime database, and deploy to a live environment all with $0 spent.

      If you're looking to build out a small app I suggest giving these tools a go as you can get your idea out into the real world for absolutely no cost.

      See more
      Vishal Narkhede
      Javascript Developer at getStream.io · | 19 upvotes · 438.1K views

      Recently, the team at Stream published a React Native SDK for our new Chat by Stream product. React Native brings the power of JavaScript to the world of mobile development, making it easy to develop apps for multiple platforms. We decided to publish two different endpoints for the SDK – Expo and React Native (non-expo), to avoid the hurdle and setup of using the Expo library in React Native only projects on the consumer side.

      The capability of style customization is one a large deal breaker for frontend SDKs. To solve this, we decided to use styled-components in our SDK, which makes it easy to add support for themes on top of our existing components. This practice reduces the maintenance effort for stylings of custom components and keeps the overall codebase clean.

      For module bundling, we decided to go with Rollup.js instead of Webpack due to its simplicity and performance in the area of library/module providers. We are using Babel for transpiling code, enabling our team to use JavaScript's next-generation features. Additionally, we are using the React Styleguidist component documentation, which makes documenting the React Native code a breeze.

      See more
      PostCSS logo

      PostCSS

      1.3K
      538
      49
      Transform CSS with JS plugins
      1.3K
      538
      + 1
      49
      PROS OF POSTCSS
      • 21
        The "babel" of CSS
      • 15
        Customizable
      • 8
        Autoprefixer
      • 2
        Variables
      • 1
        Mixins
      • 1
        CSS MQPacker
      • 1
        PostCSS Flexbugs Fixes
      CONS OF POSTCSS
        Be the first to leave a con

        related PostCSS posts

        Dmitry Mukhin
        Engineer at Uploadcare · | 25 upvotes · 2.4M views

        Simple controls over complex technologies, as we put it, wouldn't be possible without neat UIs for our user areas including start page, dashboard, settings, and docs.

        Initially, there was Django. Back in 2011, considering our Python-centric approach, that was the best choice. Later, we realized we needed to iterate on our website more quickly. And this led us to detaching Django from our front end. That was when we decided to build an SPA.

        For building user interfaces, we're currently using React as it provided the fastest rendering back when we were building our toolkit. It’s worth mentioning Uploadcare is not a front-end-focused SPA: we aren’t running at high levels of complexity. If it were, we’d go with Ember.js.

        However, there's a chance we will shift to the faster Preact, with its motto of using as little code as possible, and because it makes more use of browser APIs. One of our future tasks for our front end is to configure our Webpack bundler to split up the code for different site sections. For styles, we use PostCSS along with its plugins such as cssnano which minifies all the code.

        All that allows us to provide a great user experience and quickly implement changes where they are needed with as little code as possible.

        See more

        ReactQL is a React + GraphQL front-end starter kit. #JSX is a natural way to think about building UI, and it renders to pure #HTML in the browser and on the server, making it trivial to build server-rendered Single Page Apps. GraphQL via Apollo was chosen for the data layer; #GraphQL makes it simple to request just the data your app needs, and #Apollo takes care of communicating with your API (written in any language; doesn't have to be JavaScript!), caching, and rendering to #React.

        ReactQL is written in TypeScript to provide full types/Intellisense, and pick up hard-to-diagnose goofs that might later show up at runtime. React makes heavy use of Webpack 4 to handle transforming your code to an optimised client-side bundle, and in throws back just enough code needed for the initial render, while seamlessly handling import statements asynchronously as needed, making the payload your user downloads ultimately much smaller than trying to do it by hand.

        React Helmet was chosen to handle <head> content, because it works universally, making it easy to throw back the correct <title> and other tags on the initial render, as well as inject new tags for subsequent client-side views.

        styled-components, Sass, Less and PostCSS were added to give developers a choice of whether to build styles purely in React / JavaScript, or whether to defer to a #css #preprocessor. This is especially useful for interop with UI frameworks like Bootstrap, Semantic UI, Foundation, etc - ReactQL lets you mix and match #css and renders to both a static .css file during bundling as well as generates per-page <style> tags when using #StyledComponents.

        React Router handles routing, because it works both on the server and in the client. ReactQL customises it further by capturing non-200 responses on the server, redirecting or throwing back custom 404 pages as needed.

        Koa is the web server that handles all incoming HTTP requests, because it's fast (TTFB < 5ms, even after fully rendering React), and its natively #async, making it easy to async/await inside routes and middleware.

        See more
        Bootstrap logo

        Bootstrap

        55.3K
        13.1K
        7.7K
        Simple and flexible HTML, CSS, and JS for popular UI components and interactions
        55.3K
        13.1K
        + 1
        7.7K
        PROS OF BOOTSTRAP
        • 1.6K
          Responsiveness
        • 1.2K
          UI components
        • 943
          Consistent
        • 779
          Great docs
        • 677
          Flexible
        • 472
          HTML, CSS, and JS framework
        • 411
          Open source
        • 375
          Widely used
        • 368
          Customizable
        • 242
          HTML framework
        • 77
          Easy setup
        • 77
          Mobile first
        • 77
          Popular
        • 58
          Great grid system
        • 52
          Great community
        • 38
          Future compatibility
        • 34
          Integration
        • 28
          Very powerful foundational front-end framework
        • 24
          Standard
        • 23
          Javascript plugins
        • 19
          Build faster prototypes
        • 18
          Preprocessors
        • 14
          Grids
        • 9
          Good for a person who hates CSS
        • 8
          Clean
        • 4
          Rapid development
        • 4
          Easy to setup and learn
        • 4
          Love it
        • 3
          Great and easy to use
        • 2
          Powerful grid system, Rapid development, Customization
        • 2
          Boostrap
        • 2
          Devin schumacher rules
        • 2
          Community
        • 2
          Provide angular wrapper
        • 2
          Great and easy
        • 2
          Great customer support
        • 2
          Popularity
        • 2
          Clean and quick frontend development
        • 2
          Great and easy to make a responsive website
        • 2
          Sprzedam opla
        • 2
          Easy to use
        • 1
          Not tied to jQuery
        • 1
          Responsive design
        • 1
          Love the classes?
        • 1
          Painless front end development
        • 1
          Design Agnostic
        • 1
          So clean and simple
        • 1
          Numerous components
        • 1
          Recognizable
        • 1
          Intuitive
        • 1
          Material-ui
        • 1
          Felxible, comfortable, user-friendly
        • 1
          Poop
        • 1
          Pre-Defined components
        • 1
          It's fast
        • 1
          Geo
        • 1
          The fame
        • 1
          Easy setup2
        CONS OF BOOTSTRAP
        • 26
          Javascript is tied to jquery
        • 16
          Every site uses the defaults
        • 15
          Grid system break points aren't ideal
        • 14
          Too much heavy decoration in default look
        • 8
          Verbose styles
        • 1
          Super heavy

        related Bootstrap posts

        Ganesa Vijayakumar
        Full Stack Coder | Technical Lead · | 19 upvotes · 4.5M views

        I'm planning to create a web application and also a mobile application to provide a very good shopping experience to the end customers. Shortly, my application will be aggregate the product details from difference sources and giving a clear picture to the user that when and where to buy that product with best in Quality and cost.

        I have planned to develop this in many milestones for adding N number of features and I have picked my first part to complete the core part (aggregate the product details from different sources).

        As per my work experience and knowledge, I have chosen the followings stacks to this mission.

        UI: I would like to develop this application using React, React Router and React Native since I'm a little bit familiar on this and also most importantly these will help on developing both web and mobile apps. In addition, I'm gonna use the stacks JavaScript, jQuery, jQuery UI, jQuery Mobile, Bootstrap wherever required.

        Service: I have planned to use Java as the main business layer language as I have 7+ years of experience on this I believe I can do better work using Java than other languages. In addition, I'm thinking to use the stacks Node.js.

        Database and ORM: I'm gonna pick MySQL as DB and Hibernate as ORM since I have a piece of good knowledge and also work experience on this combination.

        Search Engine: I need to deal with a large amount of product data and it's in-detailed info to provide enough details to end user at the same time I need to focus on the performance area too. so I have decided to use Solr as a search engine for product search and suggestions. In addition, I'm thinking to replace Solr by Elasticsearch once explored/reviewed enough about Elasticsearch.

        Host: As of now, my plan to complete the application with decent features first and deploy it in a free hosting environment like Docker and Heroku and then once it is stable then I have planned to use the AWS products Amazon S3, EC2, Amazon RDS and Amazon Route 53. I'm not sure about Microsoft Azure that what is the specialty in it than Heroku and Amazon EC2 Container Service. Anyhow, I will do explore these once again and pick the best suite one for my requirement once I reached this level.

        Build and Repositories: I have decided to choose Apache Maven and Git as these are my favorites and also so popular on respectively build and repositories.

        Additional Utilities :) - I would like to choose Codacy for code review as their Startup plan will be very helpful to this application. I'm already experienced with Google CheckStyle and SonarQube even I'm looking something on Codacy.

        Happy Coding! Suggestions are welcome! :)

        Thanks, Ganesa

        See more
        Francisco Quintero
        Tech Lead at Dev As Pros · | 13 upvotes · 1.6M views

        For Etom, a side project. We wanted to test an idea for a future and bigger project.

        What Etom does is searching places. Right now, it leverages the Google Maps API. For that, we found a React component that makes this integration easy because using Google Maps API is not possible via normal API requests.

        You kind of need a map to work as a proxy between the software and Google Maps API.

        We hate configuration(coming from Rails world) so also decided to use Create React App because setting up a React app, with all the toys, it's a hard job.

        Thanks to all the people behind Create React App it's easier to start any React application.

        We also chose a module called Reactstrap which is Bootstrap UI in React components.

        An important thing in this side project(and in the bigger project plan) is to measure visitor through out the app. For that we researched and found that Keen was a good choice(very good free tier limits) and also it is very simple to setup and real simple to send data to

        Slack and Trello are our defaults tools to comunicate ideas and discuss topics, so, no brainer using them as well for this project.

        See more
        Less logo

        Less

        2.5K
        1.2K
        930
        The dynamic stylesheet language
        2.5K
        1.2K
        + 1
        930
        PROS OF LESS
        • 215
          Better than css
        • 177
          Variables
        • 141
          Mixins
        • 99
          Maintainable
        • 79
          Used by bootstrap
        • 55
          Open source
        • 50
          Extendable
        • 43
          Functions
        • 39
          Dynamic
        • 30
          Fast
        • 2
          CSS is valid LESS, very easy to pick up
        CONS OF LESS
          Be the first to leave a con

          related Less posts

          ReactQL is a React + GraphQL front-end starter kit. #JSX is a natural way to think about building UI, and it renders to pure #HTML in the browser and on the server, making it trivial to build server-rendered Single Page Apps. GraphQL via Apollo was chosen for the data layer; #GraphQL makes it simple to request just the data your app needs, and #Apollo takes care of communicating with your API (written in any language; doesn't have to be JavaScript!), caching, and rendering to #React.

          ReactQL is written in TypeScript to provide full types/Intellisense, and pick up hard-to-diagnose goofs that might later show up at runtime. React makes heavy use of Webpack 4 to handle transforming your code to an optimised client-side bundle, and in throws back just enough code needed for the initial render, while seamlessly handling import statements asynchronously as needed, making the payload your user downloads ultimately much smaller than trying to do it by hand.

          React Helmet was chosen to handle <head> content, because it works universally, making it easy to throw back the correct <title> and other tags on the initial render, as well as inject new tags for subsequent client-side views.

          styled-components, Sass, Less and PostCSS were added to give developers a choice of whether to build styles purely in React / JavaScript, or whether to defer to a #css #preprocessor. This is especially useful for interop with UI frameworks like Bootstrap, Semantic UI, Foundation, etc - ReactQL lets you mix and match #css and renders to both a static .css file during bundling as well as generates per-page <style> tags when using #StyledComponents.

          React Router handles routing, because it works both on the server and in the client. ReactQL customises it further by capturing non-200 responses on the server, redirecting or throwing back custom 404 pages as needed.

          Koa is the web server that handles all incoming HTTP requests, because it's fast (TTFB < 5ms, even after fully rendering React), and its natively #async, making it easy to async/await inside routes and middleware.

          See more
          Julien DeFrance
          Principal Software Engineer at Tophatter · | 6 upvotes · 125.4K views
          Shared insights
          on
          BootstrapBootstrapLessLessSassSass
          at

          Which #GridFramework to use? My team and I closed on Bootstrap !

          On a related note and as far as stylesheets go, we had to chose between #CSS, #SCSS, #Sass , Less Finally opted for Sass

          As syntactically awesome as the name announces it.

          See more
          node-sass logo

          node-sass

          89
          145
          0
          Node.js bindings to libsass
          89
          145
          + 1
          0
          PROS OF NODE-SASS
            Be the first to leave a pro
            CONS OF NODE-SASS
            • 1
              Needs Microsoft BuildTools and Python 2.7 to install

            related node-sass posts

            JavaScript logo

            JavaScript

            349.9K
            266.4K
            8.1K
            Lightweight, interpreted, object-oriented language with first-class functions
            349.9K
            266.4K
            + 1
            8.1K
            PROS OF JAVASCRIPT
            • 1.7K
              Can be used on frontend/backend
            • 1.5K
              It's everywhere
            • 1.2K
              Lots of great frameworks
            • 896
              Fast
            • 745
              Light weight
            • 425
              Flexible
            • 392
              You can't get a device today that doesn't run js
            • 286
              Non-blocking i/o
            • 236
              Ubiquitousness
            • 191
              Expressive
            • 55
              Extended functionality to web pages
            • 49
              Relatively easy language
            • 46
              Executed on the client side
            • 30
              Relatively fast to the end user
            • 25
              Pure Javascript
            • 21
              Functional programming
            • 15
              Async
            • 13
              Full-stack
            • 12
              Setup is easy
            • 12
              Its everywhere
            • 11
              JavaScript is the New PHP
            • 11
              Because I love functions
            • 10
              Like it or not, JS is part of the web standard
            • 9
              Can be used in backend, frontend and DB
            • 9
              Expansive community
            • 9
              Future Language of The Web
            • 9
              Easy
            • 8
              No need to use PHP
            • 8
              For the good parts
            • 8
              Can be used both as frontend and backend as well
            • 8
              Everyone use it
            • 8
              Most Popular Language in the World
            • 8
              Easy to hire developers
            • 7
              Love-hate relationship
            • 7
              Powerful
            • 7
              Photoshop has 3 JS runtimes built in
            • 7
              Evolution of C
            • 7
              Popularized Class-Less Architecture & Lambdas
            • 7
              Agile, packages simple to use
            • 7
              Supports lambdas and closures
            • 6
              1.6K Can be used on frontend/backend
            • 6
              It's fun
            • 6
              Hard not to use
            • 6
              Nice
            • 6
              Client side JS uses the visitors CPU to save Server Res
            • 6
              Versitile
            • 6
              It let's me use Babel & Typescript
            • 6
              Easy to make something
            • 6
              Its fun and fast
            • 6
              Can be used on frontend/backend/Mobile/create PRO Ui
            • 5
              Function expressions are useful for callbacks
            • 5
              What to add
            • 5
              Client processing
            • 5
              Everywhere
            • 5
              Scope manipulation
            • 5
              Stockholm Syndrome
            • 5
              Promise relationship
            • 5
              Clojurescript
            • 4
              Because it is so simple and lightweight
            • 4
              Only Programming language on browser
            • 1
              Hard to learn
            • 1
              Test
            • 1
              Test2
            • 1
              Easy to understand
            • 1
              Not the best
            • 1
              Easy to learn
            • 1
              Subskill #4
            • 0
              Hard 彤
            CONS OF JAVASCRIPT
            • 22
              A constant moving target, too much churn
            • 20
              Horribly inconsistent
            • 15
              Javascript is the New PHP
            • 9
              No ability to monitor memory utilitization
            • 8
              Shows Zero output in case of ANY error
            • 7
              Thinks strange results are better than errors
            • 6
              Can be ugly
            • 3
              No GitHub
            • 2
              Slow

            related JavaScript posts

            Zach Holman

            Oof. I have truly hated JavaScript for a long time. Like, for over twenty years now. Like, since the Clinton administration. It's always been a nightmare to deal with all of the aspects of that silly language.

            But wowza, things have changed. Tooling is just way, way better. I'm primarily web-oriented, and using React and Apollo together the past few years really opened my eyes to building rich apps. And I deeply apologize for using the phrase rich apps; I don't think I've ever said such Enterprisey words before.

            But yeah, things are different now. I still love Rails, and still use it for a lot of apps I build. But it's that silly rich apps phrase that's the problem. Users have way more comprehensive expectations than they did even five years ago, and the JS community does a good job at building tools and tech that tackle the problems of making heavy, complicated UI and frontend work.

            Obviously there's a lot of things happening here, so just saying "JavaScript isn't terrible" might encompass a huge amount of libraries and frameworks. But if you're like me, yeah, give things another shot- I'm somehow not hating on JavaScript anymore and... gulp... I kinda love it.

            See more
            Conor Myhrvold
            Tech Brand Mgr, Office of CTO at Uber · | 44 upvotes · 9.6M views

            How Uber developed the open source, end-to-end distributed tracing Jaeger , now a CNCF project:

            Distributed tracing is quickly becoming a must-have component in the tools that organizations use to monitor their complex, microservice-based architectures. At Uber, our open source distributed tracing system Jaeger saw large-scale internal adoption throughout 2016, integrated into hundreds of microservices and now recording thousands of traces every second.

            Here is the story of how we got here, from investigating off-the-shelf solutions like Zipkin, to why we switched from pull to push architecture, and how distributed tracing will continue to evolve:

            https://eng.uber.com/distributed-tracing/

            (GitHub Pages : https://www.jaegertracing.io/, GitHub: https://github.com/jaegertracing/jaeger)

            Bindings/Operator: Python Java Node.js Go C++ Kubernetes JavaScript OpenShift C# Apache Spark

            See more
            Git logo

            Git

            288.8K
            173.7K
            6.6K
            Fast, scalable, distributed revision control system
            288.8K
            173.7K
            + 1
            6.6K
            PROS OF GIT
            • 1.4K
              Distributed version control system
            • 1.1K
              Efficient branching and merging
            • 959
              Fast
            • 845
              Open source
            • 726
              Better than svn
            • 368
              Great command-line application
            • 306
              Simple
            • 291
              Free
            • 232
              Easy to use
            • 222
              Does not require server
            • 27
              Distributed
            • 22
              Small & Fast
            • 18
              Feature based workflow
            • 15
              Staging Area
            • 13
              Most wide-spread VSC
            • 11
              Role-based codelines
            • 11
              Disposable Experimentation
            • 7
              Frictionless Context Switching
            • 6
              Data Assurance
            • 5
              Efficient
            • 4
              Just awesome
            • 3
              Github integration
            • 3
              Easy branching and merging
            • 2
              Compatible
            • 2
              Flexible
            • 2
              Possible to lose history and commits
            • 1
              Rebase supported natively; reflog; access to plumbing
            • 1
              Light
            • 1
              Team Integration
            • 1
              Fast, scalable, distributed revision control system
            • 1
              Easy
            • 1
              Flexible, easy, Safe, and fast
            • 1
              CLI is great, but the GUI tools are awesome
            • 1
              It's what you do
            • 0
              Phinx
            CONS OF GIT
            • 16
              Hard to learn
            • 11
              Inconsistent command line interface
            • 9
              Easy to lose uncommitted work
            • 7
              Worst documentation ever possibly made
            • 5
              Awful merge handling
            • 3
              Unexistent preventive security flows
            • 3
              Rebase hell
            • 2
              When --force is disabled, cannot rebase
            • 2
              Ironically even die-hard supporters screw up badly
            • 1
              Doesn't scale for big data

            related Git posts

            Simon Reymann
            Senior Fullstack Developer at QUANTUSflow Software GmbH · | 30 upvotes · 9M views

            Our whole DevOps stack consists of the following tools:

            • GitHub (incl. GitHub Pages/Markdown for Documentation, GettingStarted and HowTo's) for collaborative review and code management tool
            • Respectively Git as revision control system
            • SourceTree as Git GUI
            • Visual Studio Code as IDE
            • CircleCI for continuous integration (automatize development process)
            • Prettier / TSLint / ESLint as code linter
            • SonarQube as quality gate
            • Docker as container management (incl. Docker Compose for multi-container application management)
            • VirtualBox for operating system simulation tests
            • Kubernetes as cluster management for docker containers
            • Heroku for deploying in test environments
            • nginx as web server (preferably used as facade server in production environment)
            • SSLMate (using OpenSSL) for certificate management
            • Amazon EC2 (incl. Amazon S3) for deploying in stage (production-like) and production environments
            • PostgreSQL as preferred database system
            • Redis as preferred in-memory database/store (great for caching)

            The main reason we have chosen Kubernetes over Docker Swarm is related to the following artifacts:

            • Key features: Easy and flexible installation, Clear dashboard, Great scaling operations, Monitoring is an integral part, Great load balancing concepts, Monitors the condition and ensures compensation in the event of failure.
            • Applications: An application can be deployed using a combination of pods, deployments, and services (or micro-services).
            • Functionality: Kubernetes as a complex installation and setup process, but it not as limited as Docker Swarm.
            • Monitoring: It supports multiple versions of logging and monitoring when the services are deployed within the cluster (Elasticsearch/Kibana (ELK), Heapster/Grafana, Sysdig cloud integration).
            • Scalability: All-in-one framework for distributed systems.
            • Other Benefits: Kubernetes is backed by the Cloud Native Computing Foundation (CNCF), huge community among container orchestration tools, it is an open source and modular tool that works with any OS.
            See more
            Tymoteusz Paul
            Devops guy at X20X Development LTD · | 23 upvotes · 8M views

            Often enough I have to explain my way of going about setting up a CI/CD pipeline with multiple deployment platforms. Since I am a bit tired of yapping the same every single time, I've decided to write it up and share with the world this way, and send people to read it instead ;). I will explain it on "live-example" of how the Rome got built, basing that current methodology exists only of readme.md and wishes of good luck (as it usually is ;)).

            It always starts with an app, whatever it may be and reading the readmes available while Vagrant and VirtualBox is installing and updating. Following that is the first hurdle to go over - convert all the instruction/scripts into Ansible playbook(s), and only stopping when doing a clear vagrant up or vagrant reload we will have a fully working environment. As our Vagrant environment is now functional, it's time to break it! This is the moment to look for how things can be done better (too rigid/too lose versioning? Sloppy environment setup?) and replace them with the right way to do stuff, one that won't bite us in the backside. This is the point, and the best opportunity, to upcycle the existing way of doing dev environment to produce a proper, production-grade product.

            I should probably digress here for a moment and explain why. I firmly believe that the way you deploy production is the same way you should deploy develop, shy of few debugging-friendly setting. This way you avoid the discrepancy between how production work vs how development works, which almost always causes major pains in the back of the neck, and with use of proper tools should mean no more work for the developers. That's why we start with Vagrant as developer boxes should be as easy as vagrant up, but the meat of our product lies in Ansible which will do meat of the work and can be applied to almost anything: AWS, bare metal, docker, LXC, in open net, behind vpn - you name it.

            We must also give proper consideration to monitoring and logging hoovering at this point. My generic answer here is to grab Elasticsearch, Kibana, and Logstash. While for different use cases there may be better solutions, this one is well battle-tested, performs reasonably and is very easy to scale both vertically (within some limits) and horizontally. Logstash rules are easy to write and are well supported in maintenance through Ansible, which as I've mentioned earlier, are at the very core of things, and creating triggers/reports and alerts based on Elastic and Kibana is generally a breeze, including some quite complex aggregations.

            If we are happy with the state of the Ansible it's time to move on and put all those roles and playbooks to work. Namely, we need something to manage our CI/CD pipelines. For me, the choice is obvious: TeamCity. It's modern, robust and unlike most of the light-weight alternatives, it's transparent. What I mean by that is that it doesn't tell you how to do things, doesn't limit your ways to deploy, or test, or package for that matter. Instead, it provides a developer-friendly and rich playground for your pipelines. You can do most the same with Jenkins, but it has a quite dated look and feel to it, while also missing some key functionality that must be brought in via plugins (like quality REST API which comes built-in with TeamCity). It also comes with all the common-handy plugins like Slack or Apache Maven integration.

            The exact flow between CI and CD varies too greatly from one application to another to describe, so I will outline a few rules that guide me in it: 1. Make build steps as small as possible. This way when something breaks, we know exactly where, without needing to dig and root around. 2. All security credentials besides development environment must be sources from individual Vault instances. Keys to those containers should exist only on the CI/CD box and accessible by a few people (the less the better). This is pretty self-explanatory, as anything besides dev may contain sensitive data and, at times, be public-facing. Because of that appropriate security must be present. TeamCity shines in this department with excellent secrets-management. 3. Every part of the build chain shall consume and produce artifacts. If it creates nothing, it likely shouldn't be its own build. This way if any issue shows up with any environment or version, all developer has to do it is grab appropriate artifacts to reproduce the issue locally. 4. Deployment builds should be directly tied to specific Git branches/tags. This enables much easier tracking of what caused an issue, including automated identifying and tagging the author (nothing like automated regression testing!).

            Speaking of deployments, I generally try to keep it simple but also with a close eye on the wallet. Because of that, I am more than happy with AWS or another cloud provider, but also constantly peeking at the loads and do we get the value of what we are paying for. Often enough the pattern of use is not constantly erratic, but rather has a firm baseline which could be migrated away from the cloud and into bare metal boxes. That is another part where this approach strongly triumphs over the common Docker and CircleCI setup, where you are very much tied in to use cloud providers and getting out is expensive. Here to embrace bare-metal hosting all you need is a help of some container-based self-hosting software, my personal preference is with Proxmox and LXC. Following that all you must write are ansible scripts to manage hardware of Proxmox, similar way as you do for Amazon EC2 (ansible supports both greatly) and you are good to go. One does not exclude another, quite the opposite, as they can live in great synergy and cut your costs dramatically (the heavier your base load, the bigger the savings) while providing production-grade resiliency.

            See more