Creating Pages for our Web App

  • Thread starter Thread starter Trex
  • Start date Start date
T

Trex

My question is on the design of a web app...let's say I was tracking
requests for something and I wanted my web app to show information about the
different requests in the system. A list of pending requests, approved
requests, completed, etc & so on. Do most asp.net developers create a page
for each request?

pendingRequests.aspx
approvedRequests.aspx
CompletedRequests.aspx

etc.

Or

Request.aspx?type=1
Request.aspx?type=2
Request.aspx?type=3

what decisions are you making to decide which direction you go?

Regards,
Trex
 
From the developer standpoint it would be better to have just one page and
filter the information that the user wanna see. Is much better to mantain
one page instead of three.
 
That may depend on the complexity of the business logic involved!!!
And also the gui complexity and differences between the types of 'Requests'.

If the gui & business logic is simple enough, using one page would be my
preferred option.

On the otherhand, if the gui & business logic requirements cause my code to
become long and complicated,
i tend to break it down & implement some sort of separation (ie: different
files)

This could just be a matter of preference though!

Cheers,
Adam
 
Thanks to you both...I kind of thought it was preference but I certainly
understand how it depends on the logic and similarities of the different
views.

Trex
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top