Hey Everyone, I have been working on a framework for some time. No, I am not announcing a new framework. I am spinning off the view component into a standalone library. The component is ready for outside use, so take a look and tell me what you think.
It's not the easiest library to explain, but you could say Bifocals makes http responses very simple. Bifocals might help you if.. You want templates, which contain templates, which contain templates. If these templates depend on a database, or an API, which could cause them to be ready at various, unpredictable times. You want an easy system for handling HTTP Status codes, without having to look up the spec every time. (Did you know 405: Unsupported Method requires an Allow header?) You want to use asynchronous subviews even if your preferred template engine does not support them. You want all of these features without having to resort to complex nested callbacks. Check out the documentation at bifocalsjs.com for more information. If you want some basic examples, check out http://bifocalsjs.com/#basic-use If it still doesn't make sense, there is an interactive example ( http://bifocalsjs.com/#interactive-example) which might clear things up. Let me know what you think. I have been using the library in it's current state for about 3 months and it makes complex websites entirely painless. Thanks, Aaron -- 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
