PC Review


Reply
Thread Tools Rate Thread

Best Pratices to Develop three tier Web Site

 
 
Sam
Guest
Posts: n/a
 
      2nd Dec 2009
Hi,
I gonna develop a three-tier architecture application (web site):
- User Interface (flash,html,css, etc)
- Business Rules (c#,asp .net)
- Data Access Layer (sql server)

I have to develop the only last two tier (Data and Business) while the last
one tier is gonna develop by another person. So, how can I should organize
my work in order to join all works together?

I though someting like this:
Who is developing UI might create a "layout structure"(html and css, etc...)
while I can create Business rules method that are able to return
html(css,etc...) code?
Es.
<HTML>
<BODY>
<ul>
<li>Coffee</li>
<li>Tea</li>
<li>Milk</li>
....
****PUT here something like that in order to fill all information
<%object.getDATA(params[])%>
</ul>
</BODY>
</HTML>

Anyway, Which is the best pratice that should I use to organize my work?

Thanks.

 
Reply With Quote
 
 
 
 
Gregory A. Beamer
Guest
Posts: n/a
 
      2nd Dec 2009
"Sam" <(E-Mail Removed)> wrote in
news:82BB681E-D0CF-4EAC-B3F7-(E-Mail Removed):

> I have to develop the only last two tier (Data and Business) while the
> last one tier is gonna develop by another person. So, how can I should
> organize my work in order to join all works together?


First, don't think of it as a 3-tier app. The application is the logical
part in the middle. The database is separate as is the UI. Until you
make this paradigm shift, most of what I can write about this will fall
on deaf ears.

As for how to divide work and get it together, there are a couple of
things.

1. Determine how data resides in your application so you can mock up the
passing of data to build the UI while developing the app, in parallel to
the UI. Domain modeling is crucial.

2. The second thing to determine is how the "tiers" communicate, ie, the
contracts. Once you have contracts, you can easily mock up the other
"tiers".

3. Consider unit testing heavily on the app bits, as TDD concepts, with
a bit of Dependency Injection practice allow you to develop the logic.
This is not mandatory, but the practices work well on the application
section (ie, the middle tier) as you can fully take advantage of
mocking.

If this makes sense, you have a basic working model on how to divide the
"tiers" so each person can work.

One thing that generally happens is you end up with some sort of
translation layer from a data access technology to your domain models.
With EF 4.0, you can use POCO (plain old CLR objects), so if you bite
the bullet and run with the beta (there is a Go Live license), your data
guy can take care of the translation without extra bits.

Hope this makes sense and is useful.

Peace and Grace,

--
Gregory A. Beamer (MVP)

Twitter: @gbworld
Blog: http://gregorybeamer.spaces.live.com

*******************************************
| Think outside the box! |
*******************************************
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Microsoft Word 2003 - Two tier index repeates same top tier. Warren Postm4 Microsoft Word Document Management 3 6th Feb 2010 02:13 PM
How to develop a blog or personalized site with ASP.NET 2.0 RedHair Microsoft ASP .NET 6 3rd Feb 2006 07:38 PM
Looking For Members To Help Develop My Gaming Site JCB Windows XP Games 1 18th Dec 2005 07:13 AM
Re: how to develop an asp.net application to lock web-site to a particular computer? Michal A. Valasek Microsoft ASP .NET 1 9th Aug 2003 09:52 PM
Re: how to develop an asp.net application to lock web-site to a particular computer? MS News \(MS ILM\) Microsoft ASP .NET 0 9th Aug 2003 09:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:44 AM.