• submit to reddit
Gonzalo Ayuso12/19/11
1 replies

Using CouchDb as a filesystem with PHP

One of the problems I need to solve in my clustered PHP applications is where to store files. When I say files I’m not speaking about source code. I’m speaking about additional data files, such as download-able pdfs, logs, etc. Those files must be on...

Stoimen Popov12/18/11
1 replies

How to Check if a Date is More or Less Than a Month Ago with PHP

Let’s say we have the following problem: we have to check whether a date is more than a month ago or less than a month ago. Many developers go in the wrong direction by calculating the current month and then subtracting the number of months from it. Of...

Niels Matthijs12/17/11
0 replies

Graceful Degradation and How It Tricks You

When Firefox finally bloomed to challenge the reign of IE6, it provided the first spark for the current browser wars. To rise to the challenge of properly displaying our websites in the emerging range of browser, two new concepts were born: progressive...

Gareth Rushgrove12/17/11
0 replies

Javascript In Your Ruby: Mongoid Map Reduce

We’re pretty fond of Mongodb at work and I’ve been getting an opportunity to kick some of the more interesting tyres recently. I thought I’d document something I found myself doing here, half hoping it might be useful for anyone else with a similar...

jb j12/17/11
0 replies

Awesome tutorials to master responsive web design

In a few month, responsive web design has become a very important part of designing and developping a website. Due to the rise of mobile devices such as iPads, iPhones and other smart phones, your website must be easy to read and use in multiple...

Henri Bergius12/17/11
0 replies

Symfony2 for Midgard Developers

We hosted a full-day Symfony2 workshop for some of the Finnish Midgard developer community recently. As I've written before, Midgard is now transitioning to Symfony2 as our PHP web framework of choice, and this workshop was organized to...

Prabath Siriwardena12/16/11
2 replies

The 1st Kolamba DZone Community Meetup

Be sure to check out the DZone Blog for pictures of our meetup last week at the HQ in Cary, NC!We successfully completed the first Kolamba DZone meetup with 5O+ attendees from WSO2, University of Moratuwa, University of Colombo, Informatics and IFS. We...

Andrey Prikaznov12/16/11
1 replies

5 Great HTML5 Games

Today we will talk a little about future of HTML5 in the gaming industry. As you know, HTML5 continues to have a dramatic impact on the web world during few last years. At current time, HTML5 still under development, but I sure that you have already seen...

Stoimen Popov12/16/11
1 replies

Does SimpleXMLElement have a toString() method? No, better use asXML()!

SimpleXML is a PHP extension that “provides a very simple and easily usable toolset to convert XML to an object” [1]. Thus you can pass a link to an XML file and SimpleXML will return an object.$xml = simplexml_load_file('path_to_the_file');Sometimes...

A. Jesse Jiryu Davis12/16/11
0 replies

Save the Monkey: Reliably Writing to MongoDB

MongoDB replica sets claim “automatic failover” when a primary server goes down, and they live up to the claim, but handling failover in your application code takes some care. I’ll walk you through writing a failover-resistant application in Python...

Lynda Moulton12/16/11
0 replies

Making Search Play Nice with Content Solutions

In keynote sessions at the recent Gilbane Boston Conference, three speakers in a row made points about content management solutions that are also significant to selection and implementation of enterprise search. Here is a list of paraphrased comments. 

Mitch Pronschinske12/16/11
0 replies

Building a Location-Based Web App w/ MongoDB

This talk features:MongoDB data modeling, geospatial updates, queries, and MapReduceAn example using a location-based appShowing how the example works in a...

Paul Stack12/16/11
0 replies

Automated W3C Validation with TeamCity

This past week, I started experimenting with letting TeamCity create reports of CSS and XHTML Validation from the W3C website. In order to do this validation I was able to use their web URL and pass a URL to the web address. In order to do this I used...

Kin Lane12/16/11
2 replies

Jumpstarting App Development with Twitter Bootstrap

Like many other engineers I’ve worked with, Twitter engineers will use any set of tools they are familiar with to deliver the front-end of their applications.

John Esposito12/16/11
1 replies

Basics of the Semantic Web

You probably know the concept 'semantic web' and are familiar with some specific aspects (parts? features?) of emerging semantic web technologies.To fill in the gap between concept and individual parts though -- to walk you from high-level ideas to gritty...