Questions tagged [presentation-layer]
80 questions
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
Separating BLL, PL and DAL in a web application
I have been given to develop a web application that can have multiple presentation layers, currently its on the web but soon to be on desktops and other platforms. So I searched around on how to do it best. I have found that its better to use a…

intoTHEwild
- 448
- 7
- 24
0
votes
0 answers
OSI Selectors, what are their values? C++
I'm working with IEC61850 standard. And at first time I faced OSI Selectors: Transport selector, Session selector and Presentation selector. I'm not interested in their physical meaning.
The task is to convert their values from parsing file (from…

Nika_Rika
- 613
- 2
- 6
- 29
0
votes
0 answers
Why Error Dialog Pattern Class interacts with Presentaion Layer objects?
I'm using a layered architecture.
Presentation Layer
Service Layer (Business Layer)
Domain Layer (where my domain entities reside)
Dao Layer
My problem is:
How can I handle exceptions using the Error Dialog Pattern.
My professor said, if my MVC…

Stefano
- 13
- 5
0
votes
0 answers
Maximum Column in a Table of Presentation layer Oracle
does anyone know what is the maximum number of columns that can be inserted in a presentation-layer in the Oracle administration tool?

Feder
- 3
- 4
0
votes
0 answers
Manage GUI and logic interaction in Python
I developed a big python project, that does specific tasks. Later on I decided to add a graphical user interface for it.
├── GUI
|
└── myScript
Let's say the GUI has a "Start" button. When clicking on it, we start the business logic that is located…

Gaston
- 185
- 8
0
votes
2 answers
Business Object is duplicating some properties for Presentation Layer
I have a Business Object (Domain Object) representing an employee's shift timings. Its name is EmployeeWorkShift.
using System;
namespace BusinessObjects
{
public class EmployeeWorkShift
{
public long EmployeeWorkShiftId { get; set; }
…

srh
- 1,661
- 4
- 30
- 57
0
votes
2 answers
Presentation Design Patterns
I've been studying and working with presentation design patterns for a while, and i have successfully impleneted design patterns like FrontController, MVP etc. for WebApps, and of course the MVC pattern and the ASP.NET MVC framework which is a great…

Nexus
- 968
- 1
- 12
- 31
0
votes
1 answer
Develop application layer which has no dependencies to Presentation Layer?
I am learning general development strategies but there are a lot question in my mind about them. One of them is about creating application layer which shouldn't have dependencies Presentation layer.
For example, in MVC application lets say we have…

AnyOne
- 931
- 2
- 12
- 40
0
votes
2 answers
ASP.NET, C# | How to use a method (and the returned value) with a controller?
I am working on a school project and I am stuck. I am trying to get some info from the user and calculate a few things with the inputted information from the user.
I had my code running, but my teacher told me I needed to replace the calculations to…
user14443684
0
votes
2 answers
Where should I create new entity - in presentation layer or not?
As I'm just learning all the fruits of Java and everything I wanted to find out one thing which was flying around in my mind for some time.
The code bellow is quick example of two methods in two different classes. First one is obviously a controller…

Rihards
- 10,241
- 14
- 58
- 78
0
votes
1 answer
Techniques for setting up a web application's presentation layer
I am working on a Ruby on Rails web application, although I guess it should not matter too much what my backend layer is.
I am currently evaluating ways for my application to elegantly handle the UI layer in terms of ease of use, ease of making…

Genadinik
- 18,153
- 63
- 185
- 284
0
votes
3 answers
Separating SQL reporting layer and presentation layer?
I'm using SQL Server Reporting Services. Most of my queries run as reports which are simply exported as PDF.
I'd like to know which type of calculations, if any, should done in the actual SQL query and which should be calculated using the SSRS IDE…

Gabe
- 5,113
- 11
- 55
- 88
0
votes
3 answers
.net: Introducing anonymous types in business layer?
I don't want to create a new class and decided to use anonymous type in order to send data from presentation layer to biz layer.
But my problem is how can I introduce an anonymous type in biz layer? I use Vb.Net 2008 and VS 2008.
EDIT
Actually, I…

odiseh
- 25,407
- 33
- 108
- 151
0
votes
1 answer
Time Zone in the View Layer
I'm writing my application with 'UTC' as the time zone. I have a timezone column for each user. I am going to use this value in the presentation layer. Date/time outputs and inputs will be using it.
I will also be presenting dates and times in the…

Sonny
- 8,204
- 7
- 63
- 134