News for hackers. Stuff that matters.
Re:Parse is shutting down today by eriknstr on Monday January 30, 2017 @12:17PM (#13523012)
Something I've been wondering is would you recommend using the open source Parse server for new code or is it more targeted towards projects that were already using the Parse API?
Re:Parse is shutting down today by BinaryIdiot on Monday January 30, 2017 @03:32PM (#13524729)
It's geared towards legacy. I have used parse in 3 different projects (none of that was my choice, these were existing projects I had to take over) and I would NEVER recommend it for new projects.

The way everyone seems to use it, in my experience, is giving the client credentials to manipulate the full database which is absolutely insane. Obviously this is not good practice but every single parse project I've gotten thrown into already did this and it was a significant amount of work to move it to be more secure and NOT do that. I think the way it's created makes it very, very easy to make bad security choices.

It's also basically a RESTful CRUD. That's mostly it minus some, mostly minor, bells and whistles. You can already do this with about 20 different open source stacks very easily and you're not stuck using this parse technology.

I can't articulate just how much trouble parse has given me. I even took an app and re-wrote its entire backend away from parse significantly faster than doing a handful of updates.

Re:Parse is shutting down today by ShaneWilton on Monday January 30, 2017 @04:41PM (#13525311)
> I think the way it's created makes it very, very easy to make bad security choices.

I can sympathize with this. I work on a dynamic API security scanner, and the vast majority of the Parse APIs I've scanned have either used API keys with full read/write permissions on the DB, or have left the database in development mode, essentially allowing anyone with an API key to modify the schema of the database.

Parse was a very cool product, but most setups I've seen didn't take advantage of the (sometimes hard to find) security features Parse provides.

Re:Parse is shutting down today by jkestner on Tuesday January 31, 2017 @12:36AM (#13528006)
Later versions don't let you easily give the client full access. You instead have to do it through Cloud Code (another facet of Parse), so the key never leaves the server.

Not to disagree with your overall assessment. I'm generally wary of these swiss-knife frameworks - they're written for a particular use case in mind, and if your project doesn't fit that, you may go through contortions to get things working smoothly.

Re:Parse is shutting down today by BinaryIdiot on Tuesday January 31, 2017 @02:35PM (#13534390)
> Later versions don't let you easily give the client full access. You instead have to do it through Cloud Code (another facet of Parse), so the key never leaves the server.

That's fantastic! I never kept track of which version(s) I worked on but I had transitioned one project from Parse to Parse Server and it was still able to work this way but I'm glad they made progress to try and force better security.

Re:Parse is shutting down today by wapz on Wednesday February 01, 2017 @01:29AM (#13538763)
I just noticed the app I used with parse did exactly what you said (gave the client full access to database writes). My app only held "public" data and no passwords, emails, or sensitive data, but I was wondering how you manage to secure the DB writes. Wouldn't you need another server to send the write requests that would validate them before sending them to parse? Or is there another way?
Re:Parse is shutting down today by BinaryIdiot on Wednesday February 01, 2017 @05:24AM (#13539655)
To secure code with parse I believe the most common way is to basically move everything behind cloud code.

So instead of making HTTP calls to directly modify the DB you make HTTP calls to cloud code functions you wrote which then verify who you are and only modify what you should be able to modify.

Re:Parse is shutting down today by barnaclejive on Monday January 30, 2017 @12:24PM (#13523079)
I have created a few apps using Parse.com, one of them successful enough to take the additional time/cost hit to migrate and host myself using the Parse-Server project.

The open source project is great and I appreciate the effort that went into making sure we didn't all get (totally) screwed.

Would I use Parse-Server for a new project? Probably not. The state of the BaaS options out there has changed/improved significantly since Parse.com was a thing.

Re:Parse is shutting down today by Myztiq on Monday January 30, 2017 @05:27PM (#13525671)
I used to work at Kinvey, they've got a pretty good product geared towards integrating with whatever you've got to connect with. They have always been security conscious, even have HIPAA support now IIRC.

Happy to answer any questions, or get some current devs there into the conversation to help out.

Re:Parse is shutting down today by jeyoor on Monday January 30, 2017 @12:36PM (#13523203)
Which BaaS options are recommended now?
Re:Parse is shutting down today by primitivesuave on Monday January 30, 2017 @12:50PM (#13523358)
I second the Firebase recommendation. Facebook killed off their BaaS acquisition while Google doubled down on theirs. If you prefer open-source, Horizon (http://horizon.io/) is a great alternative to Firebase but does not have many of the key features like file storage and iOS/Android SDKs.
Re:Parse is shutting down today by hackerboos on Monday January 30, 2017 @01:15PM (#13523605)
Firebase has a few issues.

Take a look at this video and tell me this query and the required data denormalization is acceptable.

https://t.co/xd1KUPc8xY

Re:Parse is shutting down today by pier25 on Monday January 30, 2017 @07:54PM (#13526533)
Yep data modelling and querying capabilities is a real deal breaker in Firebase.

Something as simple as filtering by 2 or more values becomes ridiculously tedious.

http://stackoverflow.com/questions/26700924/query-based-on-m...

Re:Parse is shutting down today by primitivesuave on Monday January 30, 2017 @10:48PM (#13527403)
I completely agree that on its own, the querying functionality can be quite tedious for anything complex. I linked to this solution on the comment above as well: https://github.com/davideast/Querybase
Re:Parse is shutting down today by pier25 on Tuesday January 31, 2017 @08:49AM (#13530455)
> Querybase is in an experiment and not for production

Also since Firebase doesn't allow more than one filtering field with orderByChild(...) I'm guessing Querybase will do all the work on the client. This is less than ideal since the data has to be downloaded first.

Re:Parse is shutting down today by hackerboos on Tuesday January 31, 2017 @09:25AM (#13530736)
Querybase is also making permutations of all the data you may wish to query. Needlessly taking up space on your server that will have to be retrieved. Wasted bandwidth etc.
Re:Parse is shutting down today by primitivesuave on Monday January 30, 2017 @10:46PM (#13527394)
I wouldn't call this an "issue" as much as a "limitation". Just as you can develop a data denormalization process for any use case, you can develop one for Firebase.

Here's a practical example of doing joins with Firebase (written by David East who is also the star of that video you linked): https://github.com/davideast/Querybase

Re:Parse is shutting down today by bfrog on Monday January 30, 2017 @04:05PM (#13525002)
They must be using something akin to Cassandra to require something like that
Re:Parse is shutting down today by pier25 on Monday January 30, 2017 @07:22PM (#13526352)
I wrote this piece on Firebase recently and I would not recommend it except for very simple or specialised projects.

https://medium.com/@Pier/firebase-the-great-the-meh-and-the-...

Don't get me wrong, Firebase has a lot of good things going on, but the bad aspects make it unsuitable for a large variety of projects.

Re:Parse is shutting down today by desarun on Monday January 30, 2017 @01:41PM (#13523838)
Watch out for the hidden costs.

As I found out today if you want the analytics data in CSV, or query it to any level that's useful beyond "We have 5 users in Stockholm on KitKat", you'll need the next service tier up, which is $25 per month per project.

But if you want basic analytics, then it's free & easy.

Re:Parse is shutting down today by 010a on Monday January 30, 2017 @03:24PM (#13524663)
Horizon is a scary recommendation right now given the recent shuttering of RethinkDB (the company). It might still be a great choice, but I would give the community some time to coalesce and see where things end up before recommending it for new projects.
Re:Parse is shutting down today by jkestner on Tuesday January 31, 2017 @09:48AM (#13530948)
I really like Firebase, but for specialized cases as others mentioned. The realtime updates are solid, and the iOS SDK at least is deep enough to let you dig into edge cases when needed (like, how many clients are listening to this node?). But I use it like an in-memory store to sync live data. Can't imagine having to use it like a full database - I use Parse for storing more permanent data across tables.
Re:Parse is shutting down today by jordangonen on Monday January 30, 2017 @01:55PM (#13523964)
Scaphold (https://scaphold.io/) is a super neat BAAS built on GraphQL!
Re:Parse is shutting down today by harrisreynolds on Monday January 30, 2017 @01:19PM (#13523643)
Backendless is a solid option: https://backendless.com/
Re:Parse is shutting down today by mignev on Monday January 30, 2017 @01:31PM (#13523737)
With Backendless you should rewrite your apps, which is not so good :) Anyways ... what will happen when Backendless decide to shut down?
Re:Parse is shutting down today by _ao789 on Monday January 30, 2017 @02:21PM (#13524167)
Then you too will shutdown xD
Re:Parse is shutting down today by ma2rten on Monday January 30, 2017 @12:42PM (#13523260)
I haven't used it, but firebase is popular.
Re:Parse is shutting down today by mignev on Monday January 30, 2017 @01:09PM (#13523544)
Yes it's google behind ... but you should rewrite the whole application. That's why I respect Facebook about their decision to opensource the Parse Server. The is the beginning of the Open Backend world. With Parse Open Source everybody will get Personal MBaaS :)
Re:Parse is shutting down today by Liveanimalcams on Monday January 30, 2017 @01:16PM (#13523609)
but we still got screwed and I still hate facebook because of it.
Re:Parse is shutting down today by gfosco on Monday January 30, 2017 @01:18PM (#13523631)
I think it depends on your level of expertise and the requirements of your project. Having Parse Server as something you can set up in a few minutes on a VPS and start building a client-server app is great. The integration via the various SDKs is incredible, and it takes a long time to build something like that out. All the available options have their tradeoffs, but I think having the source and an interested community is a great pro in the Parse column.
Re:Parse is shutting down today by quaz3l on Monday January 30, 2017 @12:24PM (#13523082)
I used it for a new project I started 6 months ago. We've since transferred to AWS and a Express/Node.js project. However the Parse Server open source project is very well maintained and supported. I would recommend it for any quick prototype project you need a backend, but don't need it to do anything fancy.
Re:Parse is shutting down today by alysson_b4a on Monday January 30, 2017 @02:23PM (#13524189)
Erik, I recommend use Parse Open source to any kind of App project that needs a robust backend. It is awesome, simple to install and to maintain.
Re:Parse is shutting down today by ojr on Monday January 30, 2017 @04:02PM (#13524978)
for mvp I would say yes, parse-server provides security (ACLs/permissions) and performant database query helpers out of the box, its a battle-tested abstraction layer to mongodb, I had to make some workarounds to work for my specific usecase but just like any other framework it has it pros and cons, marketing and getting new users is the bottleneck for me not the database