Components shouldn’t be concerned with how data is fetched, updated, or cached. CanJS provides the right abstractions for your model code to be cleanly separated from your UI code. CanJS’s stache templating language can directly read the state and values from Promises. No need to write any extra code to determine whether a Promise is pending, resolved, or rejected. After data is created, updated, or destroyed, CanJS automatically updates your lists for you. Filtering and sorting are preserved, so you don’t have to manually update your lists or fetch the same data again. The model layer is responsible for making GET, POST, PUT, and DELETE requests to your backend. With your component UI code using the model’s standard interface to make requests, if the backend API changes, you only have to configure the model and not change every component that uses that backend API.

Features

  • Model layer
  • Promises in templates
  • Real-time list updating
  • Build CRUD apps in fewer lines of code
  • Model layer
  • CanJS creates a model that represents the objects returned by a backend API

Project Samples

Project Activity

See All Activity >

Categories

Frameworks

License

MIT License

Follow CanJS

CanJS Web Site

Other Useful Business Software
All-in-one solution to control corporate spending Icon
All-in-one solution to control corporate spending

Issuance in seconds. Full spending control. Perfect for media buying.

Wallester Business is a leading world-class solution to optimize your company’s financial processes! Issuing virtual and physical corporate expense cards with an IBAN account, expense monitoring, limit regulation, convenient accounting, subscription control — manage your finance on all-in-one platform in real time! Wallester Business benefits your business growth!
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of CanJS!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Frameworks

Registered

2022-11-24