Re: [sydjs] Node.js blogging/ website platform
- From:
- Jarrad Hope
- Date:
- 2011-09-12 @ 03:26
After using Eco for a week
I agree Eco is abit fugly, very php/asp like and lack of meaningful
whitespace is weird when using it with coffeescript,
but its not a deal breaker for me, especially with compile time optimzations
It's a shitload faster than Jade tho..
http://jsperf.com/dom-vs-innerhtml-based-templating/70
Next i'll try is doT, which looks like a bastard child of mustache and
eco, but benchmarks suggest it's nice and fast
On Mon, Sep 12, 2011 at 1:03 PM, Aaron Powell <me@aaron-powell.com> wrote:
> I’m not a fan of the <% syntax which is used throughout Eco. Coming from
> ASP.Net it reminds me of a syntax that I’ve done my best to ignore.
>
> I much prefer templating languages like Jade (and obviously Haml) because
> they have a much cleaner approach to extending the language (HTML) to
> support the features I’m after.
>
>
>
> Aaron Powell
> MVP - Internet Explorer (Development) | Umbraco Core Team Member | FunnelWeb
> Team Member
>
> http://apowell.me | http://twitter.com/slace | Skype: aaron.l.powell |
> MSN: aazzap@hotmail.com
>
>
>
> From: sydjs@librelist.com [mailto:sydjs@librelist.com] On Behalf Of Benjamin
> Lupton
> Sent: Monday, 12 September 2011 11:44 AM
> To: sydjs@librelist.com
> Subject: Re: [sydjs] Node.js blogging/ website platform
>
>
>
> Aaron,
>
>
>
> What don't you like about Eco? Which templating language would you prefer?
>
>
>
>
>
> ---
>
> Benjamin Lupton
>
> Bringing the pieces together at Bevry Pty Ltd
> Creator of History.js, DocPad and NowPad
>
> http://balupton.com | b@lupton.cc | skype balupton | tweet @balupton
>
>
>
> P.S. Due to time being the only true limited resource, if I ever wanted to
> become a billionaire one day I'll have to spent it incredibly well. So while
> I'll try to respond to every single email I receive, those who pay for my
> time will be first in line. C'est la vie.
>
>
>
> On Monday, 12 September 2011 at 11:23 AM, Michael McGlynn wrote:
>
> The only one I'm aware of is Wheat - https://github.com/creationix/wheat
> which is used for http://howtonode.org/ and https://tootallnate.net/
>
> It's not really being actively updated so you might have a few issues with
> latest versions of packages/node, but it's worth looking into.
>
>
>
> Easiest way to get started is to clone the howtonode repo
> ( https://github.com/creationix/howtonode.org ) and modify from there
>
> On Mon, Sep 12, 2011 at 11:19 AM, Aaron Powell <me@aaron-powell.com> wrote:
>
> I’m looking to setup a little blog and I’m wanting to use nodejs for it. Can
> anyone recommend a git-based blog (/website) framework?
>
>
>
> I’ve come across DocPad (https://github.com/balupton/docpad) but I really
> don’t lie the Eco templating language so I’m sure there’s gotta be another
> one out there.
>
> Recommendations?
>
>
>
> Aaron Powell
> MVP - Internet Explorer (Development) | Umbraco Core Team Member | FunnelWeb
> Team Member
>
> http://apowell.me | http://twitter.com/slace | Skype: aaron.l.powell |
> MSN: aazzap@hotmail.com
>
>
>
>
>
>
Re: [sydjs] Node.js blogging/ website platform
- From:
- Lachlan Hardy
- Date:
- 2011-09-12 @ 03:42
Benjamin,
Haml, Jade and their ilk all allow loops, conditionals etc. In fact, given
they are native to whichever language/platform they're implemented in (in
this discussion, Node), they allow for pretty much anything that the
language/platform supports.
The significant differences from something like Eco is in syntax less than
capability. Except were it comes to things like performance, as mentioned by
Jarrad. Interpreting the entire template will always take longer than just
dealing with demarcated sections. Personally, I've yet to run into a use
case for faster templates that better caching couldn't solve so I choose
those with a syntax I enjoy.
Jarrad,
You might also be interested in trying http://coffeekup.org/ ;)
Re: [sydjs] Node.js blogging/ website platform
- From:
- Aaron Powell
- Date:
- 2011-09-12 @ 03:50
Beaten to the punch ;)
I’m also going to have to agree with Lachlan with regards to performance.
The overall speed I don’t see that to be really important (unless it’s
like 1 file a minute or something :P) as there are better ways to gain
performance (response caching, parsed template caching, etc).
Aaron Powell
MVP - Internet Explorer (Development) | Umbraco Core Team
Member<http://umbraco.codeplex.com/> | FunnelWeb Team
Member<http://funnelweblog.com/>
http://apowell.me<http://apowell.me/> | http://twitter.com/slace | Skype:
aaron.l.powell | MSN: aazzap@hotmail.com<mailto:aazzap@hotmail.com>
From: sydjs@librelist.com [mailto:sydjs@librelist.com] On Behalf Of Lachlan Hardy
Sent: Monday, 12 September 2011 1:43 PM
To: sydjs@librelist.com
Subject: Re: [sydjs] Node.js blogging/ website platform
Benjamin,
Haml, Jade and their ilk all allow loops, conditionals etc. In fact, given
they are native to whichever language/platform they're implemented in (in
this discussion, Node), they allow for pretty much anything that the
language/platform supports.
The significant differences from something like Eco is in syntax less than
capability. Except were it comes to things like performance, as mentioned
by Jarrad. Interpreting the entire template will always take longer than
just dealing with demarcated sections. Personally, I've yet to run into a
use case for faster templates that better caching couldn't solve so I
choose those with a syntax I enjoy.
Jarrad,
You might also be interested in trying http://coffeekup.org/ ;)
Re: [sydjs] Node.js blogging/ website platform
- From:
- Jarrad Hope
- Date:
- 2011-09-12 @ 03:45
ohhhh thats nice!
On Mon, Sep 12, 2011 at 1:42 PM, Lachlan Hardy <lachlan@lachstock.com.au> wrote:
> Benjamin,
> Haml, Jade and their ilk all allow loops, conditionals etc. In fact, given
> they are native to whichever language/platform they're implemented in (in
> this discussion, Node), they allow for pretty much anything that the
> language/platform supports.
> The significant differences from something like Eco is in syntax less than
> capability. Except were it comes to things like performance, as mentioned by
> Jarrad. Interpreting the entire template will always take longer than just
> dealing with demarcated sections. Personally, I've yet to run into a use
> case for faster templates that better caching couldn't solve so I choose
> those with a syntax I enjoy.
>
> Jarrad,
>
> You might also be interested in trying http://coffeekup.org/ ;)
>
>
Re: [sydjs] Node.js blogging/ website platform
- From:
- Benjamin Lupton
- Date:
- 2011-09-12 @ 03:23
No worries, though aren't HAML and Jade just markups and not really
templating languages? I'm not really sure of any ability inside them to do
things like loops etc.
Speaking of which, DocPad already supports Jade, and will eventually
support HAML too.
DocPad goes about it like, first we parse it through the templating engine
(eco), and then parse the result through the markup engine (jade,
markdown, html, etc.).
I can look into supporting different templating engines, though I'm not
really sure how that would actually work, as my current evaluation is that
it would just add unneeded complexity. Though I'm happy to support as many
markup languages as possible though.
Does that help at all? Also, I'm happy to move this conversation to Skype
(username balupton) so we don't pollute the mailing list :)
---
Benjamin Lupton
Bringing the pieces together at Bevry Pty Ltd (http://bevry.me/)
Creator of History.js (https://github.com/balupton/history.js), DocPad
(https://github.com/balupton/docpad) and NowPad
(https://github.com/balupton/nowpad)
http://balupton.com (http://balupton.com/) | b@lupton.cc
(mailto:b@lupton.cc) | skype balupton | tweet @balupton
(http://twitter.com/balupton)
P.S. Due to time being the only true limited resource, if I ever wanted to
become a billionaire one day I'll have to spent it incredibly well. So
while I'll try to respond to every single email I receive, those who pay
for my time will be first in line. C'est la vie.
On Monday, 12 September 2011 at 1:03 PM, Aaron Powell wrote:
> I’m not a fan of the <% syntax which is used throughout Eco. Coming from
ASP.Net it reminds me of a syntax that I’ve done my best to ignore.
> I much prefer templating languages like Jade (and obviously Haml)
because they have a much cleaner approach to extending the language (HTML)
to support the features I’m after.
>
> Aaron Powell
> MVP - Internet Explorer (Development) | Umbraco Core Team Member
(http://umbraco.codeplex.com/) | FunnelWeb Team Member
(http://funnelweblog.com/)
>
> http://apowell.me (http://apowell.me/) | http://twitter.com/slace |
Skype: aaron.l.powell | MSN: aazzap@hotmail.com
(mailto:aazzap@hotmail.com)
>
> From: sydjs@librelist.com [mailto:sydjs@librelist.com] On Behalf Of
Benjamin Lupton
> Sent: Monday, 12 September 2011 11:44 AM
> To: sydjs@librelist.com (mailto:sydjs@librelist.com)
> Subject: Re: [sydjs] Node.js blogging/ website platform
>
> Aaron,
>
>
>
> What don't you like about Eco? Which templating language would you prefer?
>
>
>
>
> ---
>
> Benjamin Lupton
>
>
>
> Bringing the pieces together at Bevry Pty Ltd (http://bevry.me/)
> Creator of History.js (https://github.com/balupton/history.js), DocPad
(https://github.com/balupton/docpad) and NowPad
(https://github.com/balupton/nowpad)
> http://balupton.com (http://balupton.com/) | b@lupton.cc
(mailto:b@lupton.cc) | skype balupton | tweet @balupton
(http://twitter.com/balupton)
>
>
>
>
>
>
>
> P.S. Due to time being the only true limited resource, if I ever wanted
to become a billionaire one day I'll have to spent it incredibly well. So
while I'll try to respond to every single email I receive, those who pay
for my time will be first in line. C'est la vie.
>
>
>
>
>
> On Monday, 12 September 2011 at 11:23 AM, Michael McGlynn wrote:
> > The only one I'm aware of is Wheat -
https://github.com/creationix/wheat which is used for
http://howtonode.org/ and https://tootallnate.net/
> > It's not really being actively updated so you might have a few issues
with latest versions of packages/node, but it's worth looking into.
> >
> >
> >
> >
> > Easiest way to get started is to clone the howtonode repo (
https://github.com/creationix/howtonode.org ) and modify from there
> >
> > On Mon, Sep 12, 2011 at 11:19 AM, Aaron Powell <me@aaron-powell.com
(mailto:me@aaron-powell.com)> wrote:
> >
> > I’m looking to setup a little blog and I’m wanting to use nodejs for
it. Can anyone recommend a git-based blog (/website) framework?
> >
> > I’ve come across DocPad (https://github.com/balupton/docpad) but I
really don’t lie the Eco templating language so I’m sure there’s gotta be
another one out there.
> > Recommendations?
> >
> > Aaron Powell
> > MVP - Internet Explorer (Development) | Umbraco Core Team Member
(http://umbraco.codeplex.com/) | FunnelWeb Team Member
(http://funnelweblog.com/)
> >
> > http://apowell.me (http://apowell.me/) | http://twitter.com/slace |
Skype: aaron.l.powell | MSN: aazzap@hotmail.com
(mailto:aazzap@hotmail.com)
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
>
>