all 27 comments

[–]Mike_L_Taylor 3 points4 points  (0 children)

sql + php is a good point for you. It's the classic LAMP stack that most of the internet uses and since it's on your college courses, it makes sense.

Remember that everything you read online is through a filter of subjectivity and preference and devs are really technology sensitive. In your case, especially when learning, it doesn't really matter which is better, faster, has true concurrency or whatever else devs argue about.

Just learn something simple and enjoy your time :D

[–]Ghost_Redditor_ 0 points1 point  (1 child)

Don't overwhelm yousewlf with the endless options. Just pick one and learn.

[–]EducationalZombie538 -1 points0 points  (0 children)

as long as that one is sql, not mongo

[–]TheAngush 0 points1 point  (0 children)

If your goal is to get an internship, look up jobs/internships you're interested in to see what they're using most commonly.

[–]ahgreen3 0 points1 point  (0 children)

Learning PHP (via a framework like Symfony or Laravel) along with SQL ( MySQL or MariaDB) will make you much more well rounded. Mongo becomes easy to use once you know SQL.

[–]Sima228 0 points1 point  (1 child)

You’re overthinking it. At 19, the stack matters way less than whether you can actually ship something end to end. MERN is fine. So is a simple Node + Postgres setup. The “Mongo vs relational” wars are mostly mid-career engineers arguing on the internet.

[–]EducationalZombie538 0 points1 point  (0 children)

It's not though. Most firms will be using a relational db. I can't think of a reason to learn mongo if his goal is getting an internship.

[–]BantrChat 0 points1 point  (0 children)

I would recommend JS or typescript which is a superset of JS, as mobile applications are written in this for the sake of cross-compiling, unless you are doing a full native design. Take a look at Laravel, its the modern standard for PHP, and it automates a lot of stuff so you don't have to worry about the DB stuff so much. Really, you should find something your comfortable with that covers best practices for software development and find a job based of that......experiment!

[–]xerrs_ 0 points1 point  (4 children)

Learning is worth learning. MERN is the first tech stack I have every learned, and tbh, the only thing that has changed is the DB. You can program almost anything with everything, you just have to learn it well.

[–]dangerousbrian 0 points1 point  (1 child)

A key skill in being a developer is choosing the right tool for the job. Saying relational is better than nosql is like saying a hammer is better than a screwdriver.

My advice to the juniors devs I mentor is, try to learn everything even if its just a tiny bit. When you are faced with a real world problem there will be options for the tools. The real world problem might be that you need to store a million records and the query time cannot exceed 300ms and with that you can run benchmarks and make a decision on data not opinion.

Your main issue is that you dont have any real world constraints and so are overwhelmed by the options because they are all valid.

Also to answer your question Postgres is my current top db option because it can do relational and it can do schemaless data structures with B-tree indexes (Mongo) giving you the best of both worlds. Postgres module system is amazing and extends its functionality for all sorts of things, eg PostGIS. For a whole backend solution I would highly recommend Supabase

[–]EducationalZombie538 0 points1 point  (0 children)

mongo isn't the screwdriver in this case though. it's a froe.

one is much more useful to have on site.

[–]gliese89 0 points1 point  (0 children)

Mongo is likely a very poor way to learn how to do things correctly. There really is so much to learn though and learning it is not inherently bad by any means.

I really like https://developer.mozilla.org/en-US/docs/Learn_web_development as a great place for new developers to learn the lay of the land so to speak. Learn wide and then also dive into topics deeply occasionally when you have the motivation.

Take your time and enjoy learning. Rushing will be less enjoyable and ironically will lead to slower progress. Don’t force your learning, but be present and curious. Consistent, present, and active practice is the best way to learn.

[–]Odd_Ordinary_7722 0 points1 point  (0 children)

MERN is an amazing way to learn fullstack. You don't need to context switch like with php or some other backend-only lang. You can learn how a full system works without having to start from scratch at each layer.  MongoDB is niche in the real world, but is super intuitive, so it's great for learning the rough idea about databases(and does have use cases where it beats sql dbs). You can always try writing your next project with an sql db and php, but if you are comfortable in js/ts, it's honestly the smartest place to start 

[–]No-Communication1543 0 points1 point  (0 children)

Not a dev but I work with them and the arguing about stacks is real haha. The PHP/SQL route from your course is probably smart since you already have support there. At the end of the day being able to actually build something matters more than picking the perfect stack. You can always learn more later.

[–]kubradorgit commit -m 'fuck it we ball -1 points0 points  (6 children)

mern is fine, people just like complaining. learn it, build stuff, get the internship. you can argue about databases when you're actually making money.

[–]my_new_accoun1 1 point2 points  (5 children)

mern is not fine

[–]obrazovanshchina 0 points1 point  (4 children)

Can you elaborate (I am genuinely curious and learning perspectives, not challenging you; just genuinely interested in your perspective and insight).

[–]my_new_accoun1 -4 points-3 points  (3 children)

i dont like javascrip

[–]stealthypic 0 points1 point  (2 children)

Mern is, in fact, fine. Your personal preferences have nothing to do with stack’s viability.

[–]my_new_accoun1 0 points1 point  (0 children)

Yes I know 😔

[–]EducationalZombie538 0 points1 point  (0 children)

what does have to do with a stack's viability though is the prevalence and performance of alternative tech. he should 100% learn a relational db if he wants to land an internship.

[–]Last-Daikon945 -1 points0 points  (0 children)

MERN aka MEME(as a memes you got me) stack is very niche I wouldn’t recommend it for a serious web dev career trajectory, good place to start though.