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

(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)

James Gosling: "Java Is Under No Serious Threat From PHP, Ruby or C#"

(March 9, 2006) - "There have been a number of language coming up lately," noted James Gosling today at Sun's World Wide Education & Research Conference in New York City when asked if Java was in any kind of danger from the newcomers. "PHP and Ruby are perfectly fine systems," he continued, "but they are scripting languages and get their power through specialization: they just generate web pages. But none of them attempt any serious breadth in the application domain and they both have really serious scaling and performance problems." The Father of Java then dismissed Microsoft's C# as having had potential, but no longer: "We were afraid they were going to do something really creative - but they're hopelessly focused on one platform." PHP (for example) is able to make things simpler because it's 100% aimed at web pages, Gosling explained. Whereas with Java, he said, ... (more)

Is PHP the Answer to Interoperable Cloud Computing?

"There is already sort of a cloud ecosystem out there in the world of PHP," notes Sun's Tim Bray in a recent post. "There are a whole bunch of competitive vendors where you can upload a bunch of .php files and database dumps and with only a moderate amount of twiddling, get your app running," he adds. "I’m simply not interested in any cloud offering at any level unless it offers zero barrier-to-exit," declares Bray, who as the co-inventor of XML has been a lifelong proponent of standards. The opportunity presented by the advent of pay-as-you-go infrastructure, Bray says, is substantial: "[T]he current economic climate is going to get in the way of anything that requires laying out capital. In this light, cloud computing starts to look good for the same reason that Open Source looks good: low up-front costs. So, just like everyone else, I think technology providers an... (more)

AppFog Gets $8 Million

Year-old PHP PaaS hoster AppFog, née PHP Fog, has gotten an $8 million B round led by Ignition Partners with participation from new investors Simon Crosby, Citrix' former data center and virtualization CTO, and VC Matt Ocko as well as existing investors, Madrona Venture Group, First Round Capital and Founders Co-Op. That makes $9.8 million altogether. Ignition gets a board seat and Ignition managing director Frank Artale will fill it. The money's earmarked for integrating broader technologies - it wants to support Node, Ruby, Python, Java and .NET - which explains why it's changed its name - and adding to the development team working on AppFog, the technology that powers PHP Fog. Industry analysts have told the start-up and its backers that Platform-as-a-Service is beginning to eclipse bare-bones Infrastructure-as-Service (IaaS) and should be in for "big growth,"... (more)

Top PHP Performance Tips for Continuous Delivery | @DevOpsSummit [#DevOps]

Are you developing or hosting PHP applications? Are you doing performance sanity checks along your delivery pipeline? No? Not Yet? Then start with a quick check. It only takes 15 minutes and it really pays off. As a developer you can improve your code, and as somebody responsible for your build pipeline you can automate these checks and enforce additional quality gates. And as a PHP Hosting company / group you will be able optimize your deployment and run more of these apps and sustain more load on the same infrastructure. Just like Java, .NET, and Ruby type applications, the top performance bottlenecks are fairly easy to spot and fixing them improves end user performance and saves compute power for your servers. Here is what we discovered when analyzing our own Moodle-based educational platform using the 15 Day Free Trial of dynaTrace: High PHP Compilation Time: O... (more)

How to add spyce to your life

(LinuxWorld) — There's a new method for doing server-side Python scripting for Web applications in town, and its name is spyce. Spyce takes an approach similar to PHP. It lets you intermingle Python scripts, statements and variables with HTML to produce dynamically generated Web pages. You could do the same thing with Python Server Pages (PSP) and Webware, but that approach forces you to run a separate Python-based application server alongside Apache. Spyce lets you avoid the extra application server because it can run via the Apache mod_python module, fastcgi, or plain CGI. I happen to like the Python language, so I downloaded the software from the link provided in the resources section below. The installation is manual, but it's a cinch. My uneducated guess is that mod_python will probably give me the best performance, so I choose that method for using spyce.... (more)

Even more stupid PHP tricks

(LinuxWorld) -- I thank the readers who sent in their comments and snippets of code in response to Two stupid PHP tricks and More stupid PHP tricks, a series about what I'm learning while adapting PHP-Nuke for VarLinux.org. I want to share a few letters that include information useful to any PHP user. If you recall from the first column, the crypt() function can suddenly switch to a different default encryption algorithm depending on how you have your system set up, which can break user password authentication. On my system, the default switched from standard DES to MD5. I fixed the problem by forcing VarLinux.org to use standard DES, as it was the original default. A fellow named Matthew sent in this solution for switching users over to MD5. He uses a bit of code that checks the encrypted password to see what algorithm is being used, and then re-encrypts the plainte... (more)

Software & Patents: Open Source Stars Oppose European Patent Directive

Ahead of a key meeting, Linus Torvalds, the father of Linux, Monty Widenius, the CTO of MySQL, and Rasmus Lerdorf, the original author of the PHP scripting language, advertised as the three most famous European authors of open source software, have appealed to the EU Council to abandon the idea of patenting software. Opposing the so-called software patent directive proposal that would see Europe ape the American system of software patents, the trio urged that "In the interest of Europe, such a deceptive, dangerous and democratically illegitimate proposal must not become the common position of the member states." Apparently nosoftwarepatents.com orchestrated the move. The trio argues that despite appearances to the contrary the draft directive contains several passages that would legalize software patents in the EU. They claim that copyright protection is enough for s... (more)

SpikeSource: Automated Open Source Testing and Certification

SpikeSource, a starry Redwood City, California, start-up providing Open Source software testing services, wants to embolden enterprises to use the Linux, Apache, MySQL, and PHP/Python/Perl (LAMP) stack (www.spikesource.com). Their goal is to certify the LAMP stack and the applications that use it. At the heart of its value proposition is an automated testing bed, which lets software vendors and Open Source projects upload their applications and verify that there are no conflicts with the stack. SpikeSource provides these tools for free and offers tools to integrate and manage Open Source assets. SpikeSource tools such as Spike Asset Manager (SAM) have been open sourced and are on Sourceforge (http://sourceforge.net/projects/spike-asset-mgr/). These services and software are free but complement the company's for-profit offerings: Update Services - SpikeSource service... (more)

Apache Releases Portals Bridges

The Apache Portals Jetspeed Team has announced the graduation of the Portals Bridges subproject to a new independent Portals Bridges project which now is available at: http://portals.apache.org/bridges The Portals Bridges Project provides support for Portal independent and JSR-168 compliant Portlet development using common web frameworks like Struts, JSF, PHP, Perl and Velocity. These bridges have been in development for over a year by the Jetspeed-2 Team and is actively used by Jetspeed-2 itself and some already have been adopted by other portals like the JBoss Portal and Stringbeans Portal as well. ... (more)

Ray Camden's "Ask a Jedi" – Building a Template System in ColdFusion

A developer who'd seen CMS applications in PHP that have templates that use variable for placing content, menu, footer, etc, asked CFDJ's technical editor and CF blogger Ray Camden if there's a way that such variables can be created using ColdFusion? Ray's answer, as usual, was authoritative. In a word: 'Absolutely!' The full blog entry is well worth looking at and CFDJ heartily recommends it.  ... (more)