Jump to content

Astroid Impact Calculator

Featured Replies

yeah, the numbers there are horrible, you need to get an 'image' of what is going to happen!

yeah. You would need to create almost every single possibility, making it impossible!

Not really, aom, you could just set up a javascript which would script placement on a preset graph, with different values, then connect those or do whatever you'd need to.

Not really, aom, you could just set up a javascript which would script placement on a preset graph, with different values, then connect those or do whatever you'd need to.

 

The hard bit geting what you've input to affect the output. There's some quite complex math behind that.

 

And I'd use a server-side language for that, definately not clientside.

yeah. I wouldn't expect someone to do that on JAVASCRIPT! Its near to impossible. Doing it in ASP, CCS, and other server-side languages would be much easier.

also, i don't think some computers have javascript enabled. I think about half of them don't. Server side languages are more compatible

Well, the majority of computers now use fairly modern browsers; only a very small proportion of them don't use javascript any more. This site has quite a lot of javascript in it, for example.

actually, this uses PHP, something that computers can all read. All computers have the ability to read javascript, but, some have just disabled it.

All browsers don't have the ability to read javascript. I could use lynx (which is a perfectly good linux-based text browser), and that's not javascript enabled. And yes, this site does use PHP, but that's only to generate the HTML. Javascript is used to make the interface look pretty. If you don't believe me, I suggest you click the little arrow next to the 'Quick Links' button at the top of the page.

yeah, ur right. I took a look at the source, and there is a little bit of javascript invlolved. :)

actually, this uses PHP, something that computers can all read. All computers have the ability to read javascript, but, some have just disabled it.

Not quite.

 

PHP is a hypertext preprocessor - the script is run on the server and generates HTML, CSS and JavaScript to send to the client. When you look at SFN, your computer is not "reading" the PHP. It doesn't see a scrap of it.

 

Client-side languages are processed on-the-fly by the browser, and they should be avoided (hello javascript) unless you actually need to manipulate the browser itself (window attributes etc). Wherever javascript is used on a page, there should be an alternative for non js-enabled clients embedded using the <noscript> tag.

yeah. I wouldn't expect someone to do that on JAVASCRIPT! Its near to impossible. Doing it in ASP, CCS, and other server-side languages would be much easier.

Doing it in ASP would be horrible as it's an absolutely hideous language. Not sure what you mean by CCS. Cisco Collaboration Server? :confused:

 

PHP would be best as it has easily implemented maths and some nifty graphing capabilities.

Doing it in ASP would be horrible as it's an absolutely hideous language. Not sure what you mean by CCS. Cisco Collaboration Server? :confused:

 

PHP would be best as it has easily implemented maths and some nifty graphing capabilities.

 

Sorry, that was a spelling mistake, CSS was what i wanted to say :D

PHP is a hell of a lot better than ASP, so much more functionality for one thing.

 

I agree!

Sorry, that was a spelling mistake, CSS was what i wanted to say :D

That'd be slightly tricky. CSS is a client-side language that dictates page- and element-level styles to the browser.

 

MathML might come in handy somewhere:

http://www.w3.org/Math/

yeah, possibly. I don't really know any of these languages really well, i know a little bit about CSS, javascript and HTML and that's about it :)

Archived

This topic is now archived and is closed to further replies.

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.