Larry Steinle

December 1, 2013

HTML5 Required and Pattern Attribute Fallback

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

Continuing with the theme from the last article on an AutoFocus fallback, today we will learn how to support the Required and Pattern attributes.
(more…)

Advertisements

November 11, 2013

Supercharged Html5 AutoFocus Fallback

Filed under: VS.Net,Web — Larry Steinle @ 8:32 pm
Tags: ,

The HTML5 specification introduces several helpful additions. One of my favorites is the autofocus attribute. This attribute ensures that the cursor is placed inside the first input, select or textarea tag containing the autofocus attribute.
(more…)

November 3, 2013

Using the Command Pattern to Store Versionable Data

In the article, Create a Persistent Data Structure, we learned the fundamental theories to provide versionable data management within a database. Today’s article moves out of the abstract theory and into a working code sample demonstrating how to create a versionable database using the command pattern.
(more…)

October 25, 2013

jQuery Support for IE 10 XMLHttpRequest

Filed under: VS.Net,Web — Larry Steinle @ 12:47 pm
Tags: , , , , , ,

In my previous article, Undefined XMLHttpRequest.responseXML.xml, I explained that IE 10 no longer returns an XML Document object for xml responses but instead returns a DOM Document. Today’s post is a continuation demonstrating how to get an XML Document from a web service using jQuery.
(more…)

October 19, 2013

Create a Persistent Data Structure

Occasionally I encounter a business need to track all changes allowing a user to view the data as it currently is stored or as it was stored. Having the ability to view the structure of a system from a previous point of reference is called a historical database or a persistent data structure. In this article we will review various strategies to create a persistent data structure. In the next article I will demonstrate how to create a persistent data structure.
(more…)

October 14, 2013

Undefined XMLHttpRequest.responseXML.xml

Filed under: VS.Net,Web — Larry Steinle @ 6:14 pm
Tags: , , , , ,

Today I encountered an interesting AJAX problem. I had code that worked perfectly in IE 7, 8 and 9, but not IE 10! So this post is for the die-hard JavaScript programmers out there who are scratching their heads wondering why their AJAX calls stopped working.
(more…)

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…)

October 1, 2013

Save-and-Close Excel Spreadsheet When Not In Use

Filed under: Microsoft Office — Larry Steinle @ 9:30 pm
Tags: , , ,

For many business users Excel remains a very important tool for business use. Sometimes the Excel spreadsheet may need to be shared among many business users. As long as everyone plays nice taking care to close the worksheet when they are done it’s not a problem. But, as you know, in our busy work-schedules it is very easy to get distracted forgetting to close the worksheet. What is required is a way to automatically save-and-close an Excel Spreadsheet after a specified amount of time.
(more…)

September 21, 2013

Microsoft SQL Server Call Stack: Adding The Missing Oracle Feature

Filed under: Oracle,SQL Server — Larry Steinle @ 9:32 am
Tags: ,

A call stack can be an invaluable tool for any developer’s toolbox. The call stack shows from point-of-entry to the currently executing procedure what methods were called giving helpful hints as to where a problem in the logic hides. While the call stack is readily available to an Oracle object via the DBMS_Utility.Format_Call_Stack method, as of Microsoft SQL Server 2012 there is no such capability. In today’s article I will demonstrate how to make your own DBMS_Utility.Format_Call_Stack method in SQL Server.
(more…)

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…)

« Previous PageNext Page »

Blog at WordPress.com.