So during the week I did a lot of JavaScript and the thing that I found most, what shall I say, mindshiftable, is that you cannot think in the classical OOP way with JavaScript, as you do with C#. JavaScript does everything in functions, and everything within JavaScript is prototypical. Inheritance is prototypical, everything is [...]

  • Share/Bookmark

Continue reading about Understanding JavaScript from a C# developer’s perspective

fr3dr1k on January 20th, 2009

In C# there are four things most objects consist of: Properties (think yellow) Fields (think blue) Methods (think purple) Events (think a lightning bolt) Events are implemented in C# through delegates. Think of a button on a web or windows form when you try and understand delegates. The button class will not know how other [...]

  • Share/Bookmark

Continue reading about C# and delegates

fr3dr1k on January 15th, 2009

I’m kinda excited about Windows 7, and from a few places like this the expectations seem high after the disappointment of Vista. I can’t wait. After doing some Word Automation the last two weeks, first with basic COM components and then with Open XML formats, I am now busy with iTextSharp. The goal of the [...]

  • Share/Bookmark

Continue reading about On Windows 7 and the like

fr3dr1k on January 13th, 2009

So today I revised my strategy of using a COM component to automate Word 2007, simply because the component is not really intended to run in a web server environment, according to Microsoft. Even though my application worked beautifully with the COM component on my development machine it totally failed when I ran it in [...]

  • Share/Bookmark

Continue reading about Word 2007 Automation

fr3dr1k on January 10th, 2009

Does Microsoft, as a big corporate company, live in a vacuum where they think their products can exist and keep on being profitable without noticing how other competitive products work? Take PHP as an example. Microsoft have made sure that PHP can run on their web servers (IIS), and not just Apache, which makes you [...]

  • Share/Bookmark

Continue reading about Do Microsoft employees live in vacuums?

fr3dr1k on January 9th, 2009

In my previous post I mentioned how my week went, kinda. I just want to elaborate a bit and share some other tidbits. So I started my new job, on the 5th of January. My career goal for 2009 is to become a great C# developer, not just for web, but for any platform. Programming [...]

  • Share/Bookmark

Continue reading about A week in review continued…

fr3dr1k on January 9th, 2009

On Monday I started my new job, excitement and anxiousness abound. I came from a job I had for 4.5 years to one where I got a 3 month probationary contract, which makes for some nervous times, because you don’t know what will happen in 3 months from now. That being said I had reached [...]

  • Share/Bookmark

Continue reading about A week in review

fr3dr1k on January 2nd, 2009

Have you noted that when you create a constructor for a base class with any parameters you get a compiler error? So for example this gives an error: namespace Constructors { class Program { static void Main(string[] args) { } } class MyTestClass { public MyTestClass(int testValue1, int testValue2) { } } class MyOtherTestClass : [...]

  • Share/Bookmark

Continue reading about C# Constructors

fr3dr1k on January 2nd, 2009

There are three very basic OO concepts that apply to most OO programming languages today: Inheritance / Generalization / Specialization Encapsulation Polymorphism The concept I am going to discuss here is polymorphism. Polymorphism as a concept can be taken from the concept of encapsulation, which states that an object is a complete thing that hides [...]

  • Share/Bookmark

Continue reading about C# OOP Concepts, Polymorphism

fr3dr1k on January 2nd, 2009

Read the spec here. The most interesting aspect of HTML 5 to me is this: HTML 5 will be great step forward, standardizing things like dragging and dropping elements on web pages, in-line editing of text and images on sites and new ways of drawing animations. There’s also support for audio and video playback without [...]

  • Share/Bookmark

Continue reading about HTML 5 and other new web technologies

Get Adobe Flash playerPlugin by wpburn.com wordpress themes