0% found this document useful (0 votes)
7 views

Q1 0 Notes Adv PHP

Hdhcjvj yosov j qwjxyvijvcdlxnbsbdkfjcnbfbdhdnxbxbxjmbfbdkwjnxbv

Uploaded by

sushanttandale6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

Q1 0 Notes Adv PHP

Hdhcjvj yosov j qwjxyvijvcdlxnbsbdkfjcnbfbdhdnxbxbxjmbfbdkwjnxbv

Uploaded by

sushanttandale6
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Q1

a)What is the use of abstract class?

Ans:- Abstract classes in object-oriented programming serve as blueprints for other


classes. They cannot be instantiated themselves but can contain abstract methods that
must be implemented by their subclasses.

b)what is the $_Server variable?

Ans:- ‘$_SERVER’ is a PHP superglobal variable that holds information about


headers, paths, and script locations. It's an associative array containing
information such as headers, paths, and script locations.
Enlist XML element.

Ans :- Some common XML elements include ‘ <element>’, ‘<attribute>’, ‘<text>’,


‘<comment>’, ‘<cdata>’, ‘<processing-instruction>’ , and ‘<document>’, among others.

d) what are different technologies are used in Ajax?

And:- Technologies used in Ajax include HTML, CSS, JavaScript (especially


XMLHttpRequest), XML (or JSON for data interchange), and server-side scripting
languages like PHP, Python, or Ruby.

e)what is Web Service?

Ans:- A web service is a software system designed to support interoperable machine-to-


machine interaction over a network. It typically utilizes standardized protocols such as
XML, SOAP, or REST.

f)what is content Management system.

Ans:- A content management system (CMS) is a software application or set of related


programs that are used to create and manage digital content. It typically supports
multiple users in a collaborative environment.

g) what is Serialization?

Ans:- Serialization is the process of converting an object into a format (such as a string
of bytes) that can be easily stored or transmitted and later reconstructed to create a new
object with the same properties.

h) Define UDDI.
Ans:- UDDI stands for Universal Description, Discovery, and Integration. It's a directory
service where businesses can register and search for web services.

i) what is PHP frame work.

Ans:- A PHP framework is a collection of pre-written code and libraries that provide a
structured approach to developing web applications. Frameworks like Laravel, Symfony,
and CodeIgniter offer tools and methodologies to streamline the development process.

j) Define Template of object oriented.

Ans:- A template in object-oriented programming refers to a blueprint or skeleton of a


class, which defines the methods and properties that all objects of that class will have. It
serves as a model for creating instances of the class.

a) the purpose of Extend Keyword.


Ans:- The purpose of the extend keyword in PHP is to create a subclass that inherits
properties and methods from a parent class, enabling code reuse and extending the
functionality of the parent class.
b)What is Class?
Ans:- In object-oriented programming, a class is a blueprint for creating objects. It
defines the properties (attributes) and methods (functions) that all objects of that class
will have.
c) is $_ REQUEST variable?
Ans:- The $_REQUEST variable in PHP is a superglobal array that contains the values of
both the $_GET and $_POST variables, as well as the values of any cookies. It is used to
collect data submitted from HTML forms using the GET or POST method.
d) what is Serialization?
Ans:- Serialization is the process of converting a data structure or object into a format
that can be stored or transmitted, and later reconstructed to its original state. In PHP,
serialization is commonly used for tasks like storing objects in sessions or caching data.
e)what is Document object Model in PHP?
Ans:- The Document Object Model (DOM) in PHP is a programming interface that
represents the structure of HTML and XML documents as a hierarchical tree of objects. It
allows developers to manipulate the content, structure, and style of web documents
dynamically.
f)Describe any two content management system software.
Ans:- Two examples of content management system (CMS) software are WordPress and
Joomla. WordPress is known for its user-friendly interface and extensive plugin
ecosystem, while Joomla offers more advanced features and customization options for
developers.
g) What is $_ SERVER variable?
Ans:- The $_SERVER variable in PHP is a superglobal array that contains information
about the server environment, including details such as server name, script filename,
request method, and more.
h) the purpose of Final Keyword?
Ans:- . The purpose of the final keyword in PHP is to prevent a class from being
subclassed. When a class or method is declared as final, it cannot be extended or
overridden by any subclasses.
i) is meaning of Self Processing form?

Ans:- A self-processing form is a web form that submits data to the same page or script
that generated the form. This allows the form to handle its own submission, processing
the data and displaying the results on the same page without requiring a separate
action script.

j)What is AJAX Script?

Ans:- AJAX (Asynchronous JavaScript and XML) script is a technique used in web
development to create dynamic and interactive web applications. It allows data to be
exchanged with a web server asynchronously, without interfering with the behavior of
the existing page. AJAX scripts typically use JavaScript to make requests to the server
and update the page content dynamically.

a) Which are XML Special entities?Ans:- XML special entities are predefined character
entities used to represent characters that have special meaning in XML, such as "<"
or "&".
b) What is AJAX?
Ans:- AJAX stands for Asynchronous JavaScript and XML. It's a technique used in web
development to create asynchronous web applications, allowing data to be sent to and
retrieved from a server asynchronously without interfering with the display and behavior
of the existing page.
c) What is sticky form?
Ans:- A sticky form is a web form feature that retains user-entered data even after the
form is submitted or refreshed, typically achieved through server-side scripting or
JavaScript.
d) What is setcookie() function?
Ans:- The setcookie() function is a PHP function used to set a cookie in the user's
browser. Cookies are small pieces of data that are stored on the client-side and sent
with every request to the same server.

e) Define Template.
Ans:- In general, a template is a pre-designed layout or format used as a starting
point for creating similar documents or objects. In web development, a template
often refers to a pre-made HTML/CSS structure that can be reused for multiple web
pages.

f) What is Encapsulation?
Ans:- Encapsulation is the bundling of data and methods that operate on the data
into a single unit, typically called a class in object-oriented programming. It allows
for data hiding and abstraction, preventing direct access to the internal state of an
object and only allowing access through defined methods.

g) What is the $_SERVER variable?


Ans:- $_SERVER is a PHP superglobal variable that holds information about the server
and execution environment. It includes information such as headers, paths, and script
locations.

h) Enlist XML elements?


Ans:- XML elements are the building blocks of an XML document, enclosed within
angle brackets "<>" and typically organized in a hierarchical structure. Examples
include <book>, <title>, <author>, etc.
i)what is Content Management system?
Ans:- A Content Management System (CMS) is a software application or set of related
programs that are used to create and manage digital content. CMSs are typically used
for web content management and allow multiple users to collaborate on the creation
and maintenance of digital content.
j)what is SOAP?
And:- SOAP stands for Simple Object Access Protocol. It is a protocol for exchanging
structured information in the implementation of web services in computer networks.
SOAP relies on XML as its message format and typically uses HTTP as its transport
protocol.

You might also like