Alternatives to Jinja2 logo
Django, Flask, TypeScript, Handlebars.js, and Mustache are the most popular alternatives and competitors to Jinja2.
132
96
+ 1
5

What is Jinja2?

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.
Jinja2 is a tool in the Templating Languages & Extensions category of a tech stack.
Jinja2 is an open source tool with 6.5K GitHub stars and 1.3K GitHub forks. Here’s a link to Jinja2's open source repository on GitHub

Jinja2 alternatives & related posts

Django logo

Django

7.3K
5.2K
2.8K
7.3K
5.2K
+ 1
2.8K
The Web framework for perfectionists with deadlines
Django logo
VS
Jinja2 logo
Compare Django vs Jinja2
Django logo
Django
VS
Jinja2 logo
Jinja2

related Django posts

Dmitry Mukhin
Dmitry Mukhin
at Uploadcare · | 22 upvotes · 114.6K views
atUploadcareUploadcare
PostCSS
PostCSS
Preact
Preact
Ember.js
Ember.js
React
React
Python
Python
Django
Django

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
Python
Python
Django
Django
JavaScript
JavaScript
Node.js
Node.js

Django or NodeJS? Hi, I’m thinking about which software I should use for my web-app. What about Node.js or Django for the back-end? I want to create an online preparation course for the final school exams in my country. At the beginning for maths. The course should contain tutorials and a lot of exercises of different types. E.g. multiple choice, user text/number input and drawing tasks. The exercises should change (different levels) with the learning progress. Wrong questions should asked again with different numbers. I also want a score system and statistics. So far, I have got only limited web development skills. (some HTML, CSS, Bootstrap and Wordpress). I don’t know JavaScript or Python.

Possible pros for Python / Django: - easy syntax, easier to learn for me as a beginner - fast development, earlier release - libraries for mathematical and scientific computation

Possible pros for JavaScript / Node.js: - great performance, better choice for real time applications: user should get the answer for a question quickly

Which software would you use in my case? Are my arguments for Python/NodeJS right? Which kind of database would you use?

Thank you for your answer!

Node.js JavaScript Django Python

See more
Flask logo

Flask

3.9K
3K
1.1K
3.9K
3K
+ 1
1.1K
a microframework for Python based on Werkzeug, Jinja 2 and good intentions.
Flask logo
VS
Jinja2 logo
Compare Flask vs Jinja2
Flask logo
Flask
VS
Jinja2 logo
Jinja2

related Flask posts

Praveen Mooli
Praveen Mooli
Technical Leader at Taylor and Francis · | 11 upvotes · 33K views
MongoDB Atlas
MongoDB Atlas
Amazon S3
Amazon S3
Amazon DynamoDB
Amazon DynamoDB
Amazon RDS
Amazon RDS
Serverless
Serverless
Docker
Docker
Terraform
Terraform
Travis CI
Travis CI
GitHub
GitHub
RxJS
RxJS
Angular 2
Angular 2
AWS Lambda
AWS Lambda
Amazon SQS
Amazon SQS
Amazon SNS
Amazon SNS
Amazon Kinesis Firehose
Amazon Kinesis Firehose
Amazon Kinesis
Amazon Kinesis
Flask
Flask
Python
Python
ExpressJS
ExpressJS
Node.js
Node.js
Spring Boot
Spring Boot
Java
Java
#Data
#Devops
#Webapps
#Eventsourcingframework
#Microservices
#Backend

We are in the process of building a modern content platform to deliver our content through various channels. We decided to go with Microservices architecture as we wanted scale. Microservice architecture style is an approach to developing an application as a suite of small independently deployable services built around specific business capabilities. You can gain modularity, extensive parallelism and cost-effective scaling by deploying services across many distributed servers. Microservices modularity facilitates independent updates/deployments, and helps to avoid single point of failure, which can help prevent large-scale outages. We also decided to use Event Driven Architecture pattern which is a popular distributed asynchronous architecture pattern used to produce highly scalable applications. The event-driven architecture is made up of highly decoupled, single-purpose event processing components that asynchronously receive and process events.

To build our #Backend capabilities we decided to use the following: 1. #Microservices - Java with Spring Boot , Node.js with ExpressJS and Python with Flask 2. #Eventsourcingframework - Amazon Kinesis , Amazon Kinesis Firehose , Amazon SNS , Amazon SQS, AWS Lambda 3. #Data - Amazon RDS , Amazon DynamoDB , Amazon S3 , MongoDB Atlas

To build #Webapps we decided to use Angular 2 with RxJS

#Devops - GitHub , Travis CI , Terraform , Docker , Serverless

See more
Pierre Chapuis
Pierre Chapuis
at Pierre Chapuis · | 5 upvotes · 26.7K views
atChilliChilli
Gunicorn
Gunicorn
Python
Python
SQLAlchemy
SQLAlchemy
Hug
Hug
Flask
Flask

Unlike our frontend, we chose Flask, a microframework, for our backend. We use it with Python 3 and Gunicorn.

One of the reasons was that I have significant experience with this framework. However, it also was a rather straightforward choice given that our backend almost only serves REST APIs, and that most of the work is talking to the database with SQLAlchemy .

We could have gone with something like Hug but it is kind of early. We might revisit that decision for new services later on.

See more

related TypeScript posts

Yshay Yaacobi
Yshay Yaacobi
Software Engineer · | 27 upvotes · 155.9K views
atSolutoSoluto
Docker Swarm
Docker Swarm
Kubernetes
Kubernetes
Visual Studio Code
Visual Studio Code
Go
Go
TypeScript
TypeScript
JavaScript
JavaScript
C#
C#
F#
F#
.NET
.NET

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
Kir Shatrov
Kir Shatrov
Production Engineer at Shopify · | 18 upvotes · 93.9K views
atShopifyShopify
Prototype
Prototype
TypeScript
TypeScript
React
React
JavaScript
JavaScript
jQuery
jQuery
#Languages
#FrameworksFullStack

The client-side stack of Shopify Admin has been a long journey. It started with HTML templates, jQuery and Prototype. We moved to Batman.js, our in-house Single-Page-Application framework (SPA), in 2013. Then, we re-evaluated our approach and moved back to statically rendered HTML and vanilla JavaScript. As the front-end ecosystem matured, we felt that it was time to rethink our approach again. Last year, we started working on moving Shopify Admin to React and TypeScript.

Many things have changed since the days of jQuery and Batman. JavaScript execution is much faster. We can easily render our apps on the server to do less work on the client, and the resources and tooling for developers are substantially better with React than we ever had with Batman.

#FrameworksFullStack #Languages

See more
Mustache logo

Mustache

1.4K
172
50
1.4K
172
+ 1
50
Logic-less templates
Mustache logo
VS
Jinja2 logo
Compare Mustache vs Jinja2
Mustache logo
Mustache
VS
Jinja2 logo
Jinja2
Pug logo

Pug

852
624
385
852
624
+ 1
385
Robust, elegant, feature rich template engine for nodejs
Pug logo
VS
Jinja2 logo
Compare Pug vs Jinja2
Pug logo
Pug
VS
Jinja2 logo
Jinja2
Hogan.js logo

Hogan.js

298
19
3
298
19
+ 1
3
A compiler for the Mustache templating language
Hogan.js logo
VS
Jinja2 logo
Compare Hogan.js vs Jinja2
Hogan.js logo
Hogan.js
VS
Jinja2 logo
Jinja2
Smarty logo

Smarty

203
6
0
203
6
+ 1
0
Template engine for PHP
    Be the first to leave a pro
    Smarty logo
    VS
    Jinja2 logo
    Compare Smarty vs Jinja2
    Smarty logo
    Smarty
    VS
    Jinja2 logo
    Jinja2
    Flow (JS) logo

    Flow (JS)

    120
    33
    0
    120
    33
    + 1
    0
    Flow is a static type checker for Javascript (by Facebook)
      Be the first to leave a pro
      Flow (JS) logo
      VS
      Jinja2 logo
      Compare Flow (JS) vs Jinja2
      Flow (JS) logo
      Flow (JS)
      VS
      Jinja2 logo
      Jinja2

      related Flow (JS) posts

      Jarvis Stubblefield
      Jarvis Stubblefield
      Flow (JS)
      Flow (JS)
      TypeScript
      TypeScript

      I use TypeScript because it isn't just about validating the types I'm expecting to receive though that is a huge part of it too. Flow (JS) seems to be a type system only. TypeScript also allows you to use the latest features of JavaScript while also providing the type checking. To be fair to Flow (JS), I have not used it, but likely wouldn't have due to the additional features I get from TypeScript.

      See more
      David Koblas
      David Koblas
      VP Engineering at Payment Rails · | 9 upvotes · 4.9K views
      atPayment RailsPayment Rails
      TypeScript
      TypeScript
      Flow (JS)
      Flow (JS)
      JavaScript
      JavaScript

      We originally (in 2017) started rewriting our platform from JavaScript to Flow (JS) but found the library support for Flow was lacking. After switching gears to TypeScript we've never looked back. At this point we're finding that frontend and backend libraries are supporting TypeScript out of the box and where the support is missing that the commuity is typically got a solution in hand.

      See more
      Slim Lang logo

      Slim Lang

      53
      38
      42
      53
      38
      + 1
      42
      Template language whose goal is reduce the syntax to the essential parts without becoming cryptic
      Slim Lang logo
      VS
      Jinja2 logo
      Compare Slim Lang vs Jinja2
      Slim Lang logo
      Slim Lang
      VS
      Jinja2 logo
      Jinja2
      Liquid logo

      Liquid

      33
      2
      0
      33
      2
      + 1
      0
      Open-source template language written in Ruby
        Be the first to leave a pro
        Liquid logo
        VS
        Jinja2 logo
        Compare Liquid vs Jinja2
        Liquid logo
        Liquid
        VS
        Jinja2 logo
        Jinja2
        Twig logo

        Twig

        32
        7
        0
        32
        7
        + 1
        0
        A flexible, fast, and secure template engine
          Be the first to leave a pro
          Twig logo
          VS
          Jinja2 logo
          Compare Twig vs Jinja2
          Twig logo
          Twig
          VS
          Jinja2 logo
          Jinja2
          PureScript logo

          PureScript

          25
          15
          4
          25
          15
          + 1
          4
          A strongly-typed language that compiles to Javascript
          PureScript logo
          VS
          Jinja2 logo
          Compare PureScript vs Jinja2
          PureScript logo
          PureScript
          VS
          Jinja2 logo
          Jinja2
          EJS logo

          EJS

          25
          13
          0
          25
          13
          + 1
          0
          An Embedded JavaScript templating Language
            Be the first to leave a pro
            EJS logo
            VS
            Jinja2 logo
            Compare EJS vs Jinja2
            EJS logo
            EJS
            VS
            Jinja2 logo
            Jinja2
            RactiveJS logo

            RactiveJS

            21
            22
            18
            21
            22
            + 1
            18
            Next-generation DOM manipulation
            RactiveJS logo
            VS
            Jinja2 logo
            Compare RactiveJS vs Jinja2
            RactiveJS logo
            RactiveJS
            VS
            Jinja2 logo
            Jinja2
            Haxe logo

            Haxe

            18
            3
            0
            18
            3
            + 1
            0
            The Cross-platform Toolkit
              Be the first to leave a pro
              Haxe logo
              VS
              Jinja2 logo
              Compare Haxe vs Jinja2
              Haxe logo
              Haxe
              VS
              Jinja2 logo
              Jinja2
              Nunjucks logo

              Nunjucks

              13
              2
              0
              13
              2
              + 1
              0
              A templating language for JavaScript
                Be the first to leave a pro
                Nunjucks logo
                VS
                Jinja2 logo
                Compare Nunjucks vs Jinja2
                Nunjucks logo
                Nunjucks
                VS
                Jinja2 logo
                Jinja2
                Jsonnet logo

                Jsonnet

                11
                1
                0
                11
                1
                + 1
                0
                A data templating language for app and tool developers
                  Be the first to leave a pro
                  Jsonnet logo
                  VS
                  Jinja2 logo
                  Compare Jsonnet vs Jinja2
                  Jsonnet logo
                  Jsonnet
                  VS
                  Jinja2 logo
                  Jinja2
                  Dust logo

                  Dust

                  5
                  5
                  0
                  5
                  5
                  + 1
                  0
                  Asynchronous templates for the browser and node.js
                    Be the first to leave a pro
                    Dust logo
                    VS
                    Jinja2 logo
                    Compare Dust vs Jinja2
                    Dust logo
                    Dust
                    VS
                    Jinja2 logo
                    Jinja2
                    Jade Language logo

                    Jade Language

                    4
                    0
                    0
                    4
                    0
                    + 1
                    0
                    A Node Template Engine
                      Be the first to leave a pro
                      Jade Language logo
                      VS
                      Jinja2 logo
                      Compare Jade Language vs Jinja2
                      Jade Language logo
                      Jade Language
                      VS
                      Jinja2 logo
                      Jinja2