Page 1 of 1
Cumulus Web Page Calculation
Posted: Thu 18 Nov 2010 4:17 pm
by wd40
I have learned by first lesson in html that everyone else probably knew. It only does layout coding if that is the proper term and it want perform math functions.
As I understand it so far, java is my best way to go.
I ran this script I found on the internet on my blog and it worked so I have at least got my feet wet.
<script type="text/javascript">
document.write((2+3)*2);
</script>
I read somewhere that coding will suck the life out of your day.

Got to have something to do on rainy days.
Randy
Re: Cumulus Web Page Calculation
Posted: Thu 18 Nov 2010 4:22 pm
by daj
Great start Randy,
wd40 wrote:As I understand it so far, java is my best way to go.
Just to be clear, you are coding in Javascript, not Java. Best to get the terminology correct
The two common ways are Javascript or PHP for doing all the fancy stuff. They both have the good and bad points. Possibly the biggest consideration is that any Javascript is run on the users browser -- so the page is downloaded and their PC does the work of Javascript. With PHP it is all done on the server and the result is sent to the user.
Re: Cumulus Web Page Calculation
Posted: Thu 18 Nov 2010 4:23 pm
by steve
wd40 wrote:As I understand it so far, java is my best way to go.
A tip, before you get into a bad habit: Java and JavaScript are completely unrelated (even though a certain user here tries to deny that). JavaScript is what you're using.
Edit: Ah - beaten to it!

Re: Cumulus Web Page Calculation
Posted: Thu 18 Nov 2010 4:25 pm
by daj
steve wrote:Edit: Ah - beaten to it!

It's strange -- sometimes the fourm will tell you if someone has already posted while you were writing (In which case I cancel my reply if it is the same). Other times it does not

Re: Cumulus Web Page Calculation
Posted: Thu 18 Nov 2010 4:28 pm
by steve
daj wrote:It's strange -- sometimes the fourm will tell you if someone has already posted while you were writing (In which case I cancel my reply if it is the same). Other times it does not

I've noticed that; I think it's the timing. Or a bug. On a number of occasions I've missed someone's post completely, and perhaps only noticed it days later, because it was posted at the same time as mine, particularly if it involves a 'page turn'.
Re: Cumulus Web Page Calculation
Posted: Thu 18 Nov 2010 4:58 pm
by wd40
daj wrote:Great start Randy,
Just to be clear, you are coding in Javascript, not Java. Best to get the terminology correct

Lesson 2
Thank you both.
Randy
Re: Cumulus Web Page Calculation
Posted: Thu 18 Nov 2010 9:37 pm
by Ned
daj wrote:
The two common ways are Javascript or PHP for doing all the fancy stuff. They both have the good and bad points. Possibly the biggest consideration is that any Javascript is run on the users browser -- so the page is downloaded and their PC does the work of Javascript. With PHP it is all done on the server and the result is sent to the user.
One stumbling block I found with PHP is that all servers do not support it. I had to search around for a free PHP server to host my banner only, as my home page server couldn't

Re: Cumulus Web Page Calculation
Posted: Thu 18 Nov 2010 10:01 pm
by daj
Ned wrote:One stumbling block I found with PHP is that all servers do not support it. I had to search around for a free PHP server to host my banner only, as my home page server couldn't

My hosting is free and PHP friendly

but I know what you are saying. A lot of the free offerings don't do it, or slap adverts all over the pages