News for hackers. Stuff that matters.
Re:Google Compute Engine available for everyone, App Engine ... by salimmadjd on Wednesday May 15, 2013 @04:41PM (#5714729)
PHP??? I would have thought javascript or Ruby would have made more sense.It seems like Google is just reacting to requests from 4 years ago.

The App Engine has mades some decisions that seem to be contradictory. At one end, they drastically increased their prices and sent a signal the GAE was an enterprise-focused platform. Now, they're releasing PHP so people can host blogs on it. Really? You want to compete with $5-6/month wordpress hosting solutions. Who is running the show there?

Re:Google Compute Engine available for everyone, App Engine ... by bradleyjg on Wednesday May 15, 2013 @04:48PM (#5714769)
It was the single most requested feature on the bug tracker by quite a bit.

It's not something I want, but apparently there are quite a few people who do.

Re:Google Compute Engine available for everyone, App Engine ... by cramsdale on Wednesday May 15, 2013 @05:00PM (#5714874)
Our goal is to advance computing (via services such as HRD, Cloud Datastore, BigQuery, and Go) in ways that align with existing developer practices (investments in Java and now the release of PHP). There's no point in releasing amazing solutions if there is a huge barrier to entry.
Re:Google Compute Engine available for everyone, App Engine ... by salimmadjd on Wednesday May 15, 2013 @05:10PM (#5714934)
Which customers are you going after? People who want to play around with "hello worlds" with PHP or people who actually build powerful stuff.

Either case, help me understand why PHP was a better choice vs. Javascript? If the question is barrier to entry. Then javascript should have the lowest. Anyone doing any web development needs to do something in HTML/Javascript/CSS.

Additionally you could have made the case for further integration with your other services like App Scripts. Aren't google team talk to each other?

I personally would have rather seen Google focus on Go and remove "experimental" out of Go so people feel some amount of security developing and investing time building Go applications on GAE. Just my $.02!

Re:Google Compute Engine available for everyone, App Engine ... by cramsdale on Wednesday May 15, 2013 @05:25PM (#5715054)
I'm assuming that you're actually talking about Node and not just HTML + JS. Ultimately it wasn't a choice to do one and not the other, it was a choice of which to tackle first (and PHP had some technical advantages which allowed us to move faster). Ultimately we want to surface, or allow others to surface, any runtime in a fully managed way. Yes, Node, Ruby, C# are often discussed (as are many others, including moving Go to GA). We're investing, we'll get there, and this is only the first of many steps.
Re:Google Compute Engine available for everyone, App Engine ... by salimmadjd on Wednesday May 15, 2013 @06:17PM (#5715406)
I don't necessarily mean Node, but serverside javascript. I don't really care for the event notification process of Node. It has its place and for many tasks it probably is the best solution. However for most web apps its probably simpler not to worry about it.
Re:Google Compute Engine available for everyone, App Engine ... by snorkel on Wednesday May 15, 2013 @05:44PM (#5715180)
Yes, PHP is only used for amateur useless projects like Facebook, Wikipedia, Drupal, WordPress ... Our projects on the other hand are too important for this low brow language.
Re:Google Compute Engine available for everyone, App Engine ... by salimmadjd on Wednesday May 15, 2013 @06:20PM (#5715421)
All the stuff you are talking about are valid examples, but they are from 5-10 years ago. None of these probably will be built on PHP again. I can use the same reasoning and list some major critical applications and argue for Cobol, Fortan, etc. But it doesn't mean it's forward thinking.
Re:Google Compute Engine available for everyone, App Engine ... by petersmagnusson on Wednesday May 15, 2013 @08:11PM (#5715987)
We get requests for PHP all the time. In Urs' presentation today, the audience response at I/O was the strongest for three things specifically - open signups for GCE, sub-hour GCE billing, and GAE support for PHP.

Slamming PHP is akin to slamming the x86 instruction set. It's besides the point. There are so many large "apps" that effectively use PHP as asm; we need to have a solution for customers that want to run open source CMS:es and CRM:s, for example, and this is all Wordpress, Drupal, SugarCRM, MediaWiki, Joomla etc.

And there are a LOT of startup companies building in PHP, believe it or not. PHP on the server is akin to Javascript on the client. You can argue that Erlang or Go is better, fine, but the reality is that most web sites are PHP. And similar to what happened with V8, there is a significant industry effort in just accepting this and making PHP run faster and better. We don't want you to compare GAE/PHP with GAE/language_X. You should compare GAE/PHP with [other platform]/PHP, and see if you like what we've done. And we're doing some cool stuff with it. We are working to support PHP code better than any alternative. We expect PHP developers to love it. But we're not doing it in order to advocate (or not advocate) PHP per se. You don't like PHP? Then move along, there's nothing to see here.

And as for the "small $5-6 dollar sites" (or free), that doesn't matter. Many of the apps running on GAE are within the free tier, which is one of the great things about the platform. So that's not news. Part of the GAE vision has always been to offer a place on the web to run small web apps for free.

Re:Google Compute Engine available for everyone, App Engine ... by iguana on Thursday May 16, 2013 @05:01PM (#5721118)
Excellent points.

Is there a MySQL-like solution on GAE as well?

Re:Google Compute Engine available for everyone, App Engine ... by dzent on Wednesday May 15, 2013 @05:34PM (#5715124)
While PHP has low barrier to entry and there are a lot of people who tinker with it, PHP still powers a lot of production websites, far and beyond the hello world apps or the 'pictures of my dog' wordpress blogs. Your implication that there aren't "powerful stuff" websites running on PHP is just simply not true.
Re:Google Compute Engine available for everyone, App Engine ... by bradleyjg on Wednesday May 15, 2013 @05:17PM (#5714997)
You can host HTML, javascript and CSS files to be run in the browser on GAE already, and have been able to do so since day 1.

What you can't do is run javascript server side. Given the unique requirements of server side javascript, and the fact that the single dominant implementation is maintained by a competitor in this exact space, it isn't a great fit.

Re:Google Compute Engine available for everyone, App Engine ... by dragonwriter on Wednesday May 15, 2013 @07:17PM (#5715768)
> Given the unique requirements of server side javascript, and the fact that the single dominant implementation is maintained by a competitor in this exact space, it isn't a great fit.

Google already has a cloud based, server-side, javascript platform in Apps Script, and has purchased at least one company that operated a JavaScript PaaS, so its not like doing JavaScript serverside is out of Google's reach if they strategically wanted to do it.

I can see why, given the mass of PHP apps out there, PHP might be a priority for App Engine given what App Engine already supports, but I can't see JavaScript as having a significant barrier to practicality.

Re:Google Compute Engine available for everyone, App Engine ... by salimmadjd on Wednesday May 15, 2013 @06:21PM (#5715430)
Serverside. Not static client side files.
Re:Google Compute Engine available for everyone, App Engine ... by salimmadjd on Wednesday May 15, 2013 @04:59PM (#5714865)
Is this cumulative requests from the past 5 years?

Also what people request and what google's vision is are two different things. Who are they targeting with this PHP stuff. Yes sure, for free-tier stuff, I'm sure lots of kids playing around with PHP would love to have a sand-box to play around. But this move seems inconsistent with their prior action that signaled a move toward enterprise sales.

Also, it feels like one side of google is not talking with the other side. They're building a whole application scripting system hosted on google Drive to work with google apps, etc. Why not provide the javascript on GAE to allow further application development and integration.

To be honest, this feels like: Oh shit! Google I/O is coming up and we need to have something to show than a vision of providing cloud-based computing solution that fits within their big vision.

Re:Google Compute Engine available for everyone, App Engine ... by dragonwriter on Wednesday May 15, 2013 @07:13PM (#5715746)
> Also what people request and what google's vision is are two different things.

Google's vision is "developers deploying scalable apps on App Engine". Being developer-friendly is good for that.

> Who are they targeting with this PHP stuff.

Existing PHP devs. Which is a lot of devs.

> Yes sure, for free-tier stuff, I'm sure lots of kids playing around with PHP would love to have a sand-box to play around.

Lots of apps that end up making money use PHP.

> But this move seems inconsistent with their prior action that signaled a move toward enterprise sales.

Enterprise is an area that Google would like to get their Cloud Platform, including App Engine, more sales in, but its never been anywhere close to their sole target for it.

> They're building a whole application scripting system hosted on google Drive to work with google apps, etc.

"Building"? Apps Script has been around a long time (longer than Drive itself; maybe longer than App Engine.)

> Why not provide the javascript on GAE to allow further application development and integration.

Javascript on GAE would make a lot of sense, too (especially in light of App Script and Google's work on V8 and the emerging popularity of Node.) So would Dart-on-GAE. I wouldn't be surprised if either (or both) of those happened. But the fact that it makes sense doesn't make PHP make any less sense.

> To be honest, this feels like: Oh shit! Google I/O is coming up and we need to have something to show

App Engine PHP wasn't even the big Cloud Platform announcement tied to I/O; general availability of the Compute Engine IaaS (and the associated new pricing and instance types for Clound Engine) was the big Cloud Platform news.

> than a vision of providing cloud-based computing solution that fits within their big vision.

Google's big vision for cloud-based computing is, well, big. It includes more than one kind of solution, for more than one market segment.

Re:Google Compute Engine available for everyone, App Engine ... by gambler on Wednesday May 15, 2013 @07:34PM (#5715841)
"Lots of kids playing around with PHP" "People who want to play around with "hello worlds" with PHP"

Your attitude is ridiculously arrogant.

PHP powers most non-corporate website on the web. The wast majority of wikis, blogs and forums. You know, things that are used for actual communication and knowledge sharing by millions of people.

Re:Google Compute Engine available for everyone, App Engine ... by cramsdale on Wednesday May 15, 2013 @05:32PM (#5715112)
Google Drive / apps script integration is a great idea. Unifying our storage offerings across the entire company is a great idea too (but an aside for this conversation). I disagree with the "get something out" mentality, though. Shipping a fully managed runtime that scales as well as Java, Python, and Go, that is hardened, and is secure enough that we'll run it next to Gmail, Search, Geo, etc. is no easy task. It's not something you decide to do on a whim a few weeks before i/o.
Re:Google Compute Engine available for everyone, App Engine ... by duaneb on Wednesday May 15, 2013 @07:22PM (#5715787)
I just wouldn't have guessed the people who requested PHP would use much resources—if you're scaling, you probably know better than to use PHP in the first place.
Re:Google Compute Engine available for everyone, App Engine ... by jrochkind1 on Wednesday May 15, 2013 @05:20PM (#5715021)
You can do JS and Ruby via a JVM-based runtime (jruby, or whatever for JS). Don't know how much uptake it has. I know I've seen proof of concepts of jruby on app engine, including with Rails.
Re:Google Compute Engine available for everyone, App Engine ... by salimmadjd on Wednesday May 15, 2013 @06:30PM (#5715483)
I know you can but it's not clean. Also with Groovy on Grails early on there was some issues with timeouts if you're applicant wasn't popular, that was until GAE allowed to run a hot instance. Probably why it didn't have an uptake.

Also, anyone who is doing javascript is probably avoiding java and doesn't want to figure out how to put the right files together to deploy such an application.

Re:Google Compute Engine available for everyone, App Engine ... by eli on Wednesday May 15, 2013 @08:18PM (#5716014)
I would guess at least an order of magnitude more Enterprise web applications currently in use are written in PHP than Javascript and Ruby combined.