

I would reconsider revising your sources. Python is slow? When compiled, it is "significantly" faster than PHP. That said, my new program works great but given the choice, next time its dot net. I have also run into a few issues with type safety and you are left wondering why the php function does not work, and it is down to type safety, I think this is a mistake having loose types. I am developing a large php program (for legacy reasons only), and added to your list are the arithmetic problems where using decimal and floats sometimes create false unpredictable results, therefore I would not recommend php for any financial code. I tend to agree, particularly after learning c# last year.
#PRIVIABILLPAY.COM QUICKPAY CODE#
PHP makes it really easy to do the wrong thing, but if you want to code correctly it puts lots of hurdles in your way. PHP doesn't scale, it is probably the worse designed language created for widespread use.

It is the reason so many PHP sites are an amateur hour mess of spaghetti code, SQL injection, and XSS. Ease of learning and usage is not a plus. If a web page can be fetched in 20ms but the round trip time is 500ms and it takes the browser 50ms to render it, increasing fetch time does nothing but buy you a few extra hits per hour.Īll that is moot. On the web the network is the bottleneck and quite often increasing performance in a web app buys you nothing. performance almost always takes more memory.

Probably 98% of those server are for storage only and build up a huge CDN for all the images/videos/text/crap that users share.Īs bad as Java the language is, Java the platform is outstanding. Short: WTF!? Long: Do you really think all 30k servers are running a webserver? Ever thought of how FB stores data? Exactly, you need servers for this. If you do some calculations, you'll find out, on average, one server handles only 104 visits per hour". Your calculation on the 30k Facebook servers is quite funny. The very same server however runs more than 100 websites and ~500k requests/month - to hell with PHP doesn't scale well. Ever tried running a Tomcat on a 256MB RAM machine? Forget it, it just runs out of memory after you deployed a single container. C#/ASP.NET and/or Java/JSP/JSF both have to startup a virtual runtime. Python, Perl, or Ruby are nice languages, but unfortunately, they're all very slow. Maybe five pages is a bit exaggerated, but you get the point. John, PHP has become really object oriented since version 5, so any framework supporting PHP 4 can't really be object oriented. And Python, Perl, or Ruby could use a mention from you as well. UMMM EXCUSE ME?! I'm currently working on a very large project in PHP that is WAY larger than 5 pages and runs just fine (without hardware performance additions). * You say "Until then, when you start a project larger than five scripted pages, you might also consider C#/ASP.Net or Java/JSP as a better solution" * How is Zend the only "real" object oriented framework? I've read some of cake and it looks like it's using "objects" to me. I agree with most of your article except a few points. I would like to see a sane PHP version, but this is an oxymoron, so spent I spent my time in learning haskell and use happstack. I'm currently working as a PHP-programmer, too, to earn some money besides university. But the problem is that PHP is accepted in more and more companies. JSP ( i used back in 2003 )was much better and easy to manage with components, and secure though. You might have guessed English is not my native language. Random Visitor, I couldn't find the word compair, but I fixed the other two "horrible" spelled words. What's with the horrible spelling? It really undercuts your logic - compair? Populair? Answeres? I agree with most of your points, but Unicode is not a trivial feature. They are really truths, because we cannot make fork? I started well to use kargo-events in the place of the apache/nginx, twirling to the style of rails, have given right.ĭang. If you will input/output directly you will have no control on the input which is even worse then just SQL injection. Secondly it will only work out of the box if will read and write almost directly from the user. That's okay."įist of all Magic quotes will only work for some DB engines - for other they will only make you more conversions. "Magic quotes prevents PHP-scripts from SQL injection attacks.
