Questions tagged [data-layers]

134 questions
1
vote
1 answer

Designing DAOs around a JSON API for iPhone Development

So I've been trying to design a clean way of grabbing data for my models in iPhone land. All the data for my application is coming from JSON API's. So right now when a VC needs some models, it does the JSON call itself (asynch) and when it receives…
Bob Spryn
  • 17,742
  • 12
  • 68
  • 91
1
vote
3 answers

Creating a Drop Down Menu That Changes Page Content Using Show/Hide Layers and Z-Index

I am trying to create a sidebar for a site that will allow a user to select an item from a drop down menu and show an RSS Feed. The feed will change depending on which item is selected from the list. I am not sure how to acomplish this, but my first…
Iwasakabukiman
  • 1,453
  • 4
  • 15
  • 17
1
vote
1 answer

Get marker reference from geoJSON feature added with Data Layers API

I'm using the Data Layers API to add geojson data to map. But the problem is that the addGeoJson method returns a list of features, and I can't find an interface method to retrieve the marker obj reference associated with that feature. I don't want…
Seb
  • 89
  • 1
  • 8
1
vote
4 answers

How do you decide on which ORM to use?

Castle Active Record? Plain NHibernate? Subsonic? Entity? Something like Nettiers? I'd like to use one, but I don't know enough to decide. Nhibernate seems over kill and complex, but widely used. Subsonic seems neat and easy. But is it stable? I…
nportelli
  • 3,934
  • 7
  • 37
  • 52
1
vote
1 answer

Accessing more than one data provider in a data layer

I'm working on a business application which is being developed using DDD philosophy. Database is accessed through NHibernate and data layer is implemented using DAO pattern. The UML class diagram is shown below. UML Class Diagram…
xelon
  • 145
  • 1
  • 6
1
vote
1 answer

How can I read information from a dataLayer, with javascript?

Good morning people of stackoverflow :) I am working on an e-commerce website. One of our tracking partners requires the setup of a function named "csAdd". This function reads the customer cart and then uploads information. What I would like to…
Bert
  • 11
  • 3
1
vote
1 answer

GTM/UA Track multiple authors

Seems like this would be quite simple but i cannot find much documentation available. Currently on our article system, each author name appears like this on each page:
1
vote
0 answers

Scaffolding breaks when I move my DbContextClass to Data Layer

I have my DbContext class in the same folder and namespace as my Models (MvcApplication.Models). I thought it would be better to put it in the folder and namespace where my repositories are (MvcApplication.Data). I did that, the code compiles and…
Colin
  • 22,328
  • 17
  • 103
  • 197
1
vote
2 answers

Handling different classes of the same name in a single CS file

I'm using two WCF services that declare a class Donkey each. Those Donkey classes, although identical in structure, aren't the same type, due to namespace issues. This far I'm using using (as described f.i. here), but I feel that I'd like to get it…
Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438
1
vote
1 answer

use google tag manager custom HTML tag to populate data on pages

I have a question about gtm. so currently I have created a script that can create all the data I need into datalayer this is how the data layer looks like (from page source code):