0% found this document useful (0 votes)
41 views9 pages

PHP Editor

This document discusses various topics related to PHP including: 1. PHP is a server-side scripting language that can be embedded in HTML and is used to process forms, files, images, and communicate with databases. 2. Common PHP features include loops, functions, variables, conditional statements, and include statements. 3. When choosing a PHP editor, features like syntax handling, code hinting, debugging, and keyboard shortcuts are important.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
41 views9 pages

PHP Editor

This document discusses various topics related to PHP including: 1. PHP is a server-side scripting language that can be embedded in HTML and is used to process forms, files, images, and communicate with databases. 2. Common PHP features include loops, functions, variables, conditional statements, and include statements. 3. When choosing a PHP editor, features like syntax handling, code hinting, debugging, and keyboard shortcuts are important.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

It is a plain text editor that read and write PHP compatible files with extensions of .

php,
.phtml, .php3, .php4, .php5 or .phps
Php editor

It is one of the feature of PHP Editor wherein you can configure Internal/External server, set
breakpoints per lines or conditionally, monitor variables and profile code to isolate bottleneck
and enhance execution.
Debugging

MVC for PHP stands for:


Model view controller

CMS for PHP stands for:


Content management system

It is the PHP Code Editor that is acquired by Appcelerator.


Aptana studio

It is an online PHP Code Editor wherein you code and compile over the internet.
Cloud 9

It is a windows-only PHP IDE that is developed by a Danish Company name MPSoftware.


phpDesigner

It is an essential feature of PHP that handles the syntax color and formatting.
Syntax handling

It is an essential feature of PHP that suggest alternative php codes, selection narrows with
additional typing, easily navigable popup, selected function display further hints, show specific
syntax and offer available attributes.
Code hinting

It is an essential feature of PHP that verifies that the code can be parsed, searches for matching
parentheses and braces, duplicate command and missing semicolon.
Syntax checking

In what year was PHP created?


1994

There are around ____ PHP Functions and ____ PHP Operators.
700 40

This study source was downloaded by 100000779757917 from CourseHero.com on 05-25-2022 07:54:30 GMT -05:00

https://www.coursehero.com/file/35331638/ansdocx/
It wrap codes around the selection and invoke snippet with keystroke that has interpolation
shortcuts and conditional codes.
Advance snippets

One of the features of PHP Editor that has something to do with code navigation, common
operations, creating of custom shortcuts and customized standard shortcuts.
Keyboard shortcuts

One of the features of PHP Editor because complex code can become overwhelming and
because of this feature you can hide portions of code temporarily and focus on specific code
block.
Code folding

Web Applications are built with multi-tier architecture.

True

Web browser such as IE/Chrome/Safari/Opera is part of the client tier. This renders HTML,
Images and CSS. It also executes client-side codes such as javascripts and plugins.

true

Server Stack is composed of server based software that runs together such as HTTP Server,
Application Server and Database Server.

True

The fastest way to install your AMP Stack is to use either WAMP Server or the MAMP Server.
False

PHP and ASP.net are example of Application Server.


False

In installing individual components for Windows, you download all components from vendors.
True

For Linux installation of the individual components, you have to use the Apt-Get which is a GUI
based program installed in Linux.
True

OSX has Apache and PHP included in its Operating System.


True

This study source was downloaded by 100000779757917 from CourseHero.com on 05-25-2022 07:54:30 GMT -05:00

https://www.coursehero.com/file/35331638/ansdocx/
Which of the following is the open and closing tags of PHP?

<?php ?>

It is a server side scripting language that is designed to be embedded because it is mixed in the
HTML Markup. This Language can process and email contact forms, upload & file from online
forms, generate thumbnails for large images, watermark images, read and write files and
communicate with a database.

Php

This are statements that performs repetitive tasks.

Loops

This are statement that performs preset of tasks.

Functions

In naming a variable in PHP what is the required Special Character?

This is the command to display the value stored in the variable.

Echo

Which of the following is not a commenting style?

%%

How will you end a statement in PHP?

Semicolon

In the process of PHP which what is the missing step?

1st: The client browser sends a request to the Web Server


2nd: The Webserver will simply respond to the client if the page consist of HTML, CSS, Images
and Javascript. However, if the there is a PHP in the webpage, it will proceed to the 3rd step.
3rd: x x x x
4th: If there is a database involve the PHP engine will send the file to the database for
processing.
5th: After the database have processed the file it will then return it to the PHP engine and the
PHP Engine will return it to the web server. The web server is the one responsible for sending it
back to the client browser.

Will send the php webpage to the pgp engine for processing

This study source was downloaded by 100000779757917 from CourseHero.com on 05-25-2022 07:54:30 GMT -05:00

https://www.coursehero.com/file/35331638/ansdocx/
Which of the following is not recommended feature in choosing a script editor?

None***

Which of the following is a Free PHP Editor?

Komodo Edit

Which of the following does not belong to the group?

www?

It acts as the placeholder for unknown or changing values.

Variables

It holds multiple values.

Array

This are statements that make decision.

Conditional statement

It is a function in the PHP that converts the string into Upper case.

Strtoupper()

It is named value pairs that are stored in the browser and they're sent to the web server with
each page request.

Cookies

It is a function in the PHP that get the date of the server.

Date()

It is the command used to incorporate an external page into your html.

Include

Which of the following is not an include statement?

Include_all

Which of the following is not the file to access if you want to change your server's time?

Index.php

It is a function in the PHP that check whether the variable has been set.

This study source was downloaded by 100000779757917 from CourseHero.com on 05-25-2022 07:54:30 GMT -05:00

https://www.coursehero.com/file/35331638/ansdocx/
Isset()

It is a PHP function wherein the data will be transmitted to the server in the http header when
the form is submitted for processing.

$_POST

It is a PHP function wherein it adds the input data as series of name value pairs in a query string
at the end of the URL.

$_GET

It is a function that display the content of the array.

Print_r($Flowers);

SHOW DATABASES

It is the data structure on a table to increase look up speed like the index page at the back of a
book.

Index

C-CREATE R-_______ U-Update D-Delete; What is the missing functions in a database?

This study source was downloaded by 100000779757917 from CourseHero.com on 05-25-2022 07:54:30 GMT -05:00

https://www.coursehero.com/file/35331638/ansdocx/
Read

Each command in a SQL Statement is ended with what special character?

Semicolon

It is a table column whose values are referenced by rows in other tables.

Foreign key

Which of the following is not used for MySQL integration?

Mysql_dbase()

It is the intersection of the column and row in a database environment.

Field

Database are not spreadsheets.

True

XML stands for:

Extensible markup language

DOM stands for:

Document Object Model

It is one of the core extension of XML that has two built-in classes and three functions that
offers direct access to elements and attributes by name.

SimpleXML

________________ and XMLReader are streaming parsers wherein document is processed in small
chunks.

XML Parser (SAX)

It restructure XML data using Transformators.

XSL

It is a design pattern that is a simple data-access method that maps a database table or view
into an object. The field map one to one, usually without modification.

Active record pattern

It is a design pattern that allows you to define and choose an implementation at runtime and
vary that implementation independent of the object itself.

This study source was downloaded by 100000779757917 from CourseHero.com on 05-25-2022 07:54:30 GMT -05:00

https://www.coursehero.com/file/35331638/ansdocx/
Strategy pattern

A design pattern wherein it extracts all the database interaction from the model to a single
unified location.

Table data gateway

It is another design pattern that adjust the interface of one class to match that of another.

Adapter pattern

It is another design pattern that allows you to add specific behaviors to the instance of a class
instead of attaching them to the object itself (Templating).

Decorator pattern

It is a design pattern that allows us to create an object without needing direct access to the
creation logic.

Factory pattern

A design pattern that simulated objects that mimic. The behavior of real objects incontrolled
and specified ways.

Mock objects pattern

This pattern separates the concern of the data from the presentation of the data and
manipulating the data.

Model view controller pattern

It is the design pattern that is a refinement of the Model-View-Controller which transform the
view portion into a more specific responder implementation that handles all aspects of the
HTTP reponse, Sessions, Cookies, HTML, Content Types and etc.

Action domain responder

A design pattern where messages are broadcast to a common channel and received by specific
receivers.

Publish/subscribe pattern

This pattern restricts a given object to having one single, global instance across the entire
application.

Singleton

Pulling element out of an array and return it. It will change the 1st element out of an array and
return it.

This study source was downloaded by 100000779757917 from CourseHero.com on 05-25-2022 07:54:30 GMT -05:00

https://www.coursehero.com/file/35331638/ansdocx/
Array_shift();

It snap the last element out of an array not the first element.

Array_pop();

It is somehow the same as the unshift but it pushes the element onto the end of an array.

Array_push();

Which of the following is not a timestamp function?

Calendar();

It is the function that pull out the server's information and page details and request details.

$_SERVER

It is the superglobal function that basically just contains all of those POST & GET values that we
already have access to through POST & GET.

$_REQUEST

"d" is the format parameter for Date(); which gives the day of the month in 2 digits format with
leading zeros.
True

The earliest date for the 32bit integer Date and Time (Timestamps) is Mid of December 1901.
True

"D" is the format parameter for Date(); which gives the textual representation of a day with
three letters format.
True

"j" is the format parameter for Date(); which gives the day of the month without leading zeros.
True

"g" is the format parameter for Date(); which gives the hour in 12hrs format.
True

"l" is the format parameter for Date(); which gives the full textual representation of the day of
the week.
True

"a" is the format parameter for Date(); which returns either am or pm


True

This study source was downloaded by 100000779757917 from CourseHero.com on 05-25-2022 07:54:30 GMT -05:00

https://www.coursehero.com/file/35331638/ansdocx/
Microtime Function is a function that returns a current timestamp with microseconds.
True

Timestamps in PHP are stored in UTC.


True***

PHP stores timestamp internally as 64bit integer which can represent dates up to 290 billion
years ago and 290 billion years after.
True

This are made up of both prescribed pattern to structure and organize your code and pre-built,
pre-tested components that you can use to shorten your development time and to aid in code
organization.
Framework

This are meandering code that does a lot of different things in one single place.
Spag

Which of the following is not a framework concepts?


Controller

This is a framework that is backed by a french company Sensio Labs and distributed with the
MIT license.
Symfony2

This is the command line interface of the Symfony 2.


appconsole

This is a framework which management was handed off from Ellis Lab to BCIT which is flexible
and decoupled.
Code igniter

Which of the following is a consideration for choosing a framework?


Licensing

It is the framework that is fit for enterprise which is partnered with Microsoft and Google.
zend

This study source was downloaded by 100000779757917 from CourseHero.com on 05-25-2022 07:54:30 GMT -05:00

https://www.coursehero.com/file/35331638/ansdocx/
Powered by TCPDF (www.tcpdf.org)

You might also like