New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Comments
Perl is highly underated. Its has a much more stable language. Its moderators don't change the language every user group meeting.
My first cgi scripting also with perl. As a c coder it was a easy switch.
What language should shared web hosting be using?
I think that's really the answer to the question. Other languages, like NodeJS, represent a fundamental shift in how web scripts/applications are deployed. And everyone is used to the PHP method of interacting with the web server.
For NodeJS on a shared web hosting server that's using Apache, Litespeed, nginx... you're really losing the thing that makes NodeJS so fast. And on a shared web hosting server, a server administrator can't justify binding an Express web server to ports 80 and 443 because that will cut off every non-NodeJS account.
There's also no (that I'm really aware of, but I'll admit - I'm probably not that aware) major distributable scripts for shared web hosting clients to use that are based on NodeJS or any other non-PHP language. Someone that wants to use NodeJS is probably going to have to develop the application themselves and tailor it specifically for their needs. And then they are probably going to want their own root-level VPS to adequately run the application. And that's just not something shared web hosting can provide - not without a fundamental shift in how shared web hosting operates.
I know @raindog308 can do any business with Cobol.
The model currently used with PHP dates from 20 years ago, things are different now.
You just showed that there are no easy substitutes as all viable alternatives are based on different models of sharing. And most viable alternatives have their own problems too.
Perhaps getting back to basics is the solution: https://learnbchs.org/
I never had any. Beautiful, elegant language.
I think I like it because I learned so many core concepts with it, and because it's very optimal for a lot of work I was doing early in my career (Unix/Linux sysadmin, text processing, database work, etc.) I can understand why people don't like it, because it can be written in a visuallly abhorrent style, but then so can C or anything.
If you ask me to rip through a massive text file or filesystem, do pattern matching and transforms, and write out in a new format or put in a database, I'm confident I can write that faster and in far fewer lines of code using Perl than using Python and the code will run faster. But I write a lot of Python now because everyone around me uses it.
There's a lovely book called Modern Perl.
I learned a little COBOL. The idea of a record-oriented language is quite powerful, but the gravity-oriented programming style and the language's insane wordiness is a little off-putting. I think I liked playing with it just because it was so antiquarian.
Yea, that's the issue. Every alternative is different. The shared hosting industry is designed to be mostly cookie cutter. It relies on a system that is mostly the same from company to company and for usage to usage.
Now if you're talking about - what I call - Enterprise level hosting, where a company is utilizing their own servers or their own root-accessible servers with administrators and programmers on the company's payroll, then yes PHP may not be the language to use.
At the Enterprise level, the company always (or should always) have someone on hand that can fix and reprogram areas of the website that need fixing.
That's not what shared hosting is.
Shared hosting is a $5/mo fee that a company may pay to host their WordPress or PHP based website.
Enterprise hosting is where a company pays programmers $100K (?) per year to develop and maintain their website.
Have you considered switching to PHP as a command-line scripting language?
I got tired of dependency hell with Perl and switched a lot of my command-line scripting to PHP. Can't really say if it is any faster or slower than Perl though.
I do still occasionally use Perl. Never got into Python.
https://www.adobe.com/products/dreamweaver.html
can't believe it still alive
Coldfusion also exist! .cfm
Adobe cfm had even more holes in their software than php. Monopolist (then)adobe refused to patch it, and thus its now history. A pitty there were promising developments in the coldfusion scene. At some point java applets would take over than microsoft silverlight came and was gone as all microsoft solutions. And then html got some major upgrades.... thanks to apple and google.
Sorry
. If you evah wanna talk, just message @jsg .