Giter Site home page Giter Site logo

Comments (5)

jonschlinkert avatar jonschlinkert commented on June 7, 2024

I apologize if the questions are dumb

these are all good questions, no worries at all. I'll start with the heading..

What is the difference between templates and template?

it's nothing complicated. I'm in the process of fixing some things I think I did wrong before. We just received the name templates, so we're moving template over to templates. Then we're going to use templates in assemble and refactor template to be mostly what's in this file. After that's done, templates will use template to handle the View class.

Bottom line, the names will be more semantically correct:

  • templates manages template collections
  • template is (will be) a single template

but the project (assemble) seems to be sleeping for a while and for that reason I was looking for the next big thing in static site generation.

If you take a look at assemble's branches, dev specifically, there have been 725 commits to assemble since the last minor version change. assemble/assemble#767

Is it much more than a grunt-plugin calling template and selecting a template engine (handlebars)?

As of 0.6, Assemble is a 100% standalone library. No longer a grunt plugin, but we will continue to provide support for grunt with grunt-assemble.

how much value assemble provides compared to templates.

Value is in the eye of the beholder :) but I'll try to sum up the major differences:

Templates

Main purpose: Template collections and rendering

  • creates views
  • creates and manages custom view collections
  • engine selection
  • routes
  • compiling and rendering

templates expects you to read and write your own files. There is no concept of src, dest, tasks etc.

Assemble

Main purpose: Building projects (static sites, rapid prototyping)

  • manages and runs tasks
  • src, dest and copy, for reading and writing files
  • adds higher level processing to simplify site generation and rapid prototyping, like automatically calculating relative paths for dest files

I was looking for the next big thing in static site generation

Keep watching the dev branch on Assemble :) we're about to release some things that will be game changing.

Does this help?

from templates.

jonschlinkert avatar jonschlinkert commented on June 7, 2024

btw I'll be sure to get these things clarified on the docs of all related libs as well. I think it will be more obvious when it's all done.

from templates.

hgoebl avatar hgoebl commented on June 7, 2024

Thnx @jonschlinkert, this really helps and I'm looking forward to see assemble 0.6.
Do you think it's already time to give it a try for a small "pilot" project?
I could migrate one of my static sites or start one of my "backlog" site projects...
Would not be a problem when changes occur later 😨

from templates.

jonschlinkert avatar jonschlinkert commented on June 7, 2024

Do you think it's already time to give it a try for a small "pilot" project?

yeah, I think if you use the dev branch it should be okay. Docs are in progress though, so you might need to figure things out until then. We don't anticipate any major API changes happening on 0.6, just bug fixes

from templates.

hgoebl avatar hgoebl commented on June 7, 2024

Thanks again, I'll give it a try soon.

from templates.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.