dreampulse / modelizer Goto Github PK
View Code? Open in Web Editor NEWThe epic ORM-Mapper you want to use for every serious Web-Application. You can access the API directly from your Browser-Code.
License: Other
The epic ORM-Mapper you want to use for every serious Web-Application. You can access the API directly from your Browser-Code.
License: Other
Create the model based on a formal language -> Like Xtext AST-definition
Apply security rules
Enable init Values
Huhu
Also allow filters to set the error code
//ActivityModel.postReadFilter(function (req, obj) {
//
// return obj;
//});
Operations witch allow to return a modelizer object
My Description
INFO [IE 10.0.0 (Windows 7)]: Connected on socket PofRRPffcrAKufWzF_PJ
IE 10.0.0 (Windows 7) Integration Tests Basic Functions should be possible to ch
ange some values and save again FAILED
done() invoked with non-Error: There should still be only one object in
the store
IE 10.0.0 (Windows 7) Integration Tests Basic Functions should fail to get the d
eleted object FAILED
done() invoked with non-Error: There should be no result
IE 10.0.0 (Windows 7) Integration Tests Array and Object Attributes Functions ob
ject should have been created correctly FAILED
done() invoked with non-Error: PersonModel should have only one object
IE 10.0.0 (Windows 7): Executed 27 of 27 (3 FAILED) (0.723 secs / 0.329 secs)
var EmployeesModel = new model("Employee", {
...
boss_of : RefArray(ProjectsModel) // geht das, oder ist das ein Problem, weil ProjectsModel erst weiter unten definiert wird?
});
// The Model-definition of a project
var ProjectsModel = new model('Project', {
...
participants : RefArray(EmployeesModel)
});
Using Getter/Setters:
var o = new Object();
o.defineSetter("foo", function(val) {foo=val;})
undefined
o.defineGetter("foo", function() {return foo;})
undefined
o
{ a: 'foo',
b: 'bar',
foo: [Getter/Setter] }
See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/defineGetter
Better Array Handling:
o.c = [1,23]
o.c.fn = function() {}o
{ a: 'foo',
b: 'bar',
foo: [Getter/Setter],
c: [ 1, 23, fn: [Function] ] }o.c.fn
[Function]
o.c.length
2
ReferenceError: user is not defined
at Object.getMyActivities (/Users/jonathan/Projects/reacture/reacture/server/models/serverModel.js:125:62)
at collection.callOperation (/Users/jonathan/Projects/modelizer/lib/modelizer.js:996:44)
at Object.use.callOp (/Users/jonathan/Projects/modelizer/lib/modelizer.js:909:30)
at Object.useFiltered.callOp (/Users/jonathan/Projects/modelizer/lib/modelizer.js:790:23)
at /Users/jonathan/Projects/modelizer/lib/modelizer.js:272:24
at callbacks (/Users/jonathan/Projects/reacture/reacture/server/node_modules/express/lib/router/index.js:164:37)
at param (/Users/jonathan/Projects/reacture/reacture/server/node_modules/express/lib/router/index.js:138:11)
at param (/Users/jonathan/Projects/reacture/reacture/server/node_modules/express/lib/router/index.js:135:11)
at pass (/Users/jonathan/Projects/reacture/reacture/server/node_modules/express/lib/router/index.js:145:5)
at nextRoute (/Users/jonathan/Projects/reacture/reacture/server/node_modules/express/lib/router/index.js:100:7)
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.