My first dynamic website

October 27th, 2010 No comments »

Yesterday I wrote about coming across an old website of mine from 2006. While I have yet to find the source code for it, I DID happen to come across my very first ASP website from 2004.

One feature is the Access database has an “admin” login with a blank password. Security be damned!

The site itself was a VERY basic message board site that would let users sign up and post topic on the page, as well as links, photos, and jokes. Even the hosting interface has not changed after over 6 years.

Finding this site gave me the opportunity to see how far I’ve come as a developer. In the last 6 years, I’ve moved from classic ASP, to PHP, to ASP.NET.

The source code (minus the database) is posted below. It’s embarrassing.

Download Messagebox V1

Web memories

October 26th, 2010 No comments »

I took a break from the slower-than-usual day at work to take a look at Internet Archive (web.archive.org), which, as the name implies, archives web content over time. This includes not only sites, but images, scripts, etc. It’s an awesome non-profit project that is perfect if you need to find an extremely old blog post.

For shits and giggles (more giggles), I punched in my old website, ryanpetersonline.com, and immediately was pulled back in time; back to 2006. Everything that was relevant at the time – everything from talking about my first home server to our new (now aging) couch – was there, spanning about 1 years time. After reading through the wide-range of topics I ranted and wrote about, I realized that I sort of miss blogging.

Maybe I’ll get back into it. I’ll start by adding these archived posts to THIS blog. It’ll be funny to pull these up 50 years from now and see what was relevant, assuming the internet is still here and we’re not all floating in cloud (web joke).

All things Connor

August 27th, 2010 No comments »

Wow, it’s been a LONG time since I posted here. There’s good reason too – busy job, busy house, and of course, our first son Connor was born on August 19th. I’ll be making a lot of updates, but not so much tech-related.

On that note, I encourage you to check out my newborn son’s website, connorpeters.com.

It’s an early build, but still in development

January 15th, 2010 No comments »

I took the day off (well, it was supposed to be the morning, but we ran into complications) to visit the OBGYN with my wife in order to get a checkup on our collaborative project. Here’s an early screenshot of the latest build.

In about nine weeks we should be able to find out the sex. At that point, I can begin registering his or hers domain name.

Quick module creation using TouchPointCMS

October 3rd, 2009 1 comment »

Back from vacation. I took a week off in OBX to get my eyes off computer screens for a while. We didn’t have WIFI down there, which turned out to be a good thing since I was able to relax and only answer a minimal amount of work-related email (they had 2 PCs on site).

Anyway, I’m very excited about TouchPointCMS development. It’s looking to be a very promising and solid CMS with endless add-on functionality. It’s also amazing how much faster this version runs over the old adhoc’d versions. One of the last updates to TouchPointCMS was improving the caching mechanisms used throughout the site in order to decrease load times and save on server resources.

touchpoint_modules

I’m also finding that writing add-on modules now is incredibly easy. For example, we’re deploying TouchPointCMS for smart-spice.com and they want to include a spice manager. We can do this pretty quickly, considering a basic module consists of roughly 3 core files (5 if using code-behind):

  • The user control that the end user sees (.ASCX and .CS)
  • The user control that the CMS user sees for management (.ASCX and .CS)
  • A meta.config file for SQL related to installation, deletion, generating instances, icon, etc.

Essentially, that’s all you need for building a module. For the spice manager, I combined functionality from the included Blog and Photo Gallery modules to allow for a simple spice list manager with images. The front end user control is nothing more than a ASP.NET ListView control bound to the spices for that page.

The modules that you create are automatically loaded with the web page. If you want to customize the placement of the module, such as having a Events module off to the left or right sizes of your page, you can deselect the Render Inline Module option from the CMS. This will disable the automatic rendering of the module, allowing you to use the <tpc:Event runat=”server” /> instance to create a list of events wherever you like on your template file. If you want to use events from another page, just include the PageID=”6″ attribute, where 6 is the page ID you wish to pull from.

Check back later for updated CMS development and release!

Learn more about TouchPointCMS.

Vacation stress levels

September 29th, 2009 No comments »

phd092809sI found this amusing, and very true. This pretty much lined up with our recent vacation to the Outer Banks. Scary…