 | News Feed |
 | Jobs Feed |
Sections
News Archive
|
| feed this: |  |
Chris Hartjes: Standards, Soapboxes, and Shamans
by Chris Cornutt January 21, 2013 @ 13:16:47
In this latest post to his site Chris Hartjes shares some of his thoughts about the recently approved PSR-3 standard (for logging) and some of the reception that the other PSRs (PSR-0, 1 & 2) have gotten from the PHP community.
For those who pay attention to the workings of the PHP community you might have heard about the "PHP Standards Recommendations" that have been coming out of the PHP Framwork Interop Group. [...] More recently this group has been working on a standard for logging interfaces called PSR-3. I spoke about this on Twitter, and I will repeat it here: I think PHP programmers should get behind PSR-0 and efforts like PSR-3. I feel that PSR-1 and PSR-2 are solutions looking for a problem and seem, to me anyway, to me out of place with the solutions offered by PSR-0 and PSR-3.
He likens the PHP PSRs to the Python enhancement proposals (PEPs) and, more specifically, to the PEP-8 - their own version of "coding standards" that was highly championed by Guido van Rossum and put into wide practice.
Any programming language community that does not work as hard as possible to make it easier to integrate other's libraries of code together [by standardizing their formatting] is asking for irrelevancy.
voice your opinion now!
standards psr0 psr1 psr2 psr3 community feedback python pep
Reddit.com: Can We Revive php.net User Notes Or Kill It?
by Chris Cornutt September 13, 2012 @ 12:56:44
In this discussion on Reddit, there's talk about the user comments feature on the PHP.net site and the value they provide to the language and community.
The question, however, has always been "how useful is this feature really and does it bring more harm than good?". It's not that easy to answer since there are so many notes submitted by a wide range of users and some will likely go unnoticed while others seem to get undue attention due to their positioning near the top of the user-notes section of a particularly trafficked page.
The poster proposes a few things that could help make them a bit more effective (and useful overall) including voting on the note contents, flagging potential issues and sorting the notes based on popularity/age. He's put together a proof of concept as seen here with some of the new features.
voice your opinion now!
phpnet website user comments notes features feedback
Community News: FixThatCode.com Launched
by Chris Cornutt July 30, 2012 @ 10:55:48
Rafael Dohms has started up a new project that wants to help developers get help on their broken code via collaboration with others - FixThatCode.com.
Coding is an art. There are many ways to paint an apple, but which is better? Most of the code we write everyday can be written in better ways to achieve different objectives. Sometimes all it takes is a fresh pair of eyes. Code quality can be observed through various identifying markers. Perhaps you're not aware of them, don't have time to look for them or are too caught up in the moment to notice? That's where FixThatCode.com steps in!
There's a few different categories you can ask for help in including "Make this code better", "Make this code faster" and "Give me feedback". So far there's some interesting examples to look at - mostly in the "Feedback" category as developers look to further their skills by learning from others. The site's still just starting out, but I could see it becoming a good resource to any community - not just PHP!
voice your opinion now!
fixthatcode launch collaboration code feedback performance
Reddit.com: What are some genuine criticisms of PHP?
by Chris Cornutt April 05, 2012 @ 10:09:04
On Reddit.com there's a long thread with responses to the question "What are some genuine criticisms of PHP?" with opinions ranging from small issues (like syntax) out to more community-related topics.
PHP tends to get a lot of flak, but mostly it is for something that isn't really the fault of PHP. Things like "there is so much bad PHP code out there" may be true but you can write bad code in any language. You shouldn't be mixing PHP, SQL and HTML, and you should be escaping/parameterizing variables for queries. (Thankfully this is less prevalent nowadays.) So do many PHP criticisms actually hold true today, now we have namespaces and we have buried crap like magic quotes at the bottom of the ocean?
Other comments cover things like
- PHP's namespace implementation
- poor web services support
- Less code audits, more "roll-your-own fever"
- Function naming and parameter order
- weak OOP functionality
Check out the full post for lots more opinions and add yours too!
voice your opinion now!
opinion criticism language feature feedback
Padraic Brady's Blog: How Would You Engineer A PEAR2/Pyrus Distribution Architecture?
by Chris Cornutt June 21, 2011 @ 09:12:42
Padraic Brady has a new post to his blog asking you, the reader, for your suggestions on how to architect a distribution system for the PEAR2/Pyrus components.
With the idea of PEAR2 and Pyrus, I had hoped to see a renewal - the advancement of a PEAR architecture for the 21st Century. Instead, and this is just my opinion, PEAR2/Pyrus were a relatively simple iteration on a very old theme. [...] If the PEAR ecosystem has a failing, it is one of staggered evolution. Over time it has picked up additional features tacked on top of a base model.
He breaks up his thoughts on the future of PEAR2/Pyrus distribution into a few different topics - the issues he sees surrounding packaging (like static packaging definitions), suggestions for a dynamic channel aggregation system and overall usage of the PEAR system.
voice your opinion now!
feedback engineer pear2 pear pyrus architecture opinion
|
Community Events
Don't see your event here? Let us know!
|