4 ms·
Had we waited for the development of ideal programming tools for the web, the Internet would still be struggling to get off the ground. By making the best of w
by robomartin 15y ago
Had we waited for the development of ideal programming tools for the web, the Internet would still be struggling to get off the ground. By making the best of what we have and by continually evolving better solutions we've been able to create something that has, quite literally, changed the world.
Let's keep that in mind. The goal and the end-result isn't a monument to superb software engineering. What we create are experiences for, mostly, non-tech users. How the sausage is made almost isn't important (as long as it doesn't kill you). It's easy to get lost in the pursuit for technical excellence and ignore the realities of building a business.
The fact that Facebook is built on PHP should pretty much tell the story and put a lid on these endless arguments: You use whatever tools you have available at the time to create a good user experience. People don't pay for your choice of programming language. In fact, they couldn't care less.
That's not to say that the tech world should not strive to be on a path of continual improvement and technical evolution. Not at all. I guess what I am trying to say at one level is "quit griping and get back to building a product, nothing else matters".
That said: What might be a likely improved successor to PHP? By this I mean, a language that can gain wide adoption while dealing with a number of the issues of PHP (and other languages) and has a high likelihood of being deployed as far and wide as PHP is today.
- MichaelGG 15y agoAnd the fact that great books were written by hand or by typewriter should put a lid on any arguments about text editors, word processors, keyboard layouts, and so on, right?
- blindhippo 15y agoIf all the bitchy python/ruby purists out there want to build a successor to PHP, here is the roadmap: 1) make it as simple to setup a development environment as it is to install MAMP (this is somewhat done - but still hella confusing with both Ruby and Python) 2) start a web host that can offer rails/python hosting as simple AND as CHEAP as shared hosting (6$ per month or less) 3) build the Wordpress/Drupal of Rails/Django 4) make it simple for designers and "site builders" to hack the language. This includes former flash addicts. Until then, all this anti-PHP hate just seems... pointless. As you said, we create experiences for users who ultimately don't care what is beneath the hood as long as it works and doesn't blow up. There are a lot of PHP systems out there and there is a lot of money to be made as a developer who focuses on PHP. It may not be the prettiest language, but I know why I focus on it - it makes me money. I use other tech (rails, ObjC), but PHP is my bread and butter - and if you do it right, PHP really isn't that bad. The only time I've seen PHP apps blow up is when they are past due for re-development anyways - a symptom that is not unique to PHP. Anyone who's seen Rails spaghetti knows what I mean.
- briandear 15y agoRails hosting: git push heroku master. Pretty damned simple. And cheap, for the level of hosting you get for $6 per month, Heroku is free. As far as Rails spaghetti, if you're using TDD, then it's easy to fix things if new code breaks old code.
- slurgfest 15y agoI have no interest whatsoever in building a successor to PHP. Why would I? What you are pitching is not a language, it is a deploy interface provided by a server. But does everyone agree that PHP has the best possible deploy model? Not at all. I am happier with languages other than PHP. I gather you are not. That is fine, you use PHP and I won't. There is absolutely no necessity for other languages to ape PHP in an attempt to capture the attention of people who prefer PHP anyway.