DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Curious about the future of data-driven systems? Join our Data Engineering roundtable and learn how to build scalable data platforms.

Data Engineering: The industry has come a long way from organizing unstructured data to adopting today's modern data pipelines. See how.

Threat Detection: Learn core practices for managing security risks and vulnerabilities in your organization — don't regret those threats!

Managing API integrations: Assess your use case and needs — plus learn patterns for the design, build, and maintenance of your integrations.

Avatar

Dave Bush

.NET Programmer, Speaker, and Author at DMB Consulting, LLC

Cheshire, US

Joined Aug 2008

About

Dave Bush is a .NET programmer and Certified ScrumMaster who is passionate about Application Development Productivity. When he is not writing or speaking about topics related to productivity, he is an example to his peers as he develops web sites in the ASP.NET environment using industry best practices. Contact Dave via LinkedIn (http://www.linkedin.com/in/davembush/) to find out more about how he can help your organization reduce software development risk

Stats

Reputation: 731
Pageviews: 886.4K
Articles: 6
Comments: 18
  • Articles
  • Comments

Articles

article thumbnail
Why Does JavaScript Loop Only Use the Last Value?
Dave Bush continues his JavaScript tutorials, this time with a solution to the last value of the loop index being used in every call.
June 17, 2016
· 128,294 Views · 6 Likes
article thumbnail
Some Nuances of JavaScript Types
Not everything in JavaScript is an object, and some things are objects that you wouldn't expect to be.
May 6, 2016
· 6,795 Views · 4 Likes
article thumbnail
JavaScript MVVM — You’re (Probably) Doing it Wrong
If you are using one of the many frameworks that say they are using JavaScript MVVM, you might not be using it the way it should be used. In this article, Dave Bush defines MVVM, analyzes its advantages, and provides some MVVM best practices to follow.
April 21, 2016
· 22,461 Views · 10 Likes
article thumbnail
Create a Desktop Application Using Angular, Bootstrap and C#
It's possible to create a desktop appliction using JavaScript, and this tutorial will show you how to do it, using Angular and Bootstrap for the presentation layer.
October 16, 2015
· 66,718 Views · 8 Likes
article thumbnail
15 Ways to Write Beautiful Code
A list of what to keep in mind when coding to make sure it stays clean and functional.
September 1, 2015
· 17,029 Views · 3 Likes
article thumbnail
jQuery, Each() and Async Gets
One of the things to keep in mind when using jQuery is that nothing is a blocking call. Sure, there is a certain sequence to when things operate. But, to be safe, you should always assume that step two will happen during step one. No where is this more evident than when retrieving content from a URL and inserting that content in your page. The temptation is to write code that looks something like this $.each(json, function(index, entry) { jQuery.get(entry['url'], function(html) { // insert the HTML here. } } The problem with this is that jQuery.get is an asynchronous call. This means that once the get has fired, the each loop will continue. This can cause all kinds of trouble for you, including having a complete iteration skipped, or if you are doing some kind of concatenation prior to inserting the HTML, having HTML for one iteration showing up in the middle of another. Not exactly what you had in mind, eh? But there is a fix. Use the ajax call instead and specify async:false to force the call to complete before allowing another call. $.each(json, function(index, entry) { jQuery.ajax({ url: directory + '/' + entry['url'] , success: function(html) { // insert the HTML here. } }, async: false }); Note too that using ajax without the async: false is the same as just using get.
December 3, 2009
· 15,658 Views

Comments

Integrating and Interoperating between J2EE and .NET Solutions (video)

Nov 10, 2009 · Mr B Loid

When it is first converted to a template, it has all the controls it would have had as not a template. So, unless you remove something, it should work the same in either mode.
Integrating and Interoperating between J2EE and .NET Solutions (video)

Nov 10, 2009 · Mr B Loid

When it is first converted to a template, it has all the controls it would have had as not a template. So, unless you remove something, it should work the same in either mode.
Why I’ll Never Be A ‘Web Guy’

Aug 04, 2009 · Tony Thomas

Wow! A whole 27 years? That's ancient! He'll be the same guy complaining that no one wants to hire a guy who's over 40. (hate those post too)
Why I’ll Never Be A ‘Web Guy’

Aug 04, 2009 · Tony Thomas

Just insulted every web developer out there because he personally doesn't like to develop for the web. I don't like the desktop. I do it, but I don't like it. Both require skills the other doesn't. To be done right, it requires smarts the other discipline doesn't. That doesn't make one better than the other. What I don't get is how this got voted up?
Is C# Now Better Than Java?

Aug 03, 2009 · Tony Thomas

(Mostly) well put
C# is now a better language than Java

Jul 31, 2009 · Tony Thomas

You might not take Mono seriously, but there ARE others who do. Besides the discussion is about the language, not what platform it runs on. I could say the same thing about PHP. "How does that perform on Windows? No one takes PHP on Windows seriously." That does not contribute anything to the discussion of PHP as a language.
Ubuntu 9.04 Review

Jul 27, 2009 · tanjeev jaspal

clearly ghost written and then linked here using spam-ing technology. and we all took the bait
Why Agile doesn't sell with Management

Jul 24, 2009 · Nate Bergman

If your implementation of agile excludes management, there is no reason for it to be adopted. But, that's not real agile in my book.
Why ASP.NET (WebForms) Sucks

Jul 23, 2009 · Alvin Ashcraft

All I can say is, Haven't we hashed this enough already? WebForms have their place and ASP.NET MVC has it's place. Each have their respective problems and benefits.
Wordpress and SEO

Jun 22, 2009 · janko mrkvicka

"maybe you should follow mainly new, more advanced articles." That is why I subscribe to the dzone RSS feed.
Wordpress and SEO

Jun 22, 2009 · janko mrkvicka

I can't believe this got voted up as far as it did! This is barely an article, and certainly not new information.
jQuery Tools vs jQuery UI

Jun 06, 2009 · Alvin Ashcraft

@ceaseoleo, Really? I think it's pretty clear that there is no compelling reason to use tools and may be some compelling reasons at this point to not use it.
Five Reasons Why you should use Linux instead of Windows

May 07, 2009 · M Zinoune

It's not even a compelling list.
Tables vs CSS? Really?

Apr 10, 2009 · Sean McArthur

This is just a rant and not a reasoned arguement addressing the very real issues involved in using CSS instead of tables. Should we use CSS over tables? Absolutely. Should we never use tables? Not yet. CSS does not yet address every circumstance. I wish it did.
CSS vs Tables: Maybe the Design is to Blame?

Feb 16, 2009 · Mr B Loid

Much as I'd like to agree that the web isn't print, try telling that to the customer who's fallen in love with a particular design. "I'm sorry sir, your designer came up with a flawed design." Isn't going to fly. In my world, if I can't do something with the tools in my toolbox, I get a tool that will let me do it. I don't artifically limit myself by eliminating tools from my toolbox. What if we used this same logic to building a house or building a car? Next years new models would cost 20% more than last years or have fewer features. Why? Because the industry gurus decided that an essential tool was no longer the proper tool for the job. Don't get me wrong, I use CSS as much as possible. But there are still situations that CSS and HTML alone can't handle as elegantly as tables. And just to prove it. Here is a situation that I've yet to find a pure CSS/HTML solution to: rounded transparent corners for a popup layer where the corners and sides all need to be graphics and the layer needs to stretch both horizontally and vertically to accept the content. Think tooltips with rounded corners and you get the idea. There are solutions that use pure CSS for rounded corners that are not transparent and there are solutions that use JavaScript to solve the problem, but there is no solution that uses JUST CSS/HTML.
Native Client: Been There Done That

Dec 09, 2008 · Alvin Ashcraft

Hmm disparaging? Really? That was not my intent? Typical Microsoft FUD blog? You read every blog post over the last year and came to THAT conclusion? WOW! Did you read the post where I called Microsoft out for inventing ASP.NET too late and confusing the developer base with event based, object oriented web development? While it is a .NET specific blog, I have no problem calling out stupidity on either Microsoft's part (or Sun or Google) when the occassion calls for it. If you disagree with what I have to say, that's fine. But, I really prefer that you provide content rather than name calling with your disagreement. When I posted this this morning, it was AFTER reading all of the comments at the time. I did not see one that convinced me that this was a technology that was going to solve a real problem.
Native Client: Been There Done That

Dec 09, 2008 · Alvin Ashcraft

I guess it all depends on what you mean by "full access" to have absolute access is a security risk. To run at the speed of the CPU has been solved by JIT which was addressed by multiple comments on the post I referenced. There is nothing preventing any of the browsers from supporting ActiveX if they wanted to. I still have to ask, what is this going to give us that Java and .NET have not yet given us?
How to set up your own SVN server on Windows

Sep 13, 2008 · Will Perone

It's not as hard as he makes out. I wrote the correct instructions long ago here http://www.dmbcllc.com/Articles/SubVersion/ServerInstallation/tabid/173/Default.aspx

User has been successfully modified

Failed to modify user

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: