# What backend solution would you recommend?

**URL:** <https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941>\
**Category:** ionic-v1\
**Created:** [February 8, 2014, 7:37pm UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941 "2014-02-08T19:37:40Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![JerryBels](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jerrybels/32/7502_2.png) [@JerryBels](https://forum.ionicframework.com/u/JerryBels)\
**Post date:** [February 8, 2014, 7:37pm UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/1 "2014-02-08T19:37:40Z")

</div>

Hello guys !

So after debating a long time with my coworkers, we chose to go with Ionic on the client side. We have a very big hybrid ()phonegap) application coming, something huge, with a lot of data to store and use in live (websocket…).

We’re now debating about the backend solution. Our two main options are Node.js and Laravel framework, but we are open for suggestions. Node looks more reactive, but this tends to be a draw when using Facebook’s HipHop (HHVM), which is 100% compatible with Laravel. Websockets seems more easy to use in Node, as well as MongoDB (which we chose for DB storage). But I have read somewhere that Node could be a very bad choice for very big applications, and have to take in mind we feel already comfortable with PHP, where Node would be a start-to-learn.

Thanks ahead for any advice !

---

<div class="post-metadata">

**Author:** ![gregorypratt](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/gregorypratt/32/64031_2.png) [@gregorypratt](https://forum.ionicframework.com/u/gregorypratt)\
**Post date:** [February 8, 2014, 10:38pm UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/2 "2014-02-08T22:38:34Z")

</div>

I’m personally using [ASP.NET](http://ASP.NET) Web API for my services which talks to MongoLab.

Have you taken a look at Firebase? Looks quite cool. User authentication etc. Would be interesting to see how far you could go without writing any server-side code at all and simply relying on their APIs.

---

<div class="post-metadata">

**Author:** ![JerryBels](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jerrybels/32/7502_2.png) [@JerryBels](https://forum.ionicframework.com/u/JerryBels)\
**Post date:** [February 8, 2014, 10:55pm UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/3 "2014-02-08T22:55:04Z")

</div>

Hey, and thanks for the answer !  
I’m not interested to work in .NET, did it once, never again ^^ I understand why people would use it, but I personally don’t like it.  
I saw the Firebase solution, but that’s the problem : it would be interesting to know how far you can go, but I can’t take the chance to lose weeks of work if it finally don’t fit. And also, I don’t want my application du depends entirely on a third party service !

---

<div class="post-metadata">

**Author:** ![Ben](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/ben/32/115916_2.png) [@Ben](https://forum.ionicframework.com/u/Ben)\
**Post date:** [February 9, 2014, 1:34am UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/4 "2014-02-09T01:34:47Z")

</div>

For what it’s worth, we are big Firebase fans over here!

---

<div class="post-metadata">

**Author:** ![rahul\_guha](https://avatars.discourse-cdn.com/v4/letter/r/779978/32.png) [@rahul\_guha](https://forum.ionicframework.com/u/rahul_guha)\
**Post date:** [February 9, 2014, 2:42am UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/5 "2014-02-09T02:42:44Z")

</div>

I would use Mongo with Node - Express. May be express would be overkill and use some more lightweight framework like [restify](http://mcavage.me/node-restify/) etc

---

<div class="post-metadata">

**Author:** ![vialware](https://avatars.discourse-cdn.com/v4/letter/v/c37758/32.png) [@vialware](https://forum.ionicframework.com/u/vialware)\
**Post date:** [February 9, 2014, 2:51am UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/6 "2014-02-09T02:51:36Z")

</div>

Have you looked at [Parse](http://www.parse.com)? It’s a really cool platform for data, push notifications and social sign in.

---

<div class="post-metadata">

**Author:** ![KazekageGaara](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@KazekageGaara](https://forum.ionicframework.com/u/KazekageGaara)\
**Post date:** [February 9, 2014, 6:27am UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/7 "2014-02-09T06:27:08Z")

</div>

Parse has a very simple API and is really awesome. Also, it has API methods for Facebook integration and stuff. Really easy to import and export data and is very awesome. I would recommend Parse.

---

<div class="post-metadata">

**Author:** ![JerryBels](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jerrybels/32/7502_2.png) [@JerryBels](https://forum.ionicframework.com/u/JerryBels)\
**Post date:** [February 9, 2014, 7:38am UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/8 "2014-02-09T07:38:50Z")

</div>

@all, you recommend me, if I understand, to give it a try, as it has no really annoying limitations like I fear ? Parse vs Firebase… I have just read that for real time apps Firebase does better job.

---

<div class="post-metadata">

**Author:** ![KazekageGaara](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@KazekageGaara](https://forum.ionicframework.com/u/KazekageGaara)\
**Post date:** [February 9, 2014, 1:16pm UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/9 "2014-02-09T13:16:30Z")

</div>

The main thing that you need to consider is how much effort do you wish to put into making the backend solution that communicates with your app. Parse and Firebase both fall into the category of BaaS (or rather mBaaS) providers. If you need complex web services and/or stored procedures at the database server, then probably you should stay away from BaaS providers. If you need simple GET/POST RESTful services, then using a BaaS will reduce your dev time a lot.  
Besides, you need to check if they provide the APIs for `push`ing the data. And probably test the response times for them in case the data to be sent is really very heavy.

---

<div class="post-metadata">

**Author:** ![elit](https://avatars.discourse-cdn.com/v4/letter/e/eada6e/32.png) [@elit](https://forum.ionicframework.com/u/elit)\
**Post date:** [February 9, 2014, 2:02pm UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/10 "2014-02-09T14:02:29Z")

</div>

Simple question here:

Is using a Firebase like service means that all the app logic and code need to be open for everyone, as all the code is on the client side ?

---

<div class="post-metadata">

**Author:** ![JerryBels](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jerrybels/32/7502_2.png) [@JerryBels](https://forum.ionicframework.com/u/JerryBels)\
**Post date:** [February 9, 2014, 3:28pm UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/11 "2014-02-09T15:28:36Z")

</div>

@KazekageGaara Thanks for this interesting point. Lets say I will need to do very heavy searches in the DB, filtering data with users choices. I have read a lot about ElasticSearch, for example, that provides amazing tools to do this. How would this fit in a Firebase based service ? I guess that Firebase would not be very usefull if I need my own server to perform research over its data…

---

<div class="post-metadata">

**Author:** ![KazekageGaara](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@KazekageGaara](https://forum.ionicframework.com/u/KazekageGaara)\
**Post date:** [February 9, 2014, 4:45pm UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/12 "2014-02-09T16:45:10Z")

</div>

@JerryBels I’ve not had much of an exposure to Firebase, but since it is a mBaaS, I believe it will not provide a lot of data intensive features out of the box. Though generally such platforms do offer custom queries/methods which can be utilized. It depends what kind of analysis/research you want to do over your data. I would suggest that you should explore Firebase a little (with your requirements in mind) and then make your own informed decision.

---

<div class="post-metadata">

**Author:** ![KazekageGaara](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@KazekageGaara](https://forum.ionicframework.com/u/KazekageGaara)\
**Post date:** [February 9, 2014, 4:51pm UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/13 "2014-02-09T16:51:16Z")

</div>

@elit No. Only client side logic will be open like it will be for every other app.

---

<div class="post-metadata">

**Author:** ![JerryBels](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jerrybels/32/7502_2.png) [@JerryBels](https://forum.ionicframework.com/u/JerryBels)\
**Post date:** [February 9, 2014, 4:57pm UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/14 "2014-02-09T16:57:45Z")

</div>

Thank you for your help, I guess that what I’m going to do.

Now to come back to my first question, and assuming the BaaS solution won’t fit in my needs, what do you guys would recommend : Laravel or Node ? This, keeping in mind it would be a heavy algorithmic app with real time queries and we feel more comfortable with PHP…

Thanks again, you guys are awesome, so is that community !

---

<div class="post-metadata">

**Author:** ![KazekageGaara](https://avatars.discourse-cdn.com/v4/letter/k/2acd7d/32.png) [@KazekageGaara](https://forum.ionicframework.com/u/KazekageGaara)\
**Post date:** [February 10, 2014, 7:00am UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/15 "2014-02-10T07:00:48Z")

</div>

@JerryBels I would recommend Node. Besides, I’ve got no experience with Laravel. Connecting to MongoDB and pushing data using Web Sockets is pretty easy with Node.js AFAIK.  
You could wait for someone else’s opinion as well, and then draw a conclusion.

---

<div class="post-metadata">

**Author:** ![JerryBels](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jerrybels/32/7502_2.png) [@JerryBels](https://forum.ionicframework.com/u/JerryBels)\
**Post date:** [February 10, 2014, 7:11am UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/16 "2014-02-10T07:11:33Z")

</div>

Thanks, I will wait for other’s opinions also. About Node, what do you think of the computation-heavy apps performance weakness ( [http://www.srirangan.net/2012-05-node-js-critics-which-part-of-event-driven-non-blocking-io-model-you-dont-understand](http://www.srirangan.net/2012-05-node-js-critics-which-part-of-event-driven-non-blocking-io-model-you-dont-understand) ) ?

---

<div class="post-metadata">

**Author:** ![vialware](https://avatars.discourse-cdn.com/v4/letter/v/c37758/32.png) [@vialware](https://forum.ionicframework.com/u/vialware)\
**Post date:** [February 10, 2014, 10:50pm UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/17 "2014-02-10T22:50:17Z")

</div>

@JerryBels I really like Laravel and use it a lot. However for the best websockets support i’d recommend using Node.

---

<div class="post-metadata">

**Author:** ![JerryBels](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jerrybels/32/7502_2.png) [@JerryBels](https://forum.ionicframework.com/u/JerryBels)\
**Post date:** [February 11, 2014, 6:18pm UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/18 "2014-02-11T18:18:34Z")

</div>

Thanks for this advice also. We decided to try two things : one of us will try Laravel as main backend with Node just for websockets, and at the same time I will go and look deeper in Firebase. Thank you so much to all of you !

---

<div class="post-metadata">

**Author:** ![rdtran](https://avatars.discourse-cdn.com/v4/letter/r/7ab992/32.png) [@rdtran](https://forum.ionicframework.com/u/rdtran)\
**Post date:** [February 19, 2014, 3:40am UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/19 "2014-02-19T03:40:17Z")

</div>

Please keep this conversation going. I very interested in this topic. Thanks.

---

<div class="post-metadata">

**Author:** ![JerryBels](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/jerrybels/32/7502_2.png) [@JerryBels](https://forum.ionicframework.com/u/JerryBels)\
**Post date:** [February 19, 2014, 10:40am UTC](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941/20 "2014-02-19T10:40:51Z")

</div>

Well I finally decided to give Firebase a try, as its possibilities seems very large and promising. I will provide feedback eventually, but don’t wait for it, because it will come only in several months (I have very few time for this project…)

[Next page](https://forum.ionicframework.com/t/what-backend-solution-would-you-recommend/941.md?page=2)
