Why Scala – Part 1

Scala is a general-purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way. It smoothly integrates features of object-oriented and functional programming languages, enabling programmers to be more productive. Martin Odersky (the creator of Scala) and his team started development on Scala in 2001 in the programming methods laboratory […]

Continue Reading

Understanding behavior-driven development

Test-driven development (TDD) is a software development process originated from Extreme Programming (XP) invented by Kent Beck, which relies on the repetition of a number of short and continuous development cycles. TDD can lead to more modularized, flexible, and extensible code; the early and frequent nature of the testing helps to catch defects early in […]

Continue Reading

Key Benefits of ASP.NET MVC

In October 2007, Microsoft announced a new MVC Web development platform, built on the core ASP.NET platform, clearly designed as a direct response to the evolution of technologies such as Rails and as a reaction to the criticisms of Web Forms. The following sections describe how this new platform overcame the Web Forms limitations and […]

Continue Reading

Introduction to Entity Framework – Part1

Entity Framework is an Object Relational Mapper (ORM) from Microsoft that lets the application’s developers work with relational data as business models. It eliminates the need for most of the plumbing code that developers write (while using ADO.NET) for data access. Entity Framework provides a comprehensive, model-based system that makes the creation of a data […]

Continue Reading

Using Test Doubles with Unit Tests – PART 2

Getting back to the example, using the same repository and test that we outlined previously, we now convert that test to use a mock created by Moq instead of the repository stub. Listing below demonstrates how the code looks. using System; using System.Data.SqlClient; using Microsoft.Practices.Unity; using Microsoft.VisualStudio.TestTools.UnitTesting; using Moq; namespace CodeSamples.Ch05_ClassMocking.Listing04 { public class MockingExample […]

Continue Reading

Scaled Agile Framework

Created by Dean Leffingwell, Scaled Agile Framework (SAFe), is an approach to scaling agile practices across an enterprise. Providing guidance at the portfolio, program and team level, its’ a proven framework based on the principles of Lean and Agile. What is SAFe™ The Scaled Agile Framework® (pronounced SAFe™) is an interactive knowledge base for implementing agile practices […]

Continue Reading

Starting with ASP.NET MVC 4

ASP.NET MVC 4 is a framework for building scalable, standards-based web applicationsusing well-established design patterns and the power of ASP.NET and the .NET Framework. This article is meant for all kind of beginner users who wanted to get started with ASP.NET MVC 4. What is ASP.NET MVC? ASP.NET supports three different development models named Web […]

Continue Reading

Struts2: Actions and Results

Action Classes Every operation that an application can perform is referred to as an action. Displaying a Login form, for example, is an action. So is saving a product’s details. Creating actions is the most important task in Struts application development. Some actions are as simple as forwarding to a JSP. Others perform logic that […]

Continue Reading

Struts2: Starting with Struts

This article introduces Struts as a framework for rapid Model 2 application development. It starts with a discussion of the benefits of Struts and how it expedites Model 2 application development. It also discusses the basic components of Struts: the filter dispatcher, actions, results, and interceptors. Introducing Struts configuration is another objective of this article. […]

Continue Reading

Struts2: starting point

Why Servlets Are Not Dead The advent of JSP was first thought to be the end of the day for servlets. It turned out this was not the case. JSP did not displace servlets. In fact, today real-world applications employ both servlets and JSPs. To understand why servlets did not become obsolete after the arrival […]

Continue Reading