You can find me on twitter via @carl_furrow

Javascript HTML Templating: EJS vs JAML

by Carl on January 21, 2010

Now that I’ve played around with EJS for a while, I can say I’m fairly comfortable with it, and love the syntax. It just makes sense to me. But recently, I came across another templating framework, called JAML, or HAML for Javascript (GitHub Page), and it addresses one of my main concerns with EJS. I’ll get to what that was in a little bit. First, let’s look at some JAML syntax:

JAML Syntax

Example of JAML syntax

[click to continue…]

{ 2 comments }

JavaScript HTML Templating: EJS vs jQuery

by Carl on January 11, 2010

Had a little time to kill between tasks a few weeks ago, and Googled to see if I could find a solution to all these dreaded string-concatenations I was finding throughout pieces of our Javascript codebase at work. They were piecing together HTML code (in strings) and attaching objects’ data into the HTML. I stumbled upon EJS (http://embeddedjs.com) and fell in love instantly!

It allows you to create HTML templates, with Javascript placeholders, not unlike Ruby on Rails or ASP.Net. Their main page has a great, little interactive demo. Go check it out, and come back. I’ll probably still be here.

[click to continue…]

{ 1 comment }

Book Review: Rails for .NET Developers

September 25, 2009

I few weeks ago I picked up “Rails for .NET Developers”,by Jeff Cohen and Brian Eng, and practically read it from cover-to-cover in about a week and a half’s time. It was a very informative read, and I was looking for a jumping-off point to really get into Rails, and I figured a book supposedly [...]

Read the full article →

Getting my feet wet with Drupal

September 24, 2009

Some side projects of mine have led me down the path of getting more familiar with Drupal (http://drupal.org) and I have to say that it’s a wonderful and powerful CMS. It definitely has a lot of features that provide the convention or configuration mantra that I’m growing to love the more I use Ruby on [...]

Read the full article →

Rolling my own blog engine, part 3

June 1, 2009

Part 1 Part 2
This post is going to go over Automapping using Fluent NHibernate with regards to my blogging engine.  If you’re unfamiliar with the concept of automapping, you should browse James Gregory’s introductory post. Basically, we gained the benefit of XML-less configuration when mapping our data transfer objects (DTO) to [...]

Read the full article →

Rolling my own blog engine, part 2

May 21, 2009

Rolling my own blog engine, part 1

Initially I was going to jump into my tests that I had written to exercise my data access layer via FluentNHibernate, but, I’ve decided that I wanted to get to AutoMapping first before I move ahead. Before I get to that though, I have to do a little [...]

Read the full article →

More TDD Fun: String manipulation

May 12, 2009

I had another programming problem dawn on me the other day;
Given a string of words, separated by spaces, reverse each words’ letters, but not the order of the words in the string.

Sounds simple enough. If you were to have the string “abc defg”, the output would be “cba gfed”. A simplistic brain puzzle, but [...]

Read the full article →

TDD Fun(?) : Creating a linked list in C#

May 11, 2009

I was reminded just today that it’s been a while since I’ve implemented a linked list from scratch, and it sounded kind of fun.  I also thought that I should create it via a TDD (test-driven development) strategy to give myself an additional +1 to my good-little-coder attribute.

Read the full article →

Investment in your developers

May 11, 2009

It is far too common that companies are not investing enough in their coders, and I don’t mean strictly monetary compensation.  Developers need to learn and network with other developers about new projects, technologies and methodologies in order to stay fresh and current.  Developers need to know that they’re not alone in their concerns, and [...]

Read the full article →

Investment in a process

May 9, 2009

There is definitely such a thing as having too much process in a development cycle, and, of course, conversely there is definitely such as thing as having too little process.
I like to surround myself with people (well, mostly developers) that believe that a little time investing in a lean process goes a long way. Let’s [...]

Read the full article →