UML for more than Object Orientation

As I read Eric Evan's Domain-Driven Design book, I find the idea of using Services as well as Objects to be a very natural fit for handling real word scenarios. I come to UML from working in the industry and needing a more rich vocabulary to describe architectural choices. The Universal Modeling Language, UML, was never seen be me to only be for Object Oriented Design. In fact, the Sequence, Activity, State, and Use Case diagrams all lend themselves to many different paradigms of programming, such as Functional Programming.
Read More

Reading 15 minutes a day

I am embarking on setting a timer in the morning to read 15 minutes a day. This should help me: * keep sharp * get through more Software Architecture books * train my mind to think through larger complex issues * broaden my horizons
Read More

Attribute for testing is data-automation

Running Selenium scripts to do automated testing of web pages greatly reduces the time it takes to test a web application. Also, the quality of the tests becomes very high and gets us closer to TDD, Test Driven Development.

Read More

JSON.stringify made pretty

I write and debug a lot of TypeScript/JavaScript. Although, I also do C#.net, T-SQL, Bash, Batch, and Powershell, JavaScript has been a main stay of mine sign 2014. I have found JSON.stringify and JSON.parse to be highly valuable tools of the trade.

Read More

Moving logic into Services

Instead of putting logic and structures directly into a component, function, or class, I find it best to begin with moving those structures whether as : 

  • struct
  • type
  • data type
  • mock data
  • initial data
  • discrete logic 
  • call to database
  • call to third party
  • storing data in cookies, session, or local storage
Read More

Modularity is the key

When refactoring code, keep in mind that moving logic to smaller discrete files/classes/methods/functions will help you and other humans understand the code better six months from now.

Read More