CanJS has always been fully modular and can be used with different module formats like AMD or CommonJS and installed via Bower or NPM or the direct download. When using a module loader - unlike many other frameworks that simply provide a UMD wrapper for the entire library - CanJS will only load the dependencies it really needs.
Subscribe
Get our best content on how to build better apps.
Subscribe
Get our best content on how to build better apps.
Got product development questions?
Join us on
Discord
Weekly Widget 6 - Instantaneous Web Apps
This week's widget shows how to make "instantaneous" web apps with queued AJAX requests using can.Model and the can/model/queue
plugin. The plugin puts an end to spinners, progress-bars, and "loading" text. This article covers how to make apps more responsive with queued requests and recover from service errors.
The Bitovi Team
Weekly Widget 4 - Show More with $.Range
This week's widget demonstrates the awesome power of jQuery++'s range helper. Text ranges are notoriously a pain in the butt, with major differences in API and implementation across browsers. Similar to jQuery with DOM elements, $.Range
provides a simpler API and cross browser methods to create, move, and compare text ranges. If you need to create a custom text editor, text highlighter, or other functionality that understands text, $.Range
can be a huge help. For example:
Justin Meyer
Weekly Widget 1 - TreeCombo
I, @justinbmeyer, am going to post a weekly widget made with CanJS. I hope to continue this for as long as I have widgets to write. If you want to see something, please tweet it to @canjs. These posts are going to be quick and dirty. Eventually, I will put these up on CanJS's recipe page with a full description.
Justin Meyer
Introducing jQuery++
Hello, my name is jQuery++. It's wonderful to meet you. Have you ever found yourself wishing jQuery had just one more feature or wanted it to be a tiny bit faster? I know I have, but I understand jQuery can't do everything. This is why the team at Bitovi created me, a collection of extremely useful DOM helpers and special events that complement jQuery.
Justin Meyer