What is a Session ??
A Session is a process of inter-related actions between a client and a web server. Session variables manages the memory of the browser when you exit a one page and go to another.
How do we make the Browser remember a certain unit of data while we navigatefrom page to page?
Simply, assign that data to a “session variable”, using thefollowing format -
$_SESSION[“ << some unique name >> ”].
eg. :- $_SESSION[“employeeName”] = “Nimal”,
$_SESSION[“employeeID”] = EMP0589
• employeeName and employeeID are uniquely identify a variable.
•Another method is, to use the predefined function session_register(“ “)
Thursday, January 28, 2016
jQuery
jQuery ?
It is a free open source javaScript library that simplifies the task of creating highly responsive web pages.
Benifits of jQuery
- jQuery is extensible.
- Works with sets of elements.
- Performs multiple operations on a set of elements with one line of code. (Statement chaining)
- Hides various browser quirks.
jQuery Features
- Core functionaliy
- Implements core jquery functions as well as commonly used utilities.
- Manipulation and CSS
- Functions for editing and changing document content and working with CSS data such as positioning.
- AJAX
- Utilities for working with AJAX, such as loading content from pages and dealing with JSON data.
- Events
- Simplifies working with DOM (Document Object Model) events and provides common event helper functions.
- Effects
- Functions for creating basic animations and effects such as hiding and showing elements and moving objects around.
- Selection and Traversal
- Functions for finding content in documents & navigating among the contents of the document.
Download jQuery
Download from this link https://jquery.com/
There are two versions
- Compressed production version - Useful when upload the completed project to the web server as it is compressed (minified) and less weight.
- Uncompressed development jQuery - Useful when development process happens of the project.
Subscribe to:
Posts (Atom)