15 5 / 2011
How To: Configure ExpressionEngine for Multiple Server Environments
One of the challenges ExpressionEngine developers who have separate development, staging, and production environments face is configuring EE to work in all three of those environments without having to modify code each time. Over the last few months, I’ve been looking for ways to make the EE configuration as dynamic as possible and here is what I’ve learned. The methods described here only pertain to ExpressionEngine 2.x.
Permalink 6 notes
17 4 / 2011
EE Addon: HTML/CSS/JavaScript Optimization with AutoMin
What is AutoMin?
AutoMin is an ExpressionEngine addon that automatically combines and compresses your template output, CSS and JavaScript code.
Features
- On-the-fly combination and minification of your CSS/JavaScript
- Intelligent caching mechanism detects when you’ve made a change to your tags or files
- Automatic compression of your HTML markup
- Handles CSS @import and @font-face with ease
- Support for EE’s global variables, path variables, and {stylesheet} variables
- Reports file size differences to the template debugger
- Basic support for EE 1.X
Permalink 6 notes
24 2 / 2011
Tutorial: LINQ to Entities in .NET Framework 4.0
Before I began working on a recent .Net Windows application, I was checking out some of the new data access methods in .Net Framework 4.0 and came across LINQ to Entities, which was available in .Net Framework 3.x, but was vastly improved in Framework 4.0. Today, I’m going to spend a few moments talking about the LINQ language and, more specifically, LINQ to Entities and what it means for object-oriented C# programmers.
Permalink 4 notes
18 1 / 2011
Think: An OOP's Approach to JavaScript
Sometimes it seems that there aren’t many hard-fast rules in programming. What works here, may not work there. What is best for this developer may not be best for another. One area where this is noticeably the case is the debate over coding standards and code-cleanliness. For me, this is always evolving as I discover new ways to make my code more maintainable, more readable, and just downright more beautiful. How well your code reads and looks is almost as important as how well it performs and is considered your first impression when another developer is tasked to maintain your code. Today, I will be suggesting a few techniques I use to write beautiful JavaScript code that is less prone to bugs and easier to maintain.
15 1 / 2011
Code: SVN Hooks for Staging Servers
I had to develop some SVN hooks to automate our push to staging at Paramore|Redd. I decided to take it a bit further and include PHP Syntax validation. Check out the scripts here and modify/use them as you need.
Permalink 1 note
04 11 / 2010
Free App: Easy Hosts File Editing with HostsFileHelper
Open source and available for both Mac and Windows, HostsFileHelper is a small application designed to take the hacker out of hosts file editing.
29 9 / 2010
How To: Server-Side Web Optimization
If you’re anything like me, you like snappy (you like to find what you’re looking for and find it quickly), and slow load times can greatly impact your workflow. Turns out we’re no different than most web users. In this article, I’ll give you a few reasons why you should worry about web site optimization and show you some simple technical things you can do to speed up your site’s load time and responsiveness.
Permalink 2 notes