Important considerations before upgrading to Sitefinity 4.1

Important considerations before upgrading to Sitefinity 4.1

Posted on April 11, 2011 0 Comments

The content you're reading is getting on in years
This post is on the older side and its content may be out of date.
Be sure to visit our blogs homepage for our latest news, updates and information.

The Sitefinity team put a lot of effort into making Sitefinity upgrades trivial (or mostly trivial). With 3 major releases per year (and service pack in between) the upgrade experience needs to be extremely streamlined.

However, the upcoming 4.1 release (planned for this Wednesday) includes a pretty big upgrade to a core component of Sitefinity. I’m specifically referring to the upgrade of OpenAccess ORM. OpenAccess beats at the heart of Sitefinity and it determines how data is persisted and retrieved.

In the post below I’ve outlined:

  1. What’s changed
  2. Who will it impact
  3. How to upgrade

What’s changed? – OpenAccess ORM & Fluent Mappings

Telerik has a product dedicated entirely to data access. This product (called OpenAccess) enables developers to define data models using C# & VB code. OpenAccess will then become responsible for persisting or retrieving this data to the database. The primary benefit is productivity since developers no longer need to hand-write CRUD. However, the secondary benefit is performance optimizations. OpenAccess includes a lot of clever fetch plans, caching and a variety of other features designed to retrieve data quickly.

image5

Prior to this release, we were out-of-sync with the OpenAccess releases. In addition, the Sitefinity team had created a few proprietary features that were unique to Sitefinity. This made it difficult for us to integrate the latest & greatest OpenAccess releases into Sitefinity.

With this this 4.1 release Sitefinity is fully integrated with the current OpenAccess ORM Q1 2011 release. Which means Sitefinity inherits the latest benefits of OpenAccess. In addition, we’re guaranteed to continue inheriting these benefits with each new release (4.2, 4.3 and beyond).

One of latest OpenAccess highlights is the Fluent Mapping API. This API enables developers to define code-only solutions (no more XML!!!) for persisting objects. This will become useful when creating custom Sitefinity modules. These modules can define new data models and Sitefinity (and OpenAccess) will handle the data persistence and retrieval details.

However, this new Fluent Mapping API will complicate 4.1 upgrades for some customers. Keep reading…

Who is impacted? – Custom Modules using OpenAccess

The easiest way to determine who is impacted by this change is to ask 2 questions:

  • Have you created a custom module for Sitefinity 4?
  • Does your custom module use OpenAccess for data access?

If you answered “Yes” to both of these questions, then you need to spend some time with Slavo’s blog post.

If you answered “No” to either of these questions, then you will not be impacted. Follow the normal upgrade instructions (linked below) to upgrade your Sitefinity project.

How to upgrade? – Helpful resources for everyone

As mentioned above, only customers who created custom Sitefinity 4 modules that utilize OpenAccess will need to take special consideration during this upgrade. Everyone else should follow the normal upgrade instructions to upgrade their Sitefinity 4.0 web site.

If you’re interested in more information about Fluent Mapping, then check out the following OpenAccess related links:

progress-logo

The Progress Team

View all posts from The Progress Team on the Progress blog. Connect with us about all things application development and deployment, data integration and digital business.

Comments

Comments are disabled in preview mode.
Topics

Sitefinity Training and Certification Now Available.

Let our experts teach you how to use Sitefinity's best-in-class features to deliver compelling digital experiences.

Learn More
Latest Stories
in Your Inbox

Subscribe to get all the news, info and tutorials you need to build better business apps and sites

Loading animation