All Entries (26555 Entries)
Sometimes, There Is Unavoidable Coupling To The DOM In AngularJS [+]
Ben Nadel considers edge-cases, in AngularJS, when there is seemingly no way to avoid coupling of the Controller to the DOM (Document Object Model)....
Unit testing (PHP): keeping sight of the intent of the tests [+]
Adam Cameron's CFML Blog | 11/27/15 1:41 PM | PHPUnit, Unit Testing
G'day:An article with some actual code in it! That'd become a rarity. This is actuallya real-world challenge I'm faced with in backfilling some unit tests. Yeah, I know I'm an advocate of TDD so that should mean there's no "backfilling" of tests: they all get done up front. But for reasons I won't go into... I'm backfilling testing for this function.Here's the function:public static function loadValidatorMetadata(ClassMetadata $metadat
Conditionally Canceling Href Navigation Using Directives In AngularJS [+]
Ben Nadel looks at one way to conditionally cancel href-based navigation using a custom directive in AngularJS. This makes the view more expressive and the behavior more obvious....
Consuming Event Properties From Within The View In AngularJS [+]
Ben Nadel demonstrates how to consume $event properties directly in the View, passing them into the Controller without having to blur the separation of responsibilities between the Controller and the View / Directives....
Guest author: a response to "Why good developers write bad code" [+]
Adam Cameron's CFML Blog | 11/26/15 8:41 AM | Brian Sadler, Estragon, guest author
G'day:I could get used to this. Another one of my readers has provided my copy for today, in response to my earlier guest-authored article "Why good developers write bad code". This originally was a comment on that article (well: it still is) but it stands on its own merit, and Brian's cleared me to reproduce it as an article. Brian's a mate, one of my colleagues at Hostelworld.com. The quote below
What's In Your CFIDE Folder? [+]
cf_gems | 11/25/15 8:58 PM | ColdFusion, ColdFusion Security
Over the years of working on ColdFusion servers for CF Webtools I have encountered many servers that have been breached (hacked). In most cases the cause was for lack of better description "user error". I say user error because no one properly secured the server when it was installed, no one maintained the server over the years of use and no one was checking to see if anyone had tried hacking the server. Then something BAD
Important update for Apache Cordova and Android [+]
Raymond Camden'sBlog | 11/25/15 3:00 PM | Development, Mobile, Cordova
Those of us who work with Apache Cordova are well aware of the issues surrounding the Android simulator. Calling it “slow” does not properly describe the painful experience of actually trying to use it. In fact, every now and then when I accidentally launch it via the Cordova CLI, I say something out loud that I don’t usually include in my blog posts. (Hint – it rhymes with duck.) How bad is it? I’ve actually recommended folks go out and buy cheap Android devices
Adobe Voice For iPhone Now In Beta [+]
Ben Forta | 11/25/15 2:00 PM | Creative Cloud, Education
Love Adobe Voice on your iPad? Longing to have all that storytelling goodness on your iPhone, too? Well, we're now testing Voice for iPhone, and if you'd like to give it a try, you can sign up here
The User Experience (UX) Of Yesterday's Slack Outage [+]
Kinky Solutions | 11/25/15 1:00 PM | User Experiernce (UX)
Ben Nadel reflects on the user experience (UX) of the Slack outage and the rare opportunity it afforded him to truly experience things from a SaaS (Software as a Service) user's point of view....
Is Injecting The $element And $event Objects An Anti-Pattern In AngularJS? [+]
Ben Nadel considers the strict separation of concerns in the "Angular Way," and contemplates as to whether or not passing the $element or $event objects into a Controller should be considered an anti-pattern....
Slate 1.2.2 Released [+]
Ben Forta | 11/25/15 1:00 AM | Creative Cloud, Education
Minor Adobe Slate update today, this one is a collection of general improvements and bug fixes, including a fix for the problem which caused sync to fail on cellular connections.
HarpJS GUI in Beta [+]
Raymond Camden'sBlog | 11/24/15 4:00 PM | Development
So this is interesting. Harp is my “go to” static site generator when presenting on the topic and building new static sites. (I also really dig Jekyll and I go back and forth between which I like best.) The Harp team is now testing a new desktop application called Harp GUI. You can find the GitHub repo here: https://github.com/alexgleason/harp-gui. Right now there’s only builds for Linu
Managing A Shared Global UI Component In AngularJS [+]
Ben Nadel thinks about how to manage a shared, global component (like a popup-list) in AngularJS through the use of a globally-shared service and multiple directives working together....
TIL – Autocomplete and forms [+]
Raymond Camden'sBlog | 11/23/15 10:00 PM | HTML5
As it is Thanksgiving week here in America and my brain has already kinda checked out, I decided to take a quick look at a particular aspect of the input tag – autocomplete. As you may, or may not know, most modern web browsers will make an attempt to remember form fields of a “similar nature” such that entering your name on one site means that when you go to type in your name on another form it will offer to automatically complete
Battle Sheep by Francesco Rotta and Andrea Femerstrand [+]
andyMatthews.net | 11/22/15 10:00 PM
Battle Sheep by Francesco Rotta and Andrea Femerstrand Designer: Francesco Rotta Artist: Andrea Femerstrand Release Date: 2014 Player count: 2-4 Age range: 7+ Time range: 10-15 minute...
ColdFusion: request for transparency and inclusion from Adobe [+]
Adam Cameron's CFML Blog | 11/22/15 3:57 PM | Adobe, ColdFusion 12
G'day:A few days back I indicated some ire that a (IMO) wayward ER had been implemented for ColdFusion 12: "ColdFusion: a piece of functionality should do one thing, and do it well". Poor old David Epler who raised it seems to feel a bit put upon cos it was something he raised three years ago, and with no further consultation Adobe have now implemented a solution. Without indicati
ColdFusion Summit 2015 and my presentation [+]
ColdFusion Solution | 11/22/15 7:00 AM | Technologgy, Web, Adobe, CFSummit, CFSummit2015, ColdFusion, Migartion
I presented this year at ColdFusion Summit 2015, Las Vegas. I spoke on “Migration to ColdFusion 11 – making it seamless and easy“. The session was about understanding the ColdFusion migration process and how we can make your ColdFusion migration process seamless and robust. At the same time, we saw what were some of the best practices to save hours […]
Preventing Long ColdFusion Initialization Timeouts [+]
Orange is my favorite color | 11/21/15 6:00 PM | ColdFusion, Web/Internet, devops
My apps use a variety of frameworks which offer a lot of rapid development and agility but they also come at the cost of slower startup times. For a Coldspring-based app with a large service layer, you could easily run into timeouts when initially loading the application. Here’s a simple function to temporarily extend the processing timeout during initialization using CFTHREAD and the Admin API: <cffunction name="extendRequestTimeoutDuringInit" output="false" access="p
Using the Meetup API in Client-Side Applications [+]
This isn’t new, but was something I discovered a few weeks ago and I’m finally making the time to blog about it. I’ve used the Meetup API in the past with ColdFusion and for the most part, it just works, but like many APIs today it requires authenticated calls to get data. Unfortunately, even a simple search against public data also required an authenticated call. This means using the API in a purely client-side application
Scattering Letters Based On Mouse Movements In AngularJS [+]
Ben Nadel tries to recreate the Design Disruptors scatter effect using an AngularJS directive that scatters letters as the user moves their mouse closer to or farther from a converge target....
Previous / Next