Crazy PHP world

Sep 14
2007 00:56 (PHP) · Русский (7,458 views)

We are living in XXI century, but PHPists can’t decide yet how to write: "text $b" or 'text ' . $b. I’m going slightly mad.

via Artjom Kurapov’s blog.

JavaScript optimization Part 3: Attaching events

May 10
2007 01:41 (Development, JavaScript) · Русский (17,830 views)

This is a third part of the JavaScript optimization tutorial, and today I’m going to talk about events. Sorry for a long delay between posts, I hope remaining parts would not be delayed so much.

Scenario: you have some elements and you need to add some actions to them (for example, when user moves mouse cursor over element, or clicks on elements).

Read the rest of entry »

Using sub-queries to avoid multiple DB requests in Rails

Apr 12
2007 08:12 (Development, MySQL, Ruby on Rails) · Русский (7,719 views)

When I worked on Best Tech Videos with Alexey Kovyrin, we faced a problem of filtering videos by category with selecting posts categories in the same query. It was easy to solve the problem, but there is one query optimization trick exists.

Read the rest of entry »

JavaScript optimization Part 2: Applying styles to elements

Mar 27
2007 22:02 (Development, JavaScript) · Русский (10,174 views)

This is second part of articles cycle devoted to JavaScript optimization. In this post I’ll cover dynamic elements styling and explore a little HTML-rendering process. Also you will find here some tricks on how to make your applications faster.

Read the rest of entry »

JavaScript optimization Part 1: Adding DOM elements to document

Mar 25
2007 03:40 (Development, JavaScript) · Русский (19,807 views)

Most web-developers writing tons of JavaScript, especially in our Web 2.0 century. It’s powerful technology, but most browsers has very slow implementation of engine, and everyone at some instant decide to review code and make it faster. In this post I’ll share my experience and explain several tricks how to make your JavaScript as fast as possible.

This is first article in 7 parts tutorial, stay tuned.

Read the rest of entry »

 
Copyright © 2005 - 2008, Dmytro Shteflyuk