 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Chris Hartjes' Blog: How Not to Suck at PHP
by Chris Cornutt February 07, 2012 @ 12:48:47
In this recent post to his blog, Chris Hartjes answers his request for a "rant topic" by responding to a question about "how to not suck at PHP" (from Travis Northcutt).
I thought about this question for a while and have some thoughts on what it really means to know how to not suck at building things using PHP. In my never even remotely humble opinion I think the key is to understand what PHP is really good at.
He talks about how PHP had the early-adoption advantage at first with Apache, but how things have changed so much since then. Now, he proposes, PHP's popularity and usefulness is based on what it can do as a language without messing with frameworks at all. He's worried that, once someone picks up a framework, it'll become so ingrained that they won't know what "plain old PHP" can do (or how to work with it).
So my advice to Travis is that he should worry about learning to use PHP like glue and correctly identify the problems he is trying to solve NOW instead of worrying about the problems he might have to solve later. There will be time to fix your problems. Some of those will be solved by using tools that are not written in PHP, but PHP can still glue them together.
voice your opinion now!
advice learn language framework core knowledge
KingFoo Blog: PHP 5.4 - What's new?
by Chris Cornutt January 24, 2012 @ 08:50:42
On the KingFoo blog today there's an excellent look at everything new coming up in PHP 5.4, the next version of PHP set to be released in early February.
PHP 5.4 will be stable soon.
In this post I'll try to give you an overview and examples of the new PHP 5.4 features. If you want to try out PHP 5.4 (which is currently in RC3), it has to be installed first. I suggest that you try this out on a virtual machine so you don't break your current PHP version.
Improvements on the list include:
- Improved Session Extension
- Built-in webserver
- Traits
- Array dereferencing
- Method calls through arrays
- Binary notation for integers
- Instantiate a class without running constructor
- Improved JSON extension
- Improved CURL extension
And this is just a start - they detail each of the improvements and provide code where needed to illustrate the update. They also link over to the PHP.net manual (or PHP bug tracker) for more information on the new feature/change.
voice your opinion now!
version upcoming language improvement addition new
Udemy Blog: Code Wars PHP vs Ruby vs Python - Who Reigns Supreme [Infographic]
by Chris Cornutt January 11, 2012 @ 13:13:29
On the Udemy blog there's a new post with a large infographic showing "who reigns supreme" comparing Ruby, Python and PHP (don't worry, this isn't flamebait...it's actual good stats comparing the state of these three languages).
Just as the Japanese, Spanish and French languages are uniquely different, programming languages also have their variations, some more popular and easier to use than others. With the recent introduction of some new ones, there is a 'war' of modern day languages. What's easier and faster to use is not always the best option.
The graphic includes stats like:
- Usability ratings
- Popularity in the TIOBE index
- How much it's discussed (from the IEEE Spectrum, IRC)
- The number of open job postings
- Average run time/lines of code
Check out the full post for more interesting data.
voice your opinion now!
war language python ruby compare statistics infographic
PHP.net: PHP 5.3.9 Released!
by Chris Cornutt January 11, 2012 @ 08:10:54
The PHP development group has officially announced the release of PHP 5.3.9, the latest in the 5.3.x series.
The PHP development team would like to announce the immediate availability of PHP 5.3.9. This release focuses on improving the stability of the PHP 5.3.x branch with over 90 bug fixes, some of which are security related.
Bugfixes and updates in this release include the max_input_vars directive, an autoloading issue with is_a and changes to the FPM SAPI module. You can see the full list of changes here or just go over and download this latest release and get to installing - source, Windows binaries.
voice your opinion now!
release version language bugfix enhancement changelog
Sharon Levy's Blog: PHP Version
by Chris Cornutt January 05, 2012 @ 13:20:40
Sharon Levy has a new post to her blog showing a trick she's come up with to show the PHP version information (usually found in the phpinfo) even when it's disabled.
Sometimes the most crucial, basic piece of information can seem so hard to find. For example, suppose you wanted to find out what version of PHP your remote webhost provides to shared hosting users? What would you do? [...] For development purposes it can be helpful having phpinfo() available, but on a live shared host, you may discover as I did recently that it is no longer available; your host may have disabled it.
She includes three other ways you can use to get the version of PHP you're working with:
- If you have command line access, running "php -v"
- Using the phpversion function (or PHP_VERSION constant)
- Appending a certain value to the URL (only works in some cases)
voice your opinion now!
find version language method phpinfo phpversion url
Phil Sturgeon's Blog: PHP Basher Bashing
by Chris Cornutt December 21, 2011 @ 08:18:05
In a new post to his blog today Phil Sturgeon responds to some comments made in another post about PHP not "being an acceptable COBOL".
Anyone who has used PHP for a while knows that it has its ugly parts. Recently I've seen a whole swathe of PHP-bashing articles and that would fine if they were they are making a valid point, but some of it has just been - as I tweeted recently - "absolute drivel".
He directly refutes some of the points made in that article, points out a newer post from the same author (which misses some points as well) and finishes it off with a look at why he "still" uses PHP versus something like Closure or NodeJS for his development.
Despite known flaws and imperfections I continue to use PHP as my primary language because during all the time I spend worrying about which technology is the neatest, coolest or shiniest I could have built a new application to sell or finished another client site.
Be sure to check out the comments for some other thoughts about the language (and Phil's responses).
voice your opinion now!
opinion bashing rebuttal language quality
|
Community Events
Don't see your event here? Let us know!
|