Hacker News new | past | comments | ask | show | jobs | submit login
Google App Engine finally supports PHP (venturebeat.com)
72 points by SmeelBe on May 18, 2013 | hide | past | favorite | 78 comments



I don't see this getting that much traction. Most existing PHP code is heavily dedicated to the use of SQL, and if you don't use the key-value datastore you give up a lot of the scaling advantages of appengine.

Secondly, PHP devs and sites are used to very affordable hosting options, and GAE is horribly overpriced for the computing power you get.

Thirdly, Google doesn't really seem to care about customers of their AppEngine platform. App Engine Java routinely routes clients to new VMs that are not finished starting up, giving clients 5-15 sec delays on page loads. Google's response to this was to give a lecture at I/O 2013 on how to hard code configurations into your java code [1]. Basically, if you thought Heroku did a poor job of load balancing, Google App Engine takes the cake for terrible load balancing.

I really don't know who Google is trying to target with GAE - they seem to be trying to cater to bloggers, small startups, and enterprise all at once. This pretty much just gives everyone the worst of all worlds with bloggers getting a system that is very complex, small startups getting excessive costs as soon as any processing is involved, and enterprise getting a system that will likely fall out from under them in 5-10 years time.

[1] https://groups.google.com/forum/?hl=en&fromgroups#!topic...


> Most existing PHP code is heavily dedicated to the use of SQL, and if you don't use the key-value datastore you give up a lot of the scaling advantages of appengine.

I find a lot of folks aren't aware of https://developers.google.com/cloud-sql/


Agreed with targeting bloggers to enterprise! I had similar comments as yours when the news first came out, https://news.ycombinator.com/item?id=5714729


if you don't use the key-value datastore you give up a lot of the scaling advantages of appengine

I'm not sure what you mean by the key-value datastore. Do you mean memcache, or do you mean the HR datastore?


tl;dr flamers > "PHP Sucks!" php developers > no. really. trust us. it doesn't.


well, it doesn't entirely suck...


They seem to twist the facts ever so slightly.

PHP is not "most popular computing language on the planet", it's the most popular web coding language; C is the most popular "computing" language, whatever that means.

And in linked article they make it seem that PhoneGap apps are more native than they are, "built-in PhoneGap integration so developers can publish native app packages to the various app stores".

Not factually wrong, but not very clear truth either.


I'd say that Java is the most popular one, but C does all the hard work!


When people say C is the most popular, this is the metric they are often referring too: http://www.tiobe.com/index.php/content/paperinfo/tpci/index....


Yeah, I know TIOBE - when I said "popular", I mostly meant "what most companies make the most fuss about". (As in "we must move out ERP system to Java! Quick!" :-)) C kind of seems to evade this kind of popularity nowadays, it seems to be forgotten by many, almost like a second level of machine code.


Oh, yes, you are totally right. For some reason I mixed these rankings in my mind.


In the words of Koushik Dutta (aka Koush): "With Google App Engine now supporting PHP, we can all host our Wordpress vulnerabilities at Google scale."


I am no hardcore programmer and PHP is perfect for me. Tbh I haven't encountered one single bad thing about it during my 5 years programming, although I understand there are major flaws in it. What I'm saying is that for most people PHP works completely fine and is as good as anything.


This is true. But it's HN so if you say that, you have to dress it up a bit, throw in some jargon and name-drop some computer scientists -- "Turing-complete" counts for both categories, and is even somewhat relevant to the topic.

It's also not true. "Infinite are the arguments of sages," I hear, or something to that effect, but the distinguishing mark of expertise is not being able to offer an unqualified endorsement of any position.

The element of your comment that I find most concerning is that, after five years of using a programming language, I feel that you should be aware of its major flaws. Probably the minor flaws too. You should be aware of how it differs from other equivalent tools. And, if you don't know that, then the content of your post should not be "PHP is good," but "Why is PHP considered to be bad?"


I do know the major flaws, it's just that they have never been a problem when I code stuff. I don't find myself thinking "oh, PHP is so bad" or that I can't do what I want because the language is flawed. I've used RoR, Django, Node.js but for the stuff I do (as I said, I'm no hardcore programmer) PHP simply works better or at least as good for me.


Of course, you can build working stuff with PHP. It is good enough for weekend projects and prototyping stuff. Companies like Facebook have even proved that you can build huge things with it.

Put that's not the point. It's not about bashing PHP for the sake of it. A large number of software projects is behind schedule and over budget. Why? Because developing software is hard and humans are bad at estimating effort.

Now why should we make the situation even worse by using tools that are not as good as possible while we are completely aware of the flaws (and good things) in our current tools?

Pointing out PHP's flaws over and over again while seeing that its usage does not drop tells us something - there seems to be no (obvious) better alternative. »PHP sucks!« is crying for help. Someone please build an obviously better alternative. Ideally as compatible as possible to make porting from PHP not practically infeasible.


Most PHP flaws that people moan about are shallow. Inconsistent naming of functions and parameter order, syntax warts — those are annoying, but ultimately don't matter.

What matters is that PHP has got big things right. Deployment is trivial. One process per request happens to mitigate leaks and (over)shared state. Failures affect one client at most, and scalability bottleneck is pushed down to the database.


I would still say that for most people these flaws are no game-changer. We simply don't code stuff advanced enough for it to matter.


> A large number of software projects is behind schedule and over budget. Why? Because developing software is hard and humans are bad at estimating effort. Now why should we make the situation even worse by using tools that are not as good as possible while we are completely aware of the flaws (and good things) in our current tools?

The above has much less to do with PHP and more to do with the lack of experience of the developers, I would say..

"Tools as good as possible" is an extremely subjective thing, and there is no magical tool or framework that works perfectly in all hands.

Developers should choose the tools that are best suited to the job at hand, and "best suited" doesn't just mean the functionality and features, it also encompasses developer proficiency.


I like this just for the fact that it means GAE is here to stay.

They're going hard on App Engine, and I'll take that as a win even for python-heads like me.


I definitely wouldn't take this for granted. All it means is that, right now, there are internal resources dedicated to improving the platform's language support. Those that make this largely unsupported assumption will be the most irate and in the worst position if Google drops the platform at some point (not to mention this platform is horrible in terms of proprietary lock in).


> if Google drops the platform at some point

That's a little too far-fetched for me. GAE isn't in the same category as end-user services like Reader or any of the other apps they've dropped.

I don't expect them to run it forever, but I trust them enough to believe that if they ever decide to pull the plug, they'll give us a fair bit of warning (half a decade?).

They're not stupid, and they're not suicidal.


I too was concerned about lock in; however, it is really not that bad. I have been on AppEngine from the moment they supported Java. I created an abstraction layer between my program logic and whatever services it uses. This has allowed me to take the exact same compiled jars and run them on AppEngine using the datastore for persistence or in some other servlet container using SQL Server for persistence.

Just one additional advantage of using this approach is that I can use text files for testing and the program logic doesn't know the difference.

That's how I got rid of the lock in issue.


ah... good old HN snobs tripping over each other in the comments section to give old PHP a much needed lashing.


There's nothing "snobbish" about pointing out serious technological flaws in a given programming language or application. This is especially true when those flaws have no justifiable reason for existing in the first place, or when they can compromise the security of data and other systems.


Right, but it doesn't need to be pointed out by 100 people every single time the language comes up in conversation. PHP has its place. HNs typical "PHP LOL OMFG WTF SHIT" reaction is childish.


Such flaws should be pointed out whenever possible by however many people feel like pointing them out.

I think that the skilled members of any community or industry have a duty to stand against technology that is inherently broken. This is quite distant from being "childish". In fact, it's a sign of maturity when one can unemotionally analyze a given tool and deem it to be of an insufficient quality for practical use.

And the "typical reaction" is absolutely nothing like you suggest. Time and time again I see well-reasoned, objective analysis which clearly points out the numerous negative facts about PHP. The problem does not lie with those who express these facts, but rather with those who, for whatever reason, cannot or will not accept them.


Hey this is like your 4th reply on this thread justifying the PHP hate, except I'm not sure you realize that you are backing up junk posts that have no substance beyond "PHP sucks!".

If you feel that strongly about the problems, perhaps you should expand on them?

All languages have pitfalls and problems, and the more popular the language, the more likely that people will succumb to those problems. We get it.


It's ironic that he responded to my comment with nothing but "PHP SUCKS LOL". :P


It isn't inherently broken, if it were inherently broken nobody would be using it, which is quite obviously not the case.

From my point of view, ruby, python all the rest are inherently broken because nobody makes any damned products from them which aren't used by other programmers or sold as a service.

You don't need to be a programmer to use Wordpress, Drupal, Joomla, phpBB and the endless list of customer facing, customer usable PHP apps. You don't need to be a programmer to configure their environments and get them running. You don't need to be a programmer to extend them, you just need to find the right plugin/module to suit your needs.

I cannot think of any other web based language that even comes close in this regard. Why is that? If these languages are so good, why is no one making any software with them that ordinary people and not programmers can actually use?


> From my point of view, ruby, python all the rest are inherently broken because nobody makes any damned products from them which aren't used by other programmers or sold as a service.

Even assuming that this is true (which its not, but we'll get to that later on) How does this matter? And, particularly, how is "sold as a service" an issue?

> You don't need to be a programmer to use Wordpress, Drupal, Joomla, phpBB and the endless list of customer facing, customer usable PHP apps. ou don't need to be a programmer to configure their environments and get them running. You don't need to be a programmer to extend them, you just need to find the right plugin/module to suit your needs.

How is this different from Plone or any of the other CMS, blogging, and discussion platforms built in Python, Ruby, and other non-PHP languages, that likewise are designed to be installed and configured by non-programmers and which are extensible via plugin/module systems?

> I cannot think of any other web based language that even comes close in this regard.

What is a "web based language"? But I suspect the reason you can't think of any other language has nothing to do with what is actually true of other languages, and more about you.

> If these languages are so good, why is no one making any software with them that ordinary people and not programmers can actually use?

Software that is successfully sold as a service to ordinary people is software that ordinary people and not programmers can actually use. Otherwise, it wouldn't make any sales.

As are a lot of other things you seem unaware of built with non-PHP languages.


You comment is very condescending. You should not be trying to infer from the parent comment that dageshi is some kind of naive newby programmer who doesn't understand.

dageshi made some valid comments about the role PHP fills and you dismissed them and instead focused on calling him/her out for being a bad/poor programmer.


> You comment is very condescending.

I am asking serious questions. If that seems condescending to you, well, I'm not going to lose sleep over it.

> You should not be trying to infer from the parent comment that dageshi is some kind of naive newby programmer who doesn't understand.

I was neither inferring nor "try to infer" that. I was questioning specific comments and pointing to specific examples of why I thought the generalizations being made were incorrect.

> dageshi made some valid comments about the role PHP fills

What were made were sweeping generalities about the superiority of PHP being evidenced by it being used in areas that Python and other languages are not, that evidenced unclear and apparently inconsistent standards as well as failure to consider Python and other non-PHP products that do, in fact, exist in the roles in which it was asserted that PHP was the only language actually being used.

> you dismissed them and instead focused on calling him/her out for being a bad/poor programmer.

Nowhere in my comment did I call anyone a bad/poor programmer. I don't mind reasonable criticism of things that I write, but I'd prefer if you didn't invent things that I never wrote and then criticize me for writing them.


Besides the language of the comment all his points are valid.

It isn't inherently broken, if it were inherently broken nobody would be using it, which is quite obviously not the case.

The language is broken. JavaScript, too. Both are used because there are no alternatives. There are obviously alternatives for PHP but these seem to fall so far behind in ease of use that they don't gain enough traction. Therefore I argue we need a new language - easy to use as PHP but without all the flaws of it.

From my point of view, ruby, python all the rest are inherently broken because nobody makes any damned products from them which aren't used by other programmers or sold as a service.

I am no web developer and my knowledge of commonly used web frameworks and who uses what is really limited but it seems reasonable to assume this statement is wrong.

I did a quick search and the first hit was Django build on top of Python used by Instagram and Pinterest. [1] There may be more PHP based apps out there because it is so easy to use but it is definitely not true that no one uses alternatives.

You don't need to be a programmer to use Wordpress, Drupal, Joomla, phpBB and the endless list of customer facing, customer usable PHP apps. You don't need to be a programmer to configure their environments and get them running. You don't need to be a programmer to extend them, you just need to find the right plugin/module to suit your needs.

When you use a product that only requires setup, configuration and throwing in some plug-ins it does not matter at all which language has been used to build that product. This statement is completely irrelevant to this discussion.

I cannot think of any other web based language that even comes close in this regard. Why is that? If these languages are so good, why is no one making any software with them that ordinary people and not programmers can actually use?

Again, my personal guess is that the ease of (ab)use of PHP outweighs - or at least seems to do so - the advantages of »better« languages.

[1] http://www.fiveq.com/blog/programming/building-django-good-c...


> if it were inherently broken nobody would be using it

Is there some field of human endeavor where you've observed this statement to always hold true?


I never said I could not or would not accept arguments against PHP. I fully accept that PHP is somewhat broken. I merely expressed that I'm tired of hearing "PHP SUCKS LOL" and watching many PHP articles get flagged, while other languages with as many problems (cough Javascript cough) get upvoted and the same people say nothing about the problems with these languages.

edit: clarity


I fully agree, JavaScript is definitely somewhat broken and I really think things like Node.js are a bad idea. I go even further, I would never use dynamically typed languages for a major project; I don't think avoiding some boilerplate code is worth giving up the compiletime checking possible in statically typed languages. There are already enough bugs in programs written in statically typed languages, no need to add more (read as don't detect at compiletime) by using dynamically typed languages.

I definitely don't want to imply dynamically typed languages are of little use - I am absolutely fine with using them for quick prototyping are non-critical code.


> PHP has its place.

Agreed. It's possible to make good, elegant and fast PHP code. Unfortunately, most of it is not. I would never advise anyone to start a new project with it mostly because of its many design flaws. Also, the App Engine environment negates PHP's biggest advantage: ubiquity. You just cannot deploy a PHP App Engine application on most PHP hosting providers unless you deny your app the App Engine runtime environment.

edit: burn, karma, burn.


I agree with you here. I expected my comment to get many more downvotes from the anti-everything-except-lisp-go-ruby-other-hipster-languages HN parade.


Most of the rants against PHP don't have many specific technical reasons mentioned. Some do, but when you provide specific facts it's much easier to argue against them. So I think it's more convenient to stick with "PHP sucks."

My theory is that people ranting about PHP are mainly in three categories - the first being developers who have never used PHP. The second are people who used PHP back in 1998 and haven't never really checked out any any modern PHP frameworks. The rest are developers who inherit a horrible codebase written in PHP. So they're gripes are a combination of their own horribly-written codebase they're stuck maintaining along with PHP-specific complaints.

PHP definitely has its quirks but there is interesting work happening with the language and many frameworks. I do quite a bit of PHP coding at the moment but previously in my career I've been full time Java developer, C# developer and even now I write quite a lot of Objective C. I have hated things about every one of those platforms. Every one of them offers the opportunity to write horrible code. I think developers tend to be very judgmental and opinionated anyway, but PHP gets too much flak. If you're not using it then who cares, why should it bother you what other people are doing?


Google App Engine was almost a science project for the first few years, only supporting languages that Google used internally.

Python?


I'm pretty sure that the original scraping scripts that Larry Page and Sergey Brin worked on (before Google was called Google) were written in Python. (Although I can't find the reference I read about that, so could be mistaken.)

[UPDATE] According to Wikipedia (judge for yourself), Larry Page is quoted as saying:

    "BackRub is written in Java and Python and runs
    on several Sun Ultras and Intel Pentiums running Linux."
, back in 1996 whilst he was still at Stanford (Backrub being the original project name).


Google uses a lot of Python, I thought. They started unladen-swallow.


My point is that Python is not some crazy language only used by Google. It's Python.


Python, Java


My understanding is Google uses: Python, Java, C++ and Go and language choice is at the discretion of team involved.


Guido van Rossum (Python Inventor) worked at Google--That's why they went Python.


They went Python long before Guido started working there.


Isn't GAE like ... long dead? Who would still trust them with a new project at this point in time?


More potential for one of the worst languages to spread - let's have one minute of silence. And after that someone please start building an alternative keeping the good parts that made PHP successful and getting rid of the insane stuff.


But, what if it were the insane parts that made PHP successful? PHP is basically a shell script hooked up to a web server, with '$_REQUEST' flowing in one way, and 'echo' flowing out the other way. Its over-simplified architecture is exactly why beginners like it so much.


I don't think that's the insane part. When I think of 'insanity' and 'PHP' together what usually comes to mind is: ambiguous semantics for common operations, dubious security practices, irritating syntax, inscrutable runtime.

There are some nice ideas in there, though. I dislike PHP-the-language as much as the next guy but sometimes you just need a three page website that you can hand off to a junior developer or web designer. If there is a language that does this, without being PHP, that would be awesome, but I don't think there is so I completely understand why somebody would just write three .php files rather than... install ruby, passenger, configure nginx, some supervisor script, etc. etc.

I think that Google Apps for Business + GAE services complement PHP nicely--now you can use that shell scripting core to tie together your data with some powerful APIs and basically have no operational worries. We'll see what they do with it. Maybe the next Facebook will start out as a three page website on AppEngine.


The simple architecture is actually what PHP got right. For comparison, if you were using mod_python with the default settings, you needed to restart apache whenever you changed a file.

The insane part of PHP is the actual language. It's an overgrown template language. Half the functions are based on C, half the functions are based on Perl. There's no regularity or consistency.


Half the functions are based on C, half the functions are based on Perl. There's no regularity or consistency.

Recently, a third half of it was based on Java. :-)


I don't know. Other languages have become successful following that same path. See objective-c as a perfect example, though in obj-c's case, it only became popular because of the platform it was used on.

The benefit there is understanding. With PHP, knowing the C functions mean I understand how the PHP function works. The same with obj-c, I can drop down into C and work there. And the change in syntax, the way things works, helps me understand what is going on. Again, knowing C, I can do things in obj-c without needing to learn the obj-c part.

Maybe I'm one of the few, but context matters more than consistency. Maybe that's why I like vim.


Yeah, the standard libs lack consistency but that is annoying for about the first 1-2 months and then you get used to it.

However, a lot of modern PHP frameworks(Doctrine, Symfony2) are quite nice to work with.


There may be some insane parts contributing to the success but I can not even imagine a world in that all of them would contribute to the success.

PHP: a fractal of bad design [1] lists many - really many - broken things for which at least I am unable to see how the behavior could not cause headaches let alone contribute to the success of PHP. Go ahead and read it - it is long but entertaining.

[1] http://me.veekun.com/blog/2012/04/09/php-a-fractal-of-bad-de...


We get it, you don't like PHP. Move on already.


No, it's good for people to be extremely vocal about technologies riddled with serious flaws. It's unfortunate, but ultimately beneficial, even when they have to do this repeatedly.

It doesn't matter if we're talking about PHP or JavaScript, or a web framework like Ruby on Rails, or various NoSQL databases, or even certain operating systems.

Even if people have used such technologies with some degree of success in the past, and even if they may still be using them today, it's important for us to move past them, as a community and as an industry.

Making their flaws widely known is a very good step toward moving to better technologies. So I encourage people to be vocal about their bad experiences, or about the flaws they see in technology. It's an important part of advancement.


Except nobody jumps in for a karma train of circle jerking each other about flaws in Python, Ruby or anything else.. Just PHP... Because it's the new cool hip thing to do.. Bash PHP... If you don't, then you won't get high fives from the rest of your hipster friends.

I've been writing PHP for 12 years... I've learned that its got flaws... Just like anything else... I've gotten over it... Why? Because I actually enjoy writing PHP. And nothing you or anybody else can say will change that, so just get over it. Use what's best for you, not what is the new hip thing to use.


It's not a cool hip thing to bash PHP. It's been happening for quite some time and Python and Ruby don't get as much flak, because they don't deserve as much.

I realize it's annoying for you, someone who enjoys writing PHP, to keep hearing people complain about PHP, but it's always going to happen. And although it won't convince you to stop using it, it will surely convince others to think about trying something else.


Python and Ruby aren't riddled with security holes. Python and Ruby offer quite sensible language features. Python and Ruby have relatively clean, comprehensible standard libraries. Python and Ruby make it easy for developers to rapidly create complex systems, while still retaining a high degree of safety and security. Python and Ruby are getting better with age, rather than stagnating or gaining features in an ugly, tacked-on fashion. Python and Ruby generally have more experienced, professional communities behind them.

Simply put, they don't suffer from the many inherent problems that PHP suffers from. That means they won't catch anywhere near as much flak.

And your description of anyone pointing out PHP's flaws as being a "hipster" or doing it because it's a "new cool hip thing to do" is absurd. Many of us who speak out the loudest against PHP have been doing so since the late 1990s, and many of us are now well over 50 years old. We're about as far from "hipsters" as you can get, in just about every respect.


http://www.cvedetails.com/vulnerability-list/vendor_id-10210...

http://www.cvedetails.com/vulnerability-list/vendor_id-7252/...

Nope, no vulnerabilities in Ruby or Python, just PHP. Because PHP sucks, Ruby and Python and Erlang and Go and Java and C++ and blah blah blah blah blah are superior languages to PHP, blah blah blah.

Insert beating a dead horse image here.


  Python  15 in  5 years
  Ruby    36 in  7 years
  PHP    341 in 14 years
No one claimed that other languages are flawless. Besides that the biggest problem are not vulnerabilities in the languages; the biggest problem are vulnerabilities in products build using the languages and PHP makes it especially hard to write correct code because of its many quirks making it (almost) impossible to be aware of all edge and corner cases.


Except his two-line post didn't actually say anything other than a long-winded version of "PHP sucks!" and that gets really old really fast...


Those two sentences say a lot more to those of us who have used PHP extensively. This is especially true for those of us who have had to maintain relatively old PHP applications developed by numerous (often inexperienced) developers over the course of many years. And it says even more to those of us who also have had many years of experience with other, better tools.


Sound like you need to hate the players, and not the game...

Sorry if that's cliche, but your justification sounds more like it is rooted in your experience with badly developed programs, not so much a bad language.

I've been working with PHP for a long time. I've worked with other languages as well, but for the last 10 years career-wise PHP has been my bread and butter. And I've seen plenty of bad PHP as well, I absolutely don't deny that. As one of the most popular and most accessible languages out there, it's inevitable that lots of beginners will produce low quality code.

But I've also seen plenty of very good PHP code.

I've worked on quite a few large-scale PHP projects that were delivered on time and on budget, have maintained good performance under extremely high loads, and have had no security issues over years of time in production environments (including banking and automotive).

Want to know why? Because we wrote the applications properly, we tested them well, and we knew what we were doing.

I'm sure equivalent teams can do just as well with Java or .NET (or whatever else), but our stack expertise is with PHP, so that's what we choose because that's what we are best with.

Any tool in the hands of a bad craftsman will produce shoddy results. And as I said before, PHP's popularity is certainly a dual-edged sword, but I believe the good outweighs the bad...

So unless you can name some magical framework or language that can prevent mediocre or inexperienced developers from making mistakes or producing bad code, I think you're being narrow-minded and unfair in your criticisms..


> Sound like you need to hate the players, and not the game...

Hating the players seems like a reasonable reason to avoid the game.


The text between the lines was supposed to read as »I would have preferred if Google had not added support for PHP and it would have been way cooler if they had build something as easy as PHP but without insanity«. Okay, that's just an opinion but what else should a comment on a simple fact like »Google App Engine finally supports PHP« be?


So, serious question - what language is better for small limited-scope web coding right now?

I don't mean major, fully-fledged app stuff, I mean simple CMSes, on-page loops / conditionals, <? echo $_GET["foo"] ?>, etcetera.

I'm no hardcore uber-coder, but I know enough to know there are languages I prefer to use than PHP. Personally, I like Ruby. But for a bit of quick glue or a relatively simple bit of web coding, I simply can't figure out what you'd use instead of PHP - and I assume from the number of "PHP sucks" comments that there must be such simple options?


> I mean simple CMSes, on-page loops / conditionals, <? echo $_GET["foo"] ?>, etcetera.

Serious return question - who has requirements like that? In my experience CMSes are never simple, and I can't think what kind of site has the latter requirements, but only has those requirements and won't ever need any more functionality.

Personally I'd maybe use something like Django + the Flatpages app for a "simple CMS", and a tiny wsgi app for adding simple logic to a web page. Not, to be honest, because they're a perfect fit for those particular tasks but because I'd get to use a sensible language (python) that will remain sensible for the majority of other tasks (including non-web based ones).


In my case, I use simple, quick code a lot for landing pages for clients and advertising in general, as well as for websites that are mostly static but occasionally need dynamic elements - most of my web series web pages end up either like this or built in Wordpress.

Anything that's either focused on content or sales and either doesn't have a programmatic backend or hands off to another site will probably fall into the "not a full-fledged webapp" category.

If I'm running an A/B test on a landing page, for example, I just need logging code and a conditional to choose what variants to display on-page.

There's a lot of conditionals based on input conditions, too - "Hello, Hacker News reader!", redirects depending on country of origin, that sort of thing.

I'll also use simple snippets of PHP or Javascript on sites that are already using Wordpress, but there you're locked into PHP from the outset, of course.


  char* a = "PHP";
  while (*a) putchar(*a+++7);


This move doesn't make much sense to me. Most of the websites built in PHP are huge CMS services like Weebly, Wordpress, Joomla, or old social networks like Facebook. I don't see any of these large services switching over to get hosted on Google. Plus PHP in general is disorganized and slow compared to more contemporary languages with well defined frameworks.


In addition to those hosted services, is all of the self-hosted Wordpress, Joomla, Zencart, etc. Plus all of the business and personal sites built on Zend, Symfony, Cake.


And most of those Wordpress/etc installs are going to be of applications which assume they're in a normal hosting environment, where they're running on Apache with a filesystem they can write to, connecting to a MySQL server, etc. How well will this translate to GAE? I'm not sure.


I am not excited for the PHP support per se, but for its side effects: I think now it's time for cheap hostings around the world to roll up the sleeves and finally start offering something new.


Surprised it took them this long! Ignoring the most popular language for webdev must have left many scratching their heads.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: