Posts Tagged ‘Dependency Injection’

Be Super

Angular – Services and Dependency Injection

This blog post is a brief introduction to one of the core concepts of Angular – Services and Dependency Injection. A service is basically a typescript class. It acts as a central repository where we can store and centralize our code and data. This service class can then be shared across components. Dependency injection is […]

Dependency Injection: A Basic Tutorial to Dagger 2

For Cedars-Sinai android app, to meet the clients’ needs, our goal is to develop a user-friendly and robust app. And on the way to accomplish that goal, we need to make sure that during our development, every line of the code we write is not only testable, but also easy to test. To do that, […]

Form@1x.jpg

SCORE 2.0 Component Assembly 101, Part 2: Form Components

In my first post in this series, we walked through the process of building a simple component. Let’s go a bit further now and build something very useful in Sitecore: a custom form. While a module like Web Forms for Marketers can definitely help you build forms, it can be heavy handed and sometimes doesn’t quite fit the bill. That’s where form components come in. Luckily, BrainJocks SCORE has a few features and patterns that can help you out, and keep your content authors happy at the same time.

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 […]

Abstract Flow@1x.jpg

Web API, SimpleInjector, and AnalyticsDataController

Sitecore.Services.Client I am currently working on a very unique app. It’s not a traditional Sitecore architecture. Very far from it actually. Data driven, lots of client side renderings over raw data (JSON), dynamically loaded content fragments, and topped with personalization, analytics, and Sitecore playing content as a service role. Very cool I must say. Long […]

Fire Circle@1x.jpg

To The Controller And Back. Part 3 – DI and Multitenancy

[su_note note_color=”#fafafa”]A lot has been written on Dependency Injection with Sitecore. In this blog post I want to specifically focus on one important aspect – multitenancy – and look into how we can make our Dependency Injection multi-tenant friendly and as much native to Sitecore as possible.[/su_note] Multitenancy All good commercial grade CMS systems support […]