Where AngularJS can fit into your web projects

Many companies are using AngularJS today, and you may wonder if it’s appropriate for your own web projects. The basic idea to AngularJS is that you can create advanced functionality by writing mainly attributes in HTML. AngularJS works as a declarative language, meaning that you specify what happens, but not the sequential steps that make…

Details

15 minutes a day to become a faster, better coder

Many developers can come up with decent code but are stymied by one critical problem: They simply don’t code fast enough to be as productive and successful as they could be. On one level, this shouldn’t seem to matter. Most of coding is about making sound decisions so the code is well-architected and appropriate for…

Details

Create responsive sites quickly with jQuery Mobile

If you need to create a site quickly that works well on all devices, jQuery Mobile is one option to consider. Despite the name, jQuery Mobile isn’t only for mobile devices, nor is it primarily a tool to extend JavaScript. Instead, you can think of it as a lightweight framework that allows you to get…

Details

A simple way to prevent borders from disappearing

When users zoom in or out on your site, sometimes borders of elements may disappear in some browsers. This may also happen if you use code to automatically resize elements based on screen size. Generally, such problems occur when the browser’s display calculations based on the original size and the zoom level results in a…

Details

Resolve box-model woes with this simple CSS property setting

The CSS box model is both the guidepost and nemesis of many web developers and designers. While it specifies how spacing works in and around elements, the way browsers implement it can seem strange and paradoxical. Now that many browsing on mobile devices is so popular, the box model’s faults may be exacerbated by limited…

Details

Resolve box-model woes with this simple CSS property setting

One of the most important decisions you can make in developing any new web functionality is whether to use existing third-party tools and controls, or to code more from scratch. There are a vast number of tools available (many of them open source) to develop various web features, such as date pickers, grids, CRUD interfaces,…

Details

How to use delegates in C# to create callback functions

One of the most useful features in JavaScript is that you can pass one function into another as an argument, so that it can be executed at the appropriate time. This callback design pattern allows you to write very flexible functions that allow the caller to decide what will happen in various scenarios. As a…

Details

Grid options in ASP.NET’s MVC framework

Make CSS3 animations stay put after they’re performed Animations are one of the most exciting features of CSS3. They allow you to display various moving pictures to the user without Flash, JavaScript, or even images. This can be particularly helpful in situations where Flash may not be available, such as on iPhones. One problem with…

Details

Grid options in ASP.NET’s MVC framework

If you’re used to using data grids and other native controls in ASP.NET Web Forms, you may wonder what the alternative is if you move to ASP.NET’s MVC framework. While MVC comes with the WebGrid HTML helper, there are many more third-party controls (both commercial and open-source) from which you can choose to allow users…

Details

For grouping headings and sub-headings, stick with header

In some sample code, you may come across HTML5′ hgroup element. This element plays a very similar role to the header element but is intended to group together sets of elements of type through . However, it’s not recommended that you use it, as it was deprecated in 2013. Hence, if you want to group…

Details