This bit from the WordPress Dev Chat Summary made me smile today:
Minor releases will continue to follow the philosophy of trying to fix more bugs than we create.
Simple, elegant and effective…
This bit from the WordPress Dev Chat Summary made me smile today:
Minor releases will continue to follow the philosophy of trying to fix more bugs than we create.
Simple, elegant and effective…
DaedTech runs the blog post “Avoid these Things When Logging from Your Application“. Â It sounds trivial, but it’s not. Â There are quite a few good reminders for best logging practices. Â Here’s the summary list:
Read the whole thing for examples and details.
I first heard about the twelve-factor app a couple of years ago, in Berlin, during the International PHP conference. Â It was the basis for David Zulke (of Heroku fame) talk on the best practices for the modern day PHP applications.
The twelve-factor app is a methodology for building software-as-a-service apps that:
- Use declarative formats for setup automation, to minimize time and cost for new developers joining the project;
- Have a clean contract with the underlying operating system, offering maximum portability between execution environments;
- Are suitable for deployment on modern cloud platforms, obviating the need for servers and systems administration;
- Minimize divergence between development and production, enabling continuous deployment for maximum agility;
- And can scale up without significant changes to tooling, architecture, or development practices.
The twelve-factor methodology can be applied to apps written in any programming language, and which use any combination of backing services (database, queue, memory cache, etc).
Here are the 12 factors, each one covered in detail on the site:
These seem simple and straightforward, but in reality not always as easy to follow. Â Regardless, these are a good goal to aim at.
Eric Dietrich, over at DaedTech, explains how he writes good code. Â It’s a post worth a read in full, but here is a summary:
He is also listing a few books to learn from (the Amazon links are those of Eric – I have no idea if they are affiliated or not, but if they are, he’ll get the credit, like he deserves):
Here are a few coding style guides for those of you on the front lines using SASS: