Drag and Drop Categorized Item List with jQuery and ASP.NET MVC – Part 4

In this post I’ll go through the controller classes and how to use jQuery and AJAX to update the database with the position (or state) of where each section and item is moved to.

Every section can be dragged and dropped into any of the 4 columns and in any position within that column. This is the reason for both the ColumnNum and SortOrder fields of the Sections table described in part 2.

First we’ll dive into jQuery. Going back to our sortable() call for the sections, we need to add code that fires after an update event. The important thing to note here is that the update event will fire for both the column moving from and to. If moving within the same column, it’ll fire only once.

Read full story Comments { 4 }

12 Mbps+ Broadband Internet Options in Fresno, CA (Fall 2009)

It’s Fall 2009 and time to upgrade my home internet service. For all those in Fresno, Clovis and the central valley area with similar needs to mine, hopefully this helps.

In Fresno the only real options I know of are AT&T (DSL or “U-verse”) and Comcast (cable). For the last few years we’ve had AT&T’s DSL Elite (6 Mbps @ $35/month), and that’s been fine, but a few things have changed…

Yes, 6 Mbps downstream is a lot already, but these days we’re watching HD-quality video from Netflix, Hulu and other sources (usually streamed or live). The kicker is my wife is now uploading 10+ gigs of pics after a weekend photo shoot and our 768 Kbps upstream just isn’t cutting it.

Read full story Comments { 5 }

Drag and Drop Categorized Item List with jQuery and ASP.NET MVC – Part 3

In this post I’ll go through each of the Views (and the List controller). We already have the three repository classes in the Models folder. Now we need to add three controller classes to the Controllers folder: ListController.cs, SectionController.cs (for categories) and ItemController.cs.

Read full story Comments { 4 }

Tech Company Mentality in Fresno

My friend Robert Schultz recently gave his opinion on software programmer mentality in Fresno. I personally think it speaks to a larger issue going on with tech companies themselves in the Fresno/Clovis area.

I was born and raised in Fresno, and for at least 90% of the last 12 years I’ve been a full-time software developer for 6 different companies in the area. I hate to say it, but with most of them it was only about a year or two before I had to put in my resignation. They all had great people and great potential. But there was always some big setback that eventually caused me to leave.

Read full story Comments { 6 }

Drag and Drop Categorized Item List with jQuery and ASP.NET MVC – Part 2

In this part I’ll describe the database structure and create the model classes needed for basic database interaction. To keep things simple, I went with a SQL Server 2005 Express database as it’s free and easy to create within Visual Studio 2008.

Read full story Comments { 2 }