Live data from Hacker News

Feathers 2.0 – a minimalist real-time JavaScript framework

blog.feathersjs.com

51–60 of 83 posts

Re: Feathers 2.0 – a minimalist real-time JavaScript framework

#52
post #30

> A minimalist real-time framework for tomorrow’s apps > Feathers has adapters for 15+ data sources and 4 different ORMs out of the box. More than any other real-time framework! Huh?

Anyone knows if there any plan to support rethinkDB? Which is a realtime DB.

RethinkDB support is in the works for sure! https://github.com/feathersjs/feathers-rethinkdb/issues/9

Re: Feathers 2.0 – a minimalist real-time JavaScript framework

#53
post #34
post #31

The term "real-time" means that you can guarantee certain timing constraints. It can only work on a substrate (OS) that supports real-time processing. So I am sure that "real-time" is not what this package is offering.

My guess is that they are pulling that from Socket.IO's use of the same "real time" term. Which I suppose is to denote that it's not ajax polling (though I understand that Socket.IO does poll in some situations...)

Feathers also supports Primus (https://github.com/primus/primus) so you can a bunch of other socket transports.

Re: Feathers 2.0 – a minimalist real-time JavaScript framework

#54
post #21

Does Feathers support SAML authentication? I don't see it in the docs, but I figured I would ask. It says it's built on top of express, and express has SAML support... is it possible to leverage that?

We haven't tried it ourselves but Feathers just uses passport for auth underneath so any passport auth strategy will work. For SAML, to make it feel "Feathersy" might take a bit more work (ie. wrapping it up as a Service) but definitely open to creating an issue for it and for PRs. A quick and dirty way is to just use it Express style and call the official Feathers auth services from your own Express routes. Feathers really is just Express, so you can use any Express middleware like https://github.com/bergie/passport-saml.

Re: Feathers 2.0 – a minimalist real-time JavaScript framework

#55
post #25

Earlier quoted context omitted.

Except, claiming you guys are "Real Time" just because you offer a basic websockets implementation and positioning your offering as anything that compares to Meteor is a sham. You don't have real time. You have web sockets that anyone can trivially hook up with NPM. You're undermining Meteor's exhaustive real time functionality when you say that. You are also tricking would-be users who don't know any better. They wi…

Ouch. Meteor's data syncing is great, but it's not a mandatory part of real time. That said, from their web site: > Feathers is completely open source and is community supported, whereas Meteor, although open source, is venture backed and has raised $31.2 million to date. A license is either Open Source (it meets the OSD) or is not. There is no 'completely open source'. I think Meteor's overvalued too, but you're not…

All of the docs are from https://github.com/feathersjs/feathers-docs using the amazing Gitbook. We are totally open to PRs if there is something that is incorrect or could be worded better :-)

Re: Feathers 2.0 – a minimalist real-time JavaScript framework

#56
post #11

Earlier quoted context omitted.

Disclosure, I'm one of the creators of Feathers. You are right Feathers is MIT and so is Meteor. They both do real-time, albeit a bit differently, so we like to consider Meteor an alternative to Feathers and vice-versa. We are trying to be as transparent as possible and because we don't currently have any formal support from anyone except for the contributor's time and energy, we rely heavily on the community and nee…

Except, claiming you guys are "Real Time" just because you offer a basic websockets implementation and positioning your offering as anything that compares to Meteor is a sham. You don't have real time. You have web sockets that anyone can trivially hook up with NPM. You're undermining Meteor's exhaustive real time functionality when you say that. You are also tricking would-be users who don't know any better. They wi…

Sorry you feel that we are being dishonest. It's definitely not intended. I respectfully challenge the claim that Meteor is currently real-time and Feathers is not. Just because we're not (currently) doing oplog tailing on Mongo and data diffing does not mean Feathers isn't real-time, instead we sync up things at the service layer.

We do have plans to (optionally) support "real-time" all the way from the database as well and we are currently working on something similar to Apollo and Falcor. Can't do it all at once with no financial support.

If you feel things could be better and are interested in helping us achieve what you think is a more justified stance on being "real-time" then by all means PRs are more than welcome!

Re: Feathers 2.0 – a minimalist real-time JavaScript framework

#57
post #41
post #30

> A minimalist real-time framework for tomorrow’s apps > Feathers has adapters for 15+ data sources and 4 different ORMs out of the box. More than any other real-time framework! Huh?

The trick is that there is no actual definition of minimal, so you can always add it to your list of adjectives and sound more hip as a result. Another good one is "clean". All my code is bloated and messy, tbh.

We try and help you keep it clean. Check out https://github.com/feathersjs/feathers-chat to see what our idea of an app should look like. Obviously, different strokes for different folks, but that's the kind of code we like.

Re: Feathers 2.0 – a minimalist real-time JavaScript framework

#58
post #51

Perhaps you could help me...I am currently looking for a framework to work with a Cordova project I've been hired to create. Is there any reason why this wouldn't work with Cordova?

Nope, no reason at all. It will work just fine. Feathers is pure JS and doesn't have any hard external dependencies. On the client, it just handles the data layer and communication with the server.

Re: Feathers 2.0 – a minimalist real-time JavaScript framework

#59
post #41
post #30

> A minimalist real-time framework for tomorrow’s apps > Feathers has adapters for 15+ data sources and 4 different ORMs out of the box. More than any other real-time framework! Huh?

The trick is that there is no actual definition of minimal, so you can always add it to your list of adjectives and sound more hip as a result. Another good one is "clean". All my code is bloated and messy, tbh.

Express claims to be a "Fast, unopinionated, minimalist web framework for Node.js" so we decided that minimal fits well because Feathers at it's core is just a very small extension to and in the spirit (or so we'd like to think ;) of Express.

Re: Feathers 2.0 – a minimalist real-time JavaScript framework

#60
How does the realtime work when there are multiple node processes or servers? If my client is connected to server A and an update occurs on server B, will my client get the event on the web socket? If so, how does server A know about the event that occurred on server B?
Post reply on HN