Jump to content

Help me.......


Alexander_john

Recommended Posts

  Quote

  Quote
You can have html without javascript but you can't have javascript without html.

 

Um, indeed you can. That is like saying PHP is useless without HTML, but you can build applications with PHP that have nothing at all to do with HTML or the web. Same goes for JavaScript.

 

Can you give an example of javascript being used without html?

 

And what applications in php are used that are unrelated to the web? PHP means "Hyptertext preprocessor", so I'd say in its definition it's used for html(hypertext markup language)

 

 

EDIT: now that I think of it, I suppose php can be used to move files around and do server-side things that don't require html to be output, but it'd still require a browser or similar program to begin execution(even with cron jobs)

Link to comment
https://forums.phpfreaks.com/topic/258110-help-me/#findComment-1323386
Share on other sites

  Quote
Can you give an example of javascript being used without html?

 

This list here contains many.

 

  Quote

And what applications in php are used that are unrelated to the web? PHP means "Hyptertext preprocessor", so I'd say in its definition it's used for html(hypertext markup language)

 

There are numerous: phpunit, phake & phrozn come to mind.

Link to comment
https://forums.phpfreaks.com/topic/258110-help-me/#findComment-1323391
Share on other sites

Yeah, while allot of those libraries, frameworks and application are web related, allot of them also are not. JavaScript is just a scripting language like any other.

 

It has command line interfaces available, but also happens to be the standard language embedded into browsers.

 

Take a look at node.js.

Link to comment
https://forums.phpfreaks.com/topic/258110-help-me/#findComment-1323397
Share on other sites

  • 3 weeks later...

Archived

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

×
×
  • Create New...

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.