Questions tagged [layered]

117 questions
1
vote
2 answers

Correct definition and design of business, domain and view models in a MVC layered application

I have an ASP.NET MVC3 in C# and Razor. The architecture of the application is divided in Data Access Layer (EF classes + Repository), Service Layer, Controller, ViewModels and View. My application is a dashboard, it has to display statistics about…
CiccioMiami
  • 8,028
  • 32
  • 90
  • 151
1
vote
1 answer

Zooming on layered images that have been scaled on android

There are a number of issues i'm having, all being related. Some I have resolved, but the solution i have found might be stopping me from the final product. I'll mention all issues and solutions here as i'm sure this would be a fairly common problem…
Stimsoni
  • 3,166
  • 2
  • 29
  • 22
1
vote
1 answer

Can we write all the control events in a seperate class file in different layer rather than in code-behind of web-page?

Can we write all the control events in a seperate class file in different layer rather than in code-behind of web-page ? Kindly help. Thanks in advance.
HotTester
  • 5,620
  • 15
  • 63
  • 97
1
vote
3 answers

Strategy for creating a layered window with child windows (controls)

I want to create an irregularily shaped/skinned window (just with rounded, alpha blended corners for now). Upon creating the top-level window i am processing the WM_CREATE message and do the following: Create a compatible memory DC Create a DIB…
Eirik Vea
  • 51
  • 1
  • 5
1
vote
2 answers

Where do I place the entity framework queries in layered architecture?

I have .net core api project with following folders: Models contains the database table classes and dbcontext Services contain logic to send email, and business logic (example calculate student grade based on marks) Controller contains the…
variable
  • 8,262
  • 9
  • 95
  • 215
1
vote
0 answers

How to configure Cytoscape headless layout?

I want to draw a graph from a bunch of nodes. Dagre (https://github.com/dagrejs/dagre) was fine so far, as long as I didn't have to draw the inputs/outputs. I'd like to render something like this: So I'd like to use cytoscape…
1
vote
1 answer

Magento - Hide Static CMS block on Category Page when using layered navigation

I have a magento site. We are using layered navigation and I would like to add Static content to the category landing page along with results. I have added the cms block and it looks great on the main category page (no filters applied). However,…
Brian
  • 761
  • 2
  • 10
  • 25
1
vote
1 answer

Magento - Output Layered Attribute Link in Product page

I've created attributes that I use successfully in the layered navigation of Magento. Those attributes get output in the additional data section of the product page, however, attributes used in layered navigation don't appear as links. They're in…
tomakun
  • 134
  • 10
1
vote
0 answers

Allow clicks to pass through window(hit-test transparency) on a non-transparent window

I have a layered window that I want all clicks to pass through no matter where the mouse is located. Some parts of it are color keyed, and others are not. Clicks pass through the window whenever the mouse is on a transparent part but whenever the…
Cow Nation
  • 71
  • 9
1
vote
5 answers

What's the best way to structure a project?

I was wondering about how I should structured my projects. We have some projects that are (re)use in other projects. I mean, our data project and model project are use in one-to-many other projects. What I really what to know is how to structure…
Melursus
  • 10,328
  • 19
  • 69
  • 103
1
vote
2 answers

Using ApplicationDbContext with Dependency Injection in an n-layered architecture

I have an application with 3 layers (Presentation - Business - Data) built with Asp.Net MVC Core 2.1 In my Presentation layer I have an ApplicationDbContext class which instantiates and fills a test database: public class ApplicationDbContext :…
1
vote
0 answers

How to set parallax layout as my layered live wallpaper which moved with device acceleration?

private ParallaxLayerLayout parallaxLayout; private SensorTranslationUpdater translationUpdater; translationUpdater = new…
Krupali Shingala
  • 192
  • 2
  • 14
1
vote
1 answer

Authorization in a layered application

I am working on a pretty simple project that is mostly made up of getters and searches and access to certain data is limited depending on the user. I want to use this opportunity to do some best practices when it comes to security, authorization in…
Cal
  • 55
  • 1
  • 6
1
vote
0 answers

Magento layered navigation of custom attribute missing in 1.9.3.1

In magento 1.9.3.1 after upgrade from 1.9.2.4, I added some more option value to the custom attribute. But after saving it is not displaying in layered navigation filter in front-end, I tried to create new custom attribute via backend and tried to…
user109469
  • 11
  • 1
1
vote
1 answer

Android - Firebase; on signing in, retrieve data (layered) and redirect that user based on that data

So I have a simple firebase android application, which I'm aiming to cater for a number of different users. A user registers, and on creation, their Uid is stored in a user table, along with a UserInformation entry under their Uid with the values…
J. D
  • 11
  • 1