Questions tagged [presentation-layer]

80 questions
0
votes
7 answers

Three tier architecture

I have some questions about three tier architecture. how to implement an application in three tier architecture correctly? how to communicate between these tiers ? Is data tier completely equals to DBMS? (how about in a case if we use stored…
Sency
  • 2,818
  • 8
  • 42
  • 59
0
votes
1 answer

What is the best framework for web application without using web/app server?

I want to deploy an web application without using web server(Tomcat,Jboss etc.) like sonar/hudson does. What presentation framework is suitable for it which has JSP/Struts like capabilites?
Rakesh Goyal
  • 3,117
  • 8
  • 39
  • 69
0
votes
1 answer

Writing custom controls

HI Guys, I'm interested writing a set of custom controls (most likely in ASP.NET), was wondering what sort of guidelines I should follow. - Is there any generic requirements for UI controls that should be followed? - When writing documentation /…
Rubans
  • 4,188
  • 6
  • 40
  • 58
0
votes
0 answers

AVFoundation Import breaks Core Animation Code

After adding in the AVFoundation framework to my class this code breaks. Both lines where I get the position of the presentation layer of two views that are being animated with CAKeyFrameAnimation function fine and give no errors. As soon as I…
0
votes
2 answers

Separation of logic from presentation: HTTP variable names?

This could probably be considered an academic question, rather than a real world one - but throwing it out to see if anyone has any great ideas! We all know that keeping the business logic of an application separate from the presentation is a good…
0
votes
1 answer

try catch in presentation layer - best practice

I have a layered architecture application. All the error handling is done at business layer and data layer throws the error to business layer. Presentation layer shows this custom error to user. Along with that I have a common error page where the…
Dev
  • 309
  • 1
  • 8
  • 24
0
votes
1 answer

Is running an external document part of the presentation layer?

I have an application that creates an MS Word document and runs it. I'm trying to figure out which layer to put that code in. Would running the external document be part of the presentation layer or part of the business logic layer? One the one…
0
votes
2 answers

How best to implement support for multiple devices in a web application

My client would like a business application to support 'every possible device'. The application in question is essentially a web application and 'every possible device', I believe encompasses mobile phones, netbooks, ipad, other browser supporting…
Kabeer
  • 4,138
  • 7
  • 40
  • 62
0
votes
0 answers

Hide a column in GridView doesn't work in EF6

i create a model using EF6 . I want to invisible my column in Gridview window form using this code : [ScaffoldColumn(false)] [Display(AutoGenerateField = false)] public Nullable Date { get; set; } I used both of…
Ehsan Akbar
  • 6,977
  • 19
  • 96
  • 180
0
votes
1 answer

How can return a text based on value in database in EF6 using get method

I create a model using EF6 .My model is like this : public partial class Good { public Good() { this.InnoviceDetails = new HashSet(); } public int Id { get; set; } public string Serial { get; set; } …
Ehsan Akbar
  • 6,977
  • 19
  • 96
  • 180
0
votes
1 answer

How to get the position of oldest object made during animation?

I make every second a UIImageView of a french frie called FrenchFrie. I also let them move along the screen with an animation. -(void)FrenchFrieRain{ FrenchFrie = [[UIImageView alloc] initWithFrame:CGRectMake(randomX,0,30,30)]; …
MatisDS
  • 161
  • 6
0
votes
2 answers

Problems communicating Business Layer (JPA) with Presentation Layer (Netbeans 7.x)

I would like to develop a "database based" java desktop application in the following way: Develop the Data Access Layer (DAL) using JPA (POJOs generated by Netbeans 7.4) Develop the Business Layer (BL) (my own classes, controllers, etc.) Develop…
0
votes
1 answer

Service Layer DTOs - Large Complex Interactive Report-Like Objects

I have Meeting objects that form the basis of a scheduling system, of which gridviews are used to display the important information. This is for the purpose of scheduling employees to meetings, and for employees to view what has been scheduled. I…
0
votes
1 answer

Extension method output in Container.DataItem?

So I have an IList of business entities that I loop through in a ListView into an unordered list. I created an extension method on this Entity in my presentation layer. In code behind, I can Response.Write the result of this extension method, but…
EvilSyn
  • 2,412
  • 7
  • 24
  • 22
0
votes
1 answer

Presentation, Service and DAO layers relationships

I have thought a lot about this question, but couldn't found some clear answer on this: As I've understood at the last time, business layer should works only with model objects. It shouldn't know anything about how and from we fetched this data. It…