Questions tagged [mustache]

Mustache is a "logic-less" templating library available in a range of languages.

Filter by
Sorted by
Tagged with
1 vote
0 answers
59 views

DOM manipulating that I called Framework

I'm building a framework like this that can turn SASS-like code into CSS, a template engine like Mustache, a DOM manipulator like React, and a router to add a single page app, and I'm having a ...
ahmed qoreichi's user avatar
2 votes
0 answers
119 views

Makefile for a document generation system

This is my first shot at writing a makefile for a document generation system. Please identify any more ways to refine it. Some pointers on how it works: The INPUT files initially are templates to be ...
KevinRethwisch's user avatar
2 votes
0 answers
51 views

Lesson slideshow/classroom app

Overview I am looking for feedback on this (personal) project that I am working on that is rapidly becoming quite complex. I am fully aware that this is horrific code quality... I just want to get my ...
Jethro Hazelhurst's user avatar
0 votes
1 answer
178 views

HTML template for win-loss data in Javascript with Mustache

Can anyone suggest a better way to implement my template code? ...
Craig England's user avatar
5 votes
1 answer
290 views

Review of HTML markup for this blog concept

I am creating a blog concept with this layout on CodePen Here is my current code in development ...
JGallardo's user avatar
  • 1,218
4 votes
2 answers
208 views

How can this <ul> be set up to maximize inheritance if additional classes will be passed in from a JSON file?

Objective Currently I have the flags hardcoded. But want to optimize my code for production. So I am wondering if I have this code done clean enough to leverage CSS inheritance while maintaining ...
JGallardo's user avatar
  • 1,218
5 votes
2 answers
4k views

Was this use of <img> tags in this HTML over background images better?

I saw this UI for a mobile app, but I reverse engineered it for the web. This is how it looks in my CodePen This would be either a favorites or featured list locations to travel to. I decided to go ...
JGallardo's user avatar
  • 1,218
1 vote
1 answer
203 views

Allow users to add custom queries to Mustache variables

I'm writing an application that will be managed by my team, it uses Mustache.php as template engine. I have a PHP file that makes an array of variables and functions that is passed to the Mustache ...
Fez Vrasta's user avatar
4 votes
2 answers
147 views

How clean is this mustache template for a listing page?

This was our old site that I am redesigning. Someone else hardcoded with inline CSS and javascript in tables. I wanted to make it dynamic, so I added Mustache and made this template: ...
JGallardo's user avatar
  • 1,218
4 votes
1 answer
1k views

Rendering and re-rendering a Mustache template

I want to ask whether my following implementation is good in the view of good practice and performance. I have an app where I have to show another page or template html in an iframe. I get that ...
roxxypoxxy's user avatar
2 votes
2 answers
2k views

A PHP MVC working with Mustache (and now nested templates!)

I'd love some feedback about this code that I'm editing and shortening now. ...
Nabab's user avatar
  • 175