WEBSITE

CodeKit Vs LiveReload

11/15/2012 9:23:15 AM

Web developers often suffer a familiar and repetitive work-flow. You change a CSS file – perhaps adjusting font size or a color; save it; then upload to the server. Then you click Refresh in the browser to see the change. Repeat ad nauseam.

If that sounds familiar, you need either LiveReload or CodeKit. The principal selling point of these apps is easy to appreciate: as you write and save a CSS file, the contents are ‘injected’ into the browser, with no need to reload/refresh. It’s not even necessary to upload the changed files to a remote server, if that’s where you’re working, to see the result.

So, rather than change the CSS for a project in incremental steps, each punctuated with an upload and refresh, you can see the changes as you go, and upload the finished work once you’re happy.

The auto-reload functionality extends to other web files such as HTML and PHP, although these changes aren’t injected; they require the browser to refresh.

While the two apps share a lot of essential functionality, they do differ in both price and additional features.

Codekit, in its current version (1.2.3), doesn’t enable you to inject CSS styles across mobile devices. However, it can still force a refresh of the browser, saving you doing a manual refresh, so working with handheld devices in tandem with Adobe Shadow is still possible, if slightly slower than with LiveReload.

CodeKit

Ratings: 4/5

Price: $25

From: incident57.com/codekit

 

Description: CodeKit

CodeKit

CodeKit currently only works with Chrome and Safari, not Firefox or Opera, due to those browsers’ lack of AppleScript support. However, the trade-off is that it’s easier to work with: there are no browser extensions to install and no JavaScript to contend with. It just works straight off the bat, with no frustrations.

CodeKit also has a powerhouse of useful tools that more than justify the extra expense. For example, it offers built-in image optimization (using the PNGC rush and OPTIMJ peg tools). Just click ‘Optimize all project images’ and every applicable image in a project is stripped of surplus information. This shrinks image data size in addition to any optimization work already done in Photoshop, Fireworks and the like.

Developers working with the popular Sass framework Compass will also appreciate the ability to create Compass projects directly from the interface. Enter the preferred folder names for Sass, style sheets, JavaScript and images, and CodeKit makes the necessary configuration file and then automatically watches the created project.

JS Hint and JS Lint are also included. This means any JavaScript files you create can be run through these tools before upload, catching common problems (missing semicolons, trailing commas and so on) that could choke browsers such as Internet Explorer 8. In addition, CodeKit provides a concatenation tool. If you’ve written or you’re using a number of separate JavaScript files, CodeKit can combine and compress them together into a single file. This saves users’ bandwidth (a compressed file is far smaller) and HTTP request overheads, as only a single file is required.

A final novel feature of CodeKit is that it can create ‘frameworks’, enabling you to use a custom set of files across multiple projects. Perhaps you always use a reset.css or nor-malize.css set of styles in a project. Using a CodeKit framework, you could store these in a single physical location and reference them from a framework called ‘resets’, for example. Then, in any project file, these files could be included with a command like @import “normalize.css”. There’s no need for relative folder paths or any such shenanigans.

There are also some beautiful, well-considered touches in the CodeKit interface. For example, choosing About CodeKit from the menu gives not just quick links for the CodeKit website, but also all the compilers in use, along with the version numbers and links to the relevant website.

Live reload is half the price of CodeKit, but isn’t as easy to get to grips with, nor does it offer quite the breadth of features.

LiveReload

Ratings: 4/5

Price: $11

Info: livereload.com

Description: Live reload

Live reload

Once installed, it loads into the status bar. Clicking its icon reveals a window where you can add projects. Click the ‘+’ icon at the bottom left, browse to the folder holding your local files and LiveReload will watch the enclosed files for changes.

LiveReload provides two ways for browsers to interact with the files you’re working on. The easiest way is by installing a browser extension. Supported browsers are Firefox, Chrome and Safari. This option works fine for desktop websites.

The second option involves adding a snippet of JavaScript in the head of the document or template file. While this alternative method is a bit fiddly, it allows LiveReload to work on mobile devices. This means it can also work in tandem with Adobe Shadow, which is useful if you’re developing websites or applications across multiple devices, such as iPhones or iPads.

LiveReload can also compile a host of popular preprocessing languages. So if you’ve considered using a CSS preprocessor such as Sass and been put off by its apparent complexity, LiveReload will save you from the command line. It can also compile CoffeeScript, Eco, HAML, IcedCoffeeScript, LESS, Jade, Slim and Stylus files.

If you spend much time refreshing the browser to see changes made in your code, you owe it to yourself to buy one or both of these incredibly useful apps.

Other  
  •  Tracking Results and Measuring Success : Competitive and Diagnostic Search Metrics (part 7) - Temporal Link Growth Measurements
  •  Tracking Results and Measuring Success : Competitive and Diagnostic Search Metrics (part 6) - Web Traffic Comparison
  •  Tracking Results and Measuring Success : Competitive and Diagnostic Search Metrics (part 5) - Tracking the Blogosphere, Search Engine Robot Traffic Analysis
  •  Tracking Results and Measuring Success : Competitive and Diagnostic Search Metrics (part 4) - Rankings, Crawl Errors
  •  Tracking Results and Measuring Success : Competitive and Diagnostic Search Metrics (part 3) - Measuring the value of a link
  •  Tracking Results and Measuring Success : Competitive and Diagnostic Search Metrics (part 2) - Search-engine-supplied tools, Third-party link-measuring tools
  •  Tracking Results and Measuring Success : Competitive and Diagnostic Search Metrics (part 1) - Site Indexing Data
  •  How To Get Free Online Storage
  •  Introducing Windows Presentation Foundation and XAML : Building WPF Applications Using Visual Studio 2010 (part 2)
  •  Introducing Windows Presentation Foundation and XAML : Building WPF Applications Using Visual Studio 2010 (part 1)
  •  
    Most View
    Windows Server 2012 : Planning, implementing, and managing Group Policy (part 6) - Advanced Audit Policy Configuration
    AMD And Nvidia Based Products In The New Benchmark (Part 1)
    Sony Xperia Tablet Z Review - The Best Android Tablet (Part 1)
    Nook HD - A High-Definition Tablet With The Heart Of A Reader (Part 2)
    Samsung Galaxy Grand - Splendid Within A Budget
    Samsung Galaxy Tab 2 10.1 - A 10.1-Inch Android-Based Tablet Computer
    ASP.NET 4 in VB 2010 : The Data Controls - Editing with the GridView
    Plustek OpticFilm 120 Scanner Review (Part 1)
    SQL Server 2012 : Validating Server Configuration (part 1) - The Need for a Policy, Create Policy on a Local Server
    AVM Fritz! Box 3370 – Everything’s Networked with Fritz
    REVIEW
    - First look: Apple Watch

    - 10 Amazing Tools You Should Be Using with Dropbox
    VIDEO TUTORIAL
    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
    Popular Tags
    Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
    Top 10
    OPEL MERIVA : Making a grand entrance
    FORD MONDEO 2.0 ECOBOOST : Modern Mondeo
    BMW 650i COUPE : Sexy retooling of BMW's 6-series
    BMW 120d; M135i - Finely tuned
    PHP Tutorials : Storing Images in MySQL with PHP (part 2) - Creating the HTML, Inserting the Image into MySQL
    PHP Tutorials : Storing Images in MySQL with PHP (part 1) - Why store binary files in MySQL using PHP?
    Java Tutorials : Nested For Loop (part 2) - Program to create a Two-Dimensional Array
    Java Tutorials : Nested For Loop (part 1)
    C# Tutorial: Reading and Writing XML Files (part 2) - Reading XML Files
    C# Tutorial: Reading and Writing XML Files (part 1) - Writing XML Files