Exploring More Efficient Code Generation

by Chris 2/4/2010 9:26:00 AM

Part of being on our technical team is looking for more efficient processes that we can employ. Lately, we’ve been looking very closely at ways to stop “rehashing” the same code over and over. We’ve noticed areas where code tends to be very similar across many websites. Why re-write it for each one?

We’re looking into two types of tools to aid in this process: ORM and dynamic code generation.

Object Relational Mapping (ORM) allows us to generate the basic code needed to store and retrieve objects from a database without having to physically write a line of code. There are many more pluses to these set of tools, but this would lead to much more efficiency for our technical team. Some of the ones we’ll be learning more about are:

Our other option is simply pure dynamic code generation. I’ve been researching T4 templates (Text Template Transformation Toolkit) and love the possibilities! The idea is to create a template that represents a coding structure you write often, then have the system use that template to generate a code base for you. These templates are being used by many companies in order to increase efficiency and productivity. In fact, the ORM Subsonic listed above uses T4 templates when generating code to represent a database.  

You can learn more about Microsoft’s MSDN page for T4 templates here: http://msdn.microsoft.com/en-us/library/bb126445.aspx.

As always, we’ll keep you updated as we continue to work on more efficient, repeatable processes for our projects.

Bookmark and Share

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Technical

ASP.NET Wiki

by Chris 7/31/2009 11:58:00 AM

One of my favorite sites to learn more about the .net framework is found at wiki.asp.net. I spend a good amount of time reading through the numerous articles presented on the site.  The ASP.NET Developer wiki allows me to learn something new quickly and from the view of my peers. Here’s a list of recommended articles that I’ve found beneficial: of some of the articles I’ve found most beneficial:

  • ASP.NET Open Source Projects: This article provides a number of links to open source projects developed in .net.  I’m a firm believer that you can learn a great deal by looking at others’ code, it’s probably my favorite learning mechanism and way to spark new ideas.
  • Design Patterns: If you don’t know about design patterns, I’d recommend doing some research about them as they can save you a great deal of time.  You’ll be amazed to see how many of the design patterns described in this article are either present in the code you write or within the framework you use.
  • Architecture: These links will teach you about everything from software architecture to the asp.net framework architecture. A lot of these articles are interesting reads that I guarantee will help solidify your knowledge base.

Hope you enjoy some good reads!

Bookmark and Share

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Technical

ASP.Net Training

by Chris 6/4/2009 7:53:00 AM

Recently while looking around www.asp.net I found a link to a pretty cool tool for beginning dot net developers.  The Ramp Up program teaches the basics of dot net development through a series of articles and webcasts. 

This is a great resource to quickly and cheaply learn a little about the dot net framework and all it has to offer.  The site offers a wide range of information with a focus on asp.net, but also with information on general web development terms and technologies.  I think even experienced developers might be able to get some use out of these materials.

One additional cool feature about the Ramp Up program is that Microsoft offers a somewhat varied range of discounts on training once you’ve completed a “track.”  Discounts range from 25% of off any MCTS exam to 50% off of E-Learning collections.

Check out the site here.

Bookmark and Share

Be the first to rate this post

  • Currently 0/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Technical

No More Popup Windows

by Chris 2/10/2009 8:04:00 AM

These days, most users associate popup windows with spam and annoyance. Nobody enjoys chasing popup windows when they open in a new tab or even behind the current browser. Over the past 1.5 years, one of our goals has been to exclude popup windows from our UI, a trend seen across the Web. Our only exception to this is when we have an external link on a client’s site. If a client links to a site outside of their own, we use a popup window so the user isn’t completely taken off of the client’s site.

For better user-experience, we now use modals instead of popup windows. A modal is a modern UI pattern similar to a popup window where a section of HTML pops up on top of the webpage, and the remaining portion of the webpage is typically greyed out. The user can focus on the “popped up” content, while never leaving the page. Modal technology helps us create a more integrated experience on the websites we build. No longer do users have to interact with a random window in order to pass information to a site: they can do so in a way that feels natural and expected.

Bookmark and Share

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Technical

New Technology Tools for Our Sites

by Chris 12/5/2008 3:35:00 PM

Happy Holidays! Is there any better way to recharge your batteries than through vacation or spending time with family? This past week my wife, Shauna, and I took a 16 hour drive to southern California to spend this favorite holiday of mine with her family. We ate and ate, and while we were eating, I learned a little Guitar Hero and did a little research on topics that could benefit our software development in the future.

We’re always on the lookout for the best, latest ways to improve our websites. One of the new concepts that I researched over the holiday, and will discuss in more detail in the future, is design patterns. The basic idea is that when we write a piece of code, there are particular coding patterns that can be reused throughout an application. Using these patterns allows for maximum flexibility, with a proven track record of success.

Our team will weigh the pros and cons on a number of these design patterns, seeing which ones we can use to improve our products. Look for more information on the latest design patterns that we will be incorporating into our work in the near future.

Bookmark and Share

Currently rated 5.0 by 1 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Tags:

Technical