Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP PHP Basics Getting to Know PHP Intro to Workspaces and PHP Code

Ellon Shotgun
Ellon Shotgun
3,731 Points

Which all languages in computer have command line interface?

php is a language which doesn't require a browser for output and for which command line is sufficient. I just wanted to know more about this and even other languages which follow and unfollow this rule.

3 Answers

all programming languages use the command line and run. the only browser programming language that is in wide use is JavaScript. What about this are you curious about? Remember there is client side and server side.

Ellon Shotgun
Ellon Shotgun
3,731 Points

how does client side and server side relate to this?

client-side …supports interaction within a webpage

Client-side scripting enables interaction within a webpage. The code required to process user-input is downloaded and compiled by the browser or plug-in. An example of a client-side interaction is a rollover (typically triggered when choosing a navigation option).

Client-side scripting languages include JavaScript.

server-side information is sent to a server to be processed

With server-side scripting, completing an activity involves sending information to another computer (server) across the internet. The server then runs a program that process the information and returns the results, typically a webpage.

Search engines use server-side processing. When a keyword is sent, a program on a server matches the word or phrase entered against an index of website content. (To complete the same search as a client-side process would require the browser to download the entire search engine program and index.)

Server-side scripting languages include Ruby and PHP.

Ruby, uses the cmd, and Python as well as node.js I'm sure there are more

Ellon Shotgun
Ellon Shotgun
3,731 Points

Thanks a lot! surely this made my concepts a lot clear