Anonymous Functions and Closures in PHP

PHP
Anonymous Functions and Closures in PHP
Image generated by DALL·E

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...

Source Code Analysis: Code Sniffer

Developer Tools
Source Code Analysis: Code Sniffer
Image generated by DALL·E

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.

As far as you see, with such a set of tools you can do whatever you want. But here we are going to discuss the only application, which is known as code sniffing.

Ok, you have some team, working on the projects and, obviously, you have some code convention to adhere. The lead, making code review, checks the compliance with standards by sight. Common, tell me you are not fond of it. There is an amazing tool but again by Sebastian Bergmann so-called PHP CodeSniffer.

Image Slider: Comparing JS, JQuery and YUI3 Implementations

JavaScript
Image Slider: Comparing JS, JQuery and YUI3 Implementations
Image generated by DALL·E

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. 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. I’m fond of both those frameworks and found that is a good practice top have the same task solved thrice in different ways. So here is my observations experienced the task.

From Code to Content: Measuring Translation Coverage in Your Project

Developer Tools PHP
From Code to Content: Measuring Translation Coverage in Your Project
Image generated by DALL·E

Let’s assume our application has a UI translation 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. So we need a script to traverse all the source code files searching translation module use occurrences. Having the list of all encountered terms the script can compare it with the terms of the dictionary.


Persistent Full Duplex Client-Server Connection via Web Socket

Persistent Full Duplex Client-Server Connection via Web Socket
Image generated by Gemini

RIA is considered one of the most distinctive features of the modern Web, reflecting a trend where web applications grow to resemble desktop applications. The overwhelming majority of rich web applications are still built on the request-response model. Events on the client side can reach the server, but not vice versa. To build something as simple as a chat, you have to use tricks. These techniques for emulating bi-directional connections are collectively called Comet, a term coined by Alex Russell of Dojo.

Sapid CMF reload

CMS
Sapid CMF reload
Image generated by Gemini

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?

Feature Driven Development for Web Developers

Software Design
Feature Driven Development for Web Developers
Image generated by Gemini

Web projects have grown far more complex. Teams are larger, backlogs shift throughout development, and time-based estimates often fall apart. Feature Driven Development (FDD) is an Agile methodology built for exactly this environment. This article walks through its four stages: Develop Overall Model, Build Feature List, Plan By Feature, and Design and Build By Feature.

Communities 2.0 or The Architecture of Participation

Thoughts & Opinions
Communities 2.0 or The Architecture of Participation
Image generated by Gemini

Today theres no lack of reports on successful Web 2.0 community projects. This is by no means surprising as the latest community projects provide advanced interactive experience for the audience while attracting impressive investments. This results in rapid growth within the market segment and businessmen rush in to get their share of the deal. The market now offers a huge number of solutions, and some of them seem to be of quite agreeable quality. Yet very few eventually amount to a success. Why is that?

E-Business 2.0

Thoughts & Opinions
E-Business 2.0

Most web developers default to the same familiar deliverables: a brochure site, a catalog, an online store. But is that actually enough to build a real e-business? A look at what e-business covers, how Web 2.0 changed the picture, and why the Internet-as-platform model was always where things were heading.