Larry Steinle

October 9, 2013

JavaScript Hash Array (Dictionary)

Filed under: Web — Larry Steinle @ 10:15 pm
Tags: , , ,

A hash array (aka dictionary) stores a value in memory that is accessible using a key name. I like using hash arrays to store the key/value pairs found in an URL’s query string. JavaScript comes with a standard indexed array but lacks a hash array. Lucky for us creating a hash array is a very simple and useful exercise in JavaScript.
(more…)

Advertisements

September 8, 2013

Coding On a Thread and a Prayer

Filed under: C,Security,VS.Net,Web — Larry Steinle @ 12:28 am
Tags: , , ,

Threading is a powerful concept growing more critical for application development. Modern computers aren’t always faster than computers from even four years ago. Instead, computer manufacturers focus on packing more CPU’s into a smaller package with the idea that workload split across many chips will run on a magnitude faster than the fastest chip. This performance gain can only be realized when an application is intentionally designed to take advantage of the multiple cores. As you begin working with threads, however, you will quickly realize that you must design your applications on a thread and a prayer!

Today’s article will be a little different from previous articles I have written. Instead of explaining what a thread is and how to use it I will be reviewing the various issues I have encountered while working with multiple threads and how I have resolved those issues. I trust that today’s article will help others who have encountered these same issues while developing multi-threaded applications.

(more…)

August 18, 2013

JavaScript Chaining Made Fun!

Filed under: Web — Larry Steinle @ 6:59 pm
Tags: , , , ,

The chain pattern allows several actions to be executed within a single line of concurrent code. jQuery’s use of chaining has popularized the concept so that the masses now prefer chaining their method calls. Creating an application that supports chaining can be cumbersome. This article will demonstrate how to add chaining functionality to any JavaScript class without modifying any code in the class you want to upgrade to support the chaining pattern.

(more…)

August 17, 2013

How to Create a Clean, Extensible JavaScript Library

Filed under: Web — Larry Steinle @ 10:21 pm
Tags: , , , , ,

One of the biggest challenges developer’s face when working with JavaScript is organizing their code into easy to manage, maintainable blocks of code. This article will step through the process to create a clean, simple, extensible JavaScript Library Framework.

(more…)

December 4, 2011

Create Scrollable Table with CSS and jQuery

Filed under: Web — Larry Steinle @ 10:50 am
Tags: , , ,

In the post, CSS Table Scrollbar with Fixed Headers, we explored a fairly simply way to create tables with scrollbars using CSS. Today we take it up a notch using jQuery to eliminate several limitations introduced with the pure CSS approach.

(more…)

November 30, 2011

CSS Table Scrollbar with Fixed Header and Footer

Filed under: Web — Larry Steinle @ 11:12 pm
Tags: ,

I am truly surprised that CSS3 failed to include scrollbar support for the TBody tag. However, with a bit of finagling we can create a great looking scrollable table with the help of a single div tag!

(more…)

May 9, 2011

Reporting Services Url Access

Filed under: SQL Server,Web — Larry Steinle @ 11:13 pm
Tags:

Reporting Services provides software developers with a powerful, easy to use tool to construct reports for the web. Reports can be easily integrated inside applications using Reporting Services Url Access Parameters. In today’s post I’ll review the two url access parameter syntaxes explaining the differences between them.
(more…)

April 10, 2011

JavaScript Characters

Filed under: RegEx,Web — Larry Steinle @ 11:55 pm
Tags: , , , ,

While reviewing the C language I was reminded of the cType.h library. The cType library is a Character Type helper class. After short consideration I thought it might be helpful to have an equivalent in JavaScript.

(more…)

March 30, 2011

Image Fading Effects

Filed under: Web — Larry Steinle @ 9:01 pm
Tags: ,

A commonly requested feature for web pages is to cycle thru a list of images fading each image over the previous image. In today’s post we will use JQuery to provide this capability with the added benefit that once created we can control the list of images to cycle with HTML image tags and no JavaScript changes.

(more…)

March 20, 2011

AD Query: Putting it All Together

Filed under: Active Directory,VS.Net,Web — Larry Steinle @ 11:20 am
Tags: , , , ,

In the previous seven posts we learned how to construct an Active Directory Data Access Layer. In today’s post we will use the AD DAL to create an Active Directory Query tool. AD Query will allow us to select, insert, update and delete objects in Active Directory with a familiar intuitive interface. Best of all, AD Query will demonstrate just how easy it is to work with Active Directory now that we have implemented the DataBase Access Layer.

(more…)
« Previous PageNext Page »

Blog at WordPress.com.