YUI3 vs jQuery


Everybody time to time comes to the dilemma which JS library to choose for further development. I used to work with prototype coupled with script.aculo.us and now use YUI3 in the office and jQuery at home. I like both of them, though finding each as the best one ‘sui generis’. YUI3is a classical framework that provides design patterns and development philosophy as well as tool. jQueryis meant as a rapid, lightweight, flexible and pretty easy to start library.

Error Handling for Your PHP Application

How to

However fondly you treat your application, errors happen and they happen often when it is being developed. That’s obvious you want to get all the tracing information during the development stage and something like ‘Application Error’ page if the error occurs on the production. Everybody knows error handler can be set in PHP through set_error_handler. The same about exceptions for which set_exception_handleris used. But it really works only for user-defined errors and uncaught exceptions.

Anonymous Functions and Closures in PHP


If you are used to switch between JS and PHP programming, it obviously happened to you to miss some of JS flexibility in PHP. I felt it every time when declaring a callback function , being eager to apply something from JS like that: var scope = 'internal'; setTimeout(_callback, 100); // Callbacks var _callback = function() { alert(scope); } And when I needed a recursive use, even like that: (function(delay){ timer = setTimeout(function(){ timer = setTimeout(arguments.

Source Code Analysis: Code Sniffer

How to

Choice problem In the previous article we examined the only way of code analysis – PHP tokinizer. But digging deeper you’ll find many of options. Well-known expert of the subject Sebasitan Bergmann points out following Dynamic code analysis -* Xdebug (can be coupled with PHPUnit) -* php-code-coverage Static code analysis -* Token-Level Analysis by ext/tokenizer and PHP_TokenStream -* Syntax-Level Analysis by PHP_Reflection_AST and ext/parse_tree -* Bytecode-Level Analysis by ext/bytekit As far as you see, with such a set of tools you can do whatever you want.

Image Slider: Comparing JS, JQuery and YUI3 Implementations


Here lies the story… First I decided rewrite my old BlogSlideShow JS-class. In fact I have a plan to rewrite all of my old works gaining to update functionally and appearance regarding to nowadays fashion and make better their code. You can see what I got at the demo page. So, after I finished with implementation on fluent JS, without use of any external library I ported it on jQuery. After that I wrote also implementation on YUI3.

Source Code Analysis: Translation Coverage

How to

How to Make Translation Term Coverage Report Let’s assume our application has a UItranslation module. We created dictionary and use terms from there within the code of application components. Everything is clear so far. But one day we begin to suspect that not all of the terms presented in the dictionary are really used within the application. Besides, probably some of terms which are used in components are not available in the dictionary.

Persistent Full Duplex Client-Server Connection via Web Socket

Real-Time Web

RIAis considered as one of the mostly particular to the modern Web feature, and often stands for the trend, according to which web-applications tend to desktop applications. Nonetheless the approach is very relative. Overwhelming majority of “rich” web-applications is still built on the “request-response” model. I.e. events of the client side can be reflected on the sever side, but not vice-versa. In order to make such a trivial thing as a chat, you have to go with tricks.

Sapid CMF reload


Eventually I reincarnated my personal site using alpha version of Sapid CMF 2. I’m still in progress refining the CMS release, but actually the only what I brought from old version is its name. So, what is going to be? First of all that’s a new explicit architecture. According to the request dispatcher finds controller. The controller using services prepares data for the view. Services access raw data via DAOs, which respectively use DTOs(Data Transfer Objects).

Feature Driven Development for web-developers

Scrum And Agile

About 10 years ago web-projects were mostly static and development process pretty simple. Now difference between web-applications and desktop applications disappears, functional complexity of web-projects grows up. It demands to new requirements. That’s usual now – the project is long-term , many of experts take part (non-experts as well). Everybody brings to the project backlog new ideas and goals, before the development stage as well as after. You see, goals and stories mutate and so the tasks.

How to Create Facebook Applications

Social Web

What makes sense in writing of Facebook applications Has it ever occurred to you to fancy about all Facebook applications are simple and similar per se? All of these virtual hugs, gifts, greeting cards, wishes, likenesses, poke, smiles, karma-exchange and other psychological “stroking” differ only with the form, in which user get their portion of attention. Thus this niche is always open for persons interested to test their own ideas. Facebook applications enroll the audience in the way viral marketing works.

Discover a World of Fascinating People. Popularly about social networking

Social Web

It is common to encounter success stories that begin with the words: “I’ve have been lucky in my life. I’ve made good friends and met like-minded people who have helped me from the beginning. Thanks to them I have achieved my dreams”. It is evident that not everyone reaches their goals and not everyone us is lucky enough to meet people who can direct their life towards success. The Internet epoch has introduced a tremendous new option in the realm of communication.

Tendencies in Content Management Software Development or CMS 2.0

Web Trends

Opinions on the future of Web 2.0differ, and sometimes a lot, but no one would argue that this concept in many ways shaped the present-day Internet. That is why we, developers, should follow new tendencies and trends on the market. Web 2.0brings with it new requirements. Consumers of CMS-based solutions largely fall into three categories: corporate users, internet users and third-party applications. The first two categories include people, and over the time we have developed following preferences: