tracker issue : CF-3038323

select a category, or use search below
(searches all categories and all time range)
Title:

Bug 76826:(Watson Migration Closure)I thought this was already in the bugbase, but no

| View in Tracker

Status/Resolution/Reason: Closed/Deferred/

Reporter/Name(from Bugbase): Brian J Meloche / Brian Meloche (Brian J Meloche)

Created: 04/24/2009

Components: AJAX, UI Components

Versions: 9.0

Failure Type: Unspecified

Found In Build/Fixed In Build: 0000 /

Priority/Frequency: Normal / Unknown

Locale/System: English / Platforms All

Vote Count: 7

Problem:

I thought this was already in the bugbase, but no... couldn't find it.

Open BlueDragon recently announced the CFJAVASCRIPT tag, which allows you to compress and minify JavaScript. I mentioned that I wanted this very feature at the cf.Objective() CF BOF last year... and I want it in ColdFusion!

http://wiki.openbluedragon.org/wiki/index.php/CFJAVASCRIPT

The CFJAVASCRIPT tag would allow you to organize and manage your .JS files. It will also allow you to minify and compress your JavaScript which helps you to optimize bandwidth.

OpenBD's implementation can both join up multiple Javascript files, which helps to reduce HTTP requests, and runs the YUI optimizer to compress and minify the Javascript output.

This also allows you to develop easy to read, verbose JavaScript in your development, but deliver a compressed output to the browser. You don't have to maintain two versions of JavaScript - one you leave verbose and one you compress.

OpenBD's proposed syntax (planned for the 1.0.2 release) is this:

<cfjavascript src="" minimize="true/false" munge="true/false">

src (required): Either a single path or a CFML array of paths's to different Javascript files. Set relative to the document root.

minimize (optional, default true): Turn on/off the javascript minimizer.

munge (optional, default true): If JS minimizer is on, controls if the optimizer is allowed to change internal names. Munge obfuscates the compressed JavaScript, making it more difficult for someone to human read the output.

Sorry to severely borrow from their docs, but I've wanted this in ColdFusion for a few years now. I've built and used a few things, but having this functionality built in CF is something I want to see ASAP.
Method:


Result:

----------------------------- Additional Watson Details -----------------------------

Watson Bug ID:	3038323

External Customer Info:
External Company:  
External Customer Name: Brian Meloche
External Customer Email: 04C7536843D1BE67992015D5
External Test Config: 04/24/2009

Attachments:

Comments:

This bug has been voted..
Vote by External U.
23767 | November 10, 2011 07:19:44 PM GMT
This bug has been voted..
Vote by External U.
23768 | November 10, 2011 07:19:45 PM GMT
This bug has been voted..
Vote by External U.
23769 | November 10, 2011 07:19:47 PM GMT
This bug has been voted..
Vote by External U.
23770 | November 10, 2011 07:19:49 PM GMT
This bug has been voted..
Vote by External U.
23771 | November 10, 2011 07:19:50 PM GMT
This bug has been voted..
Vote by External U.
23772 | November 10, 2011 07:19:51 PM GMT
This bug has been voted..
Vote by External U.
23773 | November 10, 2011 07:19:52 PM GMT