• 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.

Comments (0 comments)

    Recent Articles

    • All About Git Pretty Stats

      All About Git Pretty Stats

      The git status command is used to show what's going on with the repository and the staging area. It lets us see the files that have been tracked and the ones that haven't. This command won't show any commit records or other information, so don't use this command.

    • Laravel Vs Symfony2 - Is There Really A Difference?

      Laravel Vs Symfony2 - Is There Really A Difference?

      The two frameworks share a lot of things. Laravel also uses most of its third-party libraries from Symfony components, so about 30% of Laravel code is written in Symfony. Symfony, on the other hand, is a more complicated framework that is hard to learn, but it is better for big projects because it is more complicated.

    • How To Get Raw POST Data In Laravel

      How To Get Raw POST Data In Laravel

      Laravel's IlluminateHttpRequest class gives you an object-oriented way to interact with the current HTTP request that your application is handling. You can also get the input, cookies, and files that were sent with the request.

    • LeetCode – Essential? Optional? Big Deal Or Not?

      LeetCode – Essential? Optional? Big Deal Or Not?

      Are you a developer aiming to put Facebook or Google (or even both!) on your résumé? There are many ways to improve one’s computer skills. LeetCode offers help in that capacity and even promises to get you employed in giant tech companies.

    • The Depths Of AngularJS's Watches

      The Depths Of AngularJS's Watches

      When you want to watch for changes in AngularJS, it is fairly kind to you by default. The kindness comes from trying to optimize performance for you. This is because each watch expressions will run at least once during each $digest loop. I'll not go into when the $digest loop executes and why, and I'll also use watches in controllers in my examples which you should never do, but that's a whole other discussion.

    • Continuous Integration For Laravel With Jenkins And Git

      Continuous Integration For Laravel With Jenkins And Git

      This will be a hands on guide for setting up automated builds for Laravel using Jenkins. Pretty much that when you do a commit, Jenkins will automagically make a build and in that check code errors and syntax, run unit tests and provide visual code coverage for your code base. Along with other goodies. Jenkins is an open source continuous integration server that has gotten a lot of attention recently as the #1 open source continuous integration server. Mostly because its vast amount of plugins, which currently is 600+ as I’m writing this. We’re going to use 10 of those to automate our test environment.

    • Cyclomatic And NPath Complexity Explained

      Cyclomatic And NPath Complexity Explained

      Cyclomatic And NPath Complexity Explained