Grunt – How to Copy Only New Files

In using Grunt on a large project, I wanted to speed up the build time by only copying files to the staging area that have changed. Unless I missed something, the Grunt Copy plugin always copies all files, regardless if they were changed or not. It does provide hooks that we can use in determining … Continue reading Grunt – How to Copy Only New Files

Advertisements

Grunt: How to embed the content of files in JavaScript Files

When working with any project, large or small, I almost always break up the source into different files in order provide clarity and maintain small working components. So you usually find a few different files under the src folder of my projects: JavaScript files, HTML files and CSS files - all of which are then … Continue reading Grunt: How to embed the content of files in JavaScript Files

How to Scope 3rd Party Cascade Style Sheets (CSS) with Grunt

Every client side web developer or even the occasional advanced user knows what a closure is suppose to do and why it is important to keep all variable within a private scope. Snippets like this are common when working with jQuery: It allows you to code freely inside of the above IIFE (Immediately-Invoked Function Expression) … Continue reading How to Scope 3rd Party Cascade Style Sheets (CSS) with Grunt

Creating (Eclipse) Aptana JavaScript Content Assist Files (sdocml)

I have a been a long time user of Aptana (I use the Eclipse plugin; there is also a self-contained Aptana IDE which wraps eclipse), and find it to be a very good (free) IDE for web development (JavaScript, CSS, HTML). JavaScript editors today don't seem to be as good or advanced as other languages … Continue reading Creating (Eclipse) Aptana JavaScript Content Assist Files (sdocml)

Utility to Browse SharePoint Out-of-Box Images for use in Customizations

If you do SharePoint front-end UI/UX customizations using HTML and CSS you have probably run across this need: to re-use some of the images already available in the farm in your custom markup or styles sheets. But knowing what is available is not a strait forward process and for a while there I resorted to … Continue reading Utility to Browse SharePoint Out-of-Box Images for use in Customizations

Setup an Eclipse Run External Tool Configuration for Grunt

I use Eclipse along with the Aptana plugin to develop web applications and have been for a long time. I started using Eclipse because I loved the fact that it provides a full feature Integrated Development Environment (IDE) framework that, through the use of plugins, supports multiple programing languages. At the time I started using … Continue reading Setup an Eclipse Run External Tool Configuration for Grunt

SharePoint – Show Item ID on View and Edit Forms using jQuery

While working on a project to customize a SharePoint site for use in managing Scrum, I came across the need to always show the ID of an item on the Edit (EditForm.aspx) and Display forms (DispForm.aspx). The team needed a quick way to identify what backlog user story they were working on as well as … Continue reading SharePoint – Show Item ID on View and Edit Forms using jQuery