Monday, February 29, 2016

Conditionals Statements and Boolean Logical Operator in JavaScript

Everything in our day to day life is impacted by conditions. Similarly in Java Script too conditions play a vital role in code execution and its structure. Every JS function must be designed as per the condition of the work we are looking to be done by it. There are many conditions in which the code can be written and simultaneously a code can also be written in many ways following a similar condition. We will see few e.g. below to understand this in a better way but before that lets understand few conditional statements.

If, else, else-if and switch statements in JavaScript :

The word if and else itself states it clearly that certain things to be done only if following rule is fulfilled Or else don’t do it or do something else.

Suppose if you want to do something only in any particular condition then you use the if statement. These are used for much complicated functions with multiple conditions as are easy to understand and maintain that switch.
If statement 
Example:

If we want an alert “Yay its Banana” only if the fruit selected is Apple.
<script type="text/javascript">
      var fruit = "Banana";
      if(fruit == 'Banana'){
      alert('Yay Its Banana'); //Yay Its Banana
}
</script>

If-else statement 
Similarly as above eg. there was just one condition but now if we want more than a condition like alert “Its still Banana” only if Banana is the fruit selected or alert “Are you sure?”
<script type="text/javascript">
      var fruit = "Orange";
     if(fruit == 'Banana')
    {
     alert('Its still Banana);
      }
      else
     {
        alert("Are you sure ?"); //Are you sure ? (This is because 1st condition is not fulfilled hence second the else one initiated.)
    }
</script>

else-if  statement 
Similarly if you want multiple conditions you can use it as many times as you need as per the conditions but if one condition use if, If two conditions use if and else but if more that two conditions use else if further till last one like in e.g. below.

<script type="text/javascript">
      var fruit = "Mango";
      if(fruit == 'Banana'){
      alert('Yay Its Banana');
      }
       else if(fruit == 'Appie')
      {
      alert("Have you selected Apple ?");
     }
     else if(fruit == 'Mango'){
     alert("Have you selected Mango ?"); //Have you selected Mango ? (As 3rd condition  fulfilled.)
     }
     else
    {
    alert(“Please choose any fruit.”);
   }
</script>

Nested Conditions:
Nesting means a condition under a condition. Like in the below eg. under first if condition you have 1 more if condition that if color is red and color2 is green change bg color to yellow. Or if color 1 still remains red change bg to red. 
Eg.
<!DOCTYPE html>
<html>
<head>
          <title>JavaScript Basics</title>
          <style type="text/css">
                  .bgRed{background-color: red}
                  .bgGreen{background-color: green}
          </style>
</head>
<body>
           <button id="btn">Change Color</button>
           <script type="text/javascript">
           function colorChanger(){
                    var getColor = prompt('Enter a color');
                    var getColor2 = prompt('Enter a color');
                    if(getColor=='red'){
                        if(getColor2=='green'){
                                   document.body.style.backgroundColor = 'yellow';
                        }else{
                                 document.body.style.backgroundColor = 'red';
                        }
             }else if(getColor=='blue' && getColor2=='green'){
             document.body.style.backgroundColor = 'cyan';
             }else if(getColor=='red' && getColor2=='blue'){
             document.body.style.backgroundColor = 'magenta';
             }else{
                      document.body.style.backgroundColor = 'white';
            }
      }
      document.getElementById('btn').onclick = colorChanger;
        </script>
</body>
</html>



Like if else condition is used for multiple conditions similarly switch is also used for multiple conditions. But in a switch we cannot use assignment operators to define less than or greater than values, we have to give exact values for it and no dynamic values can be given in it.

Example:
<!DOCTYPE html>
<html>
<head>
          <title>JavaScript Basics</title>
          <style type="text/css">
                .bgRed{background-color: red}
                .bgGreen{background-color: green}
         </style>
</head>
<body>
          <button id="btn">Change Color</button>
          <script type="text/javascript">
          function colorChanger(){
                  var getColor = prompt('Enter a color');
                  switch(getColor){
                            case 'red':
                  document.body.className = 'bgRed';
                  break;
                  case 'green':
                  document.body.className = 'bgGreen'; //Here no assignment
operators are used just values are assigned in case as green, red etc …
                 break;
                 default:
                 alert('Enter red or green color');
                 break;
        }
   }
           document.getElementById('btn').onclick = colorChanger;
</script>
</body>
</html>

Why Boolean LogicalOperator are important to work with conditions in JavaScript?
  • && (And)
  • || (Or)
  • ! (Not Equal to)
If suppose we have a case where we want a code to be run specifically if we get both of the 2 conditions fulfilled.

Example: I want an alert that “Its correct” only if both of these conditions are fulfilled where in fruit selected is Apple and taste selected is Sweet.

       <script type="text/javascript">
       var fruit = "Apple";
       var taste = "Sweet";
       if((fruit == 'Apple') && (taste == 'Sweet')){ //Thats correct Both conditions are must to be fulfilled.
           alert("Thats correct");
       }
       </script>

Eg. Similarly if we want any one condition to be fulfilled where in fruits Apple is selected Or if taste Sweet is selected.
      <script type="text/javascript">
                    var fruit = "Mango";
                    var taste = "Sweet";
                    if((fruit == 'Apple') || (taste == 'Sweet')){ //One condition is fulfilled
                              alert("One condition is fulfilled");
             }
     </script>

Eg. If we want that the selected variable should not have a particular value ie negation condition, we can do it with not equal condition Operator.

<script type="text/javascript">
    var game = "Cricket";
    if((fruit != 'Cricket'){ //Yes its not !
    alert("Yes its not !");
}
</script>

What are Conditional Operator or Ternary Operator?
It is a short condition to be used in some places. The syntax of conditional operator is:
var result = (condition) ? true expression : false expression;
Example:
var age = 45;
var result = (age == 45)?'You are 45yrs old.':'You are not 45yrs old.';
alert(result); //You are 45yrs old.

Summary:
We can use various available conditionals in JavaScript according to the situation. At first glance all the conditions look like an alternative of each other but seriously speaking this is not the case always. As much you will indulge in them more sense you will acquire to use them.

Friday, February 26, 2016

Importance of SMO, SMM and SNM in Website Branding

Social Media optimization are often outlined as a method of achieving Communication and traffic from Social Media Websites. It's a method to optimize internet sites, in order that they're simply connected or like with on-line communities and websites.

Primarily the main target of Social Media optimization is to drive traffic from Sources aside from the Search Engines. Social media will take many alternative forms, together with net forums, web logs, social blogs, wikis, pod casts, footage and videos. It's a very important side of internet selling that helps you in building your Company Image, Identification and on-line Communication strategy. Facebook, Linkedin, Digg, StumbleUpon, Flickr, Twitter, My Space, hi5 and YouTube area unit a number of the popular Social Media Websites.

SNM (Social Network Marketing): MySpace, Facebook, LinkedIn, and a bunch of smaller niche social networking sites became terribly fashionable. These sites permit their users to attach to at least one another during a myriad of how, permitting similar and like folks to search out each other supported geographic, interests, industries, or schools. These sites supply extraordinary opportunities to speak with terribly specific teams of individuals. And social networking is not only for teenagers anymore: the older-than-25 crowd is that the quickest growing phase for MySpace and Facebook.

Viral Video selling : Microorganism video selling is that the gift that keeps on giving! Once optimized, uploaded video can usually simply keep attracting self-selected viewers WHO area unit extremely doubtless to have an interest in your content, product or services.

If you've got existing video assets like previous commercials or coaching video, you'll be able to place them back to figure by uploading and optimizing them at video sharing sites like YouTube. Not solely do these sites have associate degree existing audience, they even have social networking options that permit you to attach directly therewith site's users.

If you're designing on making video within the future, microorganism video selling ought to be a part of your selling arrange. And with the prices of production having plummeted, video selling is price serious thought.

Social Bookmarks Marketing: Social bookmarking services take the concept of your browser bookmarks feature and place them on-line for you to share with anyone. folks will buy your bookmarks, so that they area unit an excellent thanks to distribute your content dead set targeted audiences. Sites like delicious and StumbleUpon conjointly embody social networking options, therefore you'll be able to get your message to folks that area unit presumably to have an interest in your content.

Blogging/Pod-casting/Video Blogging: Blogs, be they written blogs, podcasts, or video blogs, or a mixture therefrom, area unit a superb thanks to build a community around your content. Your in-house data are often placed on show to demonstrate to potential shoppers and customers your competency, enthusiasm, and experience. The technology that drives blogs, RSS, permits you to distribute your content way and wide, so extending your message way on the far side simply your journal. Optimizing your journal presence can facilitate expose your content to the widest targeted audience.

Event Marketing: If your organization holds regular public events like conferences, seminars, or speakers, promote them on-line with calendar sharing services like Google Calendar and future.org. Optimizing your event listings can produce another channel through that you'll be able to realize new attendees.

Advantages of SMO ( Social Media Optimization):
By applying Our Social Media Services you'll be able to expect:-
  1. Increase in Traffic
  2. Creates buzz or word of mouth concerning your product and Services
  3. More visibility and accessibility of your business
  4. Multiply arriving links
  5. Achieve higher program ranking
  6. Build recognizable identity or stigmatization for your product and services
  7. Form relationships with current customers further as potential customers, staff or business partners
SMM(Social Media Marketing) or Social Media selling is that the latest buzz within the air to achieve higher whole visibility associate degree conjointly works as an organic SEO tool to get arriving links and traffic from social networking websites. It's a method of implementing share links on those websites that facilitate content sharing, knowledge exchange and adding distinctive content. completely different social media tools together with blogs, podcasts, and community-based internet portals like Facebook, MySpace, LinkedIn, Twitter, Digg, Reddit, and StumbleUpon. These social media tools escort completely different options like text, images, audio and video sharing among your contacts.

Benefits of Social Media optimization:-
  1. It generates free web site traffic.
  2. It boosts up the whole visibility.
  3. It generates arriving links.
  4. It increase popularity among other sites.
  5. It helps in good ranking on search engines.
SMO is just a different way to increase popularity and traffic on site in different way as compare to the SEO(Search Engine Optimization).

Tuesday, February 16, 2016

Typography Interview Questions and Answers?

Q.1. What is Typography?
Ans. Typography is the art, or skill of designing Communication by means of the printed word.

Q.2 How Typography plays an important role in designing?
Ans. Typography is an art. It is as important sometimes more important them the color and graphic used. It has a great impact On how your design is received by people. Here are some reasons why you should never overlook on the goodness of typography.

Q.3 Write a Brief note on “Classification of Typography”?
Ans. Most typefaces can be classified into one of four basic groups: those with serifs these without serifs, scripts and decorative styles. Over the years, Typography and scholars of typography have devised various systems to more definitively categorize typefaces some of these system have scares of sub-categories. A classification on system can be helpful in identifying, choosing and combining typefaces.

Q.4 Explain all the type of serif-typefaces with 2-2 examples. Diagrams can be created for better understanding of serifs.
Ans. (1) Old style (2) Transitional (3) Neoclassical & Didoes (4) slab.

(1)Old Style :- This category includes the first roman types, originally created between the late 15th and mind 18th centuries, as well as typefaces pattern after those designed in this earlier period. The axis of curves strokes is normally inclined to the left in these designs, so that weight stress is at approximately 8:00 and 2:00 o’ clock.

(2)Transitional serifs:- English printer and typography john Baskerville established this style in the mid 18th century. Weight contrast Is more pronounced than in old style design. Serifs are still breasted and head serifs are oblique.

(3) Neoclassical & didone serifs:- These are typefaces created within the late 18th center or their direct descendathes. The work Of Giambattista Bodoni epitomizes this style of types. In many cases, stoke terminals are “ball shapes tether than an evocation of a brand pen effect. These tend to be highly mummer designs, with dearly.

(4) Slab serifs : Slab serif typefaces became popular in the 19th century for advertising display. These typefaces have very heavy serifs with minimal or no bracketing. Generally, Change in stroke weight are addition of heavy (Stroke Weight) serifs.

Q.5 Explain all the type of san-serif typefaces with 2-2 Examples. Diagram can be created for better understand?
Ans. (1) Grotesque (2) Square (3) Humanistic (4) Geometric

Grotesque Sans serif :- These are the first commercially popular sums serif typefaces. Stroke contrast is less pronounced than Curlier designs, and much of the “squatness” in curved storks has been rounded. Normally the most obvious distinguishing character tic of these faces in this single bowl g and more monotone weight stress.

Square san-serif:- These design are generally based on grotesque character traits and propositions, but have a definite and, in some instance, dramatic squaring of morally curved strokes. They usually have more attitude character spacing than their Sans serif cousins and tend to be limited to display designs.

Geometric sans serif:- Simple geometric shapes influence the construction of these typefaces. Stacks have the appearance Being. Strict monoclines and character shapes are made up of geometric forms . Geometric sans tend to be less reachable than grotesques.

Q.6 Explain all the anatomy of typefaces with illustration?
Ans. (1) Aperture (2) Arm (3) Ascender (4) Baseline (5) Bowl (6) Counter (7) Crossbar (8) Descended (9) Diagonal Stroke (10) Ear
  • Aperture:-Opening at the end of an open counter.
  • Arm:-A horizontal stroke not connected on one or both ends.
  • Ascender:-An upward vertical stroke found on extends above the typeface’s x-height.
  • Baseline:-The invisible line where letters sit
  • Bowl:-A curved stroke that encloses a letter’s counter.
  • Counter:-Fully or partially enclosed space within a letter.
  • Crossbar:-A horizontal stroke
  • Descended:-A downward vertical stroke lowercase letters that extends below the Baseline.
  • Diagonal Stroke :- An angled stroke
  • Ear:- A small stroke projecting from the upper right bowl of some lowercase g’s

Monday, February 15, 2016

Meaning of White Hat SEO and Black Hat SEO

White Hat SEO:

White Hat SEO (otherwise called Ethical SEO) alludes to SEO techniques that mean to fabricate a quality site over the long haul by concentrating on the site's crowd. White hat SEO procedures incorporate making novel, great site content and giving connections to other pertinent substance on the site. White hat SEO strategies hold fast to all web search tool standards and arrangements, which act to prevent website admins from gaming web indexes to the detriment of the persuers experience. 

Black Hat SEO:

Black Hat SEO (otherwise called Unethical SEO) alludes to dubious SEO strategies used to gain higher web page rankings. Black Hat SEO is frequently depicted as a web search tool calculation gaming method. It makes utilization of forceful methods and strategies which are just gone for web search tools and don't consider a site's human crowd. Black hat SEO strategies are generally viewed as exploitative.


    White Hat SEO
    Black Hat SEO
                                                 BLOGGING
  • Prior contribution
  • No prior contribution
  • Regular contribution
  • Not useful
  • Useful comment
  • Automated/Bots
Contextual Article/Links
  • Useful anchors
  • Irrelevant anchors
  • Link to genuine site
  • Duplicate content
  • Well written author markup & organic content
  • Links to spam ridden sites
Directory link
  • Local directory with good reputation
  • Overseas directories
  • Relevant industry directory
  • Irrelevant industry directory
  • Regularly updated and moderated
  • Not moderated
Content creation writing
  • Create content using first hand research
  • Copied content
  • Use perfect grammar
  • Grammatical errors
  • Copyscape check
  • Duplicates appear
  • Written for a target audience
  • Generic and boring to read
Summary
  • Earn links via quality content and social sharing.
  • Farm links from irrelevant low quality sites
  • Regular, active, helpful participation on blogs represent your brand
  • Random spam ridden blog commenting
  • Popular and useful direction
  • Forgotten directions
  • Improves user experience
  • No value or hampers user
We at ADMEC Multimedia Institute provides White Hat SEO technique to improve your website ranking in search engine result page's. We have approximate ten courses related SEO mention below:

Black Hat SEO Techniques of 2016

Black Hat SEO(Search Engine Optimization) is basically connected with the strategies and procedures that are utilized to get higher search rankings however in a dishonest way. The Black Hat SEO procedures more often than exclude one or a greater amount of the accompanying trademark: 
  • It breaks web crawler principles and regulations.
  • It makes a poor client experience on account of the strategies used on the site. 
Unscrupulous strategies results in speaking to content in an alternate visual or non-visual way to web search tool crawlers and web index clients. 

At the point when Google recognizes Black-hat techniques involvement, it forces punishments on the guilty party. The site positioning drops instantly in the internet search list, and by and large gets out of the main 100 search result list items, or in compelling cases it might get totally de-indexed. In the event that utilizing the Black Hat SEO strategies, then entire site might confront punishments because of infringement of Google rules that takes care of the SEO techniques being used by website admins to upgrade their page rank and reach at top of web crawler results. 

Techniques of Black Hat SEO: 
  • Keyword stuffing
  • Cloaking
  • Doorway sites
  • Throwaway sites
  • Mirror sites
  • Hidden text
  • Tiny text
  • Link spamming
  • Comment spam
Keyword stuffing:
Keyword stuffing is the strategies of unreasonably utilizing loads of catchphrases with the aim of enhancing web index, quite frequently this utilization shows up in an endless or ungrammatical way.

Cloaking:
Cloaking is the method whereby the site obvious to a site-guest is altogether not quite the same as that seen by a web crawler . The customary client might see one arrangement of content and pictures yet underneath that pictures or "cloak" the site is loaded down with keywords.

Doorway Sites:
Doorway site is a site that goes about as an alluding page for another site. The doorway page is very improved containing concealed connections and keywords that trips the web search tool rankings yet re-guides all off its movement to the objective and ineffectively upgraded website.

Throwaway Sites:
Throwaway sites are quite often doorway sites. They are sites that are worked upon by spammers to give a fleeting and manufactured support to movement once their activity targets are accomplished they are frequently changed or left to switch off.

Mirror Sites:
Mirror sites utilizes an alternate URL to the objective site however contain indistinguishable substance. With computerized page generation there might be many diverse URLs, all with the same substance. This procedures is some of the time alluded to as domain duplication.

Hidden Text
The strategies here is to full or stuff a page with the keywords undetectable to the exposed eyes. This is finished by utilizing the same color for content with respect to the background page. This methods is some of the time alluded to as wow short for white on white.

Tiny Text:
Tiny text is a system of utilizing little content that is scarcely obvious to the human eye. This content can be perused by the engines be that as it may, the engines will likewise acknowledge this content as spam.

Link spamming:
In numerous regards, because of the expanding impact of connections it was inescapable that link spamming would turn into an issue of spamming of connections. It has been a developing issue and Google have understood the significance of link spamming thus blocking the sites permanently.

Content Spam:
Identified with link spamming is content spam. Content spam is the place where a spammer visits a freely available site and stores a comment with an anchor link text connected back to an assigned site. Forums and blog websites are run of the mill target. This exercises got to be recognized as a noteworthy issue in 2005 when Google found a way to anticipate it from the online journals of blogger.com.

Using Black Hat SEO techniques for long term business is never be better to any websites. Because when search engine crawler recognize that your website is using Black Hat SEO then your websites gets penalized by search engine. For long term business and better result in search engine you can follow White Hat SEO.

Wednesday, February 10, 2016

Some of the most in-demand programming languages in 2016

If you have decided to choose your career in the field of programming languages, then some perceptions always come in mind like
  • which is best programming language to learn?
  • which is best programming language for Job?
  • which is best in-demand programming language?
  • which is best programming training institute?
These type of questions always strike in the mind of a beginner. Answering all these important questions is not dead simple. We have to consider all the related factors before deciding a programming language to learn.

Now a days technology evolves in matter of weeks and updating according; by the time we can become expert in a particular software technology. All the programming languages vary greatly in terms of functionality and complexity.

The answer to which is best programming language to learn depends upon you that which type of task you want to perform. For instance, if you want to choose career in developing some static web-based applications or websites, you might need to learn HTML5, CSS3, JavaScript, and jQuery. Inversely, if you want to develop your career in building more advanced applications with advanced technology, you can learn PHP, ASP.NET, Java, Python, Ruby, C etc. 

 Most In-demand Programming Languages:
  • JavaScript
  • Java
  • C#
  • PHP
  • Python
  • C++
  • C
  • SQL
  • Ruby
  • Objective-C

JavaScript is well known client side programming language which runs directly inside a client browser. This language executes commands in client computer rather than server, due to this feature JavaScript increases programming execution speed. Using this language we can add effects to web pages. It is most popular scripting programming language on the world wide web which built right in all major web browser like: Firefox, Google Chrome, Internet Explorer, Apple Safari etc.

The existence of a good and rich featured website is almost impossible without the JavaScript. Whether you are building a website with animation, graphs, audio gallery, video player or a single page web application; JavaScript fulfills all the needs. AngularJS, Ember, Backbone, CreateJS, jQuery are some of the examples of JavaScript's frameworks and libraries being used in industry to add Ajax calls and animations in websites and web applications.

Java:
Java is pure object oriented programming language developed in 1990 by James Gosling. This language was developed after considering the concept “WOR” (WRITE ONCE RUN ANYWHERE). According to recent survey approximate 9 millions developers and 7 billion devices using this language for different purpose. This language widely used for develop enterprise level application, websites, video games etc.

C#:
C sharp is called part of Microsoft’s family of programming languages developed in 2000. It's works with .Net Framework. It is very similar to Java in terms of functionality and complexity. This language is widely used to develop all types of software applications those come with Visual Studio IDE. It's also used to develop dynamic web based applications, Windows form application or a Windows Presentation Foundation (WPF) Application, windows phone application. In last few years job for C# programmers have increased very fast and you can also find a lucrative job as a C# programmer.

PHP:
For developing a dynamic website PHP (Hypertext Preprocessor) is most widely language. It was developed in 1995 and called server side language. It's is an open source programming language. Lots of PHP platform available like: WordPress, Joomla, Drupal, Magento, Openkart, Sopify etc which allow us to develop website whether they are e-commerce, non e-commerce, and applications. This is one of the most important languages for developers who plan to develop their career in web development. It has also huge job market compare to any other language.

Python:
Due to it's simplicity, readability and straight forward syntax Python is often considered easiest language to learn among all. It is developed by Guido Van Rossum in 1991. In this time some highly famous websites like pinterest.com, instagram.com, and rdio.com, operates in this language.