Alternatives to Liquid logo

Alternatives to Liquid

TypeScript, Handlebars.js, Mustache, Jinja, and Pug are the most popular alternatives and competitors to Liquid.
193
118
+ 1
0

What is Liquid and what are its top alternatives?

It is an open-source template language written in Ruby. It is the backbone of Shopify themes and is used to load dynamic content on storefronts. It is safe, customer facing template language for flexible web apps.
Liquid is a tool in the Templating Languages & Extensions category of a tech stack.
Liquid is an open source tool with 10.7K GitHub stars and 1.3K GitHub forks. Here’s a link to Liquid's open source repository on GitHub

Top Alternatives to Liquid

  • TypeScript
    TypeScript

    TypeScript is a language for application-scale JavaScript development. It's a typed superset of JavaScript that compiles to plain JavaScript. ...

  • Handlebars.js
    Handlebars.js

    Handlebars.js is an extension to the Mustache templating language created by Chris Wanstrath. Handlebars.js and Mustache are both logicless templating languages that keep the view and the code separated like we all know they should be. ...

  • Smarty
    Smarty

    Facilitating the separation of presentation (HTML/CSS) from application logic. This implies that PHP code is application logic, and is separated from the presentation ...

  • Mustache
    Mustache

    Mustache is a logic-less template syntax. It can be used for HTML, config files, source code - anything. It works by expanding tags in a template using values provided in a hash or object. We call it "logic-less" because there are no if statements, else clauses, or for loops. Instead there are only tags. Some tags are replaced with a value, some nothing, and others a series of values. ...

  • Jinja
    Jinja

    It is a full featured template engine for Python. It has full unicode support, an optional integrated sandboxed execution environment, widely used and BSD licensed. ...

  • Pug
    Pug

    This project was formerly known as "Jade." Pug is a high performance template engine heavily influenced by Haml and implemented with JavaScript for Node.js and browsers. ...

  • Hogan.js
    Hogan.js

    Hogan.js is a 3.4k JS templating engine developed at Twitter. Use it as a part of your asset packager to compile templates ahead of time or include it in your browser to handle dynamic templates. ...

  • Twig
    Twig

    It is a modern template engine for PHP. It is flexible, fast, and secure. Its syntax originates from Jinja and Django templates. ...

Liquid alternatives & related posts

TypeScript logo

TypeScript

96.4K
69.3K
499
A superset of JavaScript that compiles to clean JavaScript output
96.4K
69.3K
+ 1
499
PROS OF TYPESCRIPT
  • 173
    More intuitive and type safe javascript
  • 105
    Type safe
  • 79
    JavaScript superset
  • 48
    The best AltJS ever
  • 27
    Best AltJS for BackEnd
  • 15
    Powerful type system, including generics & JS features
  • 11
    Compile time errors
  • 11
    Nice and seamless hybrid of static and dynamic typing
  • 10
    Aligned with ES development for compatibility
  • 7
    Angular
  • 7
    Structural, rather than nominal, subtyping
  • 5
    Starts and ends with JavaScript
  • 1
    Garbage collection
CONS OF TYPESCRIPT
  • 5
    Code may look heavy and confusing
  • 4
    Hype

related TypeScript posts

Yshay Yaacobi

Our first experience with .NET core was when we developed our OSS feature management platform - Tweek (https://github.com/soluto/tweek). We wanted to create a solution that is able to run anywhere (super important for OSS), has excellent performance characteristics and can fit in a multi-container architecture. We decided to implement our rule engine processor in F# , our main service was implemented in C# and other components were built using JavaScript / TypeScript and Go.

Visual Studio Code worked really well for us as well, it worked well with all our polyglot services and the .Net core integration had great cross-platform developer experience (to be fair, F# was a bit trickier) - actually, each of our team members used a different OS (Ubuntu, macos, windows). Our production deployment ran for a time on Docker Swarm until we've decided to adopt Kubernetes with almost seamless migration process.

After our positive experience of running .Net core workloads in containers and developing Tweek's .Net services on non-windows machines, C# had gained back some of its popularity (originally lost to Node.js), and other teams have been using it for developing microservices, k8s sidecars (like https://github.com/Soluto/airbag), cli tools, serverless functions and other projects...

See more
Adebayo Akinlaja
Engineering Manager at Andela · | 30 upvotes · 3.2M views

I picked up an idea to develop and it was no brainer I had to go with React for the frontend. I was faced with challenges when it came to what component framework to use. I had worked extensively with Material-UI but I needed something different that would offer me wider range of well customized components (I became pretty slow at styling). I brought in Evergreen after several sampling and reads online but again, after several prototype development against Evergreen—since I was using TypeScript and I had to import custom Type, it felt exhaustive. After I validated Evergreen with the designs of the idea I was developing, I also noticed I might have to do a lot of styling. I later stumbled on Material Kit, the one specifically made for React . It was promising with beautifully crafted components, most of which fits into the designs pages I had on ground.

A major problem of Material Kit for me is it isn't written in TypeScript and there isn't any plans to support its TypeScript version. I rolled up my sleeve and started converting their components to TypeScript and if you'll ask me, I am still on it.

In summary, I used the Create React App with TypeScript support and I am spending some time converting Material Kit to TypeScript before I start developing against it. All of these components are going to be hosted on Bit.

If you feel I am crazy or I have gotten something wrong, I'll be willing to listen to your opinion. Also, if you want to have a share of whatever TypeScript version of Material Kit I end up coming up with, let me know.

See more
Handlebars.js logo

Handlebars.js

8.1K
3.2K
309
Minimal Templating on Steroids
8.1K
3.2K
+ 1
309
PROS OF HANDLEBARS.JS
  • 106
    Simple
  • 77
    Great templating language
  • 50
    Open source
  • 36
    Logicless
  • 20
    Integrates well into any codebase
  • 10
    Easy to create helper methods for complex scenarios
  • 7
    Created by Yehuda Katz
  • 2
    Easy For Fornt End Developers,learn backend
  • 1
    Awesome
CONS OF HANDLEBARS.JS
    Be the first to leave a con

    related Handlebars.js posts

    Smarty logo

    Smarty

    2.8K
    71
    0
    Template engine for PHP
    2.8K
    71
    + 1
    0
    PROS OF SMARTY
      Be the first to leave a pro
      CONS OF SMARTY
        Be the first to leave a con

        related Smarty posts

        Mustache logo

        Mustache

        2.2K
        413
        50
        Logic-less templates
        2.2K
        413
        + 1
        50
        PROS OF MUSTACHE
        • 29
          Dead simple templating
        • 12
          Open source
        • 8
          Small
        • 1
          Support in lots of languages
        CONS OF MUSTACHE
          Be the first to leave a con

          related Mustache posts

          Jinja logo

          Jinja

          1.8K
          284
          7
          Full featured template engine for Python
          1.8K
          284
          + 1
          7
          PROS OF JINJA
          • 7
            It is simple to use
          CONS OF JINJA
            Be the first to leave a con

            related Jinja posts

            I have learned both Python and JavaScript. I also tried my hand at Django. But i found it difficult to work with Django, on frontend its Jinja format is very confusing and limited. I have not tried Node.js yet and unsure which tool to go ahead with. I want an internship as soon as possible so please answer keeping that in mind.

            See more
            Pug logo

            Pug

            1.2K
            1.2K
            467
            Robust, elegant, feature rich template engine for nodejs
            1.2K
            1.2K
            + 1
            467
            PROS OF PUG
            • 138
              Elegant html
            • 90
              Great with nodejs
            • 59
              Open source
            • 59
              Very short syntax
            • 54
              Structured with indentation
            • 25
              Free
            • 6
              Really similar to Slim (from Ruby fame)
            • 6
              It's not HAML
            • 6
              Gulp
            • 5
              Clean syntax
            • 5
              Readable code
            • 5
              Easy setup
            • 5
              Difficult For Front End Developers,learn backend
            • 4
              Disdain for angled brackets
            CONS OF PUG
              Be the first to leave a con

              related Pug posts

              Hogan.js logo

              Hogan.js

              351
              56
              3
              A compiler for the Mustache templating language
              351
              56
              + 1
              3
              PROS OF HOGAN.JS
              • 3
                Lightweight
              CONS OF HOGAN.JS
                Be the first to leave a con

                related Hogan.js posts

                Twig logo

                Twig

                342
                154
                8
                A flexible, fast, and secure template engine
                342
                154
                + 1
                8
                PROS OF TWIG
                • 2
                  For both nodejs and php
                • 2
                  Gulp
                • 2
                  Native html, xml, txt etc
                • 2
                  Front to back with no efforts
                CONS OF TWIG
                  Be the first to leave a con

                  related Twig posts

                  I am consulting for a company that wants to move its current CubeCart e-commerce site to another PHP based platform like PrestaShop or Magento. I was interested in alternatives that utilize Node.js as the primary platform. I currently don't know PHP, but I have done full stack dev with Java, Spring, Thymeleaf, etc.. I am just unsure that learning a set of technologies not commonly used makes sense. For example, in PrestaShop, I would need to work with JavaScript better and learn PHP, Twig, and Bootstrap. It seems more cumbersome than a Node JS system, where the language syntax stays the same for the full stack. I am looking for thoughts and advice on the relevance of PHP skillset into the future AND whether the Node based e-commerce open source options can compete with Magento or Prestashop.

                  See more