Learning Angular C.R.U.D.

Chris Berry AngularJS, JavaScript, Technology Snapshot, Tutorial Leave a Comment

So, you’ve learned JavaScript and now you’re wanting to get into Angular. But where do you start?

There are quite a few examples out there. One of the best ideas I have personally found useful for a new developer to learn is how to do Create, Read, Update and Delete operations.

In this blog we’ll go through the process of building a simple, working Angular address book application with C.R.U.D. operations. By the end, and by studying the full, working code, you should have a better grasp on Angular.



Taking A Mixed Approach To Single-Page Applications

Chris Berry AngularJS, JavaScript, Problem Solving, Single-Page Application, Technology Snapshot Leave a Comment

A coworker came to me with a problem. The client he was working with would be building hundreds of single-page applications and all would need to be tied into a single shell application. He had first attempted to use an iFrame contained within another single-page application to display the child applications.

While this worked, he came up against another requirement: the child applications may or may not need access to data from the parent shell application.

It was at this point he came to me for suggestions. I had been playing with this exact idea for sometime; how can you manage a collection of Single-Page Applications and still share data between them?

At this point, I decided to create a hybrid solution of mixing Single-Page Applications with a server-rendered shell application. The following is the process I took for creating this solution, highlighting some of the pain points with some suggestions for further enhancements.



Cobol to Java

Adventures In Modernization: Strategy + Example Converting COBOL To Java

Dallas Monson Consulting, Java, Keyhole Creations, Programming, Technology Snapshot, Tutorial Leave a Comment

We have consultants who specialize in moving old to new, renovating dilapidated code bases, and designing brighter futures for enterprises who have been vendor-locked for most of their existence. We have come across some repeated patterns and strategies for how to approach modernization of legacy systems. In this blog, we will cover a strategy that is very popular right now, Re-Platforming.

The basic flow of this post will be:

Introduction to Modernization
High-level definition of the Re-Platforming Strategy for Modernization
Sample of Re-Platforming using Keyhole Syntax Tree Transformer, COBOL –> Java
Additional thoughts on the value/risk of this strategy

Let’s get started…



Coding For Fun: MIT Battlecode Challenge 2017

Joshua Robinson Community, Programming, Technology Snapshot Leave a Comment

I recently participated in the month-long MIT Battlecode competition where I programmed a team of virtual robots that competed against another team in a real-time strategy game. In this blog, I discuss some of the lessons learned during the programming competition. I was surprised how much of it could be used as a lesson in the real-world of programming!

We’re in this industry because we love programming and writing code. It is in this spirit that I suggest to all readers to consider challenging yourself and doing something similar to “code for fun” and improve your skills!



A Test-Driven Development Introduction to Angular 2 – Part 2

Matthew Brown AngularJS, JavaScript, Single-Page Application, Technology Snapshot, Testing 4 Comments

In this updated blog post, we’ve built an employee directory using Angular 2 with unit tests, gone over some differences between Angular 2 and version 1, and introduced some of the features of TypeScript.

I originally wrote this article/application when Angular 2 was still in beta. Now that it has released officially, I have updated the source code to reflect updates made to the Angular 2 framework for release. My approach to get this working was to start from the new Angular 2 quick-start project, port in the original application source code, and refactor as needed to make things work. Let’s get started…



Spring Boot – The Right Boot For You!

Matt McCandless Java, Spring, Technology Snapshot, Tutorial Leave a Comment

Need a little spring in your step? Tired of all those heavy web servers and deploying WAR files? Well you’re in luck.

Spring Boot takes an opinionated view of building production-ready Spring applications. Spring Boot favors convention over configuration and is designed to get you up and running as quickly as possible.

The aim of this blog is just to get you familiar with how to get Spring Boot going on your machine. It is going to be fairly straightforward and vanilla. The goal is to get you started…



How Can AutoMapper Help You?

Justin Armstrong .NET, Technology Snapshot 2 Comments

There are many times that when developing when you need to map an object to another object. When these situations occur, AutoMapper is the answer. It can be used for a one-to-one mapping out-of-the-box or you can easily customize the mappings to meet your needs. This also helps with only having one place to make changes when objects change or grow and more mappings are needed.

This allows just having one place to translate the objects instead of possibly many places scattered throughout the code. There will only be one place that needs to be updated when or if the objects get updated in the future. AutoMapper can also be used to combine fields such as First and Last names from one object into a Full name field in the mapped object.

In this blog, I talk about how to get started with AutoMapper for one-to-one, dynamic mapping. I’ll show an example of using AutoMapper with a basic mapping and to create a custom mapping….



Learning Event Scheduled: Angular 2 In Action

Lauren Fournier AngularJS, Community, Company News, JavaScript Leave a Comment

We are excited to announce the next free public Keyhole Software educational event: Angular 2 In Action! This Breakfast Boost event is a live-coding learning opportunity open to the public. The presentation is geared to benefit software developers who are implementing or interested in AngularJS.

This free presentation will be held at the Keyhole Software office in Leawood, Kansas on Thursday, February 16, 2017 from 8-10 a.m. Space is limited. To get more information and reserve your free tickets…



Setting Up Angular 2 MockBackend

Todd Leininger AngularJS, JavaScript, Technology Snapshot, Tutorial 6 Comments

Todd was working on a client project developing one of the company’s first Angular 2 applications when he found that he needed access to the REST services before they were ready. He needed a good way to mock them up, so he set up a mock service for an Angular 2 application using MockBackend.

In this article Todd shows a step-by-step example of setting up a mock of RESTful web service APIs for an Angular 2 application using Angular’s MockBackend. With this method, he could then use that mock to work on the application before the real APIs were ready.



Using RetroPie to Build Keyhole’s Gaming Console

Brad Mongar Keyhole, Technology Snapshot 3 Comments

You know you work at a great company when you say to your boss that there is a Linux build for the RaspberryPi that is dedicated to playing old arcade and console games…. and he agrees to buy one for the company office for the low, low price of a written blog post about it.

Keyhole Software is just such a company and this is the promised blog post. Specifically, I’ll be talking about the process I used for setting up the Raspberry Pi. I’m hoping that it will give you a guide (alongside the official documentation) for making your own gaming console!