Friday, April 13, 2007

 

WPF/E

A few weeks ago we got a free seminar about user experience and WPF/e from Microsoft. It's a new kind of client side flash style embeddable object for on HTML pages. It works directly on top of Microsoft's new XAML language.

It seemed pretty cool, you can write entire scripts with c# and XAML to make flash style user interfaces for media content. Of course, like flash, you should not use it to decorate your complete website with it. Unlike flash, XAML is just xml which can be indexed by search engines. The other good news is that Microsoft decided to make this project platform independent. You can view XAML and WPF/E in IE, Firefox and safari. It looks very promising and it seems like Microsoft is actually listening to their users to make stuff crossbrowser compatible. Its a good step in the right direction.

Sunday, March 18, 2007

 

5 ways to not pick a programming language

1. Java is 0.0001 ms second faster

Performance is usually a big issue when people are looking at a language. They always want to see numbers in benchmarks compared to others. It's great fun but on the end it really doesn't matter that much. Let's see how much an extra server costs compared to an extra employee. That should be a one time investment of like $3000. The average salary of a developer is like ~$75,000 worldwide. Still want to use assembly now for your next project? Don't think so, pick a language which delivers great productivity to your team.

2. It doesn't have feature X

Of course it has no such feature, there is no single language which has all features you need else you wouldn't have to program. When it comes down to features there are always languages who have a little bit more to offer over the other. Ask yourself how much time it would take to implement them in others and see what libraries the community already made for them.

3. My boss/client wants language X

Your boss wants big texts in blink tags too, but obviously you don't make that for him (unless you have absolutely no principles). Always try and tell them why your solution is more cost effective or has a higher ROI (they love those terms). People who have no clue about programming are always trying to outsmart you. Be prepared and convince them, thats what they hire you for.

4. But MySpace uses it too!

There are always companies who have successfully deployed applications in a certain language. Doesn't mean you can't do better. Who would have thought ruby could be usefull for web applications? Before DHH not many people. If you seriously think your application can be written in Haskell, go for it and prove the community it can be done.

5. I've read on the internets that php can't scale!

The fact that some site using technology X is slow doesn't mean it can't scale. Even the fact that digg.com seems to have scalability problems doesn't mean it can't scale. A properly designed application with share nothing architecture will be able to scale to extreme levels. If you don't know how to design such architecture it is not a big deal. Solve scalability problems when they arise, don't try and solve them before they happen. Premature optimization is the root of all evil.


Sunday, March 11, 2007

 

Where to host your ruby applictations

Since Intellicode started we have looked into the Ruby On Rails framework. Soon after I tested it I already start liking it more than php. There were still some points I had to look into before I could use. One of them was hosting which I will talk about in this post.

Dehe
Dehe was our first Ruby On Rails host. We rented a small 256 meg vps for our rails applications. I installed mysql, lighttpd and rails 1.0 at the time. The performance was sometimes disappointing. I had some problems with mysql doing really slow queries at random times. The support was good overall. They were quite quick, but they were not able to solve the problem.

Eurovps
After dehe we switched to eurovps. The performance was better (also got a better package) and we switched to postgresql. This gave us another performance gain but more important, the queries were not slow anymore at random times.

Site5
Our next host was site5, we decided we did not need that much bandwidth and resources so we decided to go for a cheaper host. In this case it was a shared host which we took based on recommendations. Personally control panels piss me off cause they are super slow and limit the flexibility of your setup. This was also the case on site5, I had to do some advanced mod_rewriting to make sure everything worked properly. The performance was quite slow, but because we used page caching so this didn't really matter.

Our current situation
Currently we still use site5 and eurovps. Our corporate site is hosted on site5 and some subprojects are hosted on our eurovps packages. We are looking to move all our sites to eurovps later this spring. Our current production stack on eurovps consist of the following components:
If you haven't tried nginx yet, I recommend you to check it out. Its easier, faster, less memory intensive and cooler than apache.

Which host should you take
Based on my experience I would highly recommend eurovps. They use triple A quality hardware only and are very concerned about stability and security. Their support department is also very knowledgeable and solves problems in a satisfiable way.

If you got, and like to spent, more money you can also check out the following webhosts to create your custom setups.
Just avoid any shared hosting or "grid hosting" solution like mediatemple, site5 or dreamhosting if you are hosting a serious rails application which can't rely on page caching. They are simply to slow for that.

Sunday, March 4, 2007

 

Our tools

Since we have started we have used several solutions for all kind of stuff. I'll put together this list so you can check if any fits in your situation.
Less noteworthy packages we use include Apache, Windows, openoffice and macosx. So this is basically what powers intellicode today. We are always looking for better and/or cheaper solutions so I'm curious what your companies use to power their daily activities.

Sunday, February 25, 2007

 

Yet another new blog system

We have switched yet again from blog engine. Hopefully this will be our last and final switch. Our current host showed some downtime in combination with typo 4.x. Which was actually a bug in typo, though. However, I don't wanna mess with hosting and mainting our blog software anymore so I decided to go with a proven super stable hosted blog solution, namely blogger.com.

Here is an overview of stuff I would like to add in the near future:

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]