Template engine just a part of view layer of MVC. Any asynchronous 
operations here will impact perfomance. All commony used filters/helpers 
like capitalization, truncating, sorting are synchronous. Although their 
use is also not desirable. The best practice is prepare all data inside of 
controllers, cache them and pass to template engine. Any complicated 
operations that requires asynchronous requests should be performed inside 
of controller.

вторник, 27 ноября 2012 г., 19:55:51 UTC+4 пользователь Oliver Leics 
написал:
>
> On Tue, Nov 27, 2012 at 4:42 PM, Вадим Барышев 
> <[email protected]<javascript:>> 
> wrote: 
> > Can you show an example of really needed asynchronous helper in real 
> world? 
>
> Dear list, please let me troll a little bit by rewriting that question 
> into: 
>
>   Can you show an example of really needed synchronous helper in real 
> world? 
>

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to