jQuery addClass with Explanation and Example

This function can help you daily. It simplifies the web development a lot and allows you to do complicated styling using classes. jQuery addClass does what is says. It adds a class to the object now under modification. It has no side effects and it really does only one simple thing add a class. It provides a powerful combination with removeClass() and toggleClass() to class handling. Continue reading jQuery addClass with Explanation and Example

Symfony vs Laravel – The Battle of Old and New

Question that arise for many new projects with PHP as their main back end language which web framework should I choose. How can you make a decision between Symfony and Laravel?

These two PHP web frameworks are currently the two most used. They have a lot in common and Laravel actually uses some parts of Symfony, but in the end its a world of its own. Even though they have a lot in common, they also differ in many ways from each other. The basic object oriented model and model view controller pattern is in the heart of both. Continue reading Symfony vs Laravel – The Battle of Old and New

JavaScript Semicolons Are Not Necessary

Did you know that when you are writing JavaScript, most of the time you don’t actually need to use semicolon in the end of the line. In most programming languages semicolons are mandatory in the end of the line. But in more modern languages, like JavaScript, Python or Swift, this tradition has been cut off. These languages handle the the ending of a statement some other way. Continue reading JavaScript Semicolons Are Not Necessary