Q1 0 Notes Adv PHP
Q1 0 Notes Adv PHP
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.
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.
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.
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.