BUILT-IN Web-Language Interpreters
Now, why is it that, the browser behaves one way with the other languages and one way with Java ?
I guess that, it is because the browsers do not have the Java Virtual Machine “installed or “built-in to the browser.
Am I correct ?
If so, then why do not these browsers have the Java Virtual Machine installed in them ?
Why the inconvenience for us to download it ?
This way, I can insert beside them the source code of the Java Virtual Machine on the popular open source browser so next time Java codes will be interpreted without needing to download the Java Virtual Machine. I could call this version the latest version that can translate Java Applets with-out the need to download and install the Java Virtual Machine.
Anyway, in order for my browser to view Java Applets, I know that, all I have to do is download the Java Virtual Machine but I prefer to do things manually just to experiment with the source codes.
Again, more experiments.
It would be totally impossible for me to go through all the source code of a browser as it could have millions of lines of code. I prefer to be pointed to the right direction.
Say that, I bought a webscript that turns my website into a dating website.
Say that, the webscript creates 6 dynamic webpages :
1. Admin log-In Page
2. Admin Control Panel
3. User Sign-Up Page
4. User Log-In Page
5. User Account Control Panel
6. Search Page
And imagine that, there are 3 Perl Cgi files that has the source codes to make the webscript work :
Now, imagine that I want to add a new query field “What Country Do You Reside on the “Search Page because this query field does not exist.
Now, if I ask the script-owner which part of the script to modify to add the new field, he will not simply ask me to go through al the 3 cgi files because this would be too daunting and a time waste for me and working in-effectively and so he will point me to the right direction which is to check the “search.cgi file for the other “existing query fields such as “what is your name, “what is your age, blah blah blah and insert my new query field’s Perl code beside these other query fields. If the other query fields are in the middle of the cgi file then it is no good me inserting my new query fields’ Perl code at the top or bottom of the cgi file as this would make the file look messy and when next time I want to modify this query field I won’t find it near the other query field’s codes and will need to foolishly and unprofessionally search the whole file for it.
So, to make things easy for me, I would insert my new query field’s Perl code near the other existing query field’s Perl code. This is how I would “organise things so it is easy for me to find something quickly that needs modifying.
Also, the Cgi programmers do not write all the codes of a webscript in one file as the file would be too large and too messy to find a certain code for a certain function. That’s why they create different files for different functions such as “search.cgi for all the Perl Codes that makes the “Search page work and “signup.cgi for all the Perl Codes that makes the “Sign-up page work.
This way, if anything needs to be modified for the “Search page then we would look into the “search.cgi instead of the other cgi files.
That’s how cgi files are organised to make things easier for a programmer to modify a webscript.
Question 4 :
Now, I guess the same kind of “organising technique exist in desktop software source codes ?
I want some clever programmer to point me to the right direction like a Cgi programmer would point me to if I need to modify a certain part of his webscript.
Should I be on the look-out for a folder called “Interpreters in the browser source code ?
Since Internet Explorer is not open source then I would appreciate it if anybody can point me to the right direction on the source codes of those other browsers that are open source such as Mozilla, Netscape Navigator, etc.
One of the other reasons why I want to see where the Interpreters are residing so I can check the source codes of the Interpreters too and experiment with them.