Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

architecture style question

Posted on 2007-12-05
4
Medium Priority
?
236 Views
Last Modified: 2013-11-07
Hi Guys,

A three tier archetecture involves a seperation of the presentation layer, the business logic and the database server.  

Currently, I on my web sites, I have only simple code on the web forms to accept and verify input data from the users.  I then seperate all of the business logic into classes that that execute like minded algorithims, and store like minded private data variables.  However, instead of using stored procedures, I just embed the sql in the classes to hit the database server.

Would this be considered a two tier type of architecture?

Any input is appreciated.

Thanks,

Ryan
0
Comment
Question by:dchau12
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 25

Expert Comment

by:imitchie
ID: 20417216
To me, that is still one tier - in that everything sits in your one application! But everyone has a different view on it.
Internally, since you embed SQL into your app, it's inherently married to the database server - there goes 1 tier.
At a stretch you can call it 2-tier
0
 

Author Comment

by:dchau12
ID: 20417226
So, if I used stored procedures, you would consider it two tier?  How could I then make it into a three tier app?
0
 
LVL 25

Accepted Solution

by:
imitchie earned 2000 total points
ID: 20417304
Using stored procedures means that the Business layer is moved (mostly) to the DB server. That is very clearly a different tier whether internally or externally.  The handover point is the Stored procedure parameters.
As for separation between presentation and model, you've already done that - as long as the input forms do nothing more than capture, and forward on to "model" classes.  i.e. you don't have all sorts of non-view/input capture related code in the forms.
0
 

Author Closing Comment

by:dchau12
ID: 31413052
Thanks.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…

721 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question