Data management and crud operation components built using CanJS
roemhildtg / can-crud Goto Github PK
View Code? Open in Web Editor NEWDEPRICATED: Moved to https://github.com/roemhildtg/spectre-canjs
License: MIT License
DEPRICATED: Moved to https://github.com/roemhildtg/spectre-canjs
License: MIT License
This would simplify things quite a bit by allowing all field config to be done in one place (the define section of the map).
can.Map.extend({
define: {
prop1: {
value: 'default value',
alias: 'Property',
formatter(prop){
return 'hello ' + prop;
}
}
}
});
Form should have additional property like buttons
that lets users add additional buttons like "Save and Add Another" that trigger an event.
Allow custom validations on objects and prevent saving if conditions aren't met
For example:
beforeSave(obj){
if(obj.attr('value') !== true){
//doesn't validate
return false;
}
return obj;
}
Use http://canjs.github.io/can-validate/ to validate form-widget before object is saved.
Moved from green3g/can-admin#9
Allow custom validations on objects and prevent saving if conditions aren't met
For example:
beforeSave(obj){
if(obj.attr('value') !== true){
//doesn't validate
return false;
}
return obj;
}
Loosen dependency on any one api server, and instead use can.Map to serialize to the target api with generic parameters used in the components.
When the current page is set to 10 for example, and a filter is then applied that has less objects than 10 pages, no results are displayed, and the paginator may even be hidden.
A similar problem happens when the page size is changed
Views should be loaded on-demand rather than all at once.
It would be nice to perform operations before and after an object is created/saved/deleted. The view should have the following properties added and crud-manager should call them at the appropriate times.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.