Zend offers PHP cure for Java bloat
Application-server speed pill
Zend Technologies has built an application server for PHP that it hopes can slowly convert frustrated Java programmers as well as those relying on Java on the web and in the enterprise.
On Tuesday, the company is expected to unveil the Zend Server, a paid-for PHP stack that comes with service agreements and support and the free Zend Server Community Edition.
Zend's chief executive and co-founder Andi Gutmans called the servers the culmination of five years' work. It has seen creation of the Zend Framework and integration with Windows and databases from Oracle and IBM. It's also seen an Eclipse PHP plug-in project refine the runtime experience and provide developer tools plug-ins based on Eclipse.
The next phase under the recently named CEO Gutmans is the cloud. Gutmans told The Reg the Zend Frameworks would be dealing with virtualization and packaging inside and outside of the firewall to facilitate deployment in the cloud in the next year. Already, the Zend Framework features Amazon APIs and there are plans to support Microsoft's Azure.
But ahead of that, with today's application servers, Zend is not just targeting the millions of programmers building web and business applications using PHP. Gutmans hopes that Zend can convert individuals who think Java has become bloated and organizations struggling to find affordable Java Enterprise Edition (Java EE) programmers.
Companies already in the open source camp such as SpringSource, Red Hat's JBoss, and Caucho long ago recognized the frustration at the expense and inflexibility of using Java EE battle-ship application servers such as IBM's WebSphere and Oracle's WebLogic. They turned to the OSGi for a lightweight and modular Java application-server framework.
While Zend Server features a bridge to Java and OSGi, Gutmans called OSGi "too Java-centric". Instead, he's offering an application server using REST and XML over HTTP, which he believes is more accessible than Java simply because of the pervasive nature of PHP.
Like many in open source, Gutmans believes the recession will accelerate uptake of PHP and therefore Zend Server, as organizations struggle to find affordable Java developers to build or maintain web servers and those more back-office Java EE applications.
Zend is in the right place. It's just a question of whether it can successfully flip Java developers, whether Zend and PHP represents a genuinely mature alternative to Java EE.
Separately, The Reg recently spoke to global hotel chain the Intercontinental Hotels Group, which is emblematic of major organizations dumping the Java EE battleship for lightweight, open-source Java.
Bill Peer, IHG's chief enterprise architect, said his massive organization has halved its number of application servers from eight to four in a deliberate rationalization drive, dumping WebLogic. WebSphere was the only big, closed-source Java EE application server to make the final cut. Three of the organization's four preferred application servers are open-source Java: JBoss, Tomcat and Resin, with Resin the application server of choice.
It was access to the code and the ability to avoid the cost and delay of bringing in IBM, BEA, or Oracle consultants that helped drive IHG's rationalization.
Java the hut - its COBOL for the 21st centuary
Java is pretty insane to write, requires code generation tools even when working with 'lightweight' frameworks like spring, hibernate etc. which i have had the 'pleasure' to work with in the past.
Java is a good language for low-level coding like, say, coding an emulator but not for web apps, its like trying to fit a square-shaped peg into a circular hole.
PHP is designed from the ground-up to build web apps, its not simply just a perl-like language with asp-style tags - theres a lot more under the hood if you look at the features of v5 it has a lot more oo features than java under the hood that don't require the longest line of code in history to use reflection, its just $object->$var
To open a file its file_get_contents($filename) - in Java you need 3 different types of streams incased in each other just to open the file never mind get its contents.
Java is bloatware, i'm sorry to say it but its the COBOL of the 21st centuary, c-programming is more pleasurable, even c++ is easier to do something simple like open files.
While the rest of the world has already moved to PHP, the dying underdogs of the forgotten world are still using the most awkward web-application language ever.
FUD or experience, your pick
PHP scales, but only by relying on solutions that are as shabby and maintenance-intensive as the language itself. I know it, I work for a Very Large Site. Java is not perfect either, and I'm not going to start a language flamewar by putting my personal preferences here ;-), but at the very least it executes faster, has much better tools, and the language simply scales better for big apps.
That's the reason we're running away from Zend/PHP, not towards it
Roll out the standard anti-PHP FUD
Reading many of the anti-PHP comments here, its the usual FUD:
1. It does not scale (tell Facebook).
2. It is insecure (like Java or any other language is a silver bullet in that area).
3. It promotes spaghetti code (like Java isn't a race to inter-library-dependency complexity?).
4. It has inconsistent APIs (different libraries have different API conventions, is that unique to PHP?).