I've been doing front end web development for a few years. I'm in the process of building my first real web app. I am at the point in the project where it seems necessary to add user authentication. I am writing the app in PHP and am not using any frameworks. Since security is a big concern, I want to make sure I go about adding authentication correctly. I've been researching the best way to handle authentication and some have suggested to use pre-written scripts, while others have suggested using a framework. What should I do?
I would like to lazy load images on my website to speed up performance, however I am concerned about the fallback issues. As the images are loaded in via JavaScript, users without JavaScript will get no images.
Also not sure if the images will get indexed by Google, as they would not be in the DOM initially.
Will putting the images in a <noscript> tag solve this problem? What is your view on this?