Crazy PHP world

Sep 14
2007 00:56 (PHP) · Русский (8,169 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.

Sphinx 0.9.7-RC2 released, Ruby API updated

Dec 20
2006 08:33 (Development, MySQL, PHP, RoR Plugins, Ruby on Rails) · Русский (8,114 views)

Today I found that Sphinx search engine has been updated. Major new features include:

  • extended query mode with boolean, field limits, phrases, and proximity support (eg.: @title "hello world"~10 | @body example program);
  • extended sorting mode (eg.: @weight DESC @id ASC);
  • combined phrase+statistical ranking which takes words frequencies into account (currently in extended mode only);
  • official Python API;
  • contributed Perl and Ruby APIs.

I have updated Sphinx Client Library along with Sphinx 0.9.7-RC2 Windows build.

Using Sphinx search engine in Ruby on Rails

Nov 26
2006 10:55 (Development, MySQL, PHP, RoR Plugins, Ruby on Rails) · Русский (24,053 views)

Almost all Web-applications needs data search logic and really often this logic should have full-text search capabilities. If you are using MySQL database, you can use its FULLTEXT search, but it’s not efficient when you have a large amout of data. In this case third party search engines used, and one of them (and I think, the most efficient) is Sphinx. In this article I’ll present my port of Sphinx client library for Ruby and show how to use it.

Read the rest of entry »

Extending moo.fx with custom effect (fx.Flash)

Apr 29
2006 10:54 (Development, PHP) · Русский (15,564 views)

Several days ago my best friend Alexey Kovyrin asked me to help him to create flashing effect on HTML page. I gave him advice to create this effect using moo.fx library. I wanted to show how to extend it, but I couldn’t keep from creating this effect myself.

moo.fx is a superlightweight, ultratiny, megasmall javascript effects library, written with prototype.js. It’s easily to extend it with custom effect and in this post I will show you how you can do this. In this article I’ll show how to create flashing effect: element’s background will smoothly change from one color to another and go back to first color (maybe several times).

Read the rest of entry »

Exploring Zend_Controller class of Zend Framework

Apr 28
2006 00:19 (Development, PHP) · Русский (24,509 views)

Zend Framework team works with gusto on the Zend Framework, great framework for building powerful web-applications in PHP. But too many peoples are confused with its seeming complexity. In this post I will try to explain architecture of most useful part (in my opinion) of Zend Framework - Zend_Controller.

Read the rest of entry »

 
Copyright © 2005 - 2008, Dmytro Shteflyuk