Presentation is loading. Please wait.

Presentation is loading. Please wait.

Jim Janson. Agenda Evolution of software architectures 3-tier User interfaces Application servers Databases.

Similar presentations


Presentation on theme: "Jim Janson. Agenda Evolution of software architectures 3-tier User interfaces Application servers Databases."— Presentation transcript:

1 Jim Janson

2 Agenda Evolution of software architectures 3-tier User interfaces Application servers Databases

3 In the beginning, there were mainframes…

4 Mainframe Architecture Advantages Simple deployment Secure Disadvantages Dumb terminals limited user interface All work performed on server

5 Client-Server Architecture

6 Client-server Architecture Advantages Richer user interfaces Processing off loaded to PCs Disadvantages Multiple copies of software; updates a problem Only so much horse power on a PC

7 3-Tier Architecture

8 Tier 1: the client contains the presentation logic “thin client” Tier 2: application server provides the business processes logic and the data access. Tier 3: the data server provides the business data.

9 3-Tier Architecture Easier to modify or replace any tier without affecting the other tiers. Separating the application and database functionality means better load balancing. Adequate security policies can be enforced within the server tiers without hindering the clients.

10 Thin Client = Web Browser User interface displayed in a web browser Top web browsers: Internet Explorer Firefox Safari Opera

11 Web Browsers All browsers interpret HTML and Javascript

12 Tools for Building Web Pages Dreamweaver Microsoft Expression Web Plus many free sites and tools

13 Extending the browser Active X Controls/Plug-ins Ability to support more than just HTML/Javascript Popular extensions: Flash Java Silverlight Some sites to look at: http://www.2advanced.com http://demo.northkingdom.com/ihuvudetpatoyota/index_en.html http://demo.northkingdom.com/ihuvudetpatoyota/index_en.html http://www.stat.sc.edu/~west/javahtml/Histogram.html

14 Middle tier Ties client to data Web server Serves web pages to browser Business logic Database access

15 Database Server Separate computer running database software Popular databases Oracle SQL Server MySQL PostgresSQL What’s SQL?

16 Databases Consist of tables Each table has columns and rows (records) Each column has different attributes UserIdFirstNameLastNameStreetCity 1AbbyWentworth3 Park PlaceBoston, MA 2PetePierce34 Glass AveBerlin, NH 3SamAdams17 First StFargo, ND

17 SQL create table USERS ( userid number(19,0) not null, firstname varchar(30), lastname varchar(30), street varchar(100), city varchar(40) );

18 Storing Information A table can store millions of records Don’t want to duplicate information Use multiple tables Common information in a table

19 Scenario Track purchases at a web site User must create an account User logs in with account to purchase

20 Users Table Purchases UserIdFirstNameLastNameStreetCity 1AbbyWentworth3 Park PlaceBoston, MA 2PetePierce34 Glass AveBerlin, NH 3SamAdams17 First StFargo, ND PurchaseIdDateItemPriceUserId 423407/11/2009Book19.951 423509/04/2009Wii249.953 423610/21/2009Rock Band49.953

21 Data mining Data mining is the process of extracting patterns from data. Predict trends and behaviors Discover unknown patterns Use in sales Google flu trends http://www.google.org/flutrends/intl/en_us/


Download ppt "Jim Janson. Agenda Evolution of software architectures 3-tier User interfaces Application servers Databases."

Similar presentations


Ads by Google