Exercises 1 WAMP Server Implementation and 3-Tier Architecture

Total Page:16

File Type:pdf, Size:1020Kb

Exercises 1 WAMP Server Implementation and 3-Tier Architecture 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.
Recommended publications
  • XAMPP-Chapter
    The following is a sample chapter from the upcoming Understanding MySQL and MariaDB, coming in 2020 from Andrew Comeau and Comeau Software Solutions. If you enjoy this preview, please check back at ComeauSoftware.com for more details and updates on anticipated release dates. https://www.comeausoftware.com/understanding-mysql-and-mariadb/ All material, Copyright 2019 – Andrew Comeau 3 Installing MariaDB with XAMPP Using MariaDB as part of a suite of web development tools In This Lesson … • Understand the purpose of an Apache - MySQL - PHP (AMP) software stack • Recognize the variations in AMP stack packages available for download • Install an AMP stack for use in developing databases and hosting web applications What is an AMP Stack? As powerful as MySQL is, it's rarely used on its own. Most developers will want additional tools such as programming languages and interface tools to escape the tedium of working on the command line all the time. This is one of the reasons that MySQL is often used in combination with other tools that will enable the design of user-friendly sites. This means either creating or downloading a ready-made AMP stack. AMP usually stands for "Apache-MySQL-PHP" although the P might also stand for Perl or Python. In general, it simply refers to one or more programming languages that are included with the software stack. An AMP stack is called a stack because each tool within it addresses a different aspect of database and web development and helps support the others. • Apache is a web server - software that can respond to requests for pages and other content within a website.
    [Show full text]
  • EOP ASSIST 4.0 Installation Manual
    EOP ASSIST 4.0: A Software Application for K-12 Schools, School Districts, Regional Education Agencies, and State Agencies Installation Manual Updated August 2017 EOP ASSIST 4.0 Installation Manual Table of Contents Table of Contents ...............................................................................................................................1 Chapter 1: Overview ..........................................................................................................................4 Chapter 2: Technical Requirements ....................................................................................................5 Expertise Requirements of IT Personnel ................................................................................................... 5 Server Requirements ................................................................................................................................ 5 Operating System .................................................................................................................................. 5 Web Server Software ............................................................................................................................ 6 Relational Database Management System .......................................................................................... 7 Scripting Language ............................................................................................................................... 7 Configuration Requirements ....................................................................................................................
    [Show full text]
  • Installation of Wordpress System Requirements for Wordpress
    ITEC321 - Administering Web-based Content Management System Installation of WordPress System requirements for WordPress Database: MySQL 5.0 + Web Server : WAMP (Windows) , LAMP (Linux), XAMP (Multi-platform), MAMP (Macintosh), Operating System − Cross-platform Browser Support : IE (Internet Explorer 8+), Firefox, Google chrome, Safari, Opera PHP Compatibility: PHP 5.2+ How to Install WordPress on your Windows Computer Using WAMP Step 1. Installing WAMP on Windows Computer First, you need to download the WAMP software and install it on your computer. Simply go to the WampServer website and click on the ‘Start Using WampServer’ button. http://www.wampserver.com/en/ It will take you to the downloads section. You’ll see two versions here: WampServer 32 bits and WampServer 64 bits. You need to select the WampServer version that matches the operating system type of your Windows computer. To find out whether you are using 32 or 64-bit operating system, go to Control Panel » System and Security » System in your computer. There you will be able to see your operating system type. Once downloaded, you can click on the wampserver execution file to run the installation. Make sure that you carefully follow the instructions on the installation screen. During the installation process, you need to define the location for the web browser. By default, it will be Internet Explorer. You can change that to Google Chrome or any other web browser by locating it in the Program Files of your computer. Once installed, you can launch the WampServer to continue. Step 2. Setting Up a Database for Local WordPress Setup Next thing you need to do is to create a blank MySQL database.
    [Show full text]
  • Windows Development Environment
    A P P E N D I X A ■ ■ ■ Windows Development Environment For those developers who spend most of their coding time with Microsoft development tools, the world of *nix is probably a scary place. Drupal is written for the so-called LAMP stack, "Linux/Apache/MySQL/ PHP." While it is possible to substitute Windows for Linux, it is a bit more difficult to substitute IIS for Apache, and even harder to substitute SQL Server for MySQL. And don’t even think about replacing PHP with C# or Visual Basic. This appendix provides a step-by-step tutorial for setting up a debugging environment on your Windows workstation. My goal was to duplicate the development environment of Visual Studio, and this set-up gets about as close as you can. Old habits die hard, and if you’re like me you’ve got some. I’ve been using a Windows-based computer since Windows was first available as an application that ran under DOS. As with most technologies, Windows and I have a love-hate relationship, but for some reason I keep coming back. Visual Studio is the perfect development environment. My development editor of choice was once VEdit, an emacs-style editor. I reluctantly switched to Visual Studio to do Visual Basic 6 programming, and learned to love IntelliSense. With Visual Studio 2010 and the .NET reflection-based IntelliSense, I can’t imagine coding without it. After the Windows Vista debacle, I seriously considered switching to Ubuntu or Macintosh. If Microsoft couldn’t get its core operating system right, how long would it be until everything else suffered? Windows 7 changed my mind.
    [Show full text]
  • ASP.NET & PHP Master Thesis in Software Engineering
    Comparison of Web Development Technologies ‐ ASP.NET & PHP Master Thesis in Software Engineering Author: Ramesh Nagilla ([email protected]) Supervisor: Frank Lüders ([email protected]) Examiner: Kristina Lundqvist ([email protected]) 1 Abstract Web applications play an important role for many business purpose activities in the modern world. It has become a platform for the companies to fulfil the needs of their business. In this situation, Web technologies that are useful in developing these kinds of applications become an important aspect. Many Web technologies like Hypertext Preprocessor (PHP), Active Server Pages (ASP.NET), Cold Fusion Markup Language (CFML), Java, Python, and Ruby on Rails are available in the market. All these technologies are useful to achieve the goals of Clients and business organizations. ASP.NET and PHP are the most competing out of all the technologies. Most of the companies and developers think that one is better than other. The main aim of this thesis is done by taking this point in to the consideration. A Photo Gallery application is developed using ASP.NET and PHP in order to compare the two Web development technologies. Many points are taken in to consideration in order to differentiate them and conclude which one is the better among the two technologies. 2 Acknowledgements I would like to thank my supervisor Frank Luders for his constant help, support and guidance during this thesis work. I also would like to thank my friends who have given me enough strength and support during this thesis. 3 Table of Contents 1. Introduction ........................................................................................................................................................ 8 1.1 Purpose of the document ..............................................................................................................
    [Show full text]
  • Axis Store Data Manager User Manual
    AXIS Store Data Manager User Manual AXIS Store Data Manager Solution overview Solution overview An overview of the different products, applications, and tools needed for a complete system. 2 AXIS Store Data Manager AXIS Store Data Manager AXIS Store Data Manager Note This manual covers the locally installed version of AXIS Store Data Manager. To find out more about the hosted online solution, go to the manual for AXIS Store Reporter that includes AXIS Store Data Manager. AXIS Store Data Manager is a data hub that collects and arranges statistical data. To interpret the statistical data, use the tool in combination with AXIS Store Reporter or a third-party reporting tool. Who’s it for? AXIS Store Data Manager is typically for the integrator, who manages the cameras and sets up the system. The tool can be used for a single company as well as for several companies. 3 AXIS Store Data Manager Installation Installation System requirements AXIS Store Data Manager uses open source web server software. Supported operating systems • Microsoft Windows 7 or later • Ubuntu 8.04 or higher (Ubuntu 16.04 and later does not include PHP5, and MySQL5) • Debian 5.0 or higher (Debian 9 (Stretch) does not include PHP5 and MySQL5) Supported web browser clients • Firefox® • ChromeTM • Internet Explorer® 9.0 or higher (or equivalent browser) Required software packages Before you can use the locally installed AXIS Store Data Manager, you need to install the software packages Apache, PHP and MySQL. See Install the required software packages on page 4 . • PHP 5.4 to 5.6.
    [Show full text]
  • Automic How to Install & Configure Apache on Windows
    Automic How to Install & Configure Apache on Windows Apache Configuration on Windows for Application Manger Installation Guide and Notes Copyright © 2007 Automic Software, Inc. All Rights Reserved. Printed in USA Restricted Rights Legend Use, duplication, or disclosure of the Programs is subject to restrictions stated in your contract with Automic Software. Use, duplication, or disclosure of the Programs by Government is subject to restrictions for commercial computer software and the Programs shall be deemed to be licensed with Restricted Rights under Federal Law. The information contained in this document is subject to change without notice. Automic Software does not warrant that this documentation is error-free. If you find errors in this document, please contact Automic Software Documentation. Automic is a registered trademark of Automic Software. All other product names and services identified throughout this book are trademarks or registered trademarks of their respective companies. Automic Software, Inc. 14475 NE 24th Street Bellevue, WA 98007 USA Tel: +1.(425).644.2121 Fax: +1.(425).644.2266 Email: office.us(at)Automic.com Automic Software GmbH c/o SAP PartnerPort Walldorf Altrottstrasse 31 69190 Walldorf/Baden Germany Tel: +49.(0)6227.381.180 Fax: +49.(0)6227.381.200 Email: office.wdf(at)Automic.com Prepared by: Souny Barati Title : Sr Consultant at CA-Automic Software Inc. Date: September 13, 2017 Souny Barati 2 Table of Contents Apache for Application Manager v9.x..........................................................................................4
    [Show full text]
  • Databases: Mysql Introduction
    Databases: MySQL Introduction Databases: MySQL introduction How to Use this User Guide This handbook accompanies the taught sessions for the course. Each section contains a brief overview of a topic for your reference and then one or more exercises. Exercises are arranged as follows: A title and brief overview of the tasks to be carried out; A numbered set of tasks, together with a brief description of each; A numbered set of detailed steps that will achieve each task. Some exercises, particularly those within the same section, assume that you have completed earlier exercises. Your teacher will direct you to the location of files that are needed for the exercises. If you have any problems with the text or the exercises, please ask the teacher or one of the demonstrators for help. This book includes plenty of exercise activities – more than can usually be completed during the hands-on sessions of the course. You should select some to try during the course, while the teacher and demonstrator(s) are around to guide you. Later, you may attend follow-up sessions at IT Learning Programme (ITLP) called Computer8, where you can continue work on the exercises, with some support from IT teachers. Other exercises are for you to try on your own, as a reminder or an extension of the work done during the course. Text Conventions A number of conventions are used to help you to be clear about what you need to do in each step of a task. In general, the word press indicates you need to press a key on the keyboard.
    [Show full text]
  • Setting up a WAMP Server on Your Windows Desktop INTRODUCTION
    Setting Up A WAMP Server On Your Windows Desktop David Ipswich September 2011 Published by Technology Now at Smashwords Copyright 2011 David Ipswich Smashwords Edition, License Notes Thank you for downloading this free ebook. You are welcome to share it with your friends. This book may be reproduced, copied and distributed for non-commercial purposes provided the book remains in its complete original form. If you enjoyed this book, please return to Smashwords.com to discover other works by this author. Thank you for your support. ~~~~~~~~~~~~~~~~~~~~~~~~~~ Table of Contents Introduction Obtaining the Resources Installing the Server Software Launching Your Server Creating Your First Home Page Your First PHP Database The Server Menu Where To Next About the Author INTRODUCTION There are many reasons for setting up a website on your own computer first, and only actually putting it online once you're really happy with it. Some of the reasons for having a desktop server are: EVERONE who creates a website makes mistakes. None of us are perfect. Don't go 'live' until your site is completely finished, and you are fully happy with it. If you make mistakes on a 'live' website, the Google-bot will index those pages, but when it returns later (after you've deleted the offending pages) it won't be able to find them. This will make the Google-bot wary of indexing future pages. You don't want to upset Google, so make sure your mistakes are made in private! Take the opportunity of trying things out. Do you want one column, 2 columns or 3 columns? Do you
    [Show full text]
  • Chapter 2. Setting up a Web Server
    Web Servers Chapter 2. Setting up a Web Server Table of Contents 2.1 Wampserver and Apache HTTP on Windows............................................................................................. 1 2.1.1 Requirements ................................................................................................................................ 1 2.1.2 Installing Wampserver.................................................................................................................. 2 2.1.3 Setting up Server Passwords ........................................................................................................ 3 2.1.4 Testing Applications ..................................................................................................................... 5 2.2 Apache Tomcat on Windows ...................................................................................................................... 6 2.2.1 Requirements ................................................................................................................................ 6 2.2.2 Tomcat Setup ................................................................................................................................ 7 2.2.3 Testing Applications ................................................................................................................... 10 2.3 Lampserver and Apache HTTP on Ubuntu 15.04 ..................................................................................... 10 2.3.1 Requirements .............................................................................................................................
    [Show full text]
  • EOP ASSIST: Installation Manual
    EOP ASSIST: A Software Application For K-12 Schools and School Districts Installation Manual Updated September 2015 EOP ASSIST Installation Manual Table of Contents Chapter 1: Overview ..........................................................................................................................3 Chapter 2: General Installation Considerations ...................................................................................4 Expertise Requirements of IT Personnel ................................................................................................... 4 Server Requirements ................................................................................................................................ 4 PHP ........................................................................................................................................................ 4 Database Systems ................................................................................................................................. 5 Web Servers .......................................................................................................................................... 5 Connectivity .............................................................................................................................................. 5 Chapter 3: Installation Instructions .....................................................................................................6 Set Up a Web Server Environment of Choice ..........................................................................................
    [Show full text]
  • HTML, PHP and Mysql
    HTML, PHP and MySQL "PHP is an HTML-embedded scripting language. Much of its syntax is borrowed from C, Java and Perl with a couple of unique PHP-specific features thrown in. The goal of the language is to allow web developers to write dynamically generated pages quickly." -php.net HTML Although, most of you probably have extensive HTML work. Here's a quick refresher. Here's an example of a typical html. <html> <head> <title>My WebPage!</title> </head> <body> Hello World! </body> </html> <html> begins and ends each and every web page. Its sole purpose is to encapsulate all the HTML code and describe the HTML document to the web browser. Remember to close your HTML documents with the corresponding </html> tag at the bottom of the document. The head functions "behind the scenes." Tags placed within the head element are not directly displayed by web browsers. If you decide to use other elements for scripting (Javascript) and formatting (CSS), they will be placed within your head element. The words you write between the opening and closing <title></title> tags will be displayed at the top of a viewer's browser. For now, that's all we'll need to begin building our php program. Easy, yes, just remember this simple html format and don't forget to close your tags. What is PHP? PHP is an interpreted scripting language that allows a web server to create dynamic web pages or web services. It is a back-end server technology. You use PHP to generate HTML programmatically before it is sent by the web server to a requesting client browser.
    [Show full text]