Web-Related Terms Beginning with P
Package
A package is a directory (or project) that has a package.json
file used to record information about it.
package.json
package.json is a file that package managers—like NPM and Yarn—use to store information about your project.
package-lock.json
package-lock.json is a file that NPM uses to record the exact version of all the packages you've installed locally to your project's node_modules
directory.
Package Manager
A package manager is a tool developers use to automatically find, download, install, configure, upgrade, and uninstall a computer's packages.
Package Registry
A package registry is a database (storage) for thousands of packages (libraries, plugins, frameworks, or tools).
Parameter (JS)
A parameter specifies the name you wish to call your function's argument.
Parameter (URL)
A parameter (query string) allows you to send specific data to the server.
Parent Module (ES Module)
A parent module is an aggregator file used solely to aggregate and re-export submodules.
parseInt()
parseInt() parses and converts its string argument from its radix state to a decimal integer.
Partner API Release Policy
A partner API release policy allows publishing APIs to partner companies only.
Period (RegExp)
Regular expression's period operator (.
) specifies that you wish to find any character that is not the newline or any other line terminator characters.
pop()
in JavaScript
pop() removes its calling array's last item.
Port (URL)
A port is a technical gate on a website's server from which browsers can access a site's resources.
Positive Lookahead (RegExp)
Regular expression's positive lookahead operator (p(?=sp)
) asserts that you wish to find a RegExp pattern that is followed by another pattern.
Positive Lookbehind (RegExp)
The positive lookbehind operator ((?<=sp)p
) asserts that you wish to find a RegExp pattern that is preceded by another pattern.
Prefetching
Prefetching means downloading content in the background before the user requests it.
For instance, in a Next.js app, suppose a user navigates to a page with a link. In that case, Next.js automatically prefetches the link's content in the background in anticipation of the user clicking the link. This makes the transition between pages swift, as the destination's content is already downloaded ahead of time.
Primary Expression (JS)
A primary expression is a piece of code that serves as the basis for creating other expressions.
Primitive Data (JS)
Primitive data is any plain JavaScript value that you can use to program a webpage and its content.
Private API Release Policy
A private API release policy allows publishing APIs for internal use only.
Program
A program is a list of instructions (statements) used to accomplish specific tasks.
For instance,
- A fitness program is a series of fitness instructions for completing a fitness task.
- A computer drawing program is a list of drawing instructions used to accomplish a drawing task.
- A JavaScript program is a list of JavaScript instructions, commands, or statements used to execute a scripting task.
Programmer
A programmer is a person that writes programming codes using one or more programming languages.
Programming Language
A programming language is a vocabulary we use to write programs.
JavaScript, C#, Python, Java, .NET, C++, and PHP are examples of computer programming languages.
Promise (JavaScript)
A JavaScript promise refers to the object you create from JavaScript's built-in constructor function—called Promise
.
Properties Object (JavaScript)
A properties object is an element you can use to bundle up multiple named values into a single item.
Property Accessor
A property accessor is a dot or bracket used to access an object's properties.
Public API Release Policy
A public API release policy allows publishing APIs for public use.
Pure Function
A pure function is a function without any side effects.
push()
in JavaScript
push() adds its arguments to the end of its calling array and returns the calling array's new length.