Thursday 7 June 2018

What is Web framework

Web framework (WF) also know as Web application framework (WAF) is a framework that designed to support web applications. This will include we api, services and resources.The main aim of this architecture is re usability of code.

For more details visit here PHP Expert

What is HTTP cookie?

When a server communicates with client’s computer then for identification sever needs some sort of unique token from client side to identify specific client server and here comes the role of cookies. SO what are cookies. According to MDN
An HTTP cookie (web cookie, browser cookie) is a small piece of data that a server sends to the user’s web browser. The browser may store it and send it back with the next request to the same server. Typically, it’s used to tell if two requests came from the same browser — keeping a user logged-in, for example. It remembers stateful information for the stateless HTTP protocol.
So the server send the specific data to client end and then client browser use this data in further requests to provide it’s unique idenity to server. In this way when a browser requests a web page from a server, cookies correspoding to the website is added to the http request and server returns the unique data for the request.
Application of Cookies
Session management : Login details/session,
Personalization: User preferences, themes, and other settings
Tracking: User behaviour on site
Secure Cookies (HTTPOnly cookies )
These cookies are sent win an encrypted form over network and these cookies can’t be read / modify by client side JS. For this type of cookies user can’t access using them by document.cookie() API and for these cookies HTTP Only flag is set to true.

For More help visit here Best Web Developer

Single Page Application vs Multi Page Application (SPA vs MPA)

In the era of cloud , every application has been / being migrated from desktop to web server. And companies earlier having their older softwares on systems are creating the same as web app for easy and global approach of clients. Now the webapp could be categorized into two types – One is traditional Multi Page Application and the other one is the latest and new approach as Single Page Application.What are SPA or MPA? Let’s figure out.
SPA (Single Page Application):
The latset approach towards creating the web app is Single Page application where all of the content from the server is rendered on single page html. It means:
The routing is maintained on client side through Java Script
Devlopement is easy and no need to learn different templating language for a front end devloper to develop the web pages like PHP, JSP or django templating
Required data on page is served through JSON API from server not using context variables
Switching into multiple URLs in the web page is easier and faster since routing is on clinet side
Since all static content like CSS/JS has been loaded initially so redundancy of static variables minimizes the server load
Using the same API the mobile application can be simultaneously build reducing the load of back end devloper.In this way a back end devloper can concentrate over business logic and code optimzation instead working on page rendering stuff of fron end.
The devlopement would be fast as the front end and mobile developer can build their application using dummy api’s and later integrating them.
Example of SPAs : gmail, Facebook, Twitter
Multi Page Application(MPA)
The web app consists of multiple pages and all of these are rendered on server side.
Rourting is maintained on server side
Web app speed is slow as each routing requires a call towards server whihc may take additional round trip towrads server.
SEO is better managed in MPA
Backend devloper need to create mobile APIs to give JSON data to mobile devlopers(redundancy of logic).
Tightly coupled front end /backend
As per the given approach it seems to be use SPA for a better user experience and fast devlopment process.
However the SPA also having their own cons. At the end the approch completely depends upon what is the business need.
So take a call and analyze which should be best for you..

For more help contact or visit here Best SEO Company

Remove default jquery from WordPress

WordPress themes comes with a default jquery if you want to remove that jquery then write following code in functions.php
if (!is_admin())
{
add_action("wp_enqueue_scripts", "ce_enqueue_scripts");
}
function ce_enqueue_scripts()
{
wp_deregister_script('jquery');
}

For more help contact here WordPress Expert

WHAT IS SEO

SEO (Search engine optimization) is the process or a technique of getting traffic from search results on search engines.
According to Wikipedia seo is the process of affecting the online visibility of a website.
Types of Seo :
White Hat Seo
Black Hat Seo
Basic Techniques :
Unique content
Use seo friendly url’s
Use proper page titles
Use proper meta title & description
Use header tags(h1-h6) on your web page
Internal linking
Add alt tag to website’s images
Create a sitemap
Update site regularly
And keep some patient
Advantages :
Site traffic increased
Increase leads
Brand credibility
Increase value of your website/business
Improve earning
For more help contact here  Best SEO Service 2018

WHAT IS COMPOSER

Composer is a dependency manager tool for PHP.It will manage all kind of dependencies that you require for a project. It will get all the required libraries and manage them all in one place.
Composer is not package manage but it’s manage libraries and manage(install/update) for us.
For more help contact here Best Web Design Offer 2018

What is robots.txt

Robots.txt is text file created by webmasters to instruct web robots how to crawl pages of their website. This file placed at the root of the site that indicates those parts of your site you don’t want accessed by search engine crawlers. The file uses the RES ( Robots Exclusion Standard ) protocol.
Default Format
User-agent : [agent-name]
Disallow : [string not to be crawled]

For more help visit here  Best Web Development 2018

How to send email via gmail smtp

Step 1 : Allow less secure apps
Login to your gmail account
Click on My Account
gmil smtp
Go to Sign-in & security settings click here
Turn on Allow less secure apps
send email using gmail smtp
Step 2 : Unlock captcha
Login to your gmail account
Click on the following link click here
Click on continue button

For more help visit here Best WordPress Company

Clear chache in smarty

smarty Clear cache
For Smarty version 2
$smarty->clear_all_cache();
For Smarty version 3
$smarty->clearAllCache();
Since Smarty version 3.1.14 it is possible to delete cache files by their individual expiration time at creation by passing constant SMARTY::CLEAR_EXPIRED as expire_time parameter.

for more visit here WordPress Developer

How to get woocommerce page urls

Shop Url
$aUrl = get_permalink( woocommerce_get_page_id( 'shop' ) );
Cart Url
global $woocommerce;
$aUrl = $woocommerce->cart->get_cart_url();
Checkout Url
global $woocommerce;
$aUrl = $woocommerce->cart->get_checkout_url();
Account Url
$aAccountPageId = get_option( 'woocommerce_myaccount_page_id' );
$aUrl = get_permalink( $aAccountPageId );

for more visit here Best WordPress Developer