Warning: include_once(js/ie.php): failed to open stream: No such file or directory in /home3/gcalas/public_html/tut7.com/wp-content/themes/bigfeature/header.php on line 15

Warning: include_once(): Failed opening 'js/ie.php' for inclusion (include_path='.:/opt/php54/lib/php') in /home3/gcalas/public_html/tut7.com/wp-content/themes/bigfeature/header.php on line 15

Setting Up a Local Mirror for Composer Packages With Satis

January 28, 2014  |  PHP  |  , , , , ,  |  Comments Off

Installing all your PHP libraries with Composer is a great way to save time. But larger projects automatically tested and run at each commit to your software version control (SVC) system will take a long time to install all the required packages from the Internet. You want to run your tests as soon as possible through your continuous integration (CI) system so that you have fast feedback and quick reactions on failure. In this tutorial we will set up a local mirror to proxy all your packages required in your project’s composer.json file. This will make our CI work much...

Read More

How to Use New Relic Custom Dashboards & Why You’d Want To

January 27, 2014  |  PHP  |  , , , ,  |  Comments Off

Today we’re going to look at New Relic custom dashboards. Specifically, I will show you three ways that I tend to use custom dashboards:creating an overview dashboard from existing chartscreating your own charts from existing data captured by New Reliccreating dashboards for your custom metricsBut, before we get into any of that, we must first ask ourselves a question, why should we use custom dashboards at all? New Relic does a pretty good job of presenting your application performance data. Just using the regular UI, you can glean way more information about the performance of your app than you ever...

Read More

Validation and Exception Handling: From the UI to the Backend

January 23, 2014  |  PHP  |  , , , ,  |  Comments Off

Sooner or later in your programming career you will be faced with the dilemma of validation and exception handling. This was the case with me and my team also. A couple or so years ago we reached a point when we had to take architectural actions to accommodate all the exceptional cases our quite large software project needed to handle. Below is a list of practices we came to value and apply when it comes to validation and exception handling.Validation vs. Exception HandlingWhen we started discussing our problem, one thing surfaced very quickly. What is validation and what is exception...

Read More

Better Responsive Images With the Element

January 17, 2014  |  PHP  |  , , ,  |  Comments Off

This article will introduce you to <picture>, a new proposed element created to try and solve the problem of serving the version of content images which better suits the device currently visiting a web page.Why Do We Need a New Element?Responsive Web Design (RWD) has taken web developers and designers by storm, changing the way they approach the development of a website. When talking about RWD, I love to make an analogy. We, as people involved in software development, are always excited by new tools in the same way a child is thrilled by a new toy (you’ve heard of...

Read More

JavaScript Animation That Works (Part 1 of 4)

January 14, 2014  |  PHP  |  , , ,  |  Comments Off

HTML is the language the web is built in, and it is kind of a strange beast. Although it was originally intended as a way to easily share academic information across the Internet, it has been slowly transformed to accommodate the media-rich environment we know and love, sort of like a cherished lawn mower that has been fitted with jet engines.Because of the haphazard nature of HTML (and JavaScript, the programming language that manipulates elements in HTML and makes them interactive), sometimes we have to think outside the box a bit. In this tutorial series, I will show you how...

Read More