Quote:
Originally Posted by BlaBla2
Hi guys,
I started coding 3 months ago. I set out with a goal to create a single page app. I did some HTML, CSS, Python, and then I jumped into Javascript lured in by the fact that I could use JS on front & back-end. I'm doing React & Node now. I was able to fire Webpack, deal with JSX, ES5 vs ES6 etc.,. It definitely is a v steep learning curve for me, but I enjoy it a lot.
As for my application, it's coming very slowly alive, piece by piece. Now I need to finally start integrating it with some back-end. I would like to
- store user's input from a auto-complete dropdown
- store user's input from two radio button selections
- write a simple query algorithm that would generate results based on user's inputs, and return results
Simplest thing I would want to do first, is to create an autocomplete dropdown menu that imports the data from the database. How do I start ?
- I don't have a database yet (but I got the data using a scraper I built in Python). MySQL ? Postgres ? GraphQL ?
- I haven't played with HTTP methods
- I would like to stick with Node since a) I haven't used python in 6 weeks b) I'd prefer to master one language first
- I'm generally confused. I was told I should use Graphcool, Python Falcon framework, Meteor, PHP... what should I use, or where to start first ?
Help & guidance much appreciated
Hey man,
Congrats on beginning your programmer journey!
I'm a game developer turned web developer myself for about 10 years now (wow time flies fast!). Nowadays mainly backend PHP, MySQL although I do my own frontend work as well. My main area is my backend work. If I were you I'd keep things as simple as possible first. Get your MVP working, and then add new features.
Break down your project into it's features, then extrapolate those features down into bite sized tasks. Put those on a todo list.
Backend work is it's own endeavour. You want to plan things well, and build things with a good foundation, so it's best to choose 1 thing, plan out the code, implement then on the next thing making sure you're thinking about the future so you don't end up with a code mess and heck of a time doing updates.
To sum up I'd use MySQL, it's pretty straight forward to be able to get things going and very very popular so there's a lot of resources. If you haven't started working with writing queries, CRUD (Creating, Retrieving / Reading, Updating, and Deleting) user data in a database, and working on proper code construction for good maintainability down the line, protecting your user accessible areas from attacks, Object Oriented Programming you really want to make sure you take it at a good pace, and don't put too many things onto your project todo list at first.
(I actually have a personal web dev project I should be working on right now to be honest, but I figured poker could earn me some money for it while it is in development.)
Anyways, good luck and have a good one!