Jedi Mind Tricks for Business - "Luke... I am your Father" - SQL Recursion and Hierarchical Data Models

January 22, 2010 21:53 by NielsenData

Covering topics from recursion in table valued functions, hierarchical data models, and identical node naming in XML hierarchies to fifth normal notation in data structures, CLR Stored Procedures, and many more topics specific to SQL Server 2008 and XML with C#.net programming, this lecture continues the popular Jedi Mind Tricks for Business series by Jared Nielsen at the South Florida Code Camp at the following location:

South Florida Code Camp 2010 - http://www.fladotnet.com/codecamp 

Devry University
2300 SW 145th Avenue
Miramar, FL 33027


View Larger Map

Jared Nielsen is an industry veteran with several decades of experience in sports marketing venues, business to business (B2B) commerce projects, and business to consumer (B2C) e-commerce and content management systems. He has been the lead software developer for the ATP Tour (Men’s Professional Tennis and Women’s Professional Tennis), Director of Business Intelligence for Football Fanatics (TeamFanShop), technical partner to Cook Marketing and Communications (for the Jaguars and Falcons contract), and now invests in online ventures such as Sports Mania (4 brick and mortar retail store locations), Team Sports Fan (http://www.teamsportsfan.com/), and other activities. His high profile projects include large projects for Yahoo! Sports, Interline Brands, and Big O Tires. He is a frequent lecturer and is always open to seminars and speaking engagements.

Call me today!
http://www.fuzion.org/
904-638-2455


Currently rated 5.0 by 1 people

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

Fifth Normal Atomic Data Modeling - Best Practices for Web Product Catalogs - Part 9

October 25, 2009 01:36 by NielsenData

I took a bit of a detour as I was working toward developing the Atomic Data Model in practice (rather than in theory).  I stumbled across many exciting technologies in the process.  From recursive common table expressions to CLR stored procedures (for you SQL User Group wonks) to the higher level business applications of pregenerating data and "atomicizing" the information that lies buried in these enormous databases we all struggle with, I have developed what I believe to be the first practical implementation of the Atomic Data Model in a real commerce environment.  I will be slowly launching this project on the website http://www.teamsportsfan.com/ as I move along so please feel free to join me as I move ahead.

In general terms you need to think of two key concepts... the "object" and the "relation".  At its core these two theoretical constructs form all of the data that we use in our applications, in our businesses and in our lives in general.  Not to wax too metaphysical here, but life (and data) is all about the "things" and how those things "relate" to each other.  In a practical data modeling sense, these objects come in various forms... theoretical "objects" are the classification and types upon which the "instances" of these objects are photocopied from.   As we flesh out our data model, we will first define the theoretical "genealogy" of object classes, who themselves have parents, relationships, children, and they inherit from higher order "classes".  Once this "skeleton" is formed, we can then snip a branch from this theoretical genealogy, take a copy, form the mud of actual instance information around it and then breathe life into it as an instance.  Enough theory?  Let's take a look at a realistic example:

 

Here is a definition of the root hierarchy for our theoretical object skeleton.  The most abstract construct that we have is the "object".  This is the theoretical construct from which everything else is derived (aside from relationships).  Items inherit from Objects, Apparel inherits from Items, Tops inherit from Apparel, Shirts inherit from Tops, and Polos inherit from Shirts.

In general when you are defining your core object hierarchy, you want to ask yourself "what does it 'act' like?".  Let's talk through that for a bit. 

What does an Item "act like?" 

  • It can be owned
  • It has an Item number
  • It can be counted
  • It is made of a material
  • It can be associated with a sports team
  • Apparel, Vehicles, Parts, and Devices can inherit its properties

What does Apparel "act like?" that is wholly distinct and separate from Items?

  • It can be worn as clothing
  • It comes in a "style"
  • It can be designed with a "pattern"
  • Tops, Bottoms, Dresses can inherit its properties

What does a Top "act like?" that is unique to this subclass?

  • It covers the top of the body
  • It has a neckline
  • It can come in various size classes (S, M, L, XL, XXL)
  • Jackets, Shirts and Vests can inherit its properties

What does a Shirt "act like?" that is unique from its ascendant?

  • It has a collar (or lack of)
  • It has sleeves (or lack of)
  • Jerseys, Polos and Oxfords can inherit its properties
What does a Jersey "act like?" that is unique from the Shirt class?
  • It can be associated with a player
  • It can display a player number
  • It can have its own subclasses (coaches jersey, practice jersey, etc)

You can see that the cumulative "sum" of all of these properties give us a list of things we need to know about an instance if it inherits from the Object|Item|Apparel|Top|Shirt|Jersey class object.  By rolling up all of the behaviors of its inherited classes we now end up with a list of "fill in the blank" questions that we need to know about this object.

In similar fashion, where an "Apparel|Top" class may utilize the size classes of S, M, L, XL... the "Apparel|Footwear" class in contrast would use the size classes of "8, 8W, 9, 9W, 10, 10.5, 10.5 W" and so forth.

This allows our applications to very easily grab this "hierarchy" and then use it to automatically construct the data entry forms, application interfaces, and subitems for any given product without having to manually create this information on the fly.  How does this look in XML code?


Currently rated 5.0 by 1 people

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

West Palm Beach .Net User Group

September 2, 2009 15:42 by NielsenData

iNeta .Net User Group AssociationI'm please to be speaking at the .Net user group in West Palm, my old stomping ground!  Many thanks to Scott Klein, noted .Net author and coder for having me down to the beach to spend some time with the great folks down there.  I will be giving a lecture on the Atomic Data Model, the X-Y-Z method of site expansion, and an in-depth analysis of one of their website projects live while we discuss it.

The event will be held at the following address at 6:30 for pizza and 7:30 for the lecture:

1750 North Florida Mango
Suites 302 & 303
West Palm Beach, Fl 33409
561-840-8080

Get Directions

For more information on the Atomic Data Model, please see my blog entries about that at:  Atomic Data Modeling - Part 1


Be the first to rate this post

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

SEO Site Expansion and Atomic Data Modeling

July 24, 2009 08:59 by NielsenData

Jared Nielsen speaking at the Jacksonville Code Camp, August 29th, 2009 at the University of North Florida in JacksonvilleI'm grateful to the folks at the Jacksonville Code Camp (www.JaxCodeCamp.com) for expanding their sessions to include my latest search engine optimization and SQL Server 2008 atomic data modeling seminar.  I will be covering some exciting topics including how to leverage OLAP and OLTP technologies for their best uses in the Atomic Data Model, ways to expand the influence of your website using the X-Y-Z site expansion method, and ways to leverage atomic fragments of your long-tail keywords for search engine domination.

Be sure to register for the Jacksonville Code Camp today and join me for my seminar track at the University of North Florida on August 29th, 2009!

To see my profile at Jax Code Camp: Click Here >>

To see the list of sessions at the Jacksonville Code Camp: Click Here >>

To see the session brief:  Click Here >>

To register: Click Here >>


Be the first to rate this post

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

Atomic Data Modeling and SEO Speech in Miramar Florida

June 24, 2009 19:53 by NielsenData

I'm pleased to be speaking to the Miramar group of the Florida Dot Net group at www.FlaDotNet.com.  You can register for this event at the following website:  Click here to register.  I will be discussing how proper search engine capabilities start at the database level using atomic data modeling practices.  The samples of the atomic data model will include how to layer in object inheritance at the SQL Server level, utilizing some new features in SQL Server 2008 including the intrinsic Hierarcy data type and a nice overview of search engine techniques that can benefit from a highly optimized and atomic database.  I hope to see you there!

You can get a head start by reading my blog series on the topic at:

www.NielsenData.com - Atomic Data - Best Business Practices for Product Catalog Data

There are other resources that ascribe to the Atomic Data Modeling concept which you can find at:

Zimbio.com - The Atomic Data Warehouse

Wikipedia.org - Data Warehousing and the use of Atomic Data within the Data Mart

Other announcements of this event include:


Be the first to rate this post

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

Speaking at the Houston Tech Fest

January 9, 2009 01:35 by NielsenData

 

Houston Tech Fest with Jared Nielsen Speaking for www.NielsenData.comIt's about that time again so I'm going to be speaking once again.  Please join me at the Houston Tech Fest in Houston (naturally) Texas for my seminar on finding your Search Engine and Data "Superman" amid your "Clark Kent" business.  Being able to identify as a coder the business methods needed to get proper search engine (SEO) rankings while satisfying good design criteria an reusability is important.  This seminar will walk you through such advanced topics as:

 

  • Atomic Data Modeling
  • Fast Page Load with Highly Normalized Data
  • Content Distribution Networks and Edge Caching
  • SEO and SEM Techniques in Code
  • Funneling "Juice" with your Web Traffic
  • Comparison Shopping Syndication
  • Expanding Marketing Channels through Code

Join my Houston Tech Fest Group on Facebook!


Currently rated 5.0 by 1 people

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

That's No Moon... It's a Space Station! - JaxDUG seminar on SEO and SQL Database Design

October 29, 2008 11:20 by NielsenData

Jacksonville Developer Users Groups JaxDUG

In an obtuse blend of incisive marketing strategy combined with hard-core database design, I will be speaking at the Jacksonville Developers User Group on November 5th at the Seashell room in Building 500, Bank of America Building, 9000 Southside Boulevard, Jacksonville, Florida.

The first seminar in my series, "Jedi Mind Tricks for Business", I will be exploring the database work that can be done in anticipation of marketing's demands for high speed, infallible reliability, and no cost solutions for SEO integration of websites.... it's just the tip of the iceberg folks...

For directions, please see this link:

http://www.jaxdug.com/Events/MeetingLocations/tabid/63/Default.aspx

 


Currently rated 3.0 by 2 people

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

Featured Story on CNN (TV and CNN.com)

October 29, 2008 11:14 by NielsenData

A nice thank-you to the guys at CNN for running the story of my cubicle on their evening news and on their homepage.  Wasn't expecting it but it was a nice kudo:

http://www.ireport.com/docs/DOC-33852


Currently rated 3.0 by 2 people

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

Featured Story on Carpetology Blog

October 29, 2008 11:04 by NielsenData

Here's a fun article about the benefits of plush carpeting to complete my Extreme Cubicle Makeover:

 http://carpetology.blogspot.com/2008/08/carpet-for-your-tent-carpet-for-your.html

"Don't you agree that high design such as this in the workplace, particularly in a cubicle, can only elevate, enhance and improve?  I do have one suggestion. A larger rug. For that matter, what about wall-t0-wall carpet for this cubicle? It would add to the richness of the experience, help absorb unwanted noise from neighboring cubicle mates and generally enhance the work environment." - Christine Whittemore, Director of In-Store Innovation for Solutia's Wear-Dated carpet fiber.


Currently rated 3.0 by 2 people

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

e-Barnett.com implemented my earliest e-Commerce system

October 29, 2008 10:43 by NielsenData

Here's a blast from the past...

Barnett, Inc. Chooses 'AutoStock' Supply Chain And E-Commerce Management Software

http://findarticles.com/p/articles/mi_m0EIN/is_/ai_54534095

 


Currently rated 3.0 by 2 people

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