Yet another attempt to make Github Pages as Easy as WordPress
12 October 2014
This is simply a test post. I've been going back and forth on how the Rakefile and Github branches / repositories should be set up for the CodeSolid web site. I think I have it licked, but this should have been much easier. Let's try an edit and check out how fast and easy. So the solution (for those of you who prefer to read solutions rather than test posts, which should be all of you):
- Use two repositories, not one. No, seriously.
- That being done, here's the Rakefile I'm using.
Using Gradle to Build Java Selenium Projects
29 June 2014
Ant lets you script anything, and Maven handles all your dependencies neatly. If only there were a build tool that let you do both. Well, there is -- it's Gradle, and in this article we show you how to use it with IntelliJ and Selenium. Read more...
Getting Started in Selenium and Java in IntelliJ Idea, Part 2
16 June 2014
In this article we use a simple IntelliJ Idea project with a corresponding Maven POM file to serve as a home for our Selenium tests, and export a simple Selenium Script from Selenium IDE to Java. Read more...
Getting Started with Selenium in IntelliJ Idea - Part I
14 June 2014
Learn how to set up Selenium IDE and start recording your first Selenium tests in part one of this article series on working with Selenium IDE and IntelliJ Idea. Read more...
We are moving
1 June 2014
For some time now my ParticleWave site has been fairly schizophrenic, being also JohnLockwood.com and Codesolid.com. To add to the lack of mental health around this site, I've been meaning to move the whole site to Jekyll for some time, because I'm tired of wordpress updates and stupid spam comments. In other words, I'm moving from Wordpress to Jekyll for the same reason everybody moves from Wordpress to Jekyll. As of this post, my site is live on Github pages, as you can see if you're reading it. There was a LOT involved in making the move, and I took lousy notes. So this is not a tutorial, or not much of one -- sorry. It's more of an announcement for the one or two people who are kind enough to read me from time to time. Getting Wordpress to Jekyll was one nasty little bit of business which I have forgotten since I did it weeks ago. I do recall that it started with Google and involved typing, so I'm sure if you're smart you can reproduce it. More recently I'm able to credit David Ensinger's fine article on how to workaround the fact that your plugins are likely not supported by Github. Nice job there and helpful, and my own stripped down version of his Rakefile is in the source for this site. My version works around some issues I had (I found I had to force the pushes to master for some reason), and it removes some of the sass-specific stuff he had added since I'm not using sass at the moment. Most importantly, it's nice to have a starter site here I can begin to build out. You'll see that there's a lot to be done, the pages are just stubs, etc., etc. There's no domain actually pointing here yet, though we'll work on having it be CodeSolid.com before too long. And now finally I have a place for the blog posts to go, so I can keep writing. For about two months I've written very little on ParticleWave since I know it's going away. Now I can feed my keyboard addition again. Read more...
Testing the Rake Post Task
1 June 2014
I just merged some tasks from Ellen Gummesson's cool Rake Boilerplate, and once that was done, started this post based on nothing more complex than 'rake["Testing the Rake Post Task"]'. Very cool. Nice job, Ellen, and thanks. My Rakefile with David Ensinger's work on building Jekyll sites locally and working around the fact that Github doesn't support most plugins, together with some of Ellen's post-creating magic is located here. Read more...
Java Beginner Tutorial - Downloading and Installing Tools for Java Development
23 March 2014
This video tutorial for beginners in Java shows you how to install and configure the tools you'll need to get started in Java development. You'll download a Java Development Kit, JDK, version 7, and the free community edition of IntelliJ Idea. The total time for this tutorial is 15 minutes. Read more...
Using TestNG with Spring
4 July 2013
Although there aren't too many examples to be found about it, using Spring's AbstractTestNGSpringContextTests turns out to be really easy! We walk you through it in this brief tutorial Read more...
Spring Security - Part I: Spring Authentication and Authorization Basics
9 June 2013
In the first of a multi-part series on Spring Security, we'll examine how to set up a really basic MVC app with Spring Security by relying on IntelliJ idea project generation. We'll examine the code and discuss how it can be improved, and how you can use Spring security features both in the controller layer and the view layer. Read more...
Configuring Spring for Test versus Production
1 June 2013
In this tutorial, we'll discuss some different ways to configure Spring for different environments such as test, production, etc., You'll also learn how to configure spring properties at runtime using the PropertyPlaceholderConfigurer class, and how to test your Spring configuration using JUnit. Read more...
A Simple Hibernate, MySQL, and JUnit Tutorial
22 May 2013
In this tutorial we'll set up some simple Hibernate entities in a non-Spring, POJO (Plain Old Java) environment. We'll explore how to configure Hibernate to work with MySQL, and how to write unit tests for Hibernate entities. Read more...
How to Run the CodeSolid Tutorials in Eclipse
17 May 2013
If you've taken a look at the Github Repository for the CodeSolid tutorials, you may have noticed that the project files all use IntelliJ Idea. I use the Ultimate Edition (currently Version 12) for most of my development, but recently I promised to look into using these project files in Eclipse. I had a feeling it would work since I have sourced the Maven project -- i.e., the POM files, those named pom.xml in the root of each tutorial -- but being the good test infected developer that I am, I try not to take "that should work" for granted. Read more...
Spring Unit Testing Using JUnit
16 May 2013
The Spring Framework provides special JUnit test runners to make acquiring and testing an ApplicationContext really easy to do. We'll show you how to take advantage of these special test runners to do basic Spring Unit testing. We'll also teach you how to acquire an application context without using these runners, and though we'll demonstrate this using JUnit as well, the same techniques can be used in Standalone Spring applications or in other test frameworks like TestNG. Read more...
Pros and Cons of Test Driven Development
13 May 2013
If you ask anyone who works with me, I'm a huge fan of automated unit testing in general and Test Driven Development (TDD) in particular. Ever since I first tried it out on a project eleven years ago, I've been convinced that Test Driven Development is a huge improvement over the number one software development "methodology" in the U.S.: code and fix. Read more...
A Simple JUnit Tutorial using Maven and IntelliJ Idea
11 May 2013
JUnit is a powerful and easy to use tool for writing and running Unit tests that every Java programmer should know. In this tutorial, we'll get you up and running with JUnit and IntellijJ idea. Read more...
Employee Owned Business Draft Business Plan
15 April 2013
This is a draft business plan for an employee owned software contracting business providing contracting, outsourcing, and staffing services focused on software development. Our initial focus will be on programming, and quality assurance. Read more...