Wpcit 2
Wpcit 2
o Native Objects: Built-in objects provided by JavaScript (e.g., Array, Date, Math,
RegExp).
o Inline event handlers: Defined directly within HTML elements (e.g., <button
onclick="myFunction()">Click me</button>).
o Servlet:
o JSP:
o let: Block-scoped, cannot be redeclared within the same scope, and not hoisted in
the same way as var.
o GET: Sends data via URL query parameters; data visible in the URL; has a limit on
data size; idempotent.
o POST: Sends data in the request body; data is not visible in the URL; no size limit;
typically used for non-idempotent operations.
o A collection of JSP tags for common tasks like conditional logic, iteration, string
manipulation, and internationalization.
Unit IV
o PHP is used in web development to create dynamic web pages, handle form
submissions, manage sessions, and interact with databases.
o Platform-independent.
o print: Returns a value (1), can be used in expressions, and outputs a string.
o echo: Does not return a value, can take multiple parameters, and is generally faster
than print.
4. Different Types of PHP Built-in String Functions:
o XML: Designed to store and transport data with a focus on structure and self-
description.
o Special constants that change depending on their context (e.g., __LINE__, __FILE__,
__DIR__, __FUNCTION__, __CLASS__, __METHOD__, __NAMESPACE__).
o Functions that are created or called dynamically using variable names (e.g., using
variable function names: $func = 'myFunction'; $func();).
php
echo $value;