 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
MaltBlue.com: 5 Reasons Coding Standards Are Essential
by Chris Cornutt March 13, 2013 @ 10:13:59
Matthew Setter has posted five reasons why he thinks that making a coding standard is an essential part of your development process. He suggests that "pain avoidance" is one of the key factors, both for new members of the team and for those maintaining it in the future.
Whenever you're working on a project, are you consistent? Are you consistent in your coding style, consistent in your documenting, consistent in your database naming conventions? Better yet, do you and your team have a coding standard which you consistently adhere to? If you don't, you're buying yourself and others a world of pain - which is painlessly simple to avoid. Today I'm banging the drum, shouting from the street corner, calling from the cathedral spire, imploring you to do one thing, above all else - pick a coding standard and then BE CONSISTENT!
His five reasons for implementing (and effectively using) a coding standard are:
- Poor, Inconsistent Code - Causes You Pain
- Your Code is Easier to Read
- Your Code is Easier to Understand
- Your Code is Easier to Maintain
- Your Code is Easier to Collaborate on
Check out the post for summaries of each point.
voice your opinion now!
coding standard essential opinion maintenance read understand collaborate
Lee Davis' Blog: The enum conundrum
by Chris Cornutt July 06, 2012 @ 11:56:52
In a new post to his blog Lee Davis describes the enum conundrum - what's the right solution for effectively using ENUM-type fields in your data?
So a user signs up and I want to store a status that reflects their account, or at least an identifier representing that status. Their account could be active, disabled (temporarily), pending approval or maybe deleted. Should I use an enum? I've heard they're evil. Maybe having a reference table with statuses would be better? But now I have to manage a separate table just for that one snippet of data, is that overkill? Could I maybe use that status table for other entities? Or, could I instead just use an integer and reference it on the code level? What is the right solution?
He presents three of the most common situations he's seen for people using enums in the application:
- "I used enums all over the place" (maintenance between code and DB values)
- "use a reference table"
- "I could use a class constant to represent the enum" (enforced in the app)
Of the three, he suggests the third as the option with the most advantages. Not only does it make it simpler to get the allowed values for the field, but you're also more flexible in the kinds of validation you can do on the values.
voice your opinion now!
enum conundrum reference table constant maintenance
Tom Schlick's Blog: Wrench for FuelPHP
by Chris Cornutt November 30, 2011 @ 12:40:57
Tom Schlick has a new post to his blog talking about a tool he's written for FuelPHP-based applications called Wrench. It's a command-line tool to make taking your site "offline" simpler.
If you have been following what I've been up to lately you would see that many of my recent projects are based on FuelPHP. Since Fuel is so awesome and allows you to create "packages" that can be dropped into your application, I have created a few that help me quickly piece together apps. The first package I'm "releasing" is called Wrench.
The tool works with the oil command-line tool already included in the framework to swap out the default action with a "Down for Maintenance" message. It will look at the current state of the app and switch it to the opposite when run, but you can also define "start" and "finish" manually if you'd like. You can find the source for the package on Tom's github account.
voice your opinion now!
wrench site maintenance message tool task fuelphp framework
Richard Thomas' Blog: ZF please before you go 2.0 gunho please clean out the attic
by Chris Cornutt January 28, 2010 @ 12:20:21
Richard Thomas has a suggestion for the Zend Framework development group - clean out the attic before you hit the 2.0 mark.
A big focus of 2.0 it seems is going to be performance and cleaning up the structure to make use of php 5.3 features which is great, I have been preaching the need for ZF to start taking performance as a real concern for a while now. On the other hand they have gotten to a certain point that they need to reflect on what they already have and not let the spiderwebs grow to large.
Richard points out that the Zend Framework, which has a focus on being a "business-class framework" and having the best to offer, has quite a few parts of it that are older and aren't well maintained. This sort of thing could cause some big problems down the line and could even cause some doubt over the developer's choice of frameworks.
voice your opinion now!
zendframework opinion cleanup maintenance
Ibuildings Blog: About Open Source software projects
by Chris Cornutt July 22, 2008 @ 10:27:15
On the Ibuildings blog today Mikko Koppanen talks a bit about Open Source software projects and things that can help to make them successful.
An idea can be a tool or a library that you need and think others might find useful; a new technology innovation; or something you think you could implement better than the existing tools. Extra care has to be taken if you decide to create a new tool to replace an old one. In most cases, these projects end up reinventing the wheel without any added value. A wheel is wheel, right?
He recommends a team infrastructure growth as the application grows and the importance of documentation and maintenance after the project has been launched.
voice your opinion now!
opensource software project manage team infrastructure documentation maintenance
|
Community Events
Don't see your event here? Let us know!
|