Is there any book out there that explains the details about browser working..mainly code behind a browser. I am intersted to know how does the browser sends the request to server and recieves the response. How does it render the information. How does Java script work..internals of browser. Asynchronous requests are handled by browser..how?
I am not sure if this is the right forum. But this is the closest I could find.
Which browser? They all do things very differently.
I'm not sure if there have been any books published on the subject (a cursory check at Amazon led to no joy), but you may be able to find articles or white papers on the web. Finding info on open-source browsers may also be far easier than for proprietary browsers.
I am not looking for any particular browser. Though it would be good if I could get information about IE or firefox.
I want to know what happens when you type a URL and hit enter and some information is displayed ( AJAX or no AJAX). Like the browser will open a socket connection with the server and then will send the request using the opened socket. But I just have the very basic knowledge..probably looking for more details.. I am not sure but probably I should look into some networking book?
One way to start digging in might be to take a gander at the HttpClient Jakarta project. This is a Java library that performs many of the functions that a browser must perform (minus the renderring parts).