PHP script language or programming language? [closed] - php

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I never understood why PHP called "scripting language" rather than "programming language".
Is me introducing myself as "PHP programmer" is wrong I should be "PHP scripter"?
What definition of programing language and scripting language?
PHP can have complicated programs done and compiled into .exe files to run on windows.

Usually a language is called a scripting language if it's not compiled. But these days it doesn't matter anymore - PHP programmer is probably the more accurate term.
It's also matters what are you doing with the language. Even people who write in language that have 'script' in its name Java Script are called programmers as soon as they start doing something more advanced than simple DOM manipulations with jquery.
The only people I've lately heard that refer to them selves as scripters are bash-scripters :)

Related

PHP vs Python For Web Crawler [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
i am planning to make web crawler which can crawl 200+ domain, which of the language will be suitable for it. I am quite familiar with PHP but an amateur at Python.
I have built crawlers in both languages. While I personally find it easy to make a crawler in python because of huge number of freely available libraries for html parsing, I would recommend that you go with the language you are most comfortable with. Build a well designed and efficient crawler in a language you know well and you will get even better at that language. There is no feature which can not be implemented in either of the two languages so just make a decision and start working.
Good luck.
You could just try both. Make one in php and one in python. It'll help you learn the language even if you're experienced. Never say no to opportunities to practice.

What do you actually install if you install PHP? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Maybe it's more of a paradigmatic/philosophical question, but I'm wondering for quite some time "What do you install if you install PHP?" Is it the interpreter/compiler or the language constructs (functions, syntax elements etc.) or something completely else?
I'm not an expert at php and have no computer science so I find it hard to truly understand...
You are installing a PHP interpreter (it is an interpreted language on its base), along with its built-in functions (APIs provided as a library along with the language for mostly common used functionality). Also a SAPI (Server API) is installed, which allows the PHP runtime environment to be accessed through a web server.
UPDATE: In a sense, each programming language is considered being defined by the commands recognized by its interpreter/compiler. So we could say that the compiler "defines" the language, as it defines its syntax, semantics and particular behavior. I suggest that you read more about the compilers.

Is ruby Slower than Php in performance benchmarking [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am hearing by lots of programmer that Ruby lacks in performance with comparison to php.
So i try to find out the real picture behind that i saw this post Why do people say that Ruby is slow? .
There are many articles I found but most of them are too old to be considered for me in current scenario as ruby 2.1 already revealed. As a Ruby on rails developer I loved it. But want to know is this true and if yes how can we overcome this bottleneck in ruby .
So please put your thoughts on that
I think how you design your code and what software architecture you use has a larger impact on your performance than the underlying language. In my opinion programmers and software architects make software fast or slow. Ruby and PHP are both interpreted languages which can make code slower than compiled code because a compiler does certain optimizations.
But for both PHP and Ruby there exist bytcode caches and compilers.

Should I learn pure PHP before the Django framework? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
I've been coding with django for a few months now, and I have made good progress. But, I feel like I don't understand what's happening under the hood well enough to make the leap from beginner to advanced. For example, it's easy to manipulate the database via ORM in Django without having any knowledge of SQL. As another example, user authentication in Django almost only requires me to import a module and writing a couple of lines of code. I don't have to have any knowledge on sessions, database queries etc.
As I have done no prior web programming except Django, I was wondering if it would make sense to move to PHP (without a framework) and when I've learned the fundamental concepts of web development (cookies, sessions, SQL etc) return to Django development?
No, that wouldn't make any sense at all.
PHP is just one language for writing websites. It works in a certain way, but many of the things that you often see in PHP are not generally considered best practice. It's very unlikely to help you write a decent Python web app.
If you really want to learn how everything works, you could just as easily write a Python app using raw WSGI, or a micro-framework like Flask.

Is PHP a web Technology or a scripting language? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
Its very basic and silly question....
Is PHP a web Technology or a scripting language?
I believe as it is scripting language, but why other believes it as web technology?
and if its a scripting language then in which web technology does the PHP counts in?
i know it might seem a vague question to some people, but lets face the truth many of us are confused about it..
So geeks please clarify me....
Why can't it be both? If scripting languages are interpreted languages, then PHP is clearly a scripting language.
If a web technology is something used on the net, then PHP is clearly a web technology - it powers many sites on the net.
I see nothing which would prevent PHP from being both a scripting language and a web technology.
PHP is web-oriented (the only one) scripting language.
That's why many people confuse it with web technology.
PHP's a multi purpose scripting language that was originally made for web development. So it's both.

Categories