Blog

Rexcel plugin

Rexcel is a rails plugin made to create custom and stylish excel files from your applications.

It is inspired by Brian P. Hogan's excel plugin that provides a quick an easy way to export your object collections to an excel workbook.

It worked fine but it didn't have enough functionality for my taste. I was using it in a project when I asked myself: “Ok, but what if I want to merge or collapse some excel cells? What if I want to put some text in color, add a border, change the font-size...?”. This excel plugin just exports your data to an excel sheet in a very basic format. I then decided to make a more advanced plugin that will support most of your requirements in terms of formatting.

Continue Reading…

Streamtails Video

Today we published a quickstart video of Streamtails (our web 2.0 proxy server project).

In 4 minutes, we walk through the major features of Streamtails: the topics include how to annotate a section of a webpage via tails and how to track your conversations with rss feeds.

Wath the video

Continue Reading…

EDN Article

Today, I published my article on the Ruby ActiveDCTM gem on the EMC Developer Network site.

My article was originally the outline of a demo that I presented last week at a client. During that demo I used a customized web based irb shell (like the hands-on tutorial Try Ruby) to explain a few Documentum server concepts through Ruby.

Continue Reading…

Rubyconf 2008

Belgium is known all over the world for its beer, its chocolate and its rain. You gotta love the beer and the chocolate, but the rain just plain sucks. Looks like we are heading for a wet autumn though, and that's why, for one week in November, we of XaoP are fleeing off to Orlando in sunny Florida.

Continue Reading…

The future of Documentum : XML

Last year EMC acquired X-Hive an XML-based solutions company.

Today I attended the Documentum 6.5 Briefing at the San Marco Village in Schelle BELGIUM where EMC unveiled their future products.

The 6.5 release is important to XAOP because it will target some extra XML services on the Documentum platform. XAOP is doing Documentum system integration projects with Ruby and Java. With the integration of X-Hive XML database in Documentum 6.5, I believe that it is time to update our XML Docpublisher project. 

Continue Reading…

Simple Windows Active Directory LDAP Authentication with Rails

In this short tutorial I’ll describe an easy way to make your Rails application even more enterprise-ready ;-)

For our latest project, our customer asked to change the authentication module, they wanted to be able to use their Active Directory credentials to enter the application.

So, we have an existing rails application :

What do we need :

  • User should be able to keep using the old login system (at least temporarily, until all users are ‘upgraded’)
  • User should be able to login with his LDAP credentitals

Continue Reading…

Some Ruby Goodness

Last week, while I was writing the following expression for like the 1000th time, it struck me…


name = Product.find_by_code('code') ? Product.find_by_code('code').name : nil 

WTH am I doing writing this crazy, long, duplication bloated one-liner in ruby ? YES, in RUBY ! That ’s just plain WRONG! There just HAS to be some great, DRYer, magic, aaaah’s and oooooh’s generating, no-longer-than-5-characters expression that handles this!

So instead of bashing my laptop against the wall I IM’d my colleague and local ruby-guru Peter.

Continue Reading…

Rails cycle helper

You all probably know the Rails helper function ‘cycle’, most commonly used to specify alternating classes when iterating over a collection :


<% for item in @items %>
  <tr class=<%=cycle('even', 'odd')%>>
    <td><%= item.name %></td>
  </tr>
<% end %>

Well, apparently it is even more usefull than I thought, and it was simply a matter of reading the rails documentation ...

Continue Reading…

EC2 at XaoP

At XaoP, we have recently started checking out Amazon’s EC2. Although the use of virtualization technology is hardly new in hosting technologies, Amazon’s take on it offers extra flexibility for developers to exploit.

Continue Reading…

Libxml-ruby memory leaks

Some time ago, we pointed out a serious memory problem when using libxml-ruby. We found a solution, but recently Ben Lam told us about another way to solve this. Details inside.

Continue Reading…

IPhone ReviewNG test

I don't know about you, but I had a pretty inspiring weekend. First of all, I checked out the two significant new features of EC2 - Elastic IP Addresses and Availability Zones - which help you to run reliable web sites and other applications within Amazon EC2.

Then I watched the IPhone SDK for Web developers video. I started to test the ReviewNG DRP application via Safari on the IPhone Simulator.

The application works pretty well on the IPhone, but it would be even better if it could work in full screen. Unfortunately, the full screen mode is not working in my release of the simulator.

Continue Reading…

Using GIT on an SVN project

SVN is great, or maybe I have to say, version control is great. It makes sure your code doesn’t get lost, keeps track of all the changes, makes collaboration easy, allows for efficient project management (linking changesets to tickets) and so on. But for all these advantages to be really usefull, you should constantly commit your changes to the repository: bug/ticket closed => commit, feature implemented => commit, plugin/library updated => commit, ...

Problem: you probably don’t have constant access to your SVN repository. You might be on the bus, SVN is blocked by your client’s firewall,...

In comes GIT, and more specific, GIT-SVN.

Continue Reading…

Using DOCPublisher

Internship

In December, my internship at XAOP for the Erasmus Hogeschool Brussel was concluded with success. I was rewarded with an iPod Touch 16GB.

DOCPublisher

After my internship, I was offered to continue working at XAOP on Saturdays. Given the unique experience this job offers me, I gladly accepted. My primary occupation is the further development of DOCPublisher. To clarify the concept of DOCPublisher, we published a document describing the usage of DOCPublisher .

Continue Reading…

Setting up a simple user permission management system

For one of our current Ruby on Rails applications, we only had a simple login system, based on the acts_as_authenticated plugin.

However, there was a growing need to have some kind of (basic) permission system.

We wanted to keep it as lightweight as possible and came up with the following solution.

This tutorial starts from an existing project that is already using the acts_as_authenticated plugin for the user accounts.

Continue Reading…

Call for Papers First Ruby and Rails devroom (Fosdem 2008)

In their continuing effort to promote Ruby in Belgium, The Belgian Ruby User Group is organizing a Ruby and Rails developer’s room at Fosdem 2008 on 23 and 24 February 2008. Fosdem, or the Free and Open Source Developers’ European Meeting, is a non-commercial event organized by the Free and Open Source Software (FOSS) community, for this community, and is devoted to bringing developers together and inspire the synergy that binds them.

Continue Reading…

Victory

Deploy

As you may notice, a new tab called “Docs” has appeared above. This means we put a first version of docpublisher in production.

Continue Reading…

Ruby and the Undead

Xen

Docpublisher is nearing it's first internal release, so a lot of testing has been done this week.

Continue Reading…

Of Native Americans, Elastic Clouds and Gutsy Gibbons

Deploying

Some days ago, we deployed the docpublisher for the first time. After q uite a long session of installing and configuring, there still seemed to be someth ing amiss. We called it a day and decided to continue the next morning. Sadly, nex t morning, we found that our Apache had cra shed during the night. It was not a nice sight: blood, limbs and ruby-code everywh ere. We cleaned everything up and decided to test the deployed docpublisher on ano ther server…

Continue Reading…

(Video) How to create a Domain Specific Language ?

On 3rd of October 2007, XAOP organized and hosted the first Belgian Ruby User Group(BRUG) meeting.

More than 20 individuals interested in developing, promoting, fostering, strengthening, and improving the Ruby programming language and Ruby community attended this meeting.

Interested to become a member ? Sign up to the mailinglist.

If you were unable to attend :

Continue Reading…

How To Browse Oracle Databases from within Netbeans

I started using Netbeans about two months ago for Ruby and Ruby on Rails development. Before, I was working in Eclipse with the RadRails plugin and it’s not very likely I’ll ever go back to it. It was good, but Netbeans is just a little bit better in everything.

But that ’s not what this post is about, in fact, there was a feature that I couldn’t get to work in Netbeans: the database browsing from within the IDE, and more specific for an Oracle database. Today I gave it another try and guess what, it’s working now :-). It turned out to be pretty easy, but I suppose I’m not the only one who is having difficulties with this, so here ’s how I did it:

Continue Reading…

Entries per category

  1. docpublisher (6)
  2. events (6)
  3. rails (7)
  4. ruby (16)
  5. xml (3)