 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Samuel Levy: PHP is the right tool for the job (for all the wrong reasons)
by Chris Cornutt April 24, 2013 @ 13:15:08
About a month back Samuel Levy wrote up a post sharing some of his thoughts on PHP, mostly centered around one idea - that PHP is the right tool for the job (for all the wrong reasons).
When people complain about PHP being a horrible language, not fit for human consumption, they will often talk about how the features of their favourite language are far more refined; have been designed with elegance in mind; are consistent and secure. And you know what? They're right. But PHP is still a better tool. [...] And it shouldn't be. It really shouldn't. I want another language to knock PHP out of the way. [...] I can't, though, because PHP does one thing really well that no other language seems capable of doing. It works, out of the box, for people who don't know what they're doing.
He goes on to talk about the "installation" required with running PHP scripts and how it makes it mostly "idiot-proof" to use. He points out that PHP has a definite niche in the world of web development languages - one that has a larger need that some others.
This is the challenge for all the people who want to complain about PHP - if your chosen language is so much better (and I have no doubt that in many ways, it objectively is), then make it accessible in the way that PHP is. Until then, keep that double-clawed hammer in your shed in case you want to make... burgers...
voice your opinion now!
opinion right tool wrong reasons niche
PHPClasses.org: 6 Reasons Why PHP is a Hobbit
by Chris Cornutt February 18, 2013 @ 13:03:26
The PHPClasses.org site has posted a humorous look at the PHP language with several reasons why PHP is a "hobbit" (a Lord of the Rings series reference):
Sometime ago a user of the Quora site asked a question if there was a language war, which languages you support and why. Another user gave a very creative response comparing programming languages with characters of the Lord of the Rings story of JRR Tolkien.
There's six reasons listed in the post:
- PHP is Scripted C
- PHP is not Teaming with C++ Evil
- PHP is Not particularly Beautiful but it is Very Useful
- PHP is Not the Fastest Language to Execute but is Agile
- JavaScript could be a Hobbit too but Asynchronous Programming is a Hell
- PHP Success Causes the Envy of Others
If you're interested to see the thread where the idea for this post came from, you can read it here on Quora.
voice your opinion now!
language hobbit lordoftherings reference reasons
Web Developer Juice: 14 descriptive reasons why Ruby is better than PHP
by Chris Cornutt November 08, 2010 @ 11:06:57
In this new article from Web Developer Juice giving fourteen (descriptive) reasons why Ruby is a better choice than PHP for building web applications (from the perspective of a Ruby developer, it seems).
Picking a language for a programming project is never an easy task. [...] This is especially true with web programming projects. Because you are not always in control of the environment where one's application will be run, it is important to pick a language that can adapt to many situations. Ruby is a better language than PHP for the following reasons.
The list of fourteen includes several points that are not the usual "because it's faster" or "because PHP sucks at this" sort of thing. Here's some examples:
- Principle of least surprise
- ActiveRecord design
- Easier to install
- Interactive shell
- Maintainability
- JVM support
voice your opinion now!
ruby reasons opinion application
Zack Curl's Blog: Why Web Application Frameworks Are Great
by Chris Cornutt March 18, 2009 @ 11:17:17
According to this recent post to his blog Zack Curl is a big proponent of using web application frameworks for development:
Most all PHP developers have worked off of their own code - they create all their own classes, sometimes borrow a little from previous projects, and basically create whole new frameworks without really knowing it. Even though most developers have the mindset that they have more flexibility, less redundancy in code, and other reasons that usually branch off of the two reasons, a framework actually makes your application load faster, work better, and work more effectively.
His reasons for the recommendation are:
- Classing and OOP Principles
- Model-View-Controller Schema
- Pre-built Libraries
- Built for speed
As far as his choice of a specific framework? He would opt for CodeIgniter, the lightweight and speedy product of Ellis Labs.
voice your opinion now!
web application framework cakephp codeigniter zendframework recommend reasons
Zend Developer Zone: An Introduction to the Art of Unit Testing in PHP
by Chris Cornutt December 04, 2007 @ 10:11:00
On the Zend Developer Zone there's a new article/tutorial posted from Padraic Brady introducing you to the art of unit testing your applications and development.
Testing is an essential aspect of developing in any programming language. If you don't test your source code then how can you verify it works as expected? Manual testing can only be performed irregularly and usually only in limited ways. The answer to testing source code regularly, and in depth, is to write automated tests which can be frequently executed.
He talks about testing frameworks, its filtering in to practices on larger community projects, and a few fallacies that most people have about unit testing (including time involved, difficulty with complex code and that it's just boring). He also includes some examples of what a unit test might look like for some simple code - including explanations.
He rounds it off with some of the "why use unit tests" reasons he's found over the time he's used them like:
- Automated tests can be run as frequently as required
- Unit Testing can improve the design of code especially with Test-Driven Development
- Unit Testing forces you to confront the problem head on
- Unit Testing inspires confidence!
voice your opinion now!
unittest introduction tutorial fallacies reasons unittest introduction tutorial fallacies reasons
|
Community Events
Don't see your event here? Let us know!
|