AWS has many services. AWS provides nearly 100 services: many types of virtual servers, several types of storage services, ways for you to build and deploy your application on virtual networks. machine learning. For our simple web application, in this series I'll start with AWS Elastic Beanstalk. But you can also deploy .NET applications to... Continue Reading →
Object JavaScript – Code Walkthrough of a jQuery UI Widget
In the last post, Building Stateful jQuery UI Plugin Using Widget Factory, you were introduced to the working structure of jQuery UI Widgets. You learned that it uses the factory pattern is a way to generate different objects with a common interface. And that it Widget Factory adds features to jQuery plug-in. jQuery UI Widget... Continue Reading →
Object JavaScript – Building Stateful jQuery UI Plugin Using Widget Factory
In this post, you will learn step-by-step to build your own custom, reusable, testable jQuery UI widget. You will extend the jQuery library with custom UI code and then use it on a page. The initial plug-in will be trivial to demonstrate the jQuery Widget Factory pattern. You will provide properties that you can change... Continue Reading →
Object JavaScript – Building a Reusable Stateless jQuery Plugin
In this post, you will learn step-by-step to build your own custom, reusable, testable jQuery Plugin. There are times where you will want to reuse code that performs a series of operations on a selection. For example, you may want to embed information a span element and then have that information displayed in a references... Continue Reading →
CloudDays™ – Quick Start to Azure Redis Cache
Azure Redis Cache helps your application become more responsive even as user load increases and leverages the low latency, high-throughput capabilities of the Redis engine. This separate distributed cache layer allows your data tier to scale independently for more efficient use of compute resources in your application layer. Redis is an open source, BSD licensed,... Continue Reading →
Dev Patterns – Dependency Injection (aka Inversion of Control)
"Dependency Injection" (DI), also more cryptically known as "Inversion of Control" (IoC), can be used as a technique for encouraging this loose coupling. John Munsch explains it like this: When you go and get things out of the refrigerator for yourself, you can cause problems. You might leave the door open, you might get something... Continue Reading →
Object JavaScript – Better JavaScript Using TypeScript
TypeScript is a language for application-scale JavaScript development. TypeScript is a typed superset of JavaScript that compiles to plain JavaScript. Any browser. Any host. Any OS. Open Source. TypeScript is a superset of JavaScript that combines type checking and static analysis, explicit interfaces, and best practices into a single language and compiler. By building on... Continue Reading →
CSS Tutorial – Font Sizing
You can use Cascading Style Sheets (CSS) is to modify the font or typography of the page. There are several ways to describe font sizes. In the font-size property, you'll know that there are many different measurements to use when defining the size of the font. Relative lengths xx-small through xx-large - relative to the... Continue Reading →
Tip – Serving .json File on Windows (IIS, IIS Express)
So what is wrong with the simple getJSON call? Why doesn't it work?<script type="text/javascript" src="http://code.jquery.com/jquery-latest.js"></script> <script type="text/javascript"> $(document).ready(function(){ $.getJSON('data.json',function(result){ alert("success"); }); }); It works fine in Firefox 11 but not in IE and Chrome. By default, IIS6 does not serve .json (no wildcard MIME type). So... Continue Reading →