Get Advice Icon

Need advice about which tool to choose?Ask the StackShare community!

Fabric

451
307
+ 1
75
Liquid

215
125
+ 1
0
Add tool
Advice on Fabric and Liquid
Asad Gilani
Software Engineer at Lisec Automation · | 5 upvotes · 228.3K views
Needs advice
on
Handlebars.jsHandlebars.js
and
LiquidLiquid

@All: I am searching for the best template engine for .NET. I started looking into several template engines, including the Dotliquid, Handlebars.js, Scriban, and Razorlight. I found handlebar a bit difficult to use when using the loops and condition because you need to register for helper first. DotLiquid and Scriban were easy to use and in Razorlight I did not find the example for loops.

Can you please suggest which template engine is best suited for the use of conditional/list and looping and why? Or if anybody could provide me a resource or link where I can compare which is best?

Thanks In Advance

See more
Replies (1)
Josh Lind
Recommends
on
Handlebars.jsHandlebars.js

I like Handlebars, it's very mature... some would say-- outdated.

Handlebars loops are done via {{#each myList}}. Read the docs! https://handlebarsjs.com/guide

Remember, don't put logic in your templates! Keep this layer simple. Sorry to hear you have to use dotNet.

See more
Manage your open source components, licenses, and vulnerabilities
Learn More
Pros of Fabric
Pros of Liquid
  • 23
    Python
  • 21
    Simple
  • 5
    Low learning curve, from bash script to Python power
  • 5
    Installation feedback for Twitter App Cards
  • 3
    Easy on maintainance
  • 3
    Single config file
  • 3
    Installation? pip install fabric... Boom
  • 3
    Easy to add any type of job
  • 3
    Agentless
  • 2
    Easily automate any set system automation
  • 1
    Flexible
  • 1
    Crash Analytics
  • 1
    Backward compatibility
  • 1
    Remote sudo execution
    Be the first to leave a pro

    Sign up to add or upvote prosMake informed product decisions

    7
    221
    1.5K
    38
    4.1K

    What is Fabric?

    Fabric is a Python (2.5-2.7) library and command-line tool for streamlining the use of SSH for application deployment or systems administration tasks. It provides a basic suite of operations for executing local or remote shell commands (normally or via sudo) and uploading/downloading files, as well as auxiliary functionality such as prompting the running user for input, or aborting execution.

    What is Liquid?

    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.

    Need advice about which tool to choose?Ask the StackShare community!

    What companies use Fabric?
    What companies use Liquid?
    Manage your open source components, licenses, and vulnerabilities
    Learn More

    Sign up to get full access to all the companiesMake informed product decisions

    What tools integrate with Fabric?
    What tools integrate with Liquid?

    Sign up to get full access to all the tool integrationsMake informed product decisions

    Blog Posts

    GitHubPythonReact+42
    49
    41042
    What are some alternatives to Fabric and Liquid?
    Ansible
    Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. Ansible’s goals are foremost those of simplicity and maximum ease of use.
    Azure Service Fabric
    Azure Service Fabric is a distributed systems platform that makes it easy to package, deploy, and manage scalable and reliable microservices. Service Fabric addresses the significant challenges in developing and managing cloud apps.
    Kubernetes
    Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.
    Forge
    Fastest possible way to host lighting-fast static websites for small businesses, web startups, and app developers.
    Material
    Express your creativity with Material, an animation and graphics framework for Google's Material Design and Apple's Flat UI in Swift.
    See all alternatives