Setting the stage: Code complexity Code complexity often gets measured by calculating the Cyclomatic Complexity per unit of code. The number can be calculated by taking all the branches of the code into consideration. Code complexity...Show More Summary
I finally got around publishing grauphel on the Nextcloud app store: grauphel @ Nextcloud. This means you can install the Tomboy note syncing server on your Nextcloud instance via the normal apps menu now. I have no plans to publish it in the ownCloud app store, nor do I plan to do fixes for ownCloud compatibility.
In this tutorial, we’ll talk about Global Query Scopes and Pagination among other topics. First off, we’ll make some adjustments to the current view file that displays a single thread. Right now the content is centered in a one column style layout. Show More Summary
I'm delighted to announce my new venture, PHP Training, with my friend Gary Hockin. As you can probably guess from the name, PHP Training is a training organisation where we provide public training courses on topics related to PHP. These courses will be held in person, initially at various venues in the UK, and are taught by Gary and myself. Show More Summary
Speaker: Oliver Davies @opdavies Laravel Collections are a powerful object-orientated way of interacting with PHP arrays, but did you know that they can be used outside of Laravel, in any PHP project? This short talk shows how we can...Show More Summary
The other day I came across the following code in a project: And the following was a unit test written to test this bit of code: Note that I have omitted the rest of the User class, as well as the Users array that is returned in the test. This test will in fact provide […] The post Don’t write useless unit tests appeared first on BrandonSavage.net.
Use BI for Social Media and Internet Marketing to Understand and Measure Results! Nearly every organization is using social media to promote its products and services and to establish and sustain relationships with prospects and customers. Show More Summary
Mobile BI That is Designed for Every Device, Every user, Every Environment! Design is important! Design skills are used in many industries; everything from appliances and cars to clothing and software interface design. The overall design, the layout, the detail…it is all important. Show More Summary
In The Case Against Pay for Performance, I argued against increasing pay based on performance reviews. Checkmate. Case closed. Or so I thought. Like many bloggers, I suffer from delusions of grandeur that millions ponder every word I write, are enlightened by insight, and then compelled to action.
In this tutorial we are going to learn all about how to refactor with PHP Storm. During the course of building our application, we often find the methods in our controllers begin to expand in size. As the need to apply more and more logic happens, we don’t want to see our methods get so convoluted that they become hard to read and reason about. Show More Summary
For open source projects I'm involved with, I developed the habit to define and document the steady growing amount of repository and build utilities via Composer scripts. Having Composer scripts available makes it trivial to define aliases or shortcuts for complex and hard to remember CLI calls. Show More Summary
Wondering if Augmented Data Discovery is for You? Wonder No More! If you have heard of Augmented Data Discovery (aka Smart Data Discovery), but you don’t quite understand what it is and its value to average business, then we really need...Show More Summary
This tutorial will focus on adding the ability to filter by query strings when fetching information from the database. There are a few other ways you could do this type of filtering, but many times a simple query string is a nice way to go about it. Show More Summary
CQRS - not a complicated thing CQRS has some reputation issues. Mainly, people will feel that it's too complicated to apply in their current projects. It will often be considered over-engineering. I think CQRS is simply misunderstood, which is the reason many people will not choose it as a design technique. Show More Summary
In this tutorial we will learn how to use view composers in our little forum application. View composers are a way to make sure certain data is available to view files no matter which endpoint you may be visiting in an application. We’ll discuss placing sql queries in view files, vs having them in a controller, vs making use of view composers. Show More Summary
Self-Serve Data Preparation is Easy as Pie! Data preparation tools come in many shapes and sizes and not all are equal. If your business is interested in implementing a self-serve environment where its business users can become a greater...Show More Summary
I have yet to talk to a developer that has told me that they were purposefully writing bad software. I think this is something that is part of being a developer, that you write software that is as good as you can possibly make it within...Show More Summary
We’re actually going to cover a lot of odds and ends with regard to the form that allows a user to create a new thread in this tutorial. We’ll just go ahead and call the post, “How To Remember Form Data” since that is my favorite feature we’ll cover in the following examples. Show More Summary
Everybody likes “the new hotness.” Everyone loves a new car, or a new computer, or the state-of-the-art video gaming console. It’s why people camp out for days to get their hands on a new iPhone, when they could just buy one the next week off the shelf. Show More Summary
Want to Sleep Well at Night? Employ Remote IT Infrastructure Management Services! IT infrastructure management can be a real headache! You don’t have the staff or the time to manage growth, integration, compliance, security or any of the other issues that seem to crop up on a daily basis. Show More Summary