Questions tagged [layered]
117 questions
3
votes
1 answer
Application service layer method to get view form catalog data
I'm trying to use a layered pattern and DDD. But I can't find where should I load the catalogs used to populate comboboxes and listboxes in an edit view of a single model entity. Should I create a single method in the application service layer to…

Guillermo Gutiérrez
- 17,273
- 17
- 89
- 116
2
votes
3 answers
How to create the following user interface?
A customer has asked for a user interface which combines a number of different elements. It's basically a list. Selecting an entry in the list causes a dialog to expand in-place:
Item 1
Item 2
Item 3
After selecting Item 2
Item…

Paul H.
- 158
- 8
2
votes
2 answers
Is it a good practice to implement Transactions in the Business Layer
We are looking at implementing transactions in our ASP.NET web application. Its a three layered architecture.
We are calling Web Services from the Business Layer and are planning to implement transactions in the Web service by setting the…

hangar18
- 638
- 1
- 9
- 21
2
votes
1 answer
How to use a FileSystemWatcher in a layered architecture?
Perhaps I am looking into the wrong architecture all together. If we assume that we have the UI, application, domain and infrastructure layers, what would be a good way to represent a file system watcher? My application essentially wants to get new…

Patrick Christie
- 51
- 3
2
votes
0 answers
Fully transparent window with opaque elements in SDL 2
I am trying to create an SDL window which is by itself fully transparent, but when an image is rendered onto it, the image is fully opaque and the alpha channel of the image is conserved (so the transparent pixels of the image remain transparent).…

Yamiko Hikari
- 77
- 7
2
votes
1 answer
ROS Navigation: Local costmap doesn't work with custom layer
I'm dealing with ros-navigation and its integrated layered costmaps. I have a static map in which obstacles from an occupancy grid need to be inserted. Since Obstacle Layer only can handle specific data (pointclouds from laser scanners etc.) and is…

MFAU
- 143
- 3
- 11
2
votes
0 answers
Need help with scraping layered windows
I'm trying to scrape (take a screen shot) a layered window and it doesn't seem work correctly. Some layered windows are working fine and some are not. Below is how I'm doing this:
IntPtr display_dc = GetDC(IntPtr.Zero);
IntPtr bitmap_dc =…

Nadine
- 93
- 4
2
votes
1 answer
Magento2 - Category Filter not working with Amasty Layered Navigation after Magento2 Migration (2.2)
Category Filter not working with Amasty Layered Navigation after Magento2 Migration (2.2). Others attributes filter working fine except category.

Nadim
- 41
- 1
- 7
2
votes
2 answers
How to create and use a 1D layered texture in CUDA
I am new to CUDA. I have figured out how to do 1D and 2D textures in CUDA. However, I am struggling with how to use a 1D layered texture. The output of my kernel which uses the texture is all zeros, which is definitely incorrect. However, I am not…

Rehman Ali
- 51
- 3
2
votes
7 answers
3-Layer Architecture Pattern
Is it OK to implement BLL and DAL using partial class this way:
namespace BLL
{
partial class Employee
{
public string EmpID { get; set; }
public string EmpName { get; set; }
public List GetListOfEmployees()
{
…

CSharpNoob
- 1,271
- 7
- 18
- 27
2
votes
3 answers
programming language with granular method and property access
imagine something like this:
import class B.*;
interface A supports A.testSum
{
int sum( int a , int b ) access from B.calculator;
testSum() { Assert(sum(1,1)==2); }
........
class B ...
{
void calculator() { A.sum(3,5); //ok }
void…

lurscher
- 25,930
- 29
- 122
- 185
2
votes
1 answer
Mapping from presentation layer to backend the generic way
I have a web application (webforms) with layered tiers (presentation-BLL(service)-DAL and repositories with entity framework, and doing it all the generic way.
The system function very well, but the problem is that I am exposing domain objects right…

Finn Christensen
- 91
- 1
- 10
2
votes
1 answer
how to add hide out of stock filter (layered navigation) in magento?
I am trying to add a custom filter in layered navigation to hide out of stock items.
I tried this way How can I implement stock filter in Magento way? and other ways but I did not succeed :(
Please anybody can help me?
Regards

Jonay Galván
- 21
- 1
- 3
2
votes
1 answer
Syntax error
I'm trying to customize magento's price layered navigation ala this thread:
http://www.magentocommerce.com/boards/viewthread/65135/P15/#t278667
But when I copied and pasted his code I'm running into an error, see code below.
Any ideas?
protected…

Matt
- 43
- 2
- 5
2
votes
1 answer
Magento 1.7 How to use categories as filters?
Sorry for my bad english.
I've tried to find, witouth success, how to use existing categories as filters.
So it would let to filter products by all the categories they belong to.
Exemple, I've 3 categories : "brands", "sports" and "categories".
I…

user1745154
- 41
- 3
- 8