Edansys

My WordPress Blog

Feb

22

How to create objects in JavaScript

This post goes over the various methods of creating objects in JavaScript. Objects in JavaScript are actually like associative arrays with a special dot notation making the syntax look more Java like. It is possible to use array notation to access members of an object. Array notation is useful when the property or function name is derived programmatically at runtime. The following sections detail different ways to create objects in JavaScript. 1. Start with Object Object is the base class of all objects in JavaScript. Perhaps the quickest way to create an object in JavaScript is to create a new Object and add to it. In this example, a new […]

Read More

Mar

11

Inform 7 IDE and xUnit testing

Today at work we were discussing unit testing and code coverage tools on .Net. I’ve worked with these tools before on both Java and .Net platforms. But the rehashing today made me draw some analogies to what I’m referring to as the Inform 7 IDE. Inform is a design system for interactive fiction based on natural language. I started evaluating Inform this previous weekend as a possible platform to introduce my almost nine year old daughter to some form of programming on the computer. Here is what a simple Inform 7 program looks like (this example is from the Wikipedia entry for Inform): [source:html] “Hello World” by “I.F. Author” The […]

Read More

Feb

07

Silverlight developer demo

Last night, I attended a developer demo of Microsoft’s Silverlight hosted at the monthly meeting of the North Dallas .Net Users Group. The presenter was Chris Koenig. Chris is Microsoft’s Developer Evangelist for this region. For the presentation, Chris showed some full blown Silverlight application demos and gave an overview of Silverlight before proceeding with a simpler demo where he dove into the code behind it all. Overall Silverlight and the demo looked fairly impressive. Here are some of my takeaway notes from the meeting: Microsoft is not calling Silverlight an Adobe Flash killer. However, it is obvious that like JavaFX it is intended to compete in this space. I […]

Read More

Feb

05

Essential Mac Applications

Mac Tricks And Trips has an extensive list of essential applications for the Mac. I haven’t had my Mac long enough to accumulate this many applications. Some of the ones in the list that I have installed: Adium CSSedit Firefox iLife BootCamp VMWare iWork Microsoft Office Looks like I have a lot more to try. [Updated] Other applications that I have installed that are not on the  Mac Tricks And Trips list: MacPorts  Xcode 3.0 Eclipse NetBeans

Read More