How do I set up a system/development environment for a program/webapp that deals with database?
What I did was I searched for solutions based on need, so I went searching and I found AngularJS to be nice in populating a webpage with elements in a database. I went on codecademy and did their tutorial for AngularJS. I found out it can read data off JSON tables - great.
Then I continued up to the point where I realized: "Hey, up to this point I'm already sure I won't need the next features in the tutorial for what I want to do. I think I've already gotten what I want to know from this set of tutorials."
So then I searched further regarding database stuff, and then I found out there were many types of databases such as MySQL, SQLite, PostgreSQL...(and they can respond to requests in JSON format..?) from what I can gather all these have different optimizations for data types, etc so I wasn't sure which one to use. I followed some tutorials on SQLite and PostgreSQL, but they mostly taught me about the syntax and general conventions on how you use it, such as SELECT * FROM table_name, etc... So I've got that part down.
What I want to know now is, what's the next step? Is there a GUI program for databases so I can view my database file in a simpler way? Any IDE I should be aware of that makes development easier? (I'm currently just using vim as my text editor) How do I link everything - the front end, back end/server, and the database together? What's a good way to request the data on the front end? Maybe with JavaScript? What about the back end? Does the back end need to be a web page, such as PHP? What if the back end is written in Python or Java? How does that work? How do I send the request to the server to get info from the database?
TL;DR: Sometimes I see people writing "Oh it's written with a AngularJS and JavaScript frontend with a Java linked to a PostgreSQL database. Cool. I have a basic understanding of those things, but how exactly do get them to work and communicate with each together?
Posted Jun 14, 2015, 12:39 AM UTC