Hi. I am going to provide small example of how I use gearman with my Yii applications. If someone doesn’t know what is gearman here is quick explanation from the official website http://gearman.org A Gearman powered application consists of three parts: a client, a worker, and a job server. The client is responsible for creating [...]
Fully ajax website with Yii – Part 2
In previous post I described how to create simple full ajax web application without changing basically logic of the application. All changes was made to the layout, view and to the base classes. But as you maybe already noticed not everything works well. For example if you tried to sign-in -menu won’t be updated. In [...]
Fully ajax website with Yii — Part 1
This article will be suitable for who made fully ajax site like Gmail with best PHP Framework — Yii. Main requirements are: All pages should be loaded via ajax. All forms should be submitted via ajax. Pages should be reachable by search engines. History support. Window title support Minimal additional code. Here is my solution. [...]
Gearman воркер для скачивания файлов по URl
Gearman, сервер организации и распределения задач, более подробно можно узнать на оффициальном сайте http://gearman.org/ Данную статью я пишу для тех кто уже знает для чего он нужен и как его устанавливать. В одном из моих проектов gearman воркеры скачивают файлы по ссылке. Также они во время работы отсылают статусы о прогрессе. Вы можете запустить нужно [...]
Columns for CListView
В составе лучшего PHP фреймворка в мире — Yii есть класс для отображения списка элементов — CListView. К сожалению он не отображает список в несколько колонок, для одного из моих проектов понадобилось именно это. Представляю ColumnListView