I am a web developer. I have been using php for many years and I also know lots of other programming languages so I wanted to try making websites using them.
I know Perl and want to make a website using one of its frameworks (probably Dancer) but I’ve heard people saying that Perl isn’t used for web development anymore and that there is no point in using it for a website. I have also been told that Perl has been replaced by php. Is Perl still used for server-side web development or has it been replaced by php?
2
Some people still use it (I’m one of them). So, it hasn’t been replaced. In fact, I switched to Perl from PHP.
3
Yes it is. DuckDuckGo is one company that I know of that started with Perl as the server side language. I believe they are still using Perl primarily.
- https://github.com/duckduckgo
PHP, in my opinion, is a much faster and better choice for the web. We also have Javascript, which is blazing fast due to it’s event-based nature. However Perl is still used and there are web frameworks for Perl in web use such as Catalyst.
There is also an emergence of Python being used in the web. Frameworks such as Django, which I have had personal experience with and I find it much faster than using Perl in the web. I should also mention Flask, which is a micro web framework designed for use with Python. This can also be an option.
It’s really up to yourself what framework/language you use. Personal preference. In the end, if you’re comfortable with Perl, use Perl. If you’re confident in Javascript or PHP, use that. If you prefer Python overall, use Django.
Hope this helps!
1