Thursday 1 October 2015

Facebook is a popular free social networking website

Facebook is a social networking website that makes it easy for you to connect and share with your family and friends online. Originally designed for college students,Facebook was created in 2004 by Mark Zuckerberg while he was enrolled at Harvard University.

Facebook is a popular free social networking website that allows registered users to create profiles, upload photos and video, send messages and keep in touch with friends, family and colleagues. The site, which is available in 37 different languages, includes public features such as:
  • Marketplace - allows members to post, read and respond to classified ads.
  • Groups - allows members who have common interests to find each other and interact.
  • Events  - allows members to publicize an event, invite guests and track who plans to attend.
  • Pages - allows members to create and promote a public page built around a specific topic.
  • Presence technology - allows members to see which contacts are online and chat.
Within each member's personal profile, there are several key networking components. The most popular is arguably the Wall, which is essentially a virtual bulletin board. Messages left on a member's Wall can be text, video or photos. Another popular component is the virtual Photo Album. Photos can be uploaded from the desktop or directly from a smartphonecamera. There is no limitation on quantity, but Facebook staff will remove inappropriate or copyrighted images.  An interactive album feature allows the member's contacts (who are called generically called "friends") to comment on each other's photos and identify (tag) people in the photos. Another popular profile component is status updates, a microbloggingfeature that allows members to broadcast short Twitter-like announcements to their friends. All interactions are published in a news feed, which is distributed in real-time to the member's friends. 
Facebook offers a range of privacy options to its members.  A member can make all his communications visible to everyone, he can block specific connections or he can keep all his communications private. Members can choose whether or not to be searchable, decide which parts of their profile are public, decide what not to put in their news feed and determine exactly who can see their posts. For those members who wish to use Facebook to communicate privately, there is a message feature, which closely resembles email.
In May 2007, Facebook opened up its developers' platform to allow third-party developers to build applications and widgets that, once approved, could be distributed through the Facebook community. In May 2008, Facebook engineers announced Facebook Connect, a cross-site initiative that allows users to publish interactions on third-party partner sites in their Facebook news feed. 

Wednesday 30 September 2015

WHAT IS BOOTSTRAP? BOOTSTRAP HISTORY

Basic Bootstrap

WHAT IS BOOTSTRAP?

  • Bootstrap is a free front-end framework for faster and easier web development
  • Bootstrap includes HTML and CSS based design templates for typography, forms, buttons, tables, navigation, modals, image carousels and many other, as well as optional JavaScript plugins
  • Bootstrap also gives you the ability to easily create responsive designs

What is Responsive Web Design?
Responsive web design is about creating web sites which automatically 
adjust themselves to look good on all devices,
 from small phones to large desktops.

BOOTSTRAP HISTORY

Bootstrap was developed by Mark Otto and Jacob Thornton at Twitter, and released as an open source product in August 2011 on GitHub.
In June 2014 Bootstrap was the No.1 project on GitHub!

WHY USE BOOTSTRAP?

Advantages of Bootstrap:
  • Easy to use: Anybody with just basic knowledge of HTML and CSS can start using Bootstrap
  • Responsive features: Bootstrap's responsive CSS adjusts to phones, tablets, and desktops
  • Mobile-first approach: In Bootstrap 3, mobile-first styles are part of the core framework
  • Browser compatibility: Bootstrap is compatible with all modern browsers (Chrome, Firefox, Internet Explorer, Safari, and Opera)

WHERE TO GET BOOTSTRAP?

There are two ways to start using Bootstrap on your own web site.
You can:
  • Download Bootstrap from getbootstrap.com
  • Include Bootstrap from a CDN

DOWNLOADING BOOTSTRAP

If you want to download and host Bootstrap yourself, go to getbootstrap.com, and follow the instructions there.

BOOTSTRAP CDN

If you don't want to download and host Bootstrap yourself, you can include it from a CDN (Content Delivery Network).
MaxCDN provide CDN support for Bootstrap's CSS and JavaScript. Also include jQuery:

MaxCDN:

<!-- Latest compiled and minified CSS -->
<link rel="stylesheet"href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">

<!-- jQuery library -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>

<!-- Latest compiled JavaScript -->
<script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>

One advantage of using the Bootstrap CDN:
Many users already have downloaded Bootstrap from MaxCDN 
when visiting another site. As a result, it will be loaded from cache
 when they visit your site, which leads to faster loading time. Also, 
most CDN's will make sure that once a user requests a file from it, 
it will be served from the server closest to them, which also leads to 
faster loading time.

CREATE FIRST WEB PAGE WITH BOOTSTRAP

1. Add the HTML5 doctype
Bootstrap uses HTML elements and CSS properties that require the HTML5 doctype.
Always include the HTML5 doctype at the beginning of the page, along with the lang attribute and the correct character set:
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
  </head>
</html>
2. Bootstrap 3 is mobile-first
Bootstrap 3 is designed to be responsive to mobile devices. Mobile-first styles are part of the core framework.
To ensure proper rendering and touch zooming, add the following <meta> tag inside the <head> element:
<meta name="viewport" content="width=device-width, initial-scale=1">
The width=device-width part sets the width of the page to follow the screen-width of the device (which will vary depending on the device).
The initial-scale=1 part sets the initial zoom level when the page is first loaded by the browser.
3. Containers
Bootstrap also requires a containing element to wrap site contents.
There are two container classes to choose from:
  1. The .container class provides a responsive fixed width container
  2. The .container-fluid class provides a full width container, spanning the entire width of the viewport
Note: Containers are not nestable (you cannot put a container inside another container).

TWO BASIC BOOTSTRAP PAGES

The following example shows the code for a basic Bootstrap page (with a responsive fixed width container):

Example

<!DOCTYPE html>
<html lang="en">
<head>
  <title>Bootstrap Example</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet"href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
<body>

<div class="container">
  <h1>My First Bootstrap Page</h1>
  <p>This is some text.</p>
</div>

</body>
</html>

Example

<!DOCTYPE html>
<html lang="en">
<head>
  <title>Bootstrap Example</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet"href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css">
  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
  <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js"></script>
</head>
<body>

<div class="container-fluid">
  <h1>My First Bootstrap Page</h1>
  <p>This is some text.</p>
</div>

</body>
</html>

PHP - Class/Object Functions These functions allow you to obtain information about classes and instance objects. You can obtain the name of the class to which an object belongs, as well as its member properties and methods.

PHP - Class/Object Functions


These functions allow you to obtain information about classes and instance objects. You can obtain the name of the class to which an object belongs, as well as its member properties and methods.

INSTALLATION

There is no installation needed to use these functions; they are part of the PHP core.

RUNTIME CONFIGURATION

This extension has no configuration directives defined in php.ini.

LIST OF FUNCTIONS

PHP − indicates the earliest version of PHP that supports the function.
FunctionDescriptionPHP
call_user_method_array()Call a user method given with an array of parameters [deprecated]4
call_user_method()Call a user method on an specific object [deprecated]4
class_exists()Checks if the class has been defined4
get_class_methods()Gets the class methods' names4
get_class_vars()Get the default properties of the class4
get_class()Returns the name of the class of an object4
get_declared_classes()Returns an array with the name of the defined classes4
get_declared_interfaces()Returns an array of all declared interfaces5
get_object_vars()Gets the properties of the given object4
get_parent_class()Retrieves the parent class name for object or class4
interface_exists()Checks if the interface has been defined5
is_a()Checks if the object is of this class or has this class as one of its parents4
is_subclass_of ()Checks if the object has this class as one of its parents4
method_exists()Checks if the class method exists4
property_exists()Checks if the object or class has a property5















































Featured post

Life Infotech now a leading brand in the field of technology training

  Life Infotech now a leading brand in the field of technology training & its invites students around the nation to be a part of the Tra...