Subcategories

CSS rules for responsive design

Twitter Bootstrap logo

I read bootstrap’s 3 code and here I will factor out some of the main concepts that I have found at their stylesheet(css).

I read their stylesheet for educational purposes, and because after all I don’t like overriding their sheet, or have 200 classes that I will never use for my projects. I also don’t like including their js files, and it seems that many css classes have connections with the js code.

By reading bootstrap’s code for the first time I narrowed down the code from 6 thousand lines to 1.5 thousand. And here’s the most interesting teqniques they use:

Continue reading “CSS rules for responsive design”

0

SEO basic concepts

seo graph

Search Engine Optimization is a methodology of strategies, techniques and tactics used to increase the amount of visitors to a website by obtaining a high-ranking placement in the search results page of a search engine (SERP).

Proper SEO requires a team, than is consisted by persons who work at various fields, like programmers, marketers, designers, analystists, and plenty more can be used, according to the badged of the business.

In the real world thought, SEO is still unknown for many webmasters, and many others perform very basic SEO. So you can take advantage of this absense of knowledge and with a little efford to accomplish great results!

Continue reading “SEO basic concepts”

0

PHP functions mini guide

Any valid PHP code may appear inside a function even other function and class definitions.
The function name must start with any letter or underscore followed by digits, letters, underscores. They are case insensitive.
Funcs need not to be defined before they are referenced, except when a function is conditionally defined.
PHP does not support function overloadind, nor it is possible to undefine or redifine previously-declared functions.
func_num_args() , func_get_arg() , func_get_args()
All functions and classes have the global scope.
It is possible to call recursive functions

function foo(){
   function bar(){
      echo "I don't exist until foo() is called. \n";    
   }
}


function recursion($a){
   if($a < 20){
      echo "$a\n";
      recursion($a+1);
   }
}

Continue reading “PHP functions mini guide”

0