Belt: A Handful Of Tools For PHP Developers

php-belt

Clean and well-documented source

Belt is a really handy, and relatively new tool set for PHP developers. It’s initial commit was only 9 days before the date this post was published.

However, it still looks very usable and rather mature. Code has been added at a pretty quick pace, there’s been 102 commits since Belt’s release on GitHub, a little over a week ago.

It’s release under the MIT license, so it’s compatible with the GPL and can safely used in WordPress themes and functions, if you want them included in the official repositories.

Basically, you just include belt and use it’s built in methods/functions to do certain things that would take a bit more work using straight PHP. For example, to get the maximun of an array of numbers, do this:

A value of 3 will be returned, because it’s the max value there.

And from the readme, a list of what Belt offers.

  • 60+ useful functions
  • ability to use the facade Belt or a dedicated component (e.g. BeltUtilities)
  • fully tested
  • source code is clean and documented

Seems like it offers some pretty useful functions, and it looks really easy to use. I’ve been looking for a solid PHP base to use and this may just be it. Anyone got any other suggestions? I’ve heard a lot about Skeleton for PHP.

Searching for “skeleton” on GitHub, then filtering for PHP, gives a LOT of results, over 1,000 results to be more precise. So, maybe I’ll browse there for a while before making a decision.

Any suggestions can be left in the comments.

Done Smoking for Over One Month

2014-04-19 09.17.29

Just got an achievement in QuitNow Pro for Android for 800 cigarettes not smoked

It’s actually been over a month now, 40 days to be more precise.

I’ve finally stopped using my nicotine patches and don’t miss them. I simply forgot to put a new one on one day. I realized in the evening that I never changed my patch. Took it off but never put a new one on, just because I don’t really feel the need to.

I’m still around lots of folks who smoke, but it doesn’t really bother me like I thought it would.

Hoping the following weeks and months are as smooth as this last week has been. We bought a house on contract, so, having a cigarette did go through my head a few times. Not the least stressful of things to do while stopping smoking. Worked out wonderfully, though.

Smashing Magazine Debut With WordPress 3.9

smashing

Validation achievement unlocked!

I was invited to write an article at Smashing Magazine, detailing the new WordPress 3.9 release. Can’t really explain how excited I was when I got the email.

I’m truly thankful for the opportunity and am immensely humbled by their request.

Anyone who knows web development, design, or really anything related to the Internet at all has probably heard of Smashing Magazine.

The article was put together in a very small amount of time but was a blast to do. Daniel Pataki, the WordPress Editor at Smashing Magazine, was a pleasure to work with and has extreme patience (I asked him a LOT of questions). Thanks again for bearing with my sometimes dumb questions, Daniel.

The experience was awesome and I hope to continue writing articles for Smashing Magazine for a long time to come. I gave my editor a list of about 10-15 topics I’d like to cover, most of which have nothing to do with WordPress. Hopefully my ideas aren’t ALL crap, lol. :)

To read about WordPress 3.9 and what’s new, head over to the Smashing Magazine piece!