Author Archives: Andrei

jQuery Selectors tutorial

jquery_logo

jQuery selectors As I promised, I will write a series of jquery tutorials starting from beginner to advanced, so the first episode of these series will be about jquery selectors. What are jquery selectors ? jQuery selectors are one of the most important aspects of the jQuery library. These selectors use familiar CSS syntax to

Learn Jquery step by step [ jQuery Course ]

jquery_logo

Learn Jquery step by step We’ve been talking since some time now about some advanced techniques regarding this thing called “jQuery”, but now it is time to cover it in more detail and structure it also for beginners. We will start a little journey with jQuery, trying to cover in detail the most significant parts,

How to use PHP namespaces

namespace

PHP namespaces Before we dig in into namespaces, we have to understand what they are, and how they are used. A simple analogy can be made between PHP namespaces and a filesystem. They work quite the same and apply the same principle. Imagine the following directory structure:

Everything clear. You have a “foo.txt” file in the

Let’s laugh a bit…

You all know how programming can be boring and time consuming sometimes, so why don’t we explore the fun part of it today ? I saw in the past an article about something like “the funniest comments in the code that you encountered” or something similar, and I told myself “hey, this could be a

CSS Pseudo-classes

CSS before and after

CSS Pseudo-classes You heard about these things in the past, right? So what are these classes that we are talking about? Pseudo classes are structures that are used to specify a state of the selector. They are used in the next format: selector:pseudoClass { property: value; }, simply with a colon in between the selector and the pseudo class.

8 of the most common html validation mistakes

html

8 of the most common html validation mistakes. One of the most ignored thing when writing code, is that the developer checks the output of the website from the browser, and it is not giving any attention to html validations. A well written website should have a good html validation. What is html validation ?

Using Javascript eval function

Javascript eval function Long, long in the past, I was trying to obtain a logical expression from some different variables and concatenate them into one single variable, to use that further for a jQuery plugin. Everything looked great when running console.log(myVar), but then the problem came. In my mind, I didn’t thought that the result would

Converting strings to numbers in javascript

javascript

Converting strings to numbers in javascript There are some situations where you would want to take a string from a place, convert it to a number and put it in another place on the client side. This thing can be obtained by some helper function that are built-in in javascript. In this article we will

Syntax Highlighting for your website

google prettify

Syntax Highlighting for your website You have let’s say a blog, like this one you are reading right now, and you will post code snippets on it. You want your readers to see that clear and highlighted not just plain text because is hard to read for the eye of a programmer. Google code pretify.

Using LESS for CSS

LESS

Using LESS for CSS As I have said in my past articles, we live in a world where rapid development of web applications is an important factor. We need to be able to construct big things in short amount of time. This is why, we need to learn to use tools that helps us obtain

Request an article ←