Recent Web Log Entries By Ben Nadel

Showing 1 - 7 of 7   < Prev | Next >

Using CSS Pseudo Elements :before And :after

Posted: January 21, 2013 at 9:38 AM by Ben Nadel

Tags: HTML / CSS

The CSS pseudo elements, :before and :after, have been around since IE8. So, this is probably not news to many of you. But, for me personally, I just started using the :before and :after pseudo elements and I've been absolutely loving them! They making it much easier to keep design-centric elements out of your markup and in your CSS (where they be... read more »

Comments (17)  |  Post Comment  |  Ask Ben  |  Permalink



Exploring Directives, $scope, DOM Rendering, And Timing In AngularJS

Posted: January 18, 2013 at 9:36 AM by Ben Nadel

Tags: Javascript / DHTML

AngularJS provides a powerful glue that binds your View Model ($scope) to your View (HTML) using an inline, declarative syntax. As directives get linked and your $scope values change, AngularJS works quickly to update the DOM (Document Object Model) as needed. At the same time, AngularJS also needs to alert Controllers to changes in the $scope. Th... read more »

Comments (10)  |  Post Comment  |  Ask Ben  |  Permalink


Rendering DOM Elements With ngRepeat In AngularJS

Posted: January 16, 2013 at 9:44 AM by Ben Nadel

Tags: Javascript / DHTML

When it comes to compiling and rendering DOM elements, AngularJS is definitely a little bit magical. Things just work! And, they work really well. Especially when it comes to syncing the DOM with the view model (ie. $scope) shared by the various Controllers. At first, they mysterious nature of the syncing is delicious; but, when your application s... read more »

Comments (7)  |  Post Comment  |  Ask Ben  |  Permalink



Clearing Inline CSS Properties With jQuery

Posted: January 15, 2013 at 9:01 AM by Ben Nadel

Tags: Javascript / DHTML

The other day, I found myself with an odd CSS problem that I had not encountered before (or at least not in a really long time); my CSS class properties were being overridden by inline style attributes left over from a jQuery animation. Specifically, jQuery left a "display" property on an element's style attribute which prevented the "display" pro... read more »

Comments (24)  |  Post Comment  |  Ask Ben  |  Permalink


Nested Views, Routing, And Deep Linking With AngularJS

Posted: January 14, 2013 at 9:57 AM by Ben Nadel

Tags: Javascript / DHTML

Out of the box, AngularJS gives you routing and the ngView directive. With these two features, you have the ability to map routes onto templates that get rendered inside of the ngView container. This works for simple, one-dimensional web sites; but, unfortunately, if you have a site that requires deep routing, AngularJS leaves you up to your own d... read more »

Comments (57)  |  Post Comment  |  Ask Ben  |  Permalink


Creating A Custom Show / Hide Directive In AngularJS

Posted: January 4, 2013 at 3:54 PM by Ben Nadel

Tags: Javascript / DHTML

As I expressed earlier, I've been loving AngularJS . It's a powerful JavaScript web application framework; but, it does have a fairly steep learning curve. One of the most difficult things for me to really wrap my head around was how to best leverage Directives. In AngularJS, a directive is where your application's custom DOM (Document Object Mod... read more »

Comments (31)  |  Post Comment  |  Ask Ben  |  Permalink


My Experience With AngularJS - The Super-heroic JavaScript MVW Framework

Posted: January 3, 2013 at 9:10 AM by Ben Nadel

Tags: Javascript / DHTML

I've been learning and using AngularJS for the past couple of months and the journey has been a little bit of an emotional roller coaster. In the end, I am extremely happy with our decision to go with AngularJS; and, I'm very grateful to Jamie Krug for not backing down with his suggest... read more »

Comments (89)  |  Post Comment  |  Ask Ben  |  Permalink

Showing 1 - 7 of 7   Pages: 1 < Prev | Next >

December 2012 Entries »

View All Blog Entries »

  • Help Wanted - Find Your Next ColdFusion Job
Ben Nadel's Company - Epicenter Consulting Recent Blog Comments
May 24, 2013 at 5:39 PM
Ask Ben: Manually Enforcing Basic HTTP Authorization In ColdFusion
@Adam Oops! My mistake! I hadn't gotten that far in my testing - I'm still baby stepping my way through the process. ... read »
May 24, 2013 at 5:13 PM
Ask Ben: Manually Enforcing Basic HTTP Authorization In ColdFusion
Hi Jason, Thanks for checking up on that, but I still stand firm on my position. :) There are actually two listLast()'s in use, and you're right that the one using a space as a delimiter is fine. ... read »
May 24, 2013 at 4:45 PM
Ask Ben: Manually Enforcing Basic HTTP Authorization In ColdFusion
@Ben I have been lurking your site for quite some time, and haven't stepped up to comment until today. Thanks for all the great info - keep it up! @Adam I believe you are mistaken... as the commen ... read »
May 24, 2013 at 11:21 AM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
@WebManWalking, Ha ha, let's us never speak of justifying "##" notation again :P ... read »
May 24, 2013 at 11:18 AM
Strange Interaction Between DeserializeJson(), ArrayContains(), And Database Values In ColdFusion
@Ben, Ah, so it was indeed how I vaguely remembered it to be: A direct assignment value = users.id[ i ] causes value to retain the sticky datatype of the query column. Although unnecessary in ... read »
May 24, 2013 at 9:11 AM
Preventing Links In Standalone iPhone Applications From Opening In Mobile Safari
@Brandon, Hi, No, I haven't been able to do that. I have just kept it as it is. ... read »
May 23, 2013 at 9:52 PM
Preventing Links In Standalone iPhone Applications From Opening In Mobile Safari
@Muhmmadibn Did you figure out a solution to launching PDFs? I am running into the same issues myself. There is no way to close the PDF or go back once you launch it. Thanks in advance! ... read »
May 23, 2013 at 6:06 PM
The Girl Who Broke My Heart, And Made Me A Better Person
Good day,ladies and gentle men, my name is Dr AMADI the great spell caster in Africa, i have help so many people for different kind of problems,who say there is no solution to problems on earth, that ... read »
InVision App - Prototyping Made Beautiful With Prototyping Tools