|
by Commander Tansin A. Darcos 08/06/2015, 9:20am PDT |
|
|
|
|
|
Right now, for good performance and reasonable ease of use in constructing backends for websites, generally PHP is the best choice for server-side data handling. I've tried some of the others like Perl and found they didn't work well for me.
First, whether I like it or not it's a dialect of C with some extra syntactic sugar to help the interpreter out (like prefixing variables with $) and some improvements to reduce error (making all variables local to a function unless declared global, which reduces the potential for accidental side effects.) This means anyone who knows C basically knows PHP which gives it a big pool of talent.
Second, it's memory resident in the web server, so Apache can pass PHP code directly to the interpreter much faster than spawning a CGI interpreter process. When you're doing large on-line systems reducing overhead increases the response time.
Third, PHP has a huge, rich function library of literally thousands of routines, and because the language has lots more string functions, it does offer a good choice for string processing.
Fourth, it's interpreted which allows for fast testing of applications, eliminating the "compile, test, bomb, edit, recompile" cycle. You can get quick feedback on changes. And if performance is supercritical, there are PHP->C translators so a tested application can be compiled and statically linked, either as a CGI application or possibly as an extension to Apache, I'm not really sure how the web server accepts plugins.
Fifth, it's a vendor-neutral language, you're not locked in to Microsoft's IIS as you would be if you use ASP; nor are you subject to what Oracle decides the language can or should do if you use Java. And it's more-or-less standard across platforms, if you run an AMP (Apache, Mysql,PHP) stack you can put it on a Windows box (WAMP), a Linux Box (LAMP), BSD/Apple, or even on a mainframe.
Sixth, you can change out the database from MySql to Postgres, Oracle, SQLServer, DB2, NOSQL or possibly other options like Hadoop (I'm not really familiar with it, I've never had to work with humongous sets of data in the 100GB and above range.) So you have options to choose if you think a different database or data management system is a better choice for your application.
I'll speak about APL separately.
----
"I'm Tansin A. Darcos and I approve this message."
|
|
|
|
|
|
|
|
Absolutely hilarious - hoist on His own petard by Commander Tansin A. Darcos 07/30/2015, 6:41pm PDT
Good lord, Paul. by First metaphysics, now epistemology 07/30/2015, 11:11pm PDT
You're unable to comprehend humor, Paul, so you just take wild guesses at what by Eurotrash 07/31/2015, 12:27pm PDT
I understand humor; you don't like the subject 'cause it makes you uncomfortable by Commander Tansin A. Darcos 07/31/2015, 7:53pm PDT
Please, sir. by I want some more. 08/01/2015, 12:38am PDT
Can't be that great at thinking if they're still working on it after 2000 years. by Commander Tansin A. Darcos 08/01/2015, 1:14am PDT
Your failure to comprehend religion is just a result of your failure to by Eurotrash 08/01/2015, 1:29am PDT
Hey I got a coffin for you buddy, it's in what's left of my lap! by Commander Tansin A. Darcos 08/01/2015, 1:48am PDT
You're absolutely right. It wasn't until an extraordinary teen with by sub-par artistic skills came along 08/01/2015, 2:05am PDT
I didn't watch the video, you idiot. by Commander Tansin A. Darcos 08/01/2015, 2:18am PDT
GOOD LORD by This actually made me chuckle 08/01/2015, 2:27am PDT
Come on, you actually believed that was Paul? by blackwater 08/02/2015, 1:05am PDT
Yes, we're all ultra-orthodox protestants here in scandinavia by Eurotrash 08/01/2015, 1:24am PDT
Darcos, ol' buddy, are you familiar with Aristotle by and celestial spheres? 08/01/2015, 2:21am PDT
I love reading the fake TDarcos posts, but they aren't mine by Commander Tansin A. Darcos 08/01/2015, 8:12am PDT
Ohh. *falls to knees* Ohhhhh. It's beautiful. by Eurotrash 08/02/2015, 2:06am PDT
Eurotrash fails to think again, as usual by Commander Tansin A. Darcos 08/02/2015, 1:40pm PDT
So you're saying you did in fact never post anything sane? by Eurotrash 08/02/2015, 2:50pm PDT
Look who's talking by Commander Tansin A. Darcos 08/02/2015, 11:14pm PDT
Oh yes, I feel thoroughly ridiculed by you saying you never posted anything sane by Eurotrash 08/05/2015, 3:16am PDT
I'm an unbiased observer of this, but even I have to admit that Paul, you DID NT by essentially claim total insanity. 08/05/2015, 6:43am PDT
No, I did not claim total insanity, or alternatively show where I did by Commander Tansin A. Darcos 08/06/2015, 9:44am PDT
Naw you don't get to set the rules, you cunt on wheels by Eurotrash 08/06/2015, 4:34pm PDT
Re: Naw you don't get to set the rules, you cunt on wheels by Commander Tansin A. Darcos 08/07/2015, 5:06am PDT
Oops my mistake, I totally wasn't trying to be nasty or insulting or anything by Eurotrash 08/07/2015, 8:52am PDT
Waitaminnit, you've confused me...are you saying that people who aren't you by might not be saying what you think? 08/02/2015, 8:31pm PDT
Try again, fella by Commander Tansin A. Darcos 08/02/2015, 11:28pm PDT
And people say you don't get humor. NT by THE FOOLS! 08/02/2015, 11:30pm PDT
PHP and APL? What? NT by Entropy Stew 08/05/2015, 12:19pm PDT
Yes, PHP and APL, but I'll discuss PHP first by Commander Tansin A. Darcos 08/06/2015, 9:20am PDT
Re: Yes, PHP and APL, but I'll discuss PHP first by gg no re 08/06/2015, 5:36pm PDT
Sit down. Class is now in session by Entropy Stew 08/06/2015, 6:45pm PDT
Re: Sit down. Class is now in session by Ice Cream Jonsey 08/06/2015, 8:47pm PDT
The only javascript I want to write is clojurescript after its been compiled by Entropy Stew 08/06/2015, 9:03pm PDT
Re: The only javascript I want to write is clojurescript after its been compiled by Ice Cream Jonsey 08/06/2015, 10:21pm PDT
This site could probably be written in bash script for all the traffic it gets by Entropy Stew 08/06/2015, 11:18pm PDT
Finally the web has gone Full Tacos. by The Happiness Engine 08/17/2015, 3:22pm PDT
I am curious as to the purpose of the sig images NT by Entropy Stew 08/06/2015, 7:35pm PDT
Paul, we all realized there is no God the first time we saw your cooking vids. by blackwater 08/17/2015, 11:57pm PDT
|
|