Home » JavaScript » Page 38

JavaScript

AngularJS MVC Tutorial – Part 1 – Project Setup

EDITORIAL NOTE: In this post, we feature a comprehensive AngularJS MVC Tutorial. Model View Controller or MVC as it is popularly called, is a software design pattern for developing web applications. 1. Introduction When I was asked to write a tutorial on MVC using Angular.js, I was not sure how to attack the subject because Angular.js is really popular and ...

Read More »

Fun With jQuery: Create A Puzzle

jQuery is a fast, small, and feature-rich JavaScript library. It makes things like HTML document traversal and manipulation, event handling, animation, and Ajax much simpler with an easy-to-use API that works across a multitude of browsers. Learning a new technology outside of the context of paid work can be challenging after writing code for business applications all day, so I ...

Read More »

jQuery forEach example

This example explains how to use iteration in jQuery. jQuery provides a powerful function for looping over elements. The jQuery each() function helps to iterate over an array, object properties and all HTML elements. This function has many overloaded signatures that take different arguments, all overloaded signatures take anonymous callback function to deal with current item. Let’s look at some ...

Read More »

Continual Delivery of an AngularJS ASP.NET MVC Web API Entity Framework SQL App to Amazon AWS using Visual Studio Team Services

I know, that title is a mouthful. But that’s exactly what it is! A team at my company, iVision, has been working on an app using the AWESM stack for almost a year now. The app is structured like this: A SQL Database, tracked in source control as a database project A repository layer based on Entity Framework A REST-based ...

Read More »

jQuery get id example

The aim of this example is to show you how to get an element id using jQuery. The jQuery framework allows us to get an element id very easily. The element id must be unique in the HTML document. Getting it helps us in many situations like determining the pressed element or focused element in a page etc. The jQuery ...

Read More »

BackboneJS with Webpack: A lesson in optimization

Developing a large BackboneJS application presents a unique design problem. As developers, we like to organize our code so it is understandable, logical, and predictable. However, doing so can cause performance issues on the client side. In this blog I will discuss a handy tool I like to use for this purpose: Webpack. I’ll show it in action, how to use ...

Read More »

Introducing the AngularJS AWESM Stack

I recently presented the AngularJS AWESM stack at the Atlanta Code Camp. This is a stack I’ve been using successfully for nearly four years now. It includes the following components: A is for AngularJS W is for ASP.NET Web API E is for Entity Framework S is for SQL Server M is for ASP.NET MVC Each component of the stack ...

Read More »

jQuery appendTo Example

The aim of this example is to explain and use jQuery’s .appendTo() method. What this method does, basically, is insert every element in the set of matched elements to the end of the target. This method is the opposite of .prependTo() which inserts HTML elements at the beginning of the selected elements. This method is used to dynamically insert content ...

Read More »

The Top 10 Lessons Learned from Enterprise JavaScript Development

A week ago I presented a talk at Atlanta’s ConnectJS conference. The title of the talk was “The Top 10 Lessons Learned in Enterprise JavaScript.” Because it was a JavaScript-focused talk I decided to author the presentation in JavaScript using one of Google’s Html5 projects. You can view The Top 10 Lessons from Enterprise JavaScript Development and also browse the ...

Read More »