Why Do Cool Kids Chose PHP to Build Websites?

PHP Developer's Journal

Subscribe to PHP Developer's Journal: eMailAlertsEmail Alerts newslettersWeekly Newsletters
Get PHP Developer's Journal: homepageHomepage mobileMobile rssRSS facebookFacebook twitterTwitter linkedinLinkedIn


Top Stories

Coach Wei's Blog Here is a question that I have been pondering on and off for quite a while: Why do "cool kids" choose Ruby or PHP to build websites instead of Java? I have to admit that I do not have an answer. Why do I even care? Because I am a Java developer. Like many Java developers, I get along with Java well. Not only the language itself, but the development environments (Eclipse for example), step-by-step debugging helper, wide availability of libraries and code snippets, and the readily accessible information on almost any technical question I may have on Java via Google. Last but not least, I go to JavaOne and see 10,000 people that talk and walk just like me. The other reason that I ponder this question is that  the power of Java is a perfect fit for the areas where websites may need more than markups or scripting, such as middleware logic. PHP and Ruby etc ... (more)

Java Kicks Ruby on Rails in the Butt

This article tries to demonstrate that Java can be more productive than Ruby. We are going to develop the same application of the article Rolling with Ruby on Rails Revisited (part 1 [1] and part 2 [2]) but using POJO [3]s annotated with JPA [4] and a Model Driven Framework, OpenXava [5] in this case. The result is that with less code, and less time you obtain a more powerful application. Ruby and rails: The regressive framework Ruby on rails [6] is so elegant, so easy, so productive. I cannot avoid read and heard continuously these comments. For example, the article Rolling with Ruby on Rails Revisited of Bill Walton says: “What would you think if I told you that you can develop a web application at least ten times faster with Rails than you can with a typical Java framework?” Oops! Ten times faster! Well, after these comments I decided to learn Ruby on Rails. I ne... (more)

X-oops, I did it again

(LinuxWorld) — One of my non-profit Web sites, VarLinux.org, ran on my modified version of the PHP-Nuke weblog package from the site's inception in March 2001 until late November 2002. I chose PHP-Nuke as a starting point because I was very impressed with it. However, the more I learned how to use PHP, the more I realized that PHP-Nuke was not only a tangled mess but that I had made it even worse with my modifications. A year later, I was faced with the fact that VarLinux.org was not only lame because it was based on PHP-Nuke, it was also showing its age. It lacked features of other weblogs, and still lacked many of the features I had intended to add to the site. If I were going to fix the code, the first thing I would do would be to make it an object-oriented system. I toyed with the idea of converting my code into OOP-based code, but I concluded that if the P... (more)

How Appcelerator is Building the Largest Open-Source Community Dedicated to RIAs

"We’re dedicated to building the largest open-source community dedicated to RIAs, breaking down the barriers between traditional preferred languages, programming models and solutions, says the co-founder & CEO of Appcelerator, Jeff Haynie. To date Appcelerator has seen the strongest amount of interest from Java and PHP developers, Haynie notes, but the company has continued to see steady growth across Ruby, Python, Perl and .NET programmers as well. The remarks come amid Haynie's responses to questions posed to him by Jeremy Geelan, Conference Chair of AJAXWorld Conference & Expo 2008 East in New York City this coming March (March 18-20, 2008). The wide-ranging Q&A session also covers how Appcelerator's approach zeros in on the need for a clean separation the application from services in an agile development model by enabling the building of  "service-oriented UIs." The... (more)

Netbiscuits Nominates New Managing Director for North America

Netbiscuits, a provider of software service for mobile sites and apps, announced on Wednesday that its board has nominated Craig Besnoy to become the company's new managing director in North America. Stepping into his new role today, Besnoy will be responsible for Netbiscuits' growth strategy in the United States and other markets on the American continent. In response to rising market demand for mobile websites on the back of device proliferation in North America, Netbiscuits Inc. is expanding its U.S. operations by opening new offices in New York City, Los Angeles and San Francisco. "Today mobile already means serious business for a broad array of different vertical industries in the United States", says Craig Besnoy, Managing Director of Netbiscuits Inc. "Publishing houses, media and entertainment companies as well as retail and e-commerce enterprises are at the ... (more)

Compuware Expands New Generation APM Leadership

Compuware on Monday announced a PHP deep transaction management solution. With Deep Transaction Management for PHP, Compuware APM now provides a solution that fully combines user experience management (UEM), web-server visibility, deep-dive into PHP, database access and external calls. For the 39 percent of websites using PHP, the solution cuts through complexity and provides full application visibility from a browser-click to the database and back, for all transactions, in real-time 24x7. Compuware APM provides out-of-the-box advanced support for popular PHP frameworks including Zend and visibility into MySQL databases. It provides the broadest coverage to include other backend systems such as Java, .NET, C/C++, Big Data, MQ, Message Broker and the mainframe. Out-of-the-box dashboards instantly tell users if something is amiss. Advanced automation with one-click t... (more)

Two stupid PHP tricks

(LinuxWorld) -- In the face of a slowing economy, it is increasingly difficult to justify spending any time working on my non-profit site VarLinux.org. I posted a notice stating there will be no further progress. Yet even after making it "official," I can't seem to stop myself from working on the site. Perhaps I have some secret hope it will blossom into a successful project that makes money instead of sucking the food out of my children's mouths. Or perhaps I find it therapeutic in these trying times. Regardless, working on this site continues to be educational, particularly in when it comes to learning from my mistakes. (Whenever I think of that expression, I am reminded of the Peanuts strip where Charlie Brown says something along the lines of, "If it is true that you really learn from your mistakes, that makes me the smartest person in the world.") I chronicle ... (more)

13 SteelEye Releases LifeKeeper for LAMP

SteelEye Technology has put out a release of its LifeKeeper high-availability software for the LAMP platform, the acronym for the Linux OS, Apache web server, MySQL database and PHP/Perl/Python script engines combo used for building web sites. SteelEye reasons these sites need to be up 24x7 so they're a natural for LifeKeeper. It will monitor the end-to-end application stack and recover any failed components. It also supports the movement of LAMP components among servers, limiting downtime. It runs on 32- or 64-bit Intel boxes with Red Hat or SuSE and configurations can use shared SCSI, Fiber Channel SANs, NAS devices or data replication. ... (more)

Configuring and Testing PHP Servers for XSL Support

The major breakthrough in Macromedia Dreamweaver 8 is visual authoring with XML data. You can now perform both client-side and server-side XSL transformations in a snap. I covered XML syntax in one of my previous articles. I also presented the XSL syntax and covered the differences between a server-side and a client-side transformation in my article, XSL Overview. Finally, in the article, Consuming a Remote RSS Feed with Dreamweaver 8, I show you how to consume a remote feed in your site, using the XSL Transformation server behavior in Dreamweaver 8. This article explains how to install and configure XML and XSL support for your web server, in order to be able to perform server-side XSL transformations. The article covers the configuration of PHP application servers - versions 4 and 5 - for Windows, Macintosh, and Linux operating systems. In a server-side XSL tran... (more)

JavaOne 2007 Predictions

Bill Roth's Blog Last year, I took a stab at predictions as to what Sun would announce at the 11th annual JavaOne. This year, for JavaOne 2007, I'll take a stab at what Sun and some of the other major vendors will announce. It will be fairly easy to predict the major themes from the vendors. Most of them will be spouting "Web 2.0" and talking about development and production assistance for mashups, etc.  In addition to new tools, some chatter about PHP, and a talk by Gary Horen, we're flexible enough such that I am sure we'll have some last minute excitement. So, for JavaOne 2007, here are my predictions. Oracle Announcements: Project X: Oracle will talk about its Uber-secret project which is either a rebranding of Fusion,  a duplicate project to Fusion, or something different. And I am not the only one who is confused. When you hear things like: Project X "is esse... (more)

Easy as Can Be: Embedding jMaki Widgets in Different Pages

jMaki is an AJAX framework that provide a wrapper over rich widgets from multiple toolkits such as Yahoo!, Dojo and many others. jMaki-wrapped widgets can be easily used in a JSP, Rails, PHP and Phobos app. This session will explain what jMaki is and show using live code demos how easy it is to embed jMaki widgets in different pages. Arun Gupta is a technology evangelist for Web Services and Web 2.0 Applications at Sun Microsystems. He was the spec lead for JAX-WS, a committer in Project Tango, has represented Sun at W3C, WS-I, SOAP Builders and contributed to the Java EE and SE releases. Register for AJAXWorld Conference & Expo Submit Your Paper to Present a Session Sponsor AJAXWorld Conference & Expo RIAs, Rich Web Technologies, and AJAX March 18-20, 2008, New York City AJAXWorld Conference & Expo 2008 will provide delegates with the optimum balance between RIAs, Ric... (more)