Questions tagged [presentation-layer]
80 questions
3
votes
2 answers
best way to reference business objects from presentation layer..?
I want to develop an enterprise app that includes a WindowsForms presentation layer, middle-tier components for business logic and data access, and a MsSQL Server database. Middle-tier components should contain some business objects and will be…

vts123
- 1,736
- 6
- 27
- 41
3
votes
1 answer
New Presentation Layer for Webapplication
we've got an existing webapplication written in magic. But now we eventually want to exchange the existing web-presentation layer (maybe also rich client) to a server side presentation layer. What do you think I should look first (ASP.Net MVC,…

Steffen Schindler
- 785
- 7
- 20
3
votes
3 answers
Presentation technology for multiple devices
Our application is supposed to serve multiple devices, from simple to smart-phones, IPhones, touch-screens to normal browsers.
Application is layered, so we can reuse the business and persistence layer.
However, we would like to program single…

Dan
- 11,077
- 20
- 84
- 119
2
votes
0 answers
Layer size/bounds during a core animation
I am working on a Mac app for Mac OS X 10.6+ and need to redraw the contents of a CAOpenGLLayer while an animation is occurring. I think I've read up on all the necessary parts, but it is just not working for me. I set up the animation as…

btschumy
- 1,435
- 1
- 18
- 35
2
votes
0 answers
How to fix 2 columns(First and last) present in gridview, and moving columns present in between?
I am working with ASP.net 4.0 version. I want to create UI as shown in below image.
However I am not sure about controls that I am using are suitable for this UI or not. I am using data repeater control for all collapsible row. Is that correct?…

TAdhav
- 661
- 10
- 19
2
votes
1 answer
Using business object in presentation layer
In a 3-Layer application, from better design/architecture point of view, can/should i instantiate a business class (which resides in Business Layer) in Presentation Layer? I mean, is that a bad practice? If so, then what are ways to refer to any…

atiyar
- 7,762
- 6
- 34
- 75
2
votes
1 answer
How to construct clean presentation layer on iOS app
I make an app with DDD
I’m able to make clean domain layer which domains are clearly separated from other layers.
But Controllers on presentations layer are mess.
ViewControllers have multiple responsibilities
even though domain is successfully…

Bigair
- 1,452
- 3
- 15
- 42
2
votes
3 answers
Presentation layer / Public Services layer. A common term?
While defining our application architecture (which contains both web UI and external web services) we stumbled upon our inability to find a common name for the topmost layer.
It is quite clear that there are DAL (data access layer) and BLL (business…

Dmytro Shevchenko
- 33,431
- 6
- 51
- 67
2
votes
9 answers
Is there any other strongly-integrated presentation layer tool other than JSF/JSP for Java EE?
I'm teaching Java EE at the university, and this was a question a student asked. I said "no", but I wasn't really sure, so I thought I might ask you mighty developers. :)
Basically, what I'd like to do is to use entities if they were in my context:…
Zoltan
2
votes
1 answer
In DDD and CQRS, should I just put the required presentation logic directly into each Read (Finder) query?
I'm trying to decide the best place to take care of presentation logic. I've separated out my Read queries (CQRS) with each method querying and generating a DTO for my View. But my Views are simply templates with variables scattered about that will…

prograhammer
- 20,132
- 13
- 91
- 118
2
votes
1 answer
Get UIImageView rotation value in Swift
I'm trying to rewrite an iOS project in Objective-C to Swift in Xcode 6.1 but I can't "translate" this Objective-C line :
CGFloat imageRotation = [[self.imageView valueForKeyPath:@"layer.presentationLayer.transform.rotation.z"] floatValue];
How can…

Laurent B.
- 25
- 4
2
votes
1 answer
best practices for design of database tables for storing urls on web page
Direct Question:
What are best practices for design of database tables for storing urls configured on a page.
Our use case:
We had a design discussion and were unable to conclude on a what is the correct design. We
are writing a page with URLs…

Aman Deep Gautam
- 8,091
- 21
- 74
- 130
2
votes
2 answers
How to remove a calculation from the presentation
I am working on a system that generates emails from a template. Templates have been supplied by the business, and they contain a line of code similar to this one:
Thank you for your payment of…

KerSplosh
- 466
- 8
- 26
1
vote
3 answers
Simple Elegant pattern to separate Data Access, Business logic and presentation
I need a simple pattern to do the above.
Few things to note:
1) I have a class that I am obliged to use that does the actual data retrieving and it return DataTable
2) I am not concerned with the generic interfaces that support all possible…

sarsnake
- 26,667
- 58
- 180
- 286
1
vote
0 answers
Catching exceptions from list of objects bound to DataGridView
I am working on a project where the concerns are divided into 3 layers (Presentation, Business Logic and Data Access). Using exception bubbling, I am able to pass exceptions from one layer to another until I can finally catch it and display a…

Marius_Hawk
- 23
- 4