DeveloperHell | Languages: All | PHP | Python | .NET | Java | CSS | Ruby | Javascript   Site: Statistics
want to join us? register, it's easy | help
category icon

The future of shoulda

in Ruby added by admin, on 18/6/2010 framework ruby on rails shoulda testing

Shoulda has long been one of our most useful and popular open source projects, and it continues to serve us well as we use it daily. However, there have been some changes over the past year in the way that we use Shoulda, and these changes have led to some decisions about its future. In our post about the Rails 3 roadmap, we briefly covered the changes we made in Shoulda 2.11 as well as our intentions for Shoulda 3. However, we wanted to go over these changes in depth and explain some of our motivation.

1 comment save report
category icon

ContextFree.js & Algorithm Ink: Making Art with Javascript

in Javascript added by admin, on 15/6/2010 contextfree html5 oo programming

ContextFree.js & Algorithm Ink: Making Art with Javascript Aza Raskin, the head of UX at Mozilla, has released ContextFree.js and the corresponding site Algorithm Ink. ContextFree.js is a port of Context Free Art by Chris Coyne, and uses the HTML5 Canvas element to render the incredibly simple Context Free grammar. It makes rendering complex and beautiful art very simple. For example, the following code:

1 comment save report
category icon

Lightning Talk: TATFT - Test All the F***in Time

in Ruby added by admin, on 13/6/2010 intermediate rspec ruby on rails tdd testing

Video from Ruby Hoedown 2008. If you're not testing, please stop reading this and start TATFT.

2 comments save report
category icon

Django performance tips

in Python added by admin, on 12/6/2010 django framework intermediate

Django handles lots of traffic with ease; Django sites have survived slashdottings, farkings, and more. Here are some notes on how we tweak our servers to get that type of high performance.

1 comment save report
category icon

The Road to Passenger 3: Technology Preview 1 & Performance

in Ruby added by admin, on 12/6/2010 apache2 news passenger

It has already been two years since we’ve first released Phusion Passenger. Time sure flies and we’ve come a long way since then. We were the first to implement a working Ruby web app deployment solution that integrates seamlessly in the web server, and all the features that we’ve developed over time – smart spawning and memory reduction, upload buffering, Nginx support, etc – have served us for a long time.

1 comment save report
category icon

jQuery Globalization Plugin from Microsoft

in Javascript added by admin, on 11/6/2010 ajax jquery

Today, we released a prototype of a new jQuery Globalization Plugin that enables you to add globalization support to your JavaScript applications. This plugin includes globalization information for over 350 cultures ranging from Scottish Gaelic, Frisian, Hungarian, Japanese, to Canadian English. We will be releasing this plugin to the community as open-source.

1 comment save report
category icon

Rake Tasks 101

in Ruby added by admin, on 10/6/2010 framework oo programming rake ruby on rails

I’ve been working with Rake quite a bit on my current project so I thought I’d share some beginner tips. Before I go into Rake, what is it? Rake is a Ruby-based build program. Ruby on Rails uses Rake quite a bit in it’s process. If you’ve worked on a Rails project you’ll used one, some or all of the following: rake db:create, rake gems:unpack, rake db:migrate, and rake test. Now that’s not all of Rail’s Rake tasks, just some common ones.

1 comment save report
category icon

Unobtrusive JavaScript in Rails 3

in Ruby added by admin, on 10/6/2010 beginner tutorials javascript ruby on rails

One of the biggest changes on the frontend side of the upcoming Rails 3 version is the replacement of the Prototype JavaScript helpers in favor of Unobtrusive JavaScript (UJS).

3 comments save report
category icon

DataMapper 1.0 Released

in Ruby added by admin, on 9/6/2010 news orm

I'm pleased to announce that we released DataMapper 1.0 "Vermouth" earlier today. Thank you to everyone in the community, especially this mailing list and the IRC channel. There's no way we could've reached this milestone without your encouragement and assistance.

1 comment save report
category icon

Printer Friendly CSS

in CSS added by iFadey, on 9/6/2010 css friendly html print printer

In Part I of this tutorial, you learned how to slice a design and write standards compliant Html/CSS. In this part, you will learn how to write printer friendly CSS. I will continue extending the same demo used in Part I and make it printer friendly.

1 comment save report
category icon

Slicing PSD and HTML/CSS

in CSS added by iFadey, on 9/6/2010 css friendly html print printer psd slice slicing

In this article you will learn how to slice a design and write standard compliant Html/CSS. In its Part 2, you will learn how to write printer friend CSS. Which means when you print your webpage, it will exclude all background images, and colors. This helps anyone printing the document more reader friendly and also save the user’s printer resources as well.

1 comment save report
category icon

How to Use Optional Parameters in C# 4.0

in .NET added by admin, on 18/5/2010 examples oo programming

Optional parameters are default values used when a function or method is called without specific arguments. They can be used in PHP…

1 comment save report
category icon

Foreign relations in Ruby on Rails models and forms

in Ruby added by prodevtips, on 23/4/2010 beginner tutorials framework

How to setup models and input forms to manage foreign relations in Ruby on Rails.

1 comment save report
category icon

File uploading in Ruby on Rails

in Ruby added by prodevtips, on 23/4/2010 beginner tutorials framework oo programming

How to upload a file in Ruby on Rails, unzip it and import its contents into the database.

1 comment save report
category icon

Create a Hibernate application that is managed by JBoss AS

in Java added by swati, on 7/2/2010 application hibernate jboss mapping

Developers will be introduced to Hibernate and learn to build Java classes and map files from scratch. They will also learn to reverse engineer the database schema into Java classes and Hibernate mapping files and build a web application that will be able to interact with the Hibernate POJOs which they will later deploy to JBoss AS.

119 comments save report