So, I am a bit new with javascript, pretty good with php and mysql. I want to create a multi page web application with the feel of just a single page, just like a desktop application. I did some searches on google, and I am thinking I am just not using the right terminology.
Right now I have the toolbar on the top, with multiple buttons and what not, and when you click on them, the javascript runs through a gambit of switch/case situations. Each page will have different options and user rights, but I foresee this getting out of hand quickly as new pages come online and the switch/case tree will just be a mess.
My question to all you experts out there who program this stuff for a living. How do you do it?
Should I make individual js files and just include them in the header?
Should I use links and load the pages via ajax?
Should I just make one giant js file and do it that way?
I think my biggest problem is getting away from thinking inside the box on typical web development. I just need some good pointers to get me going.