Code Monkey home page Code Monkey logo

Comments (6)

ericmdantas avatar ericmdantas commented on May 18, 2024

Just as a reference for others, here's a good video about it.

from generator-ng-fullstack.

ericmdantas avatar ericmdantas commented on May 18, 2024

Just a question:

By using js-data, we'd still have the model for forms, right? Like the todo.model.js.

from generator-ng-fullstack.

jgodi avatar jgodi commented on May 18, 2024

Yes, you can see it here. http://www.js-data.io/v1.8.0/docs/js-data-angular

For me I can live without this js-data. I use Ember Data in a project and it over complicates things more so then some applications need. Would be nice for this to be an opt-in feature rather in a core feature.

from generator-ng-fullstack.

Toub avatar Toub commented on May 18, 2024

You don't have to define all properties of your model, but you can: http://www.js-data.io/v1.8.0/docs/dsdefineresource

Here is how you can validate the model: http://www.js-data.io/v1.8.0/docs/schemata--validation

Maybe that jgodi is right, and that the user should be able to choose if using js-data, ngresource, restangular...

But the good of js-data is the abstraction layer so you can do powerfull things or change the way you store your data without impact on your services and controllers.

from generator-ng-fullstack.

ericmdantas avatar ericmdantas commented on May 18, 2024

For some reason the links are broken to me, I'll take a look when I get home.

But I agree with the opt thing.

For now, we could leave it between ngResource and js-data.

from generator-ng-fullstack.

ericmdantas avatar ericmdantas commented on May 18, 2024

Droping from core.

from generator-ng-fullstack.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.