Month: October 2008

  • Javascript Objects and Hashes

    Employee = { New: function(fname,lname,em) { return { first: fname, last: lname, email: em, displayName: function() { return this.last + ‘, ‘ + this.first }, sig: function() { return this.displayName() + ‘ ‘ + this.email } } } } var tim = Employee.New(‘Tim’, ‘Hoolihan’,’tim@hoolihan.net’) tim.sig()

  • On the Rise, Fall, and Resurgance of Javascript

    Douglas Crockford’s essay on Javascript’s history and resurgance is a great read, if you haven’t already read it. – “Given the process that created JavaScript and made it a de facto standard, we deserve something far worse.”

  • Help With Path Issues

    First, here’s a good way to see what you have available in code… <form id=”form1″ runat=”server”> <div> <% For Each key As String In Request.ServerVariables.AllKeys%> <p><%= key %>: <%=Request.ServerVariables(key)%></p> <% Next %> </div> </form> But in general all you need to do is read the following: http://weblogs.asp.net/scottgu/archive/2006/12/19/tip-trick-how-to-run-a-root-site-with-the-local-web-server-using-vs-2005-sp1.aspx

  • App_Code and Namespaces

    When working in Asp.net, I discovered something interesting about namespace.  Before I explain what that is, a little background… If a page accesses it’s masterpage through the typical this.Master way, then any custom methods you’ve written aren’t accessible as it as typed as a MasterPage, not your class that inherits it (presumably something like _MyMasterPage). …

  • Gigabit Switch and Nics Arrived Today

    Backups and local media streaming just got a whole lot faster.