I would not want to say that servers are a one-time cost of a few great ones, since some of them cost hundreds of thousands, and I would venture to say millions. A number of sources will suggest that the highest value for the IT industry is hardware, not labor. But to compare languages, we need to compare them, not hardware.
The idea behind languages like Ruby, Python, PHP, and Groovy is essentially Rapid Application Development (RAD). Frames, Ruby on Rails, Django, CakePHP and Grails are designed to improve RAD. The languages are easy to use and allow developers to customize and develop with minimal cost, and the timeline involved is reduced compared to other languages or settings.
Right or wrong? This is all a personal opinion, but ultimately the needs of the project will determine which set of tools is best suited. If your application has low traffic, and you want it to be developed and live in a few months, it would be ideal to use one of the languages mentioned above and / or the framework.
But what about C ++,. Net and J2EE? Theres a place for everything. They typically have higher upfront costs associated with time and energy to architect the project, customize the development environment, and complete the actual development. But the languages and structures built from them are better suited for scalability to accommodate heavy traffic or computing.
Take a look at Facebook as an example. The original site was prototyped and deployed as a PHP application, and the user base was relatively small. Since the site has grown into a monster, we know this, because today they scaled their application, implementing J2EE on the back panel, using existing PHP scripts for the interface.
As a person with experience developing J2EE and Python / PHP, there is a very obvious set of advantages and disadvantages. I can create a blog with PHP in a few days, ready for public access, but the same project in J2EE can take much longer.
Forgive my terminology, but Enterprise languages (J2EE, .Net) require significant configuration and deployment efforts. Ruby, PHP and Python no, you just open Notepad, write your code and save it with the correct extension, and you are ready to download.
Does it help?