Questions tagged [data-layers]

134 questions
12
votes
2 answers

Datalayer.push with Typescript in Angular 6

When I click on button, I should send into datalayer information, but I don't know how to do it, because I'm using Angular 6, so I need to use Typescript and window.dataLayer.push not working and give me this error Form
Aleksey Dyomin
  • 143
  • 1
  • 1
  • 9
7
votes
8 answers

What would you choose for your data layer today, Linq or Subsonic?

We are ready to start a brand new project at work, no legacy code. We did use Subsonic in the past and we pretty happy with it. But that was before Linq. Has anyone had to face this same issue (Linq x Subsonic)? What was your decision? What were…
nandos
  • 1,207
  • 2
  • 11
  • 20
6
votes
2 answers

Struggling to add a blur event listener

I have a searchbox on the site I work on and would like to track the search terms folk are looking for. Since the searchbox auto guesses what someone is typing and searches for it, there is no click event. In the console the textContent that I want…
Doug Fir
  • 19,971
  • 47
  • 169
  • 299
5
votes
1 answer

Angular2: Best Practice for Data Layer

I am new to Angular2 and am learning by doing. Right now I have succeeded in building one of multiple view with a parent component, couple of child components and database service. Now I am about to move to implementation of other views with their…
pop
  • 3,464
  • 3
  • 26
  • 43
4
votes
1 answer

Android Data Layer RemoteDataSource Class and Repository

According to the article below. https://developer.android.com/jetpack/guide/data-layer#network-request Make a network request Making a network request is one of the most common tasks an Android app might perform. The News app needs to present the…
Tunahan
  • 41
  • 1
3
votes
2 answers

How to pass the object type from business layer to data layer

I'm creating n-tier application architecture. Different layers does not known anything of each others internal implementations and communication between layers is handled trough very narrow interfaces assisted with IoC/DI. Now I'm passing business…
Harza
  • 111
  • 1
  • 11
3
votes
2 answers

Interacting with the database using layers of separation (PHP and WordPress)

I quite often see in PHP, WordPress plugins specifically, that people write SQL directly in their plugins... The way I learnt things, everything should be handled in layers... So that if one day the requirements of a given layer change, I only have…
Matt
  • 5,547
  • 23
  • 82
  • 121
3
votes
1 answer

Generating your LINQ-to-SQL datalayer

I usually use Codesmith & NetTiers for my datalayers, and as they can be run from the command line it just requires a simple batch file to regenerate / rebuild everything whenever changes are made to the database. Now I'm looking at LINQ-to-SQL, but…
Nick
  • 5,616
  • 10
  • 52
  • 72
3
votes
2 answers

Rxjs - How to retry an errored observable while informing UI of the error

Problem Suppose there is a Http request observable that errored, we can just retry it. But I also want the UI to inform the user that this resource failed to load. What is the best architecture? Intended Behavior for the Target…
First_Strike
  • 1,029
  • 1
  • 10
  • 27
3
votes
3 answers

What is the best way to build a data layer across multiple databases?

First a bit about the environment: We use a program called Clearview to manage service relationships with our customers, including call center and field service work. In order to better support clients and our field technicians we also developed a…
CodeRedick
  • 7,346
  • 7
  • 46
  • 72
3
votes
1 answer

Architecture and caching considerations with large XML files

I'm building a website to display products, and categories of products. The data comes from an external service in the form of a 500k XML file. The website is ASP.NET, C#. The XML is structured as a list of categories. Inside each category might be…
Alex York
  • 5,392
  • 3
  • 31
  • 27
3
votes
1 answer

Adobe DTM - using GTM dataLayer

Update: an interesting article on this topic by YannisG: http://digitalinsightsworld.com/tag-manager/push-datalayer-values-adobe-sitecatalyst-variables-via-dtm/ There is a website with Google Tag Manager and dataLayer installed. I want to try…
3
votes
3 answers

so many data access options, what to use?

I am an asp.net web application developer and I always have used Enterprise Library DAAB with stored procedures for data access with 4 seprate layers (presentation layer, custom types layer, business logic layer and data access layer). My feeling is…
haansi
  • 5,470
  • 21
  • 63
  • 91
3
votes
1 answer

GTM how data Layer is pushed to the GTM portal?

I am trying to use GTM for my website. I have initialized the dataLayer variable like this: dataLayer = [{ 'pageCategory': 'signup', 'visitorType': 'high-value' }]; Now I have triggered the request to gtm.js Now, I make another push to my…
Vivek S
  • 5,384
  • 8
  • 51
  • 72
3
votes
2 answers

MVC 4 - consuming a WCF in a data layer

In my test project, I created a WCF service and got it running. Next, I created an MVC 4 project. It is broken into layers under one solution. The model layer. The UI/View/Controller layer The repository layer. To do a quick test: In the UI layer,…
dawriter
  • 425
  • 3
  • 8
  • 21
1
2 3
8 9