All Entries (25799 Entries)

Some CFML code that doesn't work [+]
Adam Cameron's CFML Blog | 5/25/15 2:27 PM | Adam Presley, Bugs, CFML, Closure, ColdFusion, Lucee, Quiz, Sean Corfield
G'day:I was sitting at Lord's yesterday watching England v NZ (and, um, we'll have no comments about that, thank-you very much), and a sudden thought popped into my head "Adam Presley might've been onto something there... if I leverage that....I wonder if I could get that code down to one statement?"And that of course will mean nothing to anyone.I had been thinking I had better get back to looking at the answers to my "

Important information about Cordova 5 [+]
Raymond Camden'sBlog | 5/25/15 2:00 PM | Development, Mobile, Cordova
In the most recent update to Apache Cordova, there was a rather important change that could really confuse you if you aren’t paying attention. This is exactly the type of thing that I would have warned my readers about, but I mistakenly thought it would not impact most users. I’ll explain later why I screwed that up, but I want to give huge thanks to Nic Raboy and his post,

Lucee seems to mess up boolean expressions (kinda) [+]
Adam Cameron's CFML Blog | 5/25/15 12:00 PM | Bugs, CFML, Lucee
G'day:Another bloody stumbling block writing this code (see CFML / Lucee: beware of "optional" semi-colons for the first one). This time Lucee's not getting the result of a OR expression right. Seriously. Well: I guess not as right as I'd like it to.I was trying to write a compound sort callback, along these lines:results = [ {factor1

Lucee seems to mess up boolean expressions [+]
Adam Cameron's CFML Blog | 5/25/15 11:13 AM | Bugs, CFML, Lucee
G'day:Another bloody stumbling block writing this code (see CFML / Lucee: beware of "optional" semi-colons for the first one). This time Lucee's not getting the result of a OR expression right. Seriously. Well: I guess not as right as I'd like it to.I was trying to write a compound sort callback, along these lines:results = [ {factor1

CFML / Lucee: beware of "optional" semi-colons [+]
Adam Cameron's CFML Blog | 5/25/15 8:31 AM | Bugs, CFML, Lucee
G'day:Not what I had in mind writing up today, but as often is the way... the easiest way to find bugs in CFML is it try to use it.Railo (all the way back in 3.1! "RAILO-186", "What's new in Railo 3.1") and then Lucee have made claims that semi-colons are optional in their flavour of CFML. This would b

Updating/Hotfixing ColdFusion: Tips and Traps" with Charlie Arehart [+]
ColdFusion Developer Community | 5/24/15 12:00 AM | ColdFusion, events

Programming JavaScript Applications By Eric Elliott - Revisited [+]
Kinky Solutions | 5/24/15 12:00 AM | Books, Javascript / DHTML
Ben Nadel revisits Programming JavaScript Applications by Eric Elliott. It's a great book that explores full-stack web application development in the context of JavaScript. Definitely recommended....

Normalizing Untrusted Deferred / Promise Values For The $digest Lifecycle In AngularJS [+]
Kinky Solutions | 5/24/15 12:00 AM | Javascript / DHTML
Ben Nadel looks at how to normalize deferred / promise values that my have been generated from a source outside of the AngularJS code-base. This allows non-safe promises to be bound to the $digest lifecycle....

Ext JS CriteriaBuilder [+]
existdissolve.com | 5/24/15 12:00 AM | ExtJS
A few weeks ago, I had a scenario come up where I wanted to be able to filter an Ext.data.Store based on a set of criteria, part of which depended upon a value in one of my model’s associations. While this is easy enough to do via filterBy(),┬áit can become a bit unwieldy to use, especially if you want/need the criteria to be dynamically constructed. As I was thinking about how to best deal with this, I remembered my experiences of using ColdBox’s CriteriaBuilder, which is b

Anonymous Functions, Assigned To References, Show Up Well In JavaScript Stack Traces [+]
Kinky Solutions | 5/24/15 12:00 AM | Javascript / DHTML
Ben Nadel looks at how function expressions are rendered in JavaScript stack traces and demonstrates that variable names and object properties, that reference functions, show up nicely in the call stack....

Angular Air Episode 15: Architecting Huge Angular Apps With Ben Nadel And Aaron Frost [+]
Kinky Solutions | 5/24/15 12:00 AM | Javascript / DHTML, Work
Ben Nadel appears on Episode 15 of the Angular Air podcast / videocast, with Aaron Frost, talking about architecting huge AngularJS applications....

Exposing Promise / Deferred Functionality On Streams In Node.js [+]
Kinky Solutions | 5/24/15 12:00 AM | Javascript / DHTML
Ben Nadel looks at how you can make streams "thenable", in Node.js, by exposing deferred / promise functionality directly on the stream itself....

Random PHP (7) bits: improvements to generators [+]
Adam Cameron's CFML Blog | 5/24/15 12:00 AM | Generators, PHP, PHP 7
G'day:I was gonna have a look at output buffering in PHP today, but my attention has been hijacked by PHP 7. So instead I'm gonna have a look at some enhancements they've made to generators in 7. I'm actually not at work today, so there's a chance I'll be able to write both articles anyhow. We'll see.Right, so generators. I had a look at these in PHP before, briefly:PHP: gene

Random PHP bits: __debugInfo() [+]
Adam Cameron's CFML Blog | 5/24/15 12:00 AM | PHP
G'day:This is not a very insightful article, but I just happened to stumble across this functionality, and found it moderately interesting. This is another one of these "PHP n00b" articles, so if you're a seasoned PHP person, you'll not be reading anything here you don't already know.__debugInfo()Yay PHP and the undescores! Oh well. So this one comes under the banner of the (irksomely-named) "

Getting initial console messages you missed with remote debug [+]
Raymond Camden'sBlog | 5/21/15 4:00 PM | Development, Mobile, Cordova
This falls in the “I’m sure it is obvious and no one will find it useful” category, but typically those are the posts that end up being useful so here goes nothing. Imagine you are using remote debugging (and if you don’t know how, here are two articles – Part One and Part Two) and have a few console

Importing JSON into a Meteor MongoDB [+]
CMD | 5/21/15 3:00 PM
Meteor is a great way to develop fast real-time appliations using JavaScript on both the client and server side. When you are developing these applications it's easy to create new collections of information by adding items doing the following script either in the client or server: Collection.insert({key:value}); But this is obviously not the most effective way to add lots data! MongoDB

Thanks devobjective! [+]
CMD | 5/20/15 1:00 PM
We wanted to extend a big thank you to all the speakers, sponsors and crew that made the dev.objective() conference so much fun this year. CMD are really proud to have been one of the sponsors and it was great talking to all the people that come along to our stand. dev.objective() was formerly cf.objective() but it has had a natural progression ov

Lucee Keynote from dev.objective() [+]
CMD | 5/20/15 1:00 PM
The Lucee Association Switzerland (LAS for short) has published the awesome keynote that Geoff Bowers from Daemon gave at the dev.objective() conference.

Looking at the JavaScript API in Hybrid MobileFirst Apps (2) [+]
Raymond Camden'sBlog | 5/19/15 9:00 PM | Development, JavaScript, Mobile, Cordova, MobileFirst
A few weeks back I blogged about some of the JavaScript APIs you have available when building hybrid mobile applications with IBM MobileFirst. I had meant to follow up on this a bit sooner but recent trips got in the way. Today I took some time to look at a few more of the APIs. WL.Badge.s

Adobe Slate 1.1 Released [+]
Ben Forta | 5/19/15 8:00 PM | Creative Cloud, Education
A month or so after releasing Adobe Slate, we've just released version 1.1. Here's what is new: Glideshow is a fun new take on the transitions you'd find in boring (oops, I mean traditional) slideshows, watch images beautifully fade and dissolve into one another as the text glides over the top. We've added the single m

Previous / Next