April 2006 Blog Posts

  • Jay Browses the Atlas js code taking notes -- Switching gears... AtlasRuntime.js and he Sys Namespace (IArray interface, IDisposable interface, and CutltureInfo structure/class)

    [out of date post... this deals with MS Atlas CTP... which has been change drastically and is now MS Ajax Extensions] [I’ve decided to switch gears and look at the AtlasRuntime.js first.  AtlasRuntime is a subset of the code within the Atlas.js script file… as luck would have it there is only one change and it’s something I missed…] Function elements I missed [BTW, createInstance is a static method not an instanced one] Statics createDelegate — (Params: instance, method) — Calls method.apply (??) with the instance and any additional arguments  [New stuff starts here… line 668 in the code] Sys.IArray interface Abstract get_length — when implemented will return the...

  • Jay Browses the Atlas js code taking notes -- Window.Type (aka Type) Object, enumerations, flags dynamic classes

    [out of date post... this deals with MS Atlas CTP... which has been change drastically and is now MS Ajax Extensions] [I’m at about line 559 in the debug source code… I lied in the last post (well, not intentionally)… there is more tweaking of the JS environment but mainly adding top level objects (not class modifications)] The Sys namespace gets registered which I believe is the Javascript equivalent to System in the .Net Framework). Type.CreateEnum — [Params: name, many{EnumName, EnumValue}] — This dynamically creates an enumeration (enum) class named name (it’s a full blown class in Atlas JS).  After the name...

  • Atlas: Returning an object from an Ajax callback...

    [out of date post... this deals with MS Atlas CTP... which has been change drastically and is now MS Ajax Extensions] JoeW asked me in response to my Atlas as an Ajax Callback Library if thewas a way to return an object.  Well… it turns out that you can.  This is the simple example I worked up. First stick create the special App_Code ASP.Net folder and add the following class to it (BTW, in the real world I only put Web associated classes here… base classes for the page, etc.): using System;using System.Data;using System.Configuration;using System.Web;using System.Web.Security;using System.Web.UI;using System.Web.UI.WebControls;using System.Web.UI.WebControls.WebParts;using System.Web.UI.HtmlControls; /// <summary>/// Summary description for CalcInfo///...

  • Multiple MasterPages and Atlas...

    [out of date post... this deals with MS Atlas CTP... which has been change drastically and is now MS Ajax Extensions] I discovered how to do something today that I want to remember (as well as to share with the world).  But before I do that I must say something… (I know it’s a repeat statement, but it’s still nice to say, and I started this post before I wrote my other one) I love the Atlas UpdatePanel!!!!! Ok, now that that’s off my chest.  We can delve into the mysteries of easily working with sites that have mutliple Masterpages and...

  • Jay Browses the Atlas js code taking notes -- Object, Boolean, Number, String, Array, and RegExp classes

    [out of date post... this deals with MS Atlas CTP... which has been change drastically and is now MS Ajax Extensions] [Continuing with my note taking on the Atlas JS Source code… it may or may not be helpful for you, but it will definitely help me understand the client libs a little better.. Again as previously mentioned the Atlas client library is enhancing existing JavaScript built in objects (yep, you can do that in Javascript)] Object class – This class is really all about adding simple type information. Statics getType — [Params: instance] — if there is no type name...

  • How to use Atlas as an Ajax callback library...

    [This topic is extremely out of date.  MS Ajax Extensions have been released and they are different from the Atlas CTPs.  I don't believe Atlas is even available anymore] JAAJAX was my little Ajax library that enabled Ajax callbacks.  One of the things I’ve been trying figure out is how to use Atlas to as a replacement for my library.  I originally thought that Atlas could only talk to web services and was corrected by Scott Guthrie; in the comment on the post Scott mentioned that Ajax calback was possible. I’ve looked all over the net for a simple example.  None exists that I...

  • Jay Browses the Atlas js code taking notes -- Function class

    [out of date post... this deals with MS Atlas CTP... which has been change drastically and is now MS Ajax Extensions] [Back in the day this is what I did to figure out how something worked… I have been given the source code to many a black box… I’m going to try read the Atlas Javascript Source and take some notes on it… this may or may not be helpful for you… I’m simply reading the source code and taking notes… Also, don’t beat me up for mixing “field” and “property”; in my mind they are the same thing in...

  • Warning: ReSharper EAP versus Beta...

    Just a quick note to everyone.  If you are using the latest ReSharper Beta 2, you might want to keep up to date on the EAP builds instead.  Why?  Well, I downloaded the ReSharper Beta 2 when the announcement came out and replaced the EAP build 236 with it… I discovered today that Beta 2 is EAP 236 because when logging a bug I was told that the problem was solved in EAP Build 237 (which exists). I imagine that the reason they did this is that I have noticed that since around EAP Build 232 the addin has gotten really...

  • Why Atlas is cool! (AKA Why there will never be another JAAJAX release)

    [out of date post... this deals with MS Atlas CTP... which has been change drastically and is now MS Ajax Extensions] I started a post yesterday (and I will complete it) about my experiences wiring up Atlas to a site that has multiple MasterPages (actually the site I’m working on is a portal that dynamically selects the MasterPage based on the URL that is used to hit the site). I have been noted as an early critic (Ok, I made one post where I thought you had to use Web Services…  I still think the docs are really messed up...

  • Cool and Scary New AJAX Technology...

    I just read this article on Ajaxian about the new S3 Javascript Bindings.  Very cool!  They have implemented SHA1 hashes in Javascript!  I also am intrigued by the idea of calling/retrieving Javascripts from S3 Service.  I’m scared about the possibilities of storing/retrieving user data from S3.  Don’t get me wrong.  I think the concept is cool, and if you are talking about storing documents or document related data (say from a word processor) then that’s great!  Lot’s of possibilities there. What concerns me is that many programmers aren’t geniuses.  They will do things they shouldn’t like store passwords or some other...

  • What we do matters!

    I gotta share a little story with you guys.  I could remove all the names to protect the guilty, but we do too much of that.  Sometimes I think embarassing companies (or their IT people) for system failures is good.  I know that if some of my past mistakes had been exposed to the world I’d think better of it the next time. So as you know, my Dad just lost his wife of 37.5 years (my mom).  My Dad really hasn’t done much taking care of bills and that kind of thing, so my wife is helping him.  The first...

  • Athlon64x2 With XP SP2: A heads up...

    This post is a quick warning to my fellow programmers.  I have 2 machine’s that I primarily use for development: An Avaratec C3500 TabletPC (which has an Athlon 2200+ XP-M CPU), and a custom built (by me) desktop (which has an Athlon 64x2 processor).  I’m not a dedicated AMD fan… in fact, I buy whatever is cheapest because I know I’ll be swapping it out in a year or so.   There are some new features of the Athlon64x2 that gets enabled with Windows XP Sp2 (I’m running 32–bit Windows XP) that seem to make it unique from all other processors.  How did it first...

  • Atlas thoughts

    [out of date post... this deals with MS Atlas CTP... which has been change drastically and is now MS Ajax Extensions] So I’m starting to get up to speed on Atlas.  I really don’t want to fight the man, and the proliferation of AJAX toolkits has to stop.  So I’ve been considering retiring my toolkit and using Microsoft’s Atlas library instead.  Unfortunately I discovered a few things today that scared me.  First of all, many of the examples start out like this... Create a Web Service with 1 method.  I originally wrote a post (and was corrected) about how...

  • Tableless Web Development

    I recently acquired the "No Tables for layout" religion. I have stopped using tables for the layout of a page. I use divs/panels and CSS2. I do still use tables for tabular data (like grids); I just find that they create as many problems as they solve. I've discovered that most simple layouts can be represented with divs and CSS2 a little easier. So now I have your attention. You think I'm going to tell you how to do it? Naahh... But, let me point you to a couple places that gave me the "No Tables" religion - Chris Originally...

  • XSLT for the Uninitiated Part 2: Beginning XSLT

    [So what do you do when a Florida storm wakes you up at 3:30am?  You get up and start an XSLT post] First of all, sorry this has taken so long to post.  My mom passed away between posts.  Generally, I put up technical stuff that I have learned doing my normal job.  I learned XSLT awhile ago, and so have never really put it down, so you forget a few things here and there… I needed a little bit of...

  • SQLAssist Released!

    Ok, this is really old news (March 20th), but I can’t believe that no one has blogged about it.  I originally learned about this via the Daily Grind.  I guess everyone went out tried the beta said “Wow… that’s buggy, and left.”  Unlike me that is, you see this is a piece of software I have wanted.  I had often considered writing this piece of software… it was one of my dream projects.  So I beta tested it, filing bug reports and doing my darnedest to get this thing to the point of usable… and boy is it! Ok, so now I have...