Sunday, March 19, 2017

WordPress - User Roles

In this chapter, we will learn about the roles of users in WordPress. Every user has their own role in WordPress. Roles are like permissions given to a particular user to access the WordPress site. These roles can be allotted only by the Admin.
Here are few pre-defined roles available in WordPress −

WordPress - Add Users

In this chapter, we will study how to Add users to your WordPress blog or website. When users register on your WordPress blog or website, you get an e-mail notification, so you always know when new users register, and you can then get into your Dashboard and edit the users’ role.
Following are the simple steps to Add Users in WordPress.

WordPress - User Photo

In this chapter, we will study about User Photo in WordPress. To add user photo in WordPress, you must install plugin User Photo from WordPress plugins. It helps you add a photo of your own to your WordPress profile.
Following are the simple steps to add a User photo.
Step (1) − Click on Settings → User Photo.

WordPress - Edit Users

In this chapter, we will study how to Edit Users in WordPress.
Following are the simple steps to Edit Users in WordPress.
Step (1) − Click on Users → All Users.

WordPress - Delete Users

In this chapter, we will learn how to delete users in WordPress.
Following are the steps to Delete Users.
Step (1) − Click on Users → All Users.

WordPress - Personal Profile

In this chapter, we will learn how to create a Personal profile in WordPress.
Following are the steps to Personal Profile.
Step(1) − Click on Users → Your Profile from the left navigation bar.

WordPress - Theme Management

In this chapter, we will learn about Theme management. It includes image files, templates, CSS stylesheets, etc. that can help to make your website look great. This chapter discusses how to install, add new, or customize themes in WordPress.
Following are the steps for Theme Management.
Step (1) − Select Appearance → Themes from the dashboard.

WordPress - Customize Theme

In this chapter, we will learn how to customize themes. Customizing themes help you to give a new look to your website. Here you can change background images/colors, add titles, and do much more.
Following are the steps of Customize theme.
Step (1) − Click on Appearance → Customize.

WordPress - Widget Management

In this chapter, we will study about Widget Management. Widgets are small blocks that perform specific functions. These give design and structure control to the WordPress theme. Some specific features of a widget are −

WordPress - Background

In this chapter, we will study about background images, background colors and background opacity.
Step (1) − Click on Appearance → Background.

WordPress - Host Transfer

In this chapter, we will study how to transfer WordPress to a new hosting platform.
Here, we have used Hostinger web hosting to transfer the WordPress site to another host.
Just follow the simple steps given below to transfer your WordPress site to another host.

WordPress - Version Update

In this chapter, we will study how to update version in WordPress. Here, we will upgrade WordPress to the latest version through the admin panel.
Following are a few simple steps to update the version in WordPress.
Step (1) − Click on Please Update Now as shown in the following screen.

WordPress - Spam Protection

In this chapter, we will learn how to protect your WordPress blog or website from spam. Make sure that your WordPress script is updated to the latest stable version. WordPress comes with a preinstalled antispam solution - Akismet.

WordPress - Backup & Restore

In this chapter, we will study how to Backup & Restore files and database in WordPress. In WordPress there are two parts of backing up such as −
  • WordPress Files Backup
  • WordPress Database Backup
  • WordPress Files Restore
  • WordPress Database Restore

WordPress - Optimization

In this chapter, we will study how to Optimize WordPress site.
Here are a few simple tips to optimize your WordPress site.
  • Ensure high quality and meaningful content.
  • Have the right names for images.
  • Use short permalinks that contain keywords.
  • Have optimized themes.

WordPress - Reset Password

In this chapter, we will learn how to reset your passwords in WordPress. We have two methods of resetting passwords in WordPress −
  • User
  • Lost your password
Let's look how to set password through the User section.

WordPress - Interview Questions

Dear readers, these WordPress Interview Questions have been designed specially to get you acquainted with the nature of questions you may encounter during your interview for the subject of WordPress. As per my experience good interviewers hardly plan to ask any particular question during your interview, normally questions start with some basic concept of the subject and later they continue based on further discussion and what you answer −

WordPress - Quick Guide

WordPress - Overview

WordPress is an open source Content Management System (CMS), which allows the users to build dynamic websites and blogs. WordPress is the most popular blogging system on the web and allows updating, customizing and managing the website from its back-end CMS and components.

WordPress - Useful Resources

The following resources contain additional information on WordPress. Please use them to get more in-depth knowledge on this.

Discuss WordPress

WordPress is an open source Content Management System (CMS), which allows the users to build dynamic websites and blog. WordPress is the most popular blogging system on the web and allows updating, customizing and managing the website from its back-end CMS and components.

WebSockets - Overview

In literal terms, handshaking can be defined as gripping and shaking of right hands by two individuals, as to symbolize greeting, congratulations, agreement or farewell. In computer science, handshaking is a process that ensures the server is in sync with its clients. Handshaking is the basic concept of Web Socket protocol.
The following diagram shows the server handshake with various clients −

WebSockets - Duplex Communication

Before diving to the need of Web sockets, it is necessary to have a look at the existing techniques, which are used for duplex communication between the server and the client. They are as follows −
  • Polling
  • Long Polling
  • Streaming
  • Postback and AJAX
  • HTML5

WebSockets - Implementation

Web Sockets occupy a key role not only in the web but also in the mobile industry. The importance of Web Sockets is given below.
  • Web Sockets as the name indicates, are related to the web. Web consists of a bunch of techniques for some browsers; it is a broad communication platform for vast number of devices, including desktop computers, laptops, tablets and smart phones.

WebSockets - Events & Actions

It is necessary to initialize the connection to the server from client for communication between them. For initializing the connection, creation of Javascript object with the URL with the remote or local server is required.

WebSockets - Opening Connections

Once a connection has been established between the client and the server, the open event is fired from Web Socket instance. It is called as the initial handshake between client and server.
The event, which is raised once the connection is established, is called the onopen. Creating Web Socket connections is really simple. All you have to do is call the WebSocket constructor and pass in the URL of your server.

WebSockets - Handling Errors

Once a connection has been established between the client and the server, an open event is fired from the Web Socket instance. Error are generated for mistakes, which take place during the communication. It is marked with the help of onerror event. Onerror is always followed by termination of connection.

WebSockets - Send & Receive Messages

The Message event takes place usually when the server sends some data. Messages sent by the server to the client can include plain text messages, binary data, or images. Whenever data is sent, the onmessage function is fired.

WebSockets - Closing a Connection

Close event marks the end of a communication between the server and the client. Closing a connection is possible with the help of onclose event. After marking the end of communication with the help of onclose event, no messages can be further transferred between the server and the client. Closing the event can occur due to poor connectivity as well.

WebSockets - Server Working

A Web Socket server is a simple program, which has the ability to handle Web Socket events and actions. It usually exposes similar methods to the Web Socket client API and most programming languages provide an implementation. The following diagram illustrates the communication process between a Web Socket server and a Web Socket client, emphasizing the triggered events and actions.

WebSockets - API

API – Definition

API, an abbreviation of Application Program Interface, is a set of routines, protocols, and tools for building software applications.
Some important features are −

WebSockets - JavaScript Application

The following program code describes the working of a chat application using JavaScript and Web Socket protocol.
<!DOCTYPE html>
<html lang = "en">

   <head>

WebSockets - Communicating with Server

The Web has been largely built around the request/response paradigm of HTTP. A client loads up a web page and then nothing happens until the user clicks onto the next page. Around 2005, AJAX started to make the web feel more dynamic. Still, all HTTP communication is steered by the client, which requires user interaction or periodic polling to load new data from the server.

WebSockets - Security

Protocol should be designed for security reasons. WebSocket is a brand-new protocol and not all web browsers implement it correctly. For example, some of them still allow the mix of HTTP and WS, although the specification implies the opposite. In this chapter, we will discuss a few common security attacks that a user should be aware of.

WebSockets - Mobile APP

WebSocket, as the name implies, is something that uses the web. The web is usually interwoven with browser pages because that are the primary means of displaying data online. However, non-browser programs too, use online data transmission.

WebSockets - Quick Guide

WebSockets - Overview

In literal terms, handshaking can be defined as gripping and shaking of right hands by two individuals, as to symbolize greeting, congratulations, agreement or farewell. In computer science, handshaking is a process that ensures the server is in sync with its clients. Handshaking is the basic concept of Web Socket protocol.
The following diagram shows the server handshake with various clients −

WebSockets - Useful Resources

The following resources contain additional information on WebSockets. Please use them to get more in-depth knowledge on this topic.

Discuss WebSockets

Web sockets are defined as a two-way communication between the servers and the clients, which mean both the parties, communicate and exchange data at the same time. This protocol defines a full duplex communication from the ground up.

Website Development - Introduction

A website can be defined as a collection of several webpages that are all related to each other and can be accessed by visiting a homepage, by using a browser like Internet Explorer, Mozilla, Google Chrome, or Opera. For example, the website address of Tutorialspoint is − www.tutorialspoint.com.

Website Development - Required Skills

The skills required to set up a website can vary from very basic to the most advanced. If you are going to set up a professional website for a global audience, then you should have the following set of skills or you would have to hire a group of people to do this job for you.

Website Development - Domain Name

Domain name is the part of your online address and your visitors will use it to find you easily. For example, Tutorialspoint domain name is tutorialspoint.com. Your domain name is unique to you. Once you have registered it, nobody else can register the same one if you continue to renew it.

Domain Name Registration

To register a domain name involves registering the name you want with an organization called ICANN through a domain name registrar. For example, if you choose a name like "mydomain.com", you should go to a registrar, pay a registration fee that costs around 10 USD per year for that name.

Website Development - Subdomains

Subdomains are extensions of domain name that you can forward to URLs or point to IP addresses and directories within the hosting account or different servers. Sub domains function separately from your main domain. We can create areas of a website by using subdomains.

Website Development - Domain Privacy

Internet Corporation for Assigned Names and Numbers (ICANN) broadly requires that the mailing address, phone number and e-mail address of those owning and administrating a domain name should be made publicly available through the "WHOIS" directories. But this rule enables spammers,

Configure DNS Record on a Hosting Platform

DNS records are mainly used to convert domain names into servers’ IP that host this website. It is important to mention that the records are entered at domain registrars. They generally provide you with a DNS manager panel.

Website Development - CMS Platforms

In this chapter, we will first discuss how to make the right choice for your website and which Content Management System (CMS) Platform to choose for your website.

Flat & Dynamic Webpages

A Static or Flat Webpage means a webpage in which all the information and material is presented in front of the users as it is stored in it. A Static Webpage shows the same information and data to all users. In internet technology, Hyper Text Markup Language (HTML) was the first language or channel by which people started to create static web pages.

Publishing & Development Tools

As you now know the fundamental necessities for developing a website as a beginner developer, you will need some tools that you should have for primary usage.
Firstly, you should have a basic package of internet that has a good upload speed, minimally 1Mbps.