You are on page 1of 18

Data System: PHP 1

Data System: (PHP)

Students Name

Institutional Affiliation

Course Title

Professor’s Name
Data System: PHP 2

Data System: (PHP)

Task 1:

a) What is the most popular server programming language?

The term "server-side language" refers to a set of programming languages designed

specifically for use in server-based computation (w3schools.com. (n.d.)). This data is graphically

shown on the website https://githut.info/, which claims that JavaScript and PHP are the most

widely used programming languages.

Choosing the ideal server programming language might be challenging since you need to think

about the type of product you're building (w3schools.com. (n.d.)). Some online resources and

tools provide compiled and ranked lists of the most commonly spoken languages in the world.

Several languages, including Java Script, PHP, Java, C++, Python, Ruby, and many

more, are suitable for server-side programming (Marsic.,2012). However, PHP has become the

de facto standard for server-side development. For a long time, PHP has been the de facto
Data System: PHP 3

standard for backend server programming. Seventy-nine percent or more of all websites are built

with PHP, a server-side programming language.

Applications and systems which runs on PHP are,

o Web pages with a lot of room for personalization and plenty of moving parts

o Excellently designed user interfaces.

o E-commerce platforms, or systems, that accept payments made over the Internet.

o Helpful Resources for Project Managers

o Creating scripts and other practical software.

b) Can you find which web application or online systems are programmed with PHP?

The Hypertext Processor Language, or PHP for short, is a server-side scripting language that

is open source and may be used for more than just building websites (w3schools.com. (n.d.)).

Since its initial public unveiling in 2004, when it was utilized by more than 200,000,000

websites, it has received widespread adoption (Marsic.,2012). Among such resources is

https://techstacks.io/, which provides details on PHP-based software development. Facebook,

Yahoo, Wikipedia, and WordPress, to mention a few, are just a handful of the many popular

websites that rely on PHP.

As an interpreted script language, PHP frequently need an interpreter before it can be used to

carry out its instructions (Alsuhaym et al., 2021). This makes it a great choice for server-side

programming, which includes all the tasks that servers perform automatically when a website is

being built.

c) What are some of the advanced features of PHP?


Data System: PHP 4

The following paragraphs provide some supplementary data that should aid in your

understanding of the text.

o PHP is a widely used programming language due of its accessibility and speed.

o This language works equally well on both Windows and UNIX-based computers.

o Startups, advertising apps, small software companies, and media firms are just few of the

industries that rely heavily on PHP (Alsuhaym et al., 2021).

o It's possible to include the language straight into HTML.

As a result of the proliferation of malevolent hackers, data breaches, and the loss of client

information, the use of server-side programming has increased in popularity in recent years.

Task 2:

PHP: Hypertext Preprocessor (PHP) is a free, highly popular, open-source scripting language.

PHP scripts are executed on the server.

Just a short list of what PHP is capable of:

- Generating dynamic page content

- Creating, opening, reading, writing, deleting, and closing files on the server

- Collecting form data

- Adding, deleting, and modifying information stored in your database

- controlling user-access

- encrypting data

- and much more!


Data System: PHP 5

Before starting this tutorial, you should have a basic understanding of HTML.

PHP runs on numerous, varying platforms, including Windows, Linux, Unix, Mac OS X, and so

on. PHP is compatible with almost any modern server, such as Apache, IIS, and more

(w3schools.com. (n.d.)). PHP supports a wide range of databases. PHP is free!


Data System: PHP 6

Your task is to complete the following sections:

Module 1: Basic Syntax

Module 2: Variables
Data System: PHP 7

Module 3: Operators

Task 3:

Answer the following, based on Tasks 1 and 2:

a) Describe any feedback you received or any specific interactions you had.

All the insightful conversations and insightful comments that have inspired me to become

more proficient with PHP and its associated development tools (w3schools.com. (n.d.)). They've

been very honest about my work's strengths and flaws. So that I may maintain or increase my

standing in the industry, they help me fix the problems that have shown up in my code or at my

job (Marsic.,2012). They aid me in expanding my knowledge of programming and possibly other

subjects as well.
Data System: PHP 8

b) Discuss how they were helpful. Describe your feelings and attitudes. What surprised

me or caused me to wonder?

In my current state of mind, the issue is looking quite good. No of what I'm doing at the

moment, my mindset is always one of active learning. If you know me at all, you won't be

surprised to hear that I'm eager to increase my knowledge of PHP and other programming

languages. The language is quite effective and useful. Today, I was able to learn several skills

that will come in handy later on when I have to complete a more extensive testing project

(Alsuhaym et al., 2021). Within the context of a method from a different class, I can make use of

the call method. I can now make a constructor that takes in parameters.

c) What happened that felt particularly challenging? Why was it challenging to me?

When I first started working with PHP, I was surprised by how much I could accomplish and

how intuitive the interface was. With their help, I am confident that I will be able to have a

meaningful impact on the world. I can't change what happens, therefore I have to deal with new

difficulties every day (Bell., 2004). There is, however, that one thing that does occur.

Understanding that my character will strengthen as a direct result of my participation in these

trying circumstances makes them all the more difficult to endure. They can make it so that

anything negative doesn't happen to me.

d) What skills and knowledge do I recognize that I am gaining?

There is little doubt that PHP is the most widely used server-side language today, but Node.js

is making rapid strides toward parity. Many popular websites, such as Facebook and Wikipedia,

are built with the help of PHP. It's estimated that 80 percent of all websites run on PHP

(https://www.w3schools.com/php/php intro.asp) (Ambler., 2018). As a result of its


Data System: PHP 9

groundbreaking contributions, PHP has become the dominant language for server-side

development.

e) What am I realizing about myself as a learner?

Recently, I've gained a deeper understanding of how to create an argument-accepting

constructor. personal information feed created for each user (Bell., 2003). Altering a website's

visual style with server-side scripting is achievable without impacting its functioning.

f) In what ways am I able to apply the ideas and concepts gained to my own experience?

Here is a partial summary of the many situations in which I have been able to put my

newfound knowledge to use:

o Such insights are exactly the kind I hope to put to use in my professional and personal

life.

o I'll be sure to share the information and thoughts mentioned in this article with my

colleagues and friends.

o As I walk, I plan to jot down any insights or observations that come to me.

Task 4:

Answer the following:

a) What is the difference between a scenario and a use case?

"A use case is a detailed description of the desired outcome of a technological

implementation within the framework of a business. A use-case will outline this process by

specifying the various external entities and persons who must interact with the system in order to

accomplish the business goal. The use case will additionally specify the system's interactions
Data System: PHP 10

with the aforementioned parties "(Ambler., 2018). Even so, one illustration is: "a detailed

explanation of how the system plans to carry out a particular business activity in order to meet

the predetermined standards. Whereas scenario is a detailed list of the steps involved in a

procedure (along with the persons who are involved in each step). But scenarios are far more

general than use cases ".

b) When do you use each construct?

The purpose of both scenarios and use cases is to depict the dynamic relationship between a

solution and an actor (something that helps the actor achieve their goals or solve a problem)

(Bell., 2004).

Example of when we use each construct

Accessing your bank account information and making other transactions, such requesting a

statement, through a mobile app is one such instance. It is structured as a sequence of operations.

o The client launches the app and enters their proper login information.

o In order to ensure the customer's identity, the banking system uses a verification process.

o The user may then use the app to submit a request for an account statement (Bell., 2003).

o System prompts user to specify billing cycle end and start dates for statements.

o Automatically, the system confirms the transaction and emails a receipt.

o The buyer finally logs out of their account.

Explain with the help of 1-2 suitable examples.

In the preceding situation, the customer successfully deployed a feature for which the

system was designed (FIRAT et al., 2018). The system is designed to request further
Data System: PHP 11

authentication from the user, such as a recovery question or a one-time code, in the case that the

user enters an erroneous login and password, for example.

Task 5:

a) Identify the actors for the system and their goals.

An actor in this system is anything, human or machine, that initiates motion of the garage door

and its parts. Some of them are:

o User (the owner or other person who would use the garage): Whether from inside or

outside the house, the user's mission is to open and close the garage door.

o The Motion Detector: When a moving item is detected within the range of the motion

detector, it activates a sensor, which in turn lights a lamp (Ambler., 2018).

o The Timer: When the user leaves the detecting area, the timer is supposed to shut off the

light.

o The Electric Eye Sensor: The purpose of this system is to identify if a human or moving

item passes under the garage door when it is closing (Bell., 2004). Its job then is to turn

the garage door around and get it opening again.

b) Derive only the use cases relevant to the system objective and write brief or casual text

description of each.

Most Relevant

To the extent that the user stays inside the motion sensing system's boundaries, they will

have full control of the vehicle. When motion is detected, the light comes on automatically. The
Data System: PHP 12

timer will start counting down to turn off the light whenever it detects motion. When it gets to

zero, the power will be off. By the time this step is finished, the user will have sent a signal to the

garage door opener via radio transmitter (FIRAT et al., 2018). After the garage door is fully

open, he drives the car inside and parks it. Once the timer reaches zero, the light will switch off

automatically. After parking, the driver can use the remote to secure the car.

Other Use Cases

Due to a malfunctioning radio transmitter, the garage door can only be opened by pressing a

button on the actual garage door opener. A user manually activates a garage door opener by

parking in front of the garage, getting out of the car, and walking over to the switch (Bell., 2003).

Once back at the car, one must wait for the garage door to fully open before driving inside. Once

the driver has gotten out of the car and is ready to close the garage door, he or she will turn off

the button switch (Ambler., 2018). As the door is closing, the person positions themselves so that

they are blocking the infrared rays from the electric eye sensor. In such a case, the system will

immediately begin reversing the door's motion and will cease trying to close the door, resulting

in the door once again opening.

c) Draw the use case diagram for the system.


Data System: PHP 13

d) For the use case that deals with the remote-controlled garage door opening, write a

fully dressed description.

The user needs just go inside the "motion detection parameter" area and push a button on the

transmitter to start the garage door from inside the house. The garage door openers remote

receiver will receive a signal when the radio transmitter is activated (Cowburn et al., 2018). This

transmission has an access code that unlocks the garage door. After the correct code is entered,

the system will respond by unlocking the garage door and starting the garage door opener. Then,

depending on whether the code is legitimate, a green or red light will flash rapidly to indicate

that connection has been established with the distant radio transmitter (FIRAT et al., 2018).

Having done so, the system will start opening the garage door and will keep doing so until the

door is fully open and the user can drive their vehicle within.

e) Draw the system sequence diagram(s) for the use case selected in (d).
Data System: PHP 14

f) Show the operation contracts for the operations of the use case selected in (d).

Operation: unlockDoor ()

Cross References: Use Case: remotely opening garage door;

Pre-Conditions: having valid remote radio transmitter; numTries <= maxTries; numTries = 0 for

the first try of the current user

Post Conditions: numTries = 1 if the code received on a first try was valid; system unlocked the

garage door;

Task 6:

Discuss the following, based on Tasks 4 and 5:

a) Describe what you did,

This week marked the beginning of the new academic semester. The prospect of expanding

my knowledge Development, a topic that has long piqued my interest, has made me really

excited to sign up for this class. This week, I started out by reviewing the Unit 1 Learning Guide

once more. That was the first thing I did. Taking stages four and five into consideration, I will
Data System: PHP 15

now define this process by providing a list of the external entities and personnel who are required

to engage in interaction with the system in order to accomplish the organizational goal.

b) what you learned,

It was to be expected that a good chunk of time would be spent reading and learning. I

anticipate that the coursework will increase in difficulty as I proceed through my degree program

(Bell., 2004). Using real-world things and cases as input to build relationships in a relational data

architecture was the most interesting element for me. That I can articulate the distinction

between a scenario and a use case speaks much about my expertise (Cowburn et al., 2018).

Establishing a complete picture of the system's participants and their goals requires identifying

the various stakeholders involved. The garage door's motion detector keeps an eye out for

moving objects as it closes to make sure nothing is in the way. The light will turn off after the set

amount of time has elapsed and the timer has counted down from the moment motion was

detected.

c) your weekly activities,

Next on my list was to compose a thread for the online community in which I participate.

This week's discussion will center on an actual occurrence in the outside world. We were

provided with a case study that discussed the benefits and drawbacks of adopting a Library

Management System (w3schools.com. (n.d.)). After reviewing my notes, I've concluded that the

single most useful thing a library might provide is a clear description of the difference between a

scenario and a use case (FIRAT et al., 2018). The online discussions I've had with my classmates

have convinced me that the vast majority of my peers share my point of view. All in all, the

comments offered by my peers were profoundly useful to me.


Data System: PHP 16

d) in what ways are you able to apply the ideas and concepts gained,

This week's assignment, on the other hand, called for the formulation of the necessary

relations for the system, as well as the identification and description of the constraints that should

be applied to them. One simple task took me several hours to complete. Here, I was able to

immediately put my theoretical knowledge into practice (Cowburn et al., 2018). In the first week

of this course, I was exposed to fundamental course concepts including identifying relations,

pinpointing constraints, and articulating them. Reading that made me feel uneasy about the

prospect of creating a scenario and a use case in my own garage.

e) describe one important thing that you are thinking about in relation to the activity.

Putting my thoughts and experiences from the past week into this Learning Journal has

helped me recognize that the only reason I made it through this week without giving up was

because I was determined to do so despite my feelings of being completely overwhelmed.

Thankyou.

Reference
Alsuhaym, F., Al-Hadhrami, T., Saeed, F., & Awuson-David, K. (2021, July). Toward home

automation: an IoT based home automation system control and security. In 2021

International Congress of Advanced Technology and Engineering (ICOTEN) (pp. 1-11).

IEEE.

Ambler, S. (2003-2018). UML 2 Use Case Diagrams: An Agile Introduction. Agile Modeling.

http://www.agilemodeling.com/artifacts/useCaseDiagram.htm
Data System: PHP 17

Bell, D. (2003, June 14). An introduction to the Unified Modeling Language. IBM Developer

Works.

http://www.ibm.com/developerworks/rational/library/769.html

Bell, D. (2004, September 15). The class diagram. IBM Developer

Works.http://www.ibm.com/developerworks/rational/library/content/RationalEdge/

sep04/bell/index.html

Cowburn, P. (Ed.). (2018). PHP manual. PHP Documentation Group. Retrieved from

http://php.net/manual/en/introduction.php

FIRAT, Y., & UĞURLU, T. (2018, September). Automatic Garage Door System with Arduino

for defined license plates of cars. In 2018 International Conference on Artificial

Intelligence and Data Processing (IDAP) (pp. 1-8). IEEE.

Learn PHP simply easy learning. (2020, February 15). Tutorials point simply easy learning.

Retrieved from https://www.tutorialspoint.com/php/index.htm

Marsic, I. (2012). Software engineering. Rutgers

Unversity.https://www.ece.rutgers.edu/~marsic/books/SE/book-SE_marsic.pdf

PHP 5 Tutorial. (n.d.). w3schools.com. Retrieved from

http://www.w3schools.com/php/php_intro.asp

UML Resources. (n.d.). Unified Modeling Language. http://www.uml.org/resource-hub.html

UML Tutorial - Unified Modelling Language. (n.d.). Sparxsystems.Com.

http://www.sparxsystems.com/uml-tutorial.html What is UML | Unified Modeling

Language. (2005, July). Www.Uml.Org. http://www.uml.org/what-is-uml.html


Data System: PHP 18

You might also like