Currently Browsing: Web Development
Recently Matt Aimonetti wrote an insightful article about Rails and the Enterprise. In it he identifies five core Enterprise application needs:
Reliability
Support
Performance
Advantage over the competition
Integration and transition path
Matt then proceeds to illustrate how Rails does a good job in regards to most of these points, despite a few existing challenges.
Among these challenges, I can clearly see the...
Posted on Mar 30th, 2010 in
DB2,
Django,
Python |
10 comments
The latest release of the IBM Adapter for Django now supports Django 1.2. Aside from enabling you to use the most recent version of Django, this release adds a few new goodies into the mix, that I’m sure many will appreciate.
For example, IBM’s adapter (through the underlying DBI wrapper) now uses persistent connections, which are especially helpful when dealing with Django – as it lacks connection...
Posted on Mar 24th, 2010 in
Security,
Usability |
20 comments
The usability of web forms is a subject that has been discussed extensively, and one which is supported by a large body of literature (1, 2, 3, 4). The consensus is that getting web forms right is much harder that it may initially seem. One aspect that particularly annoys me is the way most developers implement passwords and their validation.
Despite the emergence of single sign-on systems like OpenID, most users...
Posted on Jan 21st, 2010 in
DB2,
Ruby on Rails |
0 comments
This article is obsolete. Please refer to the following articles for up do date instructions: Ruby/Rails and DB2 | Python/Django and DB2. Thank you!
The API development team just released a major version of the ibm_db gem. Detailed installation instructions are available on RubyForge (PDF). Among several improvements, there are three particularly newsworthy features:
Support for Ruby 1.9;
Support for mingw32, used...
The following is a very short guide on setting up Ruby Enterprise Edition (REE), nginx and Passenger, for serving Ruby on Rails applications on Ubuntu. It also includes a few quick and easy optimization tips.
We start with setting up REE (x64), using the .deb file provided by Phusion:
wget http://rubyforge.org/frs/download.php/66163/ruby-enterprise_1.8.7-2009.10_amd64.deb
sudo dpkg -i...
Posted on Sep 8th, 2009 in
DB2,
Django,
Python |
0 comments
This article is obsolete. Please refer to the following articles for up do date instructions: Ruby/Rails and DB2 | Python/Django and DB2. Thank you!
This is the Python version of a post I made about Ruby a few days ago.
Now that Mac OS X 10.6 is out, it’s time to leave the world of 32 bit computing behind. The pre-installed Python interpreter will run in 64 bit mode by default, so you may need to pay attention...
Posted on Sep 3rd, 2009 in
DB2,
Mac,
Ruby,
Ruby on Rails |
1 comment
Now that Mac OS X 10.6 is out, it’s time to leave the world of 32 bit computing behind. The pre-installed Ruby interpreter will run in 64 bit mode by default, so you may need to pay attention when installing some C-based gems. The ibm_db Ruby gem for DB2 can easily be installed or updated to the latest available version by following these simple steps:
$ sudo -s
$ export...
Posted on Aug 31st, 2009 in
Django,
Python,
Startup |
1 comment
One of the best programmers I know is selling a web application on eBay, that he’s been developing and running for the past three years. Given the starting price and considering what one lucky person or company will walk away with, I must say, it’s an amazing deal. I’m writing about his auction here so that I can help it get the proper exposure it deserves and because I think it’s an...
Posted on Aug 24th, 2009 in
Books,
Merb,
Ruby,
Ruby on Rails |
7 comments
I finally got around to updating the Ruby and Rails book pages. The existing list was getting a bit obsolete and I didn’t like the idea of recommending old books to newcomers. I also had some interesting new entries.
Without further ado:
Recommended Ruby Books
Recommended Rails Books
A few people may disagree with the choices, but I think most experienced Ruby and Rails programmers, who’ve read those...
Posted on Aug 6th, 2009 in
DB2,
Django,
Python |
1 comment
This article is obsolete. Please refer to the following articles for up do date instructions: Ruby/Rails and DB2 | Python/Django and DB2. Thank you!
I’m glad to announce that the API team has just released version 1.0.2 of the adapter for Django. And on my birthday to boot, what a nice present. This version extends its support to the recently released Django 1.1, as well as incorporating the feedback that was...
Posted on Jul 28th, 2009 in
Ruby,
Ruby on Rails |
2 comments
In a recent blog entry, Charles Nutter argues about the importance of JRuby for Ruby’s adoption within the Enterprise. Or, in his own words:
The idea of “Enterprise Ruby” has become less repellant since Dave Thomas’s infamous keynote at RailsConf 2006. There are a lot of large, lumbering organizations out there that have yet to adopt any of the newer agile language/framework combinations, and...
Posted on Jul 22nd, 2009 in
Django,
Python,
Quick Tips |
11 comments
Django’s development server is capable of serving static (media) files thanks to the view django.views.static.serve. Popular web servers like Apache, Lighttpd or NGINX are much faster though, and as such should be used in production mode. Our goal is to bypass Django and let Apache (or other valid alternatives) directly serve static files like images, videos, CSS, JavaScript files, and so on, for us.
Generally...
Posted on Jun 19th, 2009 in
DB2,
Django,
Ruby,
Ruby on Rails |
9 comments
This is a great day for those of us who love DB2, as DB2 Express-C 9.7 has just been released. As mentioned before, this is the best DB2 ever, and an extremely important release.
To learn more about what’s new in this release, please check out the recording of our latest webinar:
If you run Linux, Unix or Windows, download it while it’s hot.
DB2 9.7 on the Cloud
Another great aspect of this release...
Posted on Jun 5th, 2009 in
DB2,
Mac,
Ruby,
Ruby on Rails |
24 comments
Counting rows is an ubiquitous operation on the web, so much so that it’s often overused. Regardless of misuse, there is no denying that the performance of counting operations has an impact on most applications. In this post I’ll discuss my findings about the performance of DB2 9.5 and MySQL 5.1 regarding counting records.
For those of you who are not into science fiction, let me clarify that the odd...
Posted on May 27th, 2009 in
Django,
General |
5 comments
In an attempt to satisfy our need for identity and belonging, we desperately try to wear as many labels as possible, and to a certain extent labels are a necessity. When people ask you what you do for a living, it’s far easier to reply “I’m a computer programmer” than to try and explain the plurality and complexity of the exact criteria of your job.
The problem with labels is that they can...
Posted on May 16th, 2009 in
Ruby on Rails,
Startup |
1 comment
What follows is an interview with Nicholas Wieland, CTO of Italy-based Zooppa, a fast growing social network for creative types. This is the second in a series of interviews I will carry out with interesting figures from the micro-ISV and startup scene. If you have a compelling story to tell, own or run a tech startup, and would like to be featured, please drop me a line via email.
1. I’d like to start by...
Posted on Mar 17th, 2009 in
Ruby,
Ruby on Rails |
6 comments
Books and magazines have always fascinated me. Perhaps this is due to the fact that until I was nine, my father owned a bookstore and I would spend a lot of my time hanging out in a world of dust jackets and big words. More recently, the internet has brought information sharing to a whole new level and opened up a realm of amazing possibilities. I love this this element of being online to death, but it also means...
Posted on Mar 16th, 2009 in
Books,
General,
Ruby on Rails |
6 comments
Those who follow this blog through the feed, may not have noticed it, but over the weekend I had a chance to revamp the look of Zen and the Art of Programming. I used a WordPress theme I’d already employed on Math Blog and customized it, basing my changes on the suggestions of the participants of my earlier survey on the subject. I’m not a web designer by any means, but I’m quite happy with the way...
Posted on Feb 26th, 2009 in
Reviews,
Ruby,
Ruby on Rails |
1 comment
Within the Rails community, New Relic is a company that doesn’t need any introductions. They are synonymous with performance and reliability, thanks to their RPM product for monitoring, detecting, and fixing Rails application performance problems in real time.
What everybody may not have noticed though, is that New Relic started something called RailsLab, a site in which they publish videos and other useful...
Posted on Feb 18th, 2009 in
DB2,
Django,
Python |
18 comments
This article is obsolete. Please refer to the following articles for up do date instructions: Ruby/Rails and DB2 | Python/Django and DB2. Thank you!
Online Surveys & Market Research
A few weeks after DB2 Express-C for Mac OS X was announced, I’m here to let you in on another great scoop. DB2 support for the Django web framework is going to be available soon to the community, under the...