-
Recent Posts
Recent Comments
Archives
Categories
Blogroll
Author Archives: fmntf
<canvas> rocks, <video> sucks
When in news.yc I find posts like “iPhone 5 website teardown: How Apple compresses video using JPEG, JSON, and <canvas>” I really fall in love. Seriously. So much in love that I need to try it by myself. Hence, VideoCanvas. … Continue reading
Posted in Image processing, PHP
Leave a comment
Experimenting PHPADD on Doctrine2
Today I tried to unleash PHPADD over Doctrine2 sources. Of course, it couldn’t even start: it didn’t support namespaces. So I had to improve the analysis of tokenized PHP source and now it works. By the way, the report was not satisfying as … Continue reading
Posted in PHPADD
Leave a comment
5.3.7 is the best PHP release ever
Before release 5.3.7, PHP was fantastic. It had everything the web needed, built-in. But starting from 5.3.7 something in the interpreter changed: – a stupid regression on crypt() – the knowledge it has only 70% of code covered by tests … Continue reading
Posted in Uncategorized
Leave a comment
PHPADD 1.3.0
I just uploaded to the PEAR repository the latest version of PHPADD, which is labeled 1.3.0. From this release I can consider it useful, since it includes the ability of exclude whatever you do not want to scan. In fact, … Continue reading
Posted in PHPADD
Leave a comment
PHPADD: abandoned docblocks detector
Docblocks may become as evil as comments when they’re not treated as first-class citizens (see: Meaningless docblocks). PHPADD can analyze a directory with PHP source code and detect (for each file, for each class, for each method) if the parameters in … Continue reading
Posted in PHPADD
14 Comments
BannedComboItems: ComboBox with disabled items
Combos are beasts. Beasts for developers (400 lines of ugly configuration) and beasts for customers. For some business logic, you may not select some elements. What to do in these cases? If you do not put unselectable items in the … Continue reading
Posted in ExtJS extensions, User experience
1 Comment
Git tips and tricks
Display the active branch in the terminal prompt Add this line to ~/.bashrc PS1=’\u@\h:\w$(__git_ps1 ” (%s)”)\$ ‘ Automatic add during commit git commit -am “message” It automatically adds already versioned files to the index before commit. This will automatically remove … Continue reading
Posted in Git
Leave a comment
Ext.Ajax on steroids [AuthorizedAjax]
In the company I work for we use ExtTop, the Windows-like desktop environment which provides icons, taskbar and start menu. It is a single page web application. You can open all the windows you want, but you will never reload … Continue reading
Once upon a time…
This post is all about testing. If you are already testing your code, you can skip it. Imagine PHP without the in_array() function: you need it, so you have to write it: function inArray($needle, array $haystack) { foreach (…) { … … Continue reading
Posted in Things you must know
Leave a comment
ExtDiamond 1.1
This is a minor release, with a little but important functionality. Download it on GitHub! What changed ExtDiamond is shipped with some built-in widgets. Right now we have only GridPanel and Form.Field, but we hope to have something more in … Continue reading
Posted in ExtDiamond
Leave a comment