Posts Tagged ‘mvc’

Headless

Marketers: Is Sitecore Headless Right for You?

Headless. It’s a buzzword and evolving concept that has been around for a few years. To those in the development profession, this is likely old news. However, marketers are now not only sharing a seat at the table when looking at re-platforming or building new websites. But they are also often the key business decision-makers […]

Kid With Bricks@1x.jpg

Building a single-application component using Sitecore MVC, JS MVVM Framework and SCORE – PART 1

In this series of posts, I would like to show our readers how to build out a single-application component in Sitecore using one of the many popular MVVM JS frameworks on the market – in this case Knockout, together with SCORE. Even if you don’t use SCORE in your project, you can still follow along […]

Useful Tip: Sitecore Component’s Rendering ID

This is will be a quick blog about a detail involving Sitecore which I find myself using more and more.  Often in Sitecore, we have a component which can be added multiple times to a page but we need the means to identify a specific instance of that component in code to perform some activity […]

Sitecore Ignition 101 – Overview

Hello! Welcome to Ignition 101. In this series of posts, I’ll be going through some key concepts that Ignition brings to the table as well as some of the architecture decisions that were made as part of this framework. Ignition was designed to make life easier for both developer and content author. “Flexibility” is the […]

A Form Routing Gotcha with ‘SitecoreRouteName’

The Problem When utilizing the Html.BeginRouteForm() or Ajax.BeginRouteForm() in a view to render a form tag, it is common to define the route using ‘Sitecore.Mvc.Configuration.MvcSettings.SitecoreRouteName,’ which returns the path to the current page. So far, pretty easy stuff for setting up a form. In my particular case, I was POSTing an AJAX form and loading a second […]

Error@1x

Unsuspected Error Handling: Solving Sitecore Puzzles

Being a Sitecore developer sometimes means that you are faced with errors that at first glance are both vague and puzzling. Most of the errors can be solved by using previous experience, common sense, a simple Google search for an article or quick chat with a colleague. But other times, there are errors that require […]

Group Of Developers@1x

Adventures in Dependency Injection with Sitecore 8.1

Dependency Injection, specifically MVC controller injection, is stupid simple to set up in a vanilla ASP.NET MVC site. For you guys out there that are only working in Sitecore part of the time (or for the first time), however, it may seem like an impossible feature to set up. I mean, you don’t even have […]

How InsiteCommerce 4.1 is Changing the Online Shopping Landscape

What is InsiteCommerce? eCommerce is the fastest-growing online business sector nowadays. You have millions of shopping portals where you can get almost every type of product of any brand you like. eCommerce makes our lives easy as it allows you to purchase the product of your choice from your place instead of visiting different stores […]

Abstract Led Lights@1x.jpg

Attribute Routing and xDB Tracking

Attribute Routing Rumor has it: you can use MVC attribute routing in Sitecore. It’s actually very easy to set up. John West posted it recently on his blog. Today I stumbled upon an interesting side effect of using this way of routes registration that may be important if your controllers generate user facing experiences that […]

Different Tile Versions@1x.jpg

Sitecore 8. Versioned Layouts – Mixed Feelings. Part 3

I assume you have read Part 1 and Part 2 of this series so I won’t explain versioned layouts feature. I will only say that out of the box Experience Editor can only edit Final layout. To modify Shared portion of the presentation details you need Device Editor: Or you can edit the field value […]

Abstract Pencils@1x.jpg

WFFM MVC: Implementation Tips

[su_note note_color=”#fafafa”]I like Web Forms For Marketers. I thinks it’s a great module and definitely the first option to consider when implementing marketing forms on Sitecore.[/su_note] This rather short post is a collection of gotchas that I and the teams I work with came across when implementing WFFM with Sitecore MVC. Controller Rendering for GET […]

Abstract Chaos@1x.jpg

WFFM Hurt My Rendering Model

Rendering Model It’s very common to inherit your Sitecore MVC models from RenderingModel. The pipelines will call the Initialize() on it and you’ll get access to the rendering’s context item via Model.Item (read more about it here). It’s also not uncommon to reuse your rendering models as a submission container for a custom form in […]

Load More