Trond Ulseth

Web and system developer

JavaScript frameworks and libraries - welcome to the jungle baby!

Posted by Trond Ulseth on 04/18/2014 03:47:00 PM | 1 Comments JavaScript

When I first started out making webpages JavaScript was something mysterious, some bits of code to copy from the internet, that sometimes would do some minimal magic on a webpage...... at least in one browser. Even later on, I have to admit, that I did not give JavaScript the attention that it deserved, and I regret it still today (well not to the degree that I let it ruin my sleep - regret is a rather unproductive thing to carry around).

Graduatly though I have come to the point where I really don't want ColdFusion have to much to do in my front end. Ideally a new app should work with just .html files in the browser - no need for ColdFusion to generate any front end code. (though I have to admit that for general webpages - and also more quick and dirty apps I do use .cfm files with their handy outputs, loops etc.....).

For quiet some time now JavaScript, and more often than not jQuery, has been a part of any project I've been working on. However need and curiosity has led to the search and discovery og other libraries and frameworks - some overlapping in functionality, some not - some working on their own and some working together with others. And here we come to the reason for the title - the amount of useful JavaScript libraries and frameworks are now getting so plentiful that it's hard even to get an overview over them, not talking about trying to get acquainted with them.

So without much further ado - here's a list of some of the trees in the jungle I've found, and that looks interesting. Some of them I use, some of them I wan't to use, and some of them I will probably not get into. Expect not that I will give an overview of what each library and framework do, or come with recommendations. This list is mostly for myself to remember them - and then later on many of them will probably get their own blog posts.

In no specific order (the ones in bold I've worked with or tried out - some much, some little):

  • jQuery - I never leave home without it. Great for working with DOM elements.
  • Underscore.js - a whole bunch of useful functions that are not present in JS by default
  • Moment.js - date library for parsing, validating, manipulating, and formatting dates.
  • Ember.js - web application framework
  • Knockout.js - fantastic for separating data from presentation
  • Backbone.js
  • AngularJS
  • Crossroads.js - js routes system
  • Amplify.js
  • node.js - this one looks really exciting. Serverside JavaScript - looks awesome for large amounts of realtime data views.
  • Express - web application framework for node
  • Sails.js - realtime MVC framework for node
  • Socket.IO
  • Passport - authentication for node
  • Sizzle - CSS selector engine

Ok - almost the whole last part of the list deals with node. I'm not ready to swap out my CF backend for node (or anything else), but to leverage this technology to some degree is not out of the question.

If I should make some predictions on the other ones...... the ones I use, I will continue to use. When it comes to choosing between Ember, Knockout, Backbone and Angular - my gut feeling for now says Knockout, but time will show. Maybe I'll use several of them. Or none. So many libraries and frameworks, and so little time to really learn them. And I've probably forgotten about some as well. Please add your suggestions and favorites in the comments.

cheers - Trond

My first entry

Posted by Trond Ulseth on 04/15/2014 04:33:00 AM | 0 Comments

Hey everybody!

After a long absence I've decided to have a go at getting a blog devoted to web and system development up and running again.

Some of you might remember me from old times, when I was fairly active and visible in the Cold Fusion related blogsphere.

You can check out my old blog here: http://web.archive.org/web/20070817090916/http://trond.ulseth.no/

This current blog was set up today using ContentBox CMS and using their default page design. I'll look into customizing the overall design of the site, never used ContentBox before, so that will be interesting.

The things you can expect me to wail about when I get running is VERY roughly:

  • ColdFusion
  • HTML, CSS and JS
  • FarCry CMS
  • Databases

I might also go into "off-topics" like music (mainly rock), guitars, cars (I have a MX5/Miata), maybe even family life and whatever I feel like (no rules really).......

Hope to "meet" all of my old contacts from the worldwide CF community here, as well as new friends.

cheers - Trond