Acs Posted January 24, 2009 Share Posted January 24, 2009 Is it only me that hates people that thrash php because they prefer to use C# or Java? I was having this discussion with two colleagues at work and it really irritated me how they dismissed php, just because of it not having Visual Studio as it's main ide. One of them also remarked that besides java being faster nobody uses php for security, saying that no bank site or big web shop site uses php. This really really irritates me. For the ide part I know that Zend studio and PhPed are really good ide's. And I don't see any thing on the web saying that java or c# are faster than php. Does anyone know any bank sites or big e-commerce sites that use php? Just so that I can't tell them that php is still used in many places, just because they don't know about it doesn't mean there aren't sites that use php. Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/ Share on other sites More sharing options...
Mchl Posted January 24, 2009 Share Posted January 24, 2009 Security is not a matter of language but of code®. http://www.zend.com/en/resources/case-studies/ Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/#findComment-745176 Share on other sites More sharing options...
nrg_alpha Posted January 24, 2009 Share Posted January 24, 2009 I have to admit, I haven't seen bank websites using PHP (but then again, I don't go around looking at all the bank sites I can find and check to see if this is the case or not). I did a quickle Google search on PHP vs Java.... from what I have been reading (as I have never worked with Java), apparently the speed opinion leans towards Java as it is a precompiled language that involves partial interpretation where as PHP is completely interpreted (not precompiled) [in this context, the term 'out of the box' was used]. From a security apsect, apparently Java allows for libraries to be 'signed' by a reputable source, thus adding certification that the code came from somewhere safe (I am going on a limb here in guessing that in this context, if there is a very highly reputable and known company that releases a library, others can check and confirm this and thus use it without any second guessing? Again, I'm not familair with this at all..an experienced Java coder would be in a better position to explain / confirm or deny this). Having never touched Java, I cannot personally vouche for these things.. just reading up on it 'here-say'. You'd have to do some detailed indepth research yourself to really get to the bottom of this I suppose. Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/#findComment-745182 Share on other sites More sharing options...
Daniel0 Posted January 24, 2009 Share Posted January 24, 2009 Does anyone know any bank sites or big e-commerce sites that use php? Just so that I can't tell them that php is still used in many places, just because they don't know about it doesn't mean there aren't sites that use php. I know one PHP developer who once commented to me on the code base that powered one of the clients of the company he worked for: a bank. I don't know what my bank uses, but you need to login using a really annoying Java applet, so I guess it's likely that the rest is Java powered as well. I did a quickle Google search on PHP vs Java.... from what I have been reading (as I have never worked with Java), apparently the speed opinion leans towards Java as it is a precompiled language that involves partial interpretation where as PHP is completely interpreted (not precompiled) [in this context, the term 'out of the box' was used]. That's easily alleviated using an opcode cache such as APC. Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/#findComment-745184 Share on other sites More sharing options...
nrg_alpha Posted January 24, 2009 Share Posted January 24, 2009 That's easily alleviated using an opcode cache such as APC. Well, there you have it I'm having a look at such PHP accelerators on Wikipedia, and one that is mentioned as being tested on production Linux-based servers is XCache.. this got me wondering... is it common for hosting providers (in general) to use such accelerators? Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/#findComment-745189 Share on other sites More sharing options...
Daniel0 Posted January 24, 2009 Share Posted January 24, 2009 I'm not sure. I've never purchased shared hosting. I only use virtual private servers or dedicated servers so I'm free to install whatever I need. We use APC on PHP Freaks. Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/#findComment-745190 Share on other sites More sharing options...
corbin Posted January 24, 2009 Share Posted January 24, 2009 Shared hosting probably wouldn't use it because it could confuse some clients since the files are cached for some length of time. "OMG WHY ISN'T MY PAGE CHANGING?!?!?!" That could be a config setting or something though (whether to check file mod times or not.) Someone was supporting C# and didn't like PHP? Ewwwww. Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/#findComment-745301 Share on other sites More sharing options...
Daniel0 Posted January 24, 2009 Share Posted January 24, 2009 Shared hosting probably wouldn't use it because it could confuse some clients since the files are cached for some length of time. "OMG WHY ISN'T MY PAGE CHANGING?!?!?!" The cache is invalid once the source code is changed. It works like in Python. Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/#findComment-745311 Share on other sites More sharing options...
corbin Posted January 24, 2009 Share Posted January 24, 2009 Hrmmm I must be thinking of a different cacher then.... Or maybe I dreamed of a cacher with a TTL. lol. Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/#findComment-745315 Share on other sites More sharing options...
.josh Posted January 24, 2009 Share Posted January 24, 2009 I'm probably talking out my ass, but I personally think you don't see a whole lot of banks using php because they've been around a lot longer than php and started out making their website in the languages available at the time, and have more or less just stuck with whatever they started out with. Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/#findComment-745319 Share on other sites More sharing options...
corbin Posted January 25, 2009 Share Posted January 25, 2009 Hrmmm my bank uses ASPX..... Strange. But, as already said, just because banks don't use it doesn't mean it sucks security wise. Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/#findComment-745748 Share on other sites More sharing options...
Mchl Posted January 25, 2009 Share Posted January 25, 2009 In many cases it is really difficult to say what they're using, since they're rewriting their urls... Let's see... Can we safely assume, that if developers are smart enough to rewrite urls, they're also smart enough to use PHP instead of ASP? From what I hear, more and more corporate web applications are developed in Java. I am tempted to download this Glassfish Server myself and see how it works. Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/#findComment-745783 Share on other sites More sharing options...
corbin Posted January 25, 2009 Share Posted January 25, 2009 Hrmmm strange. I was right about ASP on my bank's site at first glance. Powered-By: ASP.NET in the headers. They're also using IIS 6. Hasn't IIS 7 been out for a while now? Is it Vista only or have they just not upgraded? I guess they have no reason to upgrade. Java? I can't think of any major sites off the top of my head that is coded in Java, but I'm sure there are a ton. I tried coding some JSP stuff once and I gave up. PHP is 1000x faster (well for me anyway). Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/#findComment-745887 Share on other sites More sharing options...
Mchl Posted January 25, 2009 Share Posted January 25, 2009 I suppose at least Sun uses Glassfish I did not find any list of Glassfish user's, but Googling for 'glassfish case studies' shows some pdf results. And I suppose Glassfish is not the only way to have Java powered webapp. I also know of one high-end (licenses _starting_ from approx $40000) corporate software that uses Java for it's web content generation. Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/#findComment-745893 Share on other sites More sharing options...
corbin Posted January 25, 2009 Share Posted January 25, 2009 Hrmmm.... Doesn't Tomcat do JSP? The other day, I remember noticing a site was in Java, but I don't remember what site it was now. Maybe it was Java's website lol. Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/#findComment-745936 Share on other sites More sharing options...
.josh Posted January 25, 2009 Share Posted January 25, 2009 I heard microsoft.com runs on a linux server. Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/#findComment-745952 Share on other sites More sharing options...
corbin Posted January 26, 2009 Share Posted January 26, 2009 I was fairly sure you were being a troll, but just in case, I looked at the headers to microsoft.com. X-UA-Compatible: IE=EmulateIE7 Yes, that is microsoft.com telling IE8 to act like IE7. Anyone else see the humor? Anyway, I heard that hotmail used to be run on a linux server, but I never heard that microsoft.com was. Were you being serious? Guessing not. Quote Link to comment https://forums.phpfreaks.com/topic/142237-php-trashing/#findComment-746268 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.