• submit to reddit
Giorgio Sironi08/08/11
4758 views
0 replies

Practical PHP Refactoring: Introduce Local Extension

Introduce Local Extension is a workaround refactoring used to add logic when you cannot modify the original source code, or a more invasive refactoring is not feasible for the time being. As for Introduce Foreign Method, it works through addition instead of...

Dinuka Arseculeratne08/08/11
8372 views
8 replies

What I Love About PHP

First of all I must say im relatively new to the whole PHP scene. Coming from an OOP background with mostly Java/C++ experience I must say the transition was not rough as I expected it to be. Unfortunately I have not been able to code in PHP at an...

Axel Rauschmayer08/08/11
6289 views
0 replies

JavaScript’s JSON API

JSON is a plain text data storage format. This blog post describes what it is and how to work with it via an ECMAScript 5 API.

Gonzalo Ayuso08/08/11
1712 views
0 replies

Building a client for a REST API with PHP

Today we’re going to create a library to use a simple RESTfull API for a great project called Gzaas. Don’t you know what the hell is Gzaas? Gzaas is simple idea idea of a friend of mine (hi @ojoven!). A simple project that creates cool mesages on full...

Maarten Balliauw08/06/11
7314 views
0 replies

A client side Glimpse to your PHP application

A few months ago, the .NET world was surprised with a magnificent tool called “Glimpse”. Today I’m pleased to release a first draft of a PHP version for Glimpse! Now what is this Glimpse thing… Well: "what Firebug is for the client, Glimpse...

Senthil Kumar08/06/11
6246 views
0 replies

Metro Skin for ASP.NET AJAX is now available

Telerik has released a early preview of the new Metro UI Skin for Rad Controls for ASP.NET . The Metro UI Skin as per the Telerik’s site will be officially joining the ASP.NET AJAX Suite in the Q3 of 2011 .

Robert Nyman08/05/11
2626 views
0 replies

HTML5 History API and improving end user experience

When the AJAX wave came in 2005 when Jesse James Garrett coined the term and then everyone wanted it, one of the major shortcomings was that dynamic updates of only portions of a web page lead to inconsistent history handling and back/forward navigation...

Mats Lindh08/04/11
4013 views
0 replies

Getting Dots to Work in PHP and GET / POST / COOKIE Variable Names

One of the oldest and ugliest relics of the register_globals era of PHP are the fact that all dots in request variable names gets replaced with “_”. If your variable was named “foo.bar”, PHP will serve it to you as “foo_bar”. You cannot turn...

Giorgio Sironi08/04/11
13063 views
3 replies

Assetic: JavaScript and CSS files management

Assetic is a PHP library for managing the deployment of your assets: JavaScript, CSS and other resources which will be requested by the browser. The library has been created by Kris Wallsmith from OpenSky, an e-shop where many of the active members of the PHP...

Lorna Mitchell08/03/11
4718 views
0 replies

PHP Static Analysis Tool Usage

Last week I tweeted a poll with the question "Which PHP static analysis tools do you regularly use?". These are the results:

Giorgio Sironi08/03/11
4500 views
0 replies

Practical PHP Refactoring: Introduce Foreign Method

A new method is needed, as we are factoring out some lines of code. It would be nice to have it available on a class which already has all the fields to execute it, but unfortunately we cannot modify original code (because it's part of a library, or it's...

Axel Rauschmayer08/03/11
3448 views
0 replies

JavaScript performance: Array.prototype versus []

Array.prototype contains many generic methods that can be applied to array-like objects. [] is a popular shortcut for accessing these methods. This post examines the pros and cons of using that shortcut. Update: Inspired by a comment from Kevin Roberts,...

Maarten Balliauw08/02/11
4140 views
0 replies

A hidden gem in the Windows Azure SDK for PHP: command line parsing

It’s always fun to dive into frameworks: often you’ll find little hidden gems that can be of great use in your own projects. A dive into the Windows Azure SDK for PHP learned me that there’s a nifty command line parsing tool in there which makes...

Giorgio Sironi08/02/11
6180 views
0 replies

PHP 5.4 features poll: the results

After two weeks, we have closed the poll among the PHP community of Web Builder Zone to establish which are the most wanted features, which will influence development of applications on PHP 5.4. Hopefully this poll would also shape our focus in tutorials in...

Julian Bucknall08/02/11
3100 views
0 replies

JavaScript: handy hint for jQuery document ready handlers

Like 99% of all jQuery users, I write the code I want executed when the document is ready like this: $(function () { // code using $ for the jQuery function }); Except… What happens if someone calls $.noConflict() and $ is no longer valid? Do I have to...