JavaScript AJAX Basics (retiring) jQuery and AJAX Posting Data with jQuery

Mitchell Lembke
Mitchell Lembke
Front End Web Development Techdegree Student 13,843 Points

Posting Form Data Locally(MAMP)

Hey friends,

My mom works for a company who doesn't have a good way to get new employees' basic information into their intranet. I want to help!

I've created a basic form that they can fill out and submit. I am trying to test it locally and I'm just in the baby stages with basically no knowledge of server-side languages. I've downloaded MAMP and have a local host set up on my computer.

I just don't know where to go from here. My objective is to be able to fill out the form and have the data stored on my local server(MAMP). Then, I would like to use a search input and search for that person by name and be able to pull up all of their information in a friendly looking way.

Can anyone point me in the correct direction? Am I in over my head or would this be pretty simple to do? Thanks!

2 Answers

Talip Can Korkmazer
Talip Can Korkmazer
9,405 Points

Hi, firstly javascript is a client-side progamming language. That means your code only work on the browser. You can send, receive and manipulate data with javascript but can't process the data. By mean process, write the datas to database or such. You need a server-side progamming language such as php. I understand your goal is putting some data to a database and read those afterward. So check the php course on treehouse. Those courses give you the information you need.

Mitchell Lembke
Mitchell Lembke
Front End Web Development Techdegree Student 13,843 Points

Awesome! Looks like I will need to get my hands dirty with some server side language. Woo hoo! :) Thank you!

You could just use node.js.