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
1
vote
1 answer

Which DAL libraries support stored procedure execution and results materialisation

I'm used to EF because it usually works just fine as long as you get to know it better, so you know how to optimize your queries. But. What would you choose when you know you'll be working with large quantities of data? I know I wouldn't want to use…
Robert Koritnik
  • 103,639
  • 52
  • 277
  • 404
1
vote
1 answer

Return view model directly from DAL to improve performance in MVC?

The pattern I always see in MVC is to load the domain model (or repository) from the database and then map that into a view model. I have a question on this pattern - when you have a situation where the view model contains only a few properties out…
1
vote
1 answer

Data access layer in c# with IOC(dependency injection)

I am trying to build a multilayer application (service) in C#. To be precise, I am trying to build a REST webservice with ASP.NET Web Api which will be hosted on my own (with Owin). Now I got so far that I have the following components(every one of…
1
vote
2 answers

What is the best practice, Entity Framework Models or MVC Models?

When using Entity Framework with Code-First, what is the best practice when calling database data? This is my first time using Entity Framework with MVC and noticed that it automatically builds Models in my DataLayer. I also have the basic Models…
Lando
  • 2,288
  • 8
  • 33
  • 46
1
vote
1 answer

How to hide Galleria's data-layer?

I installed the galleria plugin and added a data-layer so you can see a description to the photo. My problem is that I want the layer to be hidden by default (display: none) but there is a style in the div of the layer:
jurihandl
  • 665
  • 1
  • 9
  • 24
1
vote
1 answer

Serialization to file in data layer

I am trying to update a legacy application and need some advice about how to organize the data level. Today, all the data is stored in a binary file created with the help of binary serialization. The data that is stored is a several levels deep tree…
magol
  • 6,135
  • 17
  • 65
  • 120
0
votes
1 answer

drawbacks for implementing presentation layer inside data layer

whats the drawback in implementing the presentation layer inside data layer. i guess that would be much dynamic and performance oriented way to go for, for example if i compile to code (i mean full compile where even aspx is compiled) and after that…
Abbas
  • 4,948
  • 31
  • 95
  • 161
0
votes
1 answer

How to implement data layer in React Application for Adobe analytics (adobe launch) ?

I have to build data layer in my react application but I am only able to find articles implementing data layer in VanillaJS. And my company is not using google analytics but Adobe Launch instead.
Parul
  • 119
  • 2
  • 3
0
votes
1 answer

google analytics content groupings error

I have configurated some content groupings through the datalayer (extracted wordpress pagecategory as a variable, and prepared the basic analytics code to tell the content group based on the variable extracted). Everything should be working fine,…
0
votes
1 answer

Tealium Javascript Code Extension How To Return A Variable

I am trying to create a custom JavaScript code extension in Tealium to reduce the amount of Extensions needed to differentiate CTA's for icon links that do not have alt, or title tags. I am getting the value of my b.variable in my browser console.…
Nato
  • 162
  • 1
  • 15
0
votes
2 answers

What should be implemented in data layer and what in business layer?

I'm still confusing in what should be coded in data layer and in business layer. because some of method can implemented in both of theme. for example I want the Employs between two date or somethings like this. so should I do that in BL or in…
0
votes
1 answer

Sending pageType and pageName to DataLayer

I would like to push an individual page name for every page on my website (Home, Product Page Product A, Productpage Product B, Category Page Products A-C) and a general category (Home, Category, Cart, Productpage) into the DataLayer with…
0
votes
1 answer

Three-Tier architecture: what should be in data layer?

I built a monitoring web application that reads from server log files. After that, business logic pull other information by using a geolocalization service. Do I should consider both log file and geolocalization database as my data layer?
0
votes
7 answers

Three tier architecture

I have some questions about three tier architecture. how to implement an application in three tier architecture correctly? how to communicate between these tiers ? Is data tier completely equals to DBMS? (how about in a case if we use stored…
Sency
  • 2,818
  • 8
  • 42
  • 59
0
votes
1 answer

Jersey Service and Persistence Layers

I'm am developing a simple Question and Answer service (Jersey JAX-RS). With this service, I've come up with the following resource so far (might increase). GET|POST -------------/questions GET|PUT|DELETE -- /questions/{id} GET|POST ------------…
Julez
  • 1,010
  • 22
  • 44