Comments (5)
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 collectionstemplate
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
andcopy
, 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.
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.
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.
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.
Thanks again, I'll give it a try soon.
from templates.
Related Issues (20)
- view missing context method HOT 1
- Cannot find module 'async' HOT 3
- TypeError: this.debug.helpers is not a function HOT 10
- new view type: grid
- Removed `view` property from page context HOT 16
- `TypeError: this.run is not a function` HOT 3
- Data from `file.data` not overriding `app.cache.data` HOT 4
- tests
- preRender and preCompile methods not setting data on file.data HOT 10
- Layouts not working as expected HOT 10
- preserve whitespace in layouts HOT 1
- async helpers (refactor, externalize, and improve!!!) HOT 1
- request: promise support
- refactor view helper
- refactor collection helper
- render helper
- Rendering issue: a param from a previous render call gets injected HOT 8
- Version tag 1.2.9 missing HOT 1
- goals for refactor HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from templates.