• News

Cyclomatic And Npath Complexity Explained


This is how many linearly independent paths there are in a code section called cyclomatic complexity. Use this to figure out how hard a program is to make. Using the Control Flow Graph of the program, it has worked out how many steps it takes to run the program Directed edges connect nodes in the graph, which show the small groups of commands that are part of a program. For example, if the second command could be done right away, it would connect to the first one. If you write some code, you can run it in many different ways. This is called NPath complexity(ignoring cycles).

One Year Of Working Remote

16 Aug 2015

The first year of working remotely has been well documented in a number of posts, and this is yet another. But hoping it can inspire someone or provide some insight into what it's like and where the best parts are as well as any potential pitfalls that may be lurking out there. This isn't for everyone, but a lot of people who enjoy having a distinct work and personal space. However, it works for some, and it's unlikely they'll ever want to go back to the old way of doing things.

Ngrok, A Versatile Tool For Web Developers

05 Jul 2015

For the vast majority of cases, your development machine will be confined to your local area network (LAN) and/or firewalled from the outside world. For example, what happens if an external web hook is required and you need to show your progress to the outside world or on a mobile device? Using ngrok, you can accomplish this in a matter of minutes. Alan Shreve (@inconshreveable) created it, and it's completely free! There are some premium features that require a fee, but for the most part, it is free to use in its entirety. It identifies itself thusly:

This tool is used for creating a secure tunnel from the public internet to a web service that is running locally. For future review and replay, ngrok records and analyzes all traffic passing through the tunnel.

Atomic Deploy For PHP Applications

29 Jan 2015

There should be no interruptions in service when your application reaches a critical mass of users. If a user is working on something and then tries to save it and receives an error message stating that the service is currently unavailable, they may become extremely frustrated. It's a terrible experience for the end user. Just aiming for a quick and responsive deployment isn't going to cut it. Atomic versions are needed.

Presentation At A Conference

15 Nov 2014

They first learned about a PHP conference coming to Stockholm, where they currently reside, a few months ago. They were ecstatic because it was the only PHP conference they'd heard of in Sweden. Symfony is the primary focus, but components have become an increasingly important part of PHP in recent years. Afterwards, they came to the conclusion that they might be able to contribute to this conference. It was at meetups that they had previously only given presentations, which they thoroughly enjoyed. As a result, they thought it would be an excellent idea to submit an abstract for a talk on how to deploy PHP applications since they're writing a book on the subject. Their talk proposal for Symfony November Camp was titled "Deploying PHP applications," and they waited.

Deploying With Git Hooks

22 Sep 2014

A simple and effective way to deploy your application is to use Git hooks. Using them is a must. If you're going to use version control, you'll want to make sure you're working with Git. With a simple setup, you can accomplish nearly anything with your deployments.

A simple git push to your production server and the automation of the rest of the process is what you'll learn in this post.

Share: Twitter|Facebook|Linkedin

Featured Articles

Recent Articles