News for hackers. Stuff that matters.
Re:Ask HN: First mobile side-project: What stack to choose i... by sjs382 on Wednesday January 02, 2019 @11:26AM (#18807316)
Use exactly what you already know (angular + whatever you use on the backend).

Unless of course the real "side-project" is learning a new stack[0], you want to set yourself up for success by using what you're already familiar with.

[0] This can be completely valid and worthwhile—just be honest with yourself about whether your goal is to learn something new or to solve a problem or to create a business.

Re:Ask HN: First mobile side-project: What stack to choose i... by woodpanel on Wednesday January 02, 2019 @11:47AM (#18807519)
Thank you.

My problem is: exactly what I know is not sufficient ;-) I know JS. The backend layer for me is unchartered territory, DBs I've shunned most of my career. So some learning curve can't be evaded.

And from looking at the view-layer competitors to angular (vue and react) I'm not sure why not to give those frameworks a try, as Ionic seems to be less 'native' and more 'webView' oriented.

Re:Ask HN: First mobile side-project: What stack to choose i... by zer00eyz on Wednesday January 02, 2019 @11:59AM (#18807653)
> DBs I've shunned most of my career.

Database Design for Mere Mortals: https://www.amazon.com/Database-Design-Mere-Mortals-Hands/dp...

This is the book I recommend to everyone who is shy about DB's - I have owned several copies and given every one away. It breaks down not only functionality but how to create a good design in a sensible and easy to understand way. Worth every penny (and now somewhat cheap)

Re:Ask HN: First mobile side-project: What stack to choose i... by cafard on Thursday January 03, 2019 @09:42AM (#18815388)
Long ago I read it, and found it frustrating. I don't remember all my objections, but I do remember one: the author spent about four pages almost but not quite defining 3rd Normal Form. Yes, jargon can be a barrier for beginners, but jargon also serves a purpose.

It seems to me that Jim Melton's Understanding the New SQL was pretty good. Anyway, I'm pretty sure I read one of Melton's books when I was learning about databases.

Re:Ask HN: First mobile side-project: What stack to choose i... by ejanus on Friday January 04, 2019 @11:36AM (#18825289)
It was hard for me to absorb , I was like thinking that I lacked basic knowledge needed to master it.
Re:Ask HN: First mobile side-project: What stack to choose i... by zer00eyz on Thursday January 03, 2019 @06:25PM (#18820397)
RDBM's are a domain, and have their own terminology.
Re:Ask HN: First mobile side-project: What stack to choose i... by woodpanel on Thursday January 03, 2019 @08:19AM (#18814819)
Thank you very much for recommending the book. Does it also provide a sense of when to use non-relational database systems, like NoSQL or GraphDBs (The book's description as well as "look inside" function at Amazon didn't yield any results for those two) ?
Re:Ask HN: First mobile side-project: What stack to choose i... by zer00eyz on Thursday January 03, 2019 @06:44PM (#18820541)
> Does it also provide a sense of when to use non-relational database systems, like NoSQL or GraphDB

I always thought of the NoSQL movement as encompassing document, KV, and GraphDb's and each can be a major departure from RDBMs thinking. These technologies aren't always "replacements" for RDMB's and often live alongside them, Redis (or memcache) and Solr/Lucene (or elasticsearch) are ones that I have personally used the most.

As you move into other tools like Cassandra or a Graph DB they look shiny but you are making some major (and maybe worthwhile) trade offs. These sorts of decisions probably shouldn't be made based off of knowledge from a book but rather experience and more importantly testing (performance and use).

As a side note, the last project I did ended up using a flat file as a back end because it was fast, simple and easy while meeting the needs for what it had to accomplish. Installing a DB was more work than needed.

Re:Ask HN: First mobile side-project: What stack to choose i... by dhruvkar on Wednesday January 02, 2019 @04:27PM (#18810398)
thanks for this, bought. been looking for a recommendation in this space.
Re:Ask HN: First mobile side-project: What stack to choose i... by akudha on Thursday January 03, 2019 @09:24AM (#18815264)
DBs I've shunned most of my career. So some learning curve can't be evaded.

Assuming you're doing a small application with standard features, you should be able to pick up the basics over a weekend. It is a different story if you have to scale to tons of users, improve performance etc, but for a normal application, designing a bunch of tables shouldn't be hard.

The backend layer for me is unchartered territory

This might take a bit more work than the DB. My you know JS, so maybe you could pick nodeJS for the backend?

Re:Ask HN: First mobile side-project: What stack to choose i... by louisswiss on Thursday January 03, 2019 @11:25AM (#18816274)
Could try something like Firebase/Firestore and Cloud Functions to replace any work you'd have to do on the backend?
Re:Ask HN: First mobile side-project: What stack to choose i... by miguelrochefort on Wednesday January 02, 2019 @08:29PM (#18812047)
I think you can use Angular natively via NativeScript.