Hello World!

Welcome to my site. I use this site as a repository to dump knowledge I come across, generally in the areas of software engineering and information technologies, but may include other miscellaneous tidbits. Most of the posts are written as notes for my personal reference.

 

if i.hear then
i.forget
if i.see then
i.remember
if i.do then
i.understand

Latest articles

Introduction to AngularJS

This is Angular Version 1 Introduction course to AngularJS (v1) from MVA.   @section scripts{       <script src=”~/Scripts/angular.js”></script>    <script src=”~/Scripts/angular-route.js”></script>    <script src=”~/Scripts/angular-resource.js”></script>    <script src=”~/Scripts/angular-animate.js”></script>    <script src=”~/Client/Scripts/AtTheMovies.js”></script>    <script src=”~/Client/Scripts/MovieService.js”></script>    <script src=”~/Client/Scripts/ListController.js”></script>    <script src=”~/Client/Scripts/DetailsController.js”></script>    <script src=”~/Client/Scripts/EditController.js”></script> } <h1>At the movies</h1> <div data-ng-app>    {{true ? “true” : “false”}} </div> Module = is an abstraction that allows you to […]

Read article : Introduction to AngularJS

DOM Notes

Some quick reference notes on Document Object Model Created by the browser when a web page is loaded. It is an object model representing the HTML DOM is an object oriented representation of a web page It is hierarchical – based on the element tags <head>, <body> at top / root DOM is most commonly […]

Read article : DOM Notes

JavaScript Best Practices

Ternary Conditionals var x = true ? true : false;   Nested Ternaries isArthur && isKing ? (weapon = ‘a, helment = ‘a) : isArcher ? (weapon = ‘b’, helmet = ‘b’) : (weapon = ‘c’, helmet = ‘c’);   Logical Assignments Var result = 42 || undefined; // 42 Var result2 = [‘sweet’] || […]

Read article : JavaScript Best Practices

Unit Testing vs Integration Testing

Unit Tests  tests a single class focuses on single behavior or function it drives implementation runs in memory (using mocks) Integration Tests tests a system (more whole than unit test) focuses on interaction between functions catches regressions (in future changes) runs in database (uses data access layer) Due to integration tests being focused on the […]

Read article : Unit Testing vs Integration Testing

Entity Framework 6

These are my notes while reviewing the latest release of Entity Framework EF6       Migrations = creates or updates database automatically as models in the application change. This lets developers focus on the application models and not worry about the database.   EF SaveChanges() This does the actual SQL command execution. It is […]

Read article : Entity Framework 6

Relational vs Non-Relational Databases

Other notes here regarding types of databases and cloud providers for these types of databases. http://solidfish.com/types-of-databases/   History Relational theory Tuples = unordered set of attribute values (row and attribute of column in a table) Relation = collection of tuples and corresponding relations Constraints = enforce consistency; used to identify tuples and relationships between them […]

Read article : Relational vs Non-Relational Databases

Types of Databases

These are some notes on different types of databases used in the current industry. Refer to my other post on Relational vs Non-Relational Database for more information specific to NoSQL Document Databases. http://solidfish.com/relational-vs-non-relational-databases/ Below is a list of some different types of databases as well as some platforms/tools for these database types.   Document Databases […]

Read article : Types of Databases

Repository and Factory Pattern

These are my notes in regards to using the Repository and Factory design patterns in an ASP.NET MVC / Web-API application.   Definitions Repository = A repository is used to separate the concerns between the domain logic and data layer of an application. It helps the domain layer to be decoupled from the data layer. […]

Read article : Repository and Factory Pattern