• submit to reddit
jb j10/31/11
5793 views
1 replies

8 CSS preprocessors to speed up development time

CSS allow you to do lots of things, but some features are missing to developers. What about variable, constants, and general faster syntax? As normal CSS can’t do that, people created preprocessors to allow the use of variables on CSS files and then...

Hasin Hayder10/31/11
11101 views
0 replies

Working with Facebook events using Graph API, JS-SDK and PHP-SDK – part 1

Graph API from Facebook is a very interesting project based on open graph protocol. Facebook is gradually setting Graph API as the standard and deprecating the use of their old REST based APIs. To start working with Graph API doesnt need an extensive...

Giorgio Sironi10/31/11
5310 views
0 replies

Practical PHP Refactoring: Introduce Assertion

A portion of code makes an assumption about something: the current state of the object, or of the parameter, or of a local variable of the cycle. Normally this assumption would never be violated, but can be in case a bug is introduced.Let's make assumptions...

John Esposito10/31/11
13079 views
1 replies

Codeigniter + HTML5 Boilerplate = win

Develop in PHP, use Codeigniter? There's a good chance you do (unless you're using Zend).Develop in HTML5? Might want to think about HTML5 Boilerplate or something like it. (Unless cross-browser issues really get your adrenaline pumping.)Why not multiply the...

John Esposito10/31/11
3387 views
0 replies

Playing the semantic SEO game: HTML5, Google, and canonicalization

The new section divisions in HTML5 will certainly have some effect on SEO -- though precisely what effect isn't exactly clear.Complicating the issue is, unsurprisingly, Google, which already pays more attention to semantic rel tags than Bing or Yahoo.

Christopher Bennage10/30/11
4067 views
0 replies

Getting Started with JavaScript… again

I’ve alluded before that I did a large chunk of my development in some form of ECMAScript for the first ten years of my professional life. Now, JavaScript is cool again for the first time. Everyone wants to learn it. So, like me, you probably already kinda...

Hajan Selmani10/30/11
3640 views
0 replies

Time travel issue – “Specified argument was out of the range of valid values. Parameter name: utcDate”

Few hours ago my wife told me it is time to get some rest, but since I was deep inside code resolving some interesting control flows, the time passed. I was almost done making the last tests before going to sleep when suddenly an interesting issue comes to...

Alexander Beletsky10/30/11
3911 views
0 replies

Integrating ASP.NET MVC into legacy Web sites

For some quite long time I naively thought that it is not possible (or at least very difficult) to make ASP.NET MVC stuff work on a Web Site project. But, my latest hacking of MVC opened another perspectives. There are no any difficulties with ASP.NET MVC...

Andrey Prikaznov10/30/11
6797 views
0 replies

HTML5 canvas – Creating Your Own Paint Program

Here's a new and interesting article about canvases in HTML5 – I will show you how you can create a nice and simple Paint program. The main idea is to draw a color picker area (rainbow gradient), and load some images to another canvas (here we will draw...

Gil Fink10/30/11
2566 views
0 replies

Profiling JavaScript 101 Using IE9 Developer Tools

Lately I’m involved in a very interesting project which suffer from JavaScript performance issues in old browsers. The main “pain” in the project is the need to support IE8 which is used by many of the client’s users. I’ve got a call to come and...

Swizec Teller10/29/11
4027 views
2 replies

“Startup rollercoaster” isn’t even the half of it

A year ago, to the day, I was sitting in Om Malik‘s office in San Francisco. We were discussing a possible writeup about Preona/LazyReadr on GigaOM.

Andrey Prikaznov10/29/11
4934 views
0 replies

APC caching with PHP

Today I have another interesting article for PHP. We will talking about caching, and the practice of using caching in php. I will review APC caching and will show you how you can use APC in PHP. We will prepare a useful class for working with APC for us and...

John Esposito10/29/11
8905 views
1 replies

PHP 5.3/5.4 best practices tutorial: dependency injection

One common problem developers often face is: how best to handle dependency injection (DI)? especially (for web developers) in an age when web technologies are changing at breakneck speed.As with many bad programming practices, avoiding dependencies is often...

John Esposito10/28/11
3922 views
1 replies

Avoid legacy programming practices in PHP 5.4: the underscore lesson from PHP4/5

Old habits die hard; old language habits die harder; old programming habits die hardest, especially when the habit first developed from a defect in the language.So as PHP5.4 approaches, it's a good idea to take stock of the habits you may have developed in...

John Esposito10/28/11
4302 views
0 replies

Frontrow 2011: Mozilla's Christian Heilmann on HTML5

Mozilla's Christian Heilmann recently put online his 60-minute presentation at Frontrow 2011 last week.Christian spends a good bit of time fitting HTML5 into a developmental progression from HTML3.2 (pressing a little against the more hyperbolic 'HTML5 is a...