Stratos Blog

Mysqlx250 3

MySql query to dynamically convert rows to columns

In some cases pivoting a table is not desired, instead we need to convert rows to columns and append them to the result set without “grouping” them against a specific value. In some cases we simply need to append a column, or columns, for each row and name the new columns something arbitrary like data1, data2, data3, etc.

AJAX PHP progress no polling 7

How to use AJAX to show progress of a PHP script without polling

A lot of times we want to provide some sort of feedback to the user, while executing a task that usually takes a lot of time in the server. However it is not always desirable to utilize a technique like polling. Instead we can use either one of these two methods in order to update the DOM and let the user know what is going on.

Untitled-1 2

4+1 CSS3 animation libraries!

The main purpose of CSS is to separate content from presentation. Therefore having a bunch of JavaScript execute complex code in order to animate an on screen element is less than ideal. Plus animations through JavaScript occasionally need non semantic HTML to be inserted in order to make everything happen. This is exactly why CSS3 animations are awesome.

digital_tree 0

5 effective techniques for encouraging website investment

Paul Boag, in yet another amazing blog post, talks about the need to convince customers that websites require ongoing investment and even provides us with five very smart arguments to help us with this. The fact that websites need constant care and development, is something that is pretty obvious for all web professionals but unfortunately, most clients fail to understand this.

Vindinium 1

Vindinium – An AI online contest

Vindinium is an ongoing programming challenge that revolves around Artificial Intelligence. Your task is to write a script, in your favorite programming language, which will decide how your hero will behave in the field. Your program will then fight with other users for a predetermined number of turns over who can gather more gold.

CSS Measuremments 1

When to use each CSS Measurement

One of the most fundamentals things in CSS that is often overlooked but every web designer should know about, is when to use each CSS Measurement. The most popular CSS Measurement Units are px (pixels), % (percentages), em (relative to document font size) and pt (points). In this article we are going to review each unit and determine when they should be used

laravel phpstorm

Laravel artisan serve in PhpStorm

I recently started looking into the Laravel framework and I have to admit that it is leaps and bounds ahead from my current favorite framework, Codeigniter. It is so much more elegant in every aspect and takes full advantage of several new PHP features. This article is about the built-in web server which is utilized through the artisan serve command tool and how to integrate it with PhpStorm

codelobster 1

CodeLobster PHP Edition Review

I couple of months ago I was asked to checkout an IDE for PHP development called CodeLobster. It looked very promising and came with a lot of features. I have been using the professional free to try version for some time now and I have to say that overall it’s pretty good.

u8MFyyo1-300x225 1

Cross browser background-size:100%

Let’s assume that we design a website and we want to set the background to be similar to the image on the left. This can be achieved with a couple of ways: We can either use a pure CSS radial gradient or we can use an image. The CSS method is in my opinion superior but in some case using an image is prefferable

front end quiz 0

Front End Web Development Quiz

This front end web development quiz created by By David Shariff is probably going to hurt your ego. At this time 62414 people have completed this quiz and the average score is 53.74%. You think that’s low?

Go ahead and give it a try