Adobe User GroupColdFusion Users Group of WA

Bloggers

The folks who regularly participate in CFUGWA events are a talented bunch.
Here are some links to their latest blog posts.

Bad Interfaces – eMusic Getting it Wrong

January 24, 2012
Man with no Blog

Times have just got to change. I’m a little sick of living in a world that is regionalise into sales and licencing zones for no real reason besides to restrict sales due to some arcane money grubbing corporate policy. What makes matters worse is people building experiences that highlight this and rub our face in [...]

Read Bad Interfaces – eMusic Getting it Wrong in full

Railo running JAVA version of less.js

January 24, 2012
webonix.net

At Work, we are giving one of our sites a make over which was done by an external company. They have delivered some working HTML, but very quickly that I discovered that I am going to have to tweak the CSS - lots of hard coded height and widths for mega menu; not so good for a CMS.

After a bit of a look around it seems to me that it was generated with less.js. So I have asked if they could provide me with the less files.

While waiting for that I did a bit of Googling and found that Railo can run a JAVA version of less.js. A bit of downloading some JARS and cut and paste coding I had it working - first time!

Next I tweaked it a bit forther to create something that would output CSS content with something like:

<link rel='stylesheet' href='/less/index.cfm?src=/css/global-styles.less' />

Code:

<cfsetting enablecfoutputonly="true">
<cfparam name="URL.src" type="string">
<cfset variables.javajs = createObject("java","org.mozilla.javascript.tools.shell.Main",
"/labs/less-js/cfelements/jars/js.jar")>
<cfset variables.javaless = createObject("java","com.asual.lesscss.LessEngine",
"/labs/less-js/cfelements/jars/lesscss-engine-1.1.4.jar")>
<cfcontent type="text/css" reset="true">
<cfoutput>#variables.javaless.compile(fileRead(URL.src))#</cfoutput>
<cfsetting enablecfoutputonly="false">

Thanks to Cfelement, Nathan Strutz and Asual - Oh, and those wonderful folks over at Railo ;-)

Read Railo running JAVA version of less.js in full

Bill Gates, superhero: the infographic

January 15, 2012
Kay lives here

Bill Gates is better than Batman. Ignoring the fact that Batman doesn't exist, It's true - and here's the infographic to prove it. Continue reading

Posted from kay lives here

Bill Gates, superhero: the infographic

Read Bill Gates, superhero: the infographic in full