Category: Web

  • 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). …

  • The Sun Also Rises (on the Technology Coast)

    One generation passeth away, and another generation cometh: but the earth abideth for ever. The sun also ariseth, and the sun goeth down, and hasteth to his place where he arose. -Ecclesiastes 1:5-6 Apple released Mac OS X in 1999, using a BSD core and embracing many libraries and utilities of the open source world. …

  • Mysql Gem on Leopard

    After getting a whole lot of errors, I found the only way I could get this gem to work is the following: -Install x86 version of mysql -Install Gem like the following: sudo gem install mysql — –with-mysql-dir=/usr/local/mysql –with-mysql-config=/usr/local/mysql/bin/mysql_config –remote I hope that helps…

  • Write and Validate XML with a DTD in Memory in .Net

    This is the sample of piecing together a lto of different posts, so I thought I’d put a sample on the web… I’m putting it in VB.Net (because I was writing in it due to project requirements Imports System.Xml Imports System.Xml.Schema Imports System.Text Imports System.IO Public Class MyXMLTool   Private sb As New StringBuilder(“”)   Private…

  • Simple MasterPages with PHP

    How to do a straight forward version of ASP.Net masterpage template in PHP. No framework required.