32

Is there an alternative to Breezejs that does not require .Net or Enterprise Framework Connector or database, and works with plain REST services that accept and return only JSON (no metadata)?

4 Answers 4

52

We actually designed Breeze to be independent of .NET, but none of our samples show this yet. In the next week or two we will show how to connect Breeze to a generic HTTP service that returns JSON. We'd love to have your feedback on this when it comes out, as we know it will be a big part of the market.

Edit: Breeze 1.3.0 is now available and contains the Edmunds sample, which is a pure JavaScript client that connects to an HTTP service with no dependencies on ASP.NET, Web API, or the Entity Framework. Please take a look and provide us with feedback!

Edit 2: We will also be releasing a sample soon that shows Breeze working with MongoDB, Express, and Node.js with no Microsoft technologies involved. A Ruby sample is also in the works. Stay tuned!

Edit 3: MongoDB and node.js support is now available which shows Breeze working with the MEAN stack (MongoDB, Express, AngularJS, Node.js).

Edit 4: A Ruby sample is now up. This is John Papa's famous Code Camper JumpStart with a Ruby back-end.

Edit 5: NHibernate support as well as an accompanying sample are now available.

Edit 6: Node/MySQL/Postgres support as well as an accompanying sample are now available.

Edit 7: Java/Hibernate support as well as an accompanying sample are now available.

9
  • Happy to give feedback when the examples are available.
    – Steve
    Apr 11, 2013 at 15:00
  • Cool. Thanks! I'll let you know when it becomes available.
    – Ting
    Apr 11, 2013 at 18:40
  • @Steve - Ok, the sample is out. You can download it as part of the Breeze samples package: breezejs.com/documentation/download
    – Ting
    Apr 17, 2013 at 21:02
  • @Ting When breeze is independent of .NET how does the re-use of server side validation attributes also work for example for java models?
    – Elisabeth
    Apr 28, 2013 at 11:11
  • 1
    Breeze metadata which can be provided either from the server or the client may include any number of "validators" on each property of an entity as well as on the entity itself. From a serialization perspective a "validator" consists of a "name" and a collection of constructor parameters. Breeze converts these validator descriptions into actual validators on the client by looking for a "registered" validator (see the Validator.register and Validator.registerFactory methods) and then instantiating it with the specified constructor parameters. Not sure how clear this is, but... Apr 30, 2013 at 19:19
7

Sails.js has a JavaScript ORM that's very similar to Breeze.js. It's called Waterline.

1
  • I this this is the best solution.
    – bmustata
    Apr 13, 2015 at 8:03
5

JayData http://jaydata.org/ would be an alternative to Breeze that is independent of .NET as well. Another alternative you could look at is ember.data https://github.com/emberjs/data FYI I have looked at both and prefer Breeze for my needs.

1

For alternative there is AmplifyJS, PouchDB, and Lawnchair each comes with its own pros/cons.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.