10th Jun 2008

Free online batch UPC validator

I have created batch ISBN to ISBN13 converter some time ago. Here is another useful tool — online batch UPC validator. Please leave bug reports and thanks (if any :) ) in comments.

Posted by Posted by Alexander Alfimov under Filed under Other, Projects Comments No Comments »

12th May 2008

Открыта вакансия PHP-разработчика

Компании срочно требуются PHP-разработчики. Основные требования:

  1. Опыт работы в веб-программировании не менее двух лет
  2. Возраст не младше 21 года
  3. Знание ООП и отличий между PHP 4.x и PHP 5.x
  4. Желательно проживание в г. Харькове или г. Сумы

Подробности можно узнать, оставив комментарии к этому сообщению либо по ICQ: 142806591

Posted by Posted by Alexander Alfimov under Filed under Other, PHP Comments No Comments »

30th Mar 2008

MySQL tip: why are my joins so slow?

Never! Never join tables on fields with different types. Say, you have one table with `zip` varchar(5) and another with `zip` int(5). As a result of …left join … on a.zip=b.zip you will get perfomance loss up to 1000 times.

Posted by Posted by Alexander Alfimov under Filed under MySQL Comments No Comments »

02nd Mar 2008

PHP 4.x annoying bug related to $this keyword

Did you know PHP 4.x cannot take reference from $this? So, code below won’t work:

$reference = &$this;

It took me about 30 minutes to figure out what exactly was wrong with my code. So, I hope this post will help somebody else to avoid the problem.

What I did to fix it. Just added another property named “reference” to class and initialized it right after creating class instance. If anybody knows another way - please let me know.

Thank you.

Posted by Posted by Alexander Alfimov under Filed under PHP Comments No Comments »

06th Feb 2008

Yes, I love MVC pattern

Yet another project finished — whoswhogallery.com.

Posted by Posted by Alexander Alfimov under Filed under Projects Comments No Comments »

10th Nov 2007

Drupal, Wordpress and Joomla!: performance tests.

Hi!

Today I’d like to share some interesting results of performance tests for 3 most popular CMS/Blog systems: Drupal, Joomla! and WordPress.

Tests were done on dev debian machine using Apache ab utility.

MySQL settings:

| join_buffer_size | 131072 |
| key_buffer_size | 16777216 |
| key_cache_age_threshold | 300 |
| key_cache_block_size | 1024 |
| key_cache_division_limit | 100 |

| query_alloc_block_size | 8192 |
| query_cache_limit | 1048576 |
| query_cache_min_res_unit | 4096 |
| query_cache_size | 16777216 |
| query_cache_type | ON |
| query_cache_wlock_invalidate | OFF |

Apache settings:

<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 20
MaxRequestsPerChild 0
</IfModule>

All systems have about 20,000 articles and 200+ links on page.

Versions: drupal 5.1, wordpress 2.2, joomla! 1.0.12

Results for ab -n 200 -c 4:

drupal-sef-no-aliases:
Requests per second: 2.43 [#/sec] (mean)

drupal-sef-20000-aliases:
Requests per second: 1.21 [#/sec] (mean)

joomla1-no-sef:
Requests per second: 2.75 [#/sec] (mean)

joomla1-patched-opensef:
Requests per second: 1.87 [#/sec] (mean)

wordpress-numeric-permalinks:
Requests per second: 0.65 [#/sec] (mean)

wordpress-date-name-permalinks:
Requests per second: 0.64 [#/sec] (mean)

Larger number means better performance. Joomla rocks?

Posted by Posted by Alexander Alfimov under Filed under CMS, Joomla, MySQL, PHP Comments 4 Comments »

09th Jun 2007

Фотоотчет с первого семинара.

Что ж, семинар состоялся. И, как мне кажется, прошел довольно таки успешно :)

Well, we passed over the first intown programmers conference. Pretty nice, what else can I say?

Team Meating #1

Posted by Posted by Alexander Alfimov under Filed under Team meAting Comments No Comments »

06th Jun 2007

Семинар разработчиков Te@m /meEating или пора посмотреть друг другу в глаза

Мы считаем себя разработчиками и каждый день боремся каждый со своми задачами. Мы постоянно заняты и часто красивые решения проблем или интересные находки не добираются даже до наших блогов. Все мы владеем кое-чем уникальным — своим опытом. Предлагаем его обменять по курсу один к одному на опыт коллег и неформальное общение с единомышленниками.

Примерная программа:
- Очное знакомство, каждый представится и обозначит круг своих интересов в разработке
- Неформальные доклады

Место и время проведения: Украина, г. Сумы, Центр Европейской информации (библиотека им. Крупской, 3-й этаж), 9 июня (суббота), 15:00. Всех встретят на входе.

Ориентировочные темы докладов:
1. Краткий обзор CMS Joomla, Drupal, Typo3 и WordPress. Используемые подходы, плюсы и минусы. Результаты crash-тестов. Докладчики: alfim(Joomla, WordPress, Drupal), ArtVolk(Typo3, критерии выбора CMS: субъективный взгляд)
2. Организация рабочего процесса небольшой группы разрабочиков (системы контроля версий, баг-трекеры, работа с командой). Основной докладчик - ArtVolk

Организаторы - alfim, ArtVolk.

Заявку на участие можно оставить в комментариях. Задать вопросы можно там же или в ICQ: 142806591

Posted by Posted by Alexander Alfimov under Filed under Team meAting Comments No Comments »

04th May 2007

New project finished

It seems like we’ve finished one more project, 1c-uso.ru. It’s pretty simple Joomla-based website with downloads section for registered users and Mantis integration.

Posted by Posted by Alexander Alfimov under Filed under CMS, Projects Comments 1 Comment »

19th Apr 2007

Online ISBN10 to ISBN13 converter.

I’ve googled today for such a thing but without any luck. The main requirement was the ability to convert ISBNs in batch mode. Fortunately I’ve found small JS function here and decided to write the tool myself. Please don’t hesitate to leave comments in case you found it useful or have suggestions on it’s functionality.

Simple online ISBN10 to ISBN13 batch converter.

Posted by Posted by Alexander Alfimov under Filed under Other Comments 8 Comments »

Close
E-mail It