Sucky docs are just frustrating

Since my move to OpenSource JavaScript frameworks, libraries, modules, etc. I spend a lot of time looking at the documentation for whatever it is I’m working on. Some docs are really good. They give a description, example, what something returns, what it expects as parameters, etc. However some are really bad. They define the name of the function/property/whatever but they don’t say what the hell it does. Take this example from the nodejs documentation for the ‘

Continue Reading

Troubleshooting Web Applications

As web developers the ability to troubleshoot a web application is a very important part of the development process. To be able to see what’s happening and understand what may be causing a certain behavior is key and should be employed during the entire development process, not only when something is broken. In this series I will outline my process of troubleshooting web applications.

First off the tools. While there used to be a hand full of tools you might use now you only need one,

Continue Reading

now-context: Opensource Project

Happy New Year! Lately I’ve been working on ways to simplify and enhance the way in which we develop applications. I watched this video: The Reusable JavaScript Revolution which really got my brain working and trying to come up with a solution for Red Pill Now. One of the pieces of the application part of that project is a context element (now-context) that provides a few different features:

  • Performs and records all AJAX requests
  • Provides a basic PubSub system
  • Provides a basic Request/Response service
  • Provides a global variable to interact with the context

The entire idea here is to provide a communication channel similar to that found in Backbone/Backbone Marionette for application specific communication.

Continue Reading

Thoughts on TypeScript

Over the past few months I’ve started working pretty extensively with TypeScript. For those of you who don’t know what TypeScript is:

TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.

It provides strong types to JavaScript. It allows for the creation of classes and enforces those classes in your code. If you define a Redpill.Widget class, you can then use that class in your code and the editor enforces the rules you define within that class.

Continue Reading

Replacing Lotus is…. complex

If you followed Peter’s series on replacing Lotus he outlined some of the pitfalls, processes and decision points to undertake for success. I wanted to point out the technical side to a lot of those decisions. The short answer is that you need a tool to surface your domino data en-masse until such a time when decisions are made on each application. I have been working on that solution for quite some time now and I have to say,

Continue Reading

Just…. NO,NO,NO

This week I attended MWLUG in Alexandria, VA. This was an awesome event, so many good speakers, good content and excellent camaraderie. I can’t say it enough, but Richard Moy and his team put on such a good event.

So, I spoke to a couple of developers who are writing client JavaScript in Domino Designer. While Domino Designer is capable of allowing you to write JavaScript, all I can say is STOP!

Continue Reading

sortablejs – Drag-n-Drop without jQuery UI

I had a need to enable drag-n-drop for a particular part of our portal. In the past I’ve always used jQuery-UI as it’s quite easy to enable drag-n-drop. Doing some research I came across a StackOverflow question about enabling drag-n-drop with Polymer. One of the answers mentioned sortablejs. This is a very minimalist library to enable drag-n-drop. Best part about this library is that it has a port for Polymer.

Continue Reading

1.5 Years with Polymer Web Components

For about the last 6 to 8 months I’ve been doing a lot of development using Polymer Web Components. I started with the 0.5 developer release version. My experience so far has been a little bitter sweet.  Using version 0.5 I had to jump quite a few hoops to get things working, but once I figured out the patterns all was well with the world.

In the Beginning

I had chosen to use Backbone Marionette for the MVC architecture for my apps.

Continue Reading

IBM Please fix Domino authentication

Welcome to keithstric.me. The new home of my blog. Due to my inaction I ended up loosing keithstric.com. I was able to move the past 10 years worth of blog posts here, but I’m still missing the first 4 years of posts. Oh well, guess that’s what happens when you ignore a problem. But let’s get to my rant.

I’m building an application using just Polymer. It’s a RESTful application so all server communication is via AJAX requests.

Continue Reading

On SocialBizUg – Web Worker Basics

Over on SocialBizUg – Web Worker Basics

Continue Reading