Questions tagged [data-layer]

A data access layer (DAL) in computer software, is a layer of a computer program which provides simplified access to data stored in persistent storage of some kind, such as an entity-relational database.

A data access layer (DAL) in computer software, is a layer of a computer program which provides simplified access to data stored in persistent storage of some kind, such as an entity-relational database.

58 questions
7
votes
1 answer

Android app clean architecture: Should data layer have its own model classes?

What´s the best approach when developing an Android app and trying to follow clean architecture guidelines (but not extremely strict - cause that may be overkill for smaller projects). In my case, I am unsure which approach is the best (if there is…
Elias
  • 563
  • 4
  • 18
7
votes
6 answers

Android Wear Error ConnectionResult{statusCode=SERVICE_VERSION_UPDATE_REQUIRED, resolution=null}

I've wanted to make an easy wearable app and connect through the data layer. Everything works fine with the handheld module (using: S5), but the wearable (using: Moto 360) always throw the error: onConnectionFailed:…
6
votes
2 answers

Google Tag Manager dataLayer within iframes

I'm wondering if it's possible to 'sync' the dataLayer between an iframe and it's parent page. The situation: I have a parent page with a GTM container and a hardcoded dataLayer. In that parent page I have an iframe with the same GTM…
David Halford
  • 125
  • 1
  • 6
5
votes
1 answer

Repository pattern with changing data on server over time

I am following Clean Architecture proposed by famous Robert C. Martin. The birds eye view of Clean Architecture looks like as follows: However right now my concern about Repository pattern modification. Basics steps of Repository pattern…
3
votes
3 answers

Upgrading a .NET application data layer

I work for a company that develops a very large scale data based application. The application was first created around ten years ago and as such, is in desperate need of an upgrade. I have been given the task of investigating and implementing the…
Sheridan
  • 68,826
  • 24
  • 143
  • 183
3
votes
2 answers

Using a DataLayer with Google Analytics without using Tag Manager

I am working on a project where I am integrating analytics into a website. I am very interested in using a Data Layer like the one described in this article, https://developers.google.com/tag-manager/devguide However, this tutorial only defines how…
Code Whisperer
  • 22,959
  • 20
  • 67
  • 85
2
votes
1 answer

My Custom Dimensions & Metrics don't show in Google Analytics?

I am using Google Tag Manager with Google Analytics (Universal Analytics). Here is my setup, and here is our Donation Page. The dataLayer is created before the Google Tags as: var dataLayer = [{ 'pageCategory' : 'Donation Page', 'txnPhase' :…
2
votes
2 answers

A (T)Sql view containing too much business logic

I have a TSQL view. Apart from a few columns it is pretty basic in that it simply does a few joins and then glues everything together to present a nice view as it should be. However, the few columns which are not so simple makes the view code very…
Force444
  • 3,321
  • 9
  • 39
  • 77
2
votes
1 answer

Google Tag Manager Shows Data Layer Variable Values as undefined in the fired tag

I am trying to add dataLayer variable values inside my tag, but when I look at the tag fired inside the Network tab of my console in Chrome, I see that the tag has been populated with undefined values, even though the dataLayer object in console has…
gazubi
  • 561
  • 8
  • 32
2
votes
1 answer

ember-model example application

I'm looking for an example application using ember-model (https://github.com/ebryn/ember-model) I'm looking for an example that: Showcases both object fetching and creation, Showcases writing of a custom adapter, Has complete sources available I…
julx
  • 8,694
  • 6
  • 47
  • 86
2
votes
4 answers

How to surface the exception details to the user for resolution in a multi layered application

We have the following code in our Service Layer where we add a new user to the database using EF. public User AddUser(User user) { using (var context = DataObjectFactory.CreateContext()) { var userEntity =…
03Usr
  • 3,335
  • 6
  • 37
  • 63
1
vote
1 answer

How to push a dynamic price to the datalayer?

How can i send a dynamic price that should change to the datalayer? can't i simply send a variable like below example? Var price; //this price will dynamically change based on the product value dataLayer.push({ 'event': 'gtm-event', …
Agava
  • 11
  • 2
1
vote
1 answer

Copying References Asp.net MVC Project Error

I am trying to work on an asp.net project and am having some issues that I don't understand how to fix. I am new to ASP.NET and am learning step by step. I have watched some courses on Lynda as well as Pluralsight and wanted to try creating a full…
Dave
  • 41
  • 2
  • 8
1
vote
1 answer

Access datalayer from GTM

I have created the following tag in GTM (Google Tag Manager): (function(window) { if (typeof(dataLayer[dataLayer.length-1].count) !== "undefined"){ dataLayer.push({'count':dataLayer[dataLayer.length-1].count+1}); } else { …
1
vote
1 answer

Google Maps Data Layer features not rendering after 1st feature deletion

I am trying to allow a user to draw a shape in Google Maps using the map.data features layer. As soon as the user finishes drawing, I want to process the coordinates of the shapes they just drew and then immediately remove it from the map. The first…
Scott
  • 51
  • 6
1
2 3 4