Exercises 1 WAMP Server Implementation and 3-Tier Architecture
Total Page:16
File Type:pdf, Size:1020Kb
STUDY IN ENGLISH STUDY IN ENGLISH Exercises 1 WAMP Server Implementation and 3-tier Architecture Nebojša Bačanin Džakula, PhD [email protected] Faculty of Technical Sciences, Singidunum University Cloud Computing 2019/20 www.study.singidunum.ac.rs STUDY IN ENGLISH Wamp server description • WampServer refers to a software stack for the Microsoft Windows operating system, created by Romain Bourdon and consisting of the Apache web server, OpenSSL for SSL support, MySQL database and PHP programming language STUDY IN ENGLISH Wamp server description • WAMP is an acronym that stands for Windows, Apache, MySQL, and PHP. It’s a software stack which means installing WAMP installs Apache, MySQL, and PHP on your operating system (Windows in the case of WAMP). • Even though you can install them separately, they are usually bundled up, and for a good reason too. • What’s good to know is that WAMP derives from LAMP (the L stands for Linux). The only difference between these two is that WAMP is used for Windows, while LAMP – for Linux based operating systems. STUDY IN ENGLISH WAMP server description • “W” stands for Windows, there’s also LAMP (for Linux) and MAMP (for Mac). • “A” stands for Apache. Apache is the server software that is responsible for serving web pages. When you request a page to be seen by you, Apache grants your request over HTTP and shows you the site. • “M” stands for MySQL. MySQL’s job is to be the database management system for your server. It stores all of the relevant information like your site’s content, user profiles, etc. • “P” stands for PHP. It’s the programming language that was used to write WordPress. It acts like glue for this whole software stack. PHP is running in conjunction with Apache and communicating with MySQL. STUDY IN ENGLISH Download link • Wamp Server can be very useful when testing 3-tier Web applications in local environment before publishing the app online • http://www.wampserver.com/en/ STUDY IN ENGLISH 3-tier Architecture - Overview • 3-tier application architecture is a modular client- server architecture that consists of a presentation tier, an application tier and a data tier. • The data tier stores information, the application tier handles logic and the presentation tier is a graphical user interface (GUI) that communicates with the other two tiers. • The three tiers are logical, not physical, and may or may not run on the same physical server. STUDY IN ENGLISH 3-tier Architecture - Overview • 3-tier architecture is comprised of three layers: • Presentation layer • Business logic layer and • The database (data, persistency) layer • 3-tier application programs may also be referred to as n-tier programs. In this context, the letter “n” stands for ‘a number of tiers.’ STUDY IN ENGLISH 3-tier Architecture - Overview • Presentation tier - This tier, which is built with HTML5, cascading style sheets (CSS) and JavaScript, is deployed to a computing device through a web browser or a web-based application. • The presentation tier communicates with the other tiers through application program interface (API) calls. STUDY IN ENGLISH 3-tier Architecture - Overview • Application tier - The application tier, which may also be referred to as the logic tier, is written in a programming language such as Java and contains the business logic that supports the application’s core functions. • The underlying application tier can either be hosted on distributed servers in the cloud or on a dedicated in-house server, depending on how much processing power the application requires. STUDY IN ENGLISH 3-tier Architecture - Overview • Data tier - The data tier consists of a database and a program for managing read and write access to a database. • This tier may also be referred to as the storage tier and can be hosted on-premises or in the cloud. • Popular database systems for managing read/write access include MySQL, PostgreSQL, Microsoft SQL Server and MongoDB. STUDY IN ENGLISH 3-tier Architecture - Benefits • The benefits of using a 3-layer architecture include improved horizontal scalability, performance and availability. • With three tiers, each part can be developed concurrently by different team of programmers coding in different languages from the other tier developers. • Because the programming for a tier can be changed or relocated without affecting the other tiers, the 3-tier model makes it easier for an enterprise or software packager to continually evolve an application as new needs and opportunities arise. • Existing applications or critical parts can be permanently or temporarily retained and encapsulated within the new tier of which it becomes a component. STUDY IN ENGLISH 3-tier Architecture – Visual Representation STUDY IN ENGLISH Exercise: Implementing WordPress on XAMPP server • Video material links (Part I and Part II): • https://www.youtube.com/watch?v=DLbZ9brX6io • https://www.youtube.com/watch?v=wquyAf0C6rg STUDY IN ENGLISH IMPORTANT NOTICE! Ova prezentacija je nekomercijalna. Slajdovi mogu da sadrže materijale preuzete sa Interneta, stručne i naučne građe, koji su zaštićeni Zakonom o autorskim i srodnim pravima. Ova prezentacija se može koristiti samo privremeno tokom usmenog izlaganja nastavnika u cilju informisanja i upućivanja studenata na dalji stručni, istraživački i naučni rad i u druge svrhe se ne sme koristiti – Član 44 - Dozvoljeno je bez dozvole autora i bez plaćanja autorske naknade za nekomercijalne svrhe nastave: (1) javno izvođenje ili predstavljanje objavljenih dela u obliku neposrednog poučavanja na nastavi; - ZAKON O AUTORSKOM I SRODNIM PRAVIMA ("Sl. glasnik RS", br. 104/2009 i 99/2011) ................................................................................................................................................................................. Nebojša Bačanin Džakula [email protected] 14 STUDY IN ENGLISH STUDY IN ENGLISH Exercises 1 WAMP Server Implementation and 3-tier Architecture Thank you for attention! Nebojša Bačanin Džakula, PhD [email protected] Faculty of Technical Sciences, Singidunum University Cloud Computing 2019/20 www.study.singidunum.ac.rs.