Archive for the ‘Web Development’ Category

How to avoid long page load when using Jquery Plugins

Saturday, October 18th, 2008

Introduction

jQuery is great. But the best is the that you can use tons of jQuery plugins for each amazing functionality you want to provide. And you can implement it right away without spending a couple of months doing javascript web development and all the pain in the ass that means (even when Jquery makes your life easier regarding that).

But then comes one problem:, you want autocomplete plugin for some forms, you want blockUI plugins for the ajax calls, you want ClueTip plugin for nice tips/help when people submit forms, you want the form plugin to submit your forms through ajax and if that wasn’t enough, you need to load a 4kb js file full of code to provide some amazing functionality.

That’s great, your site kick ass, but your page takes some times between half a minute and a minute to load, and worst: when someone leaves your page, the browser needs at least 10 seconds to be able to leave your page thanks to all the js code you put over it.

In this article you will find a simple solution to that problem, that works great (at least for me). The only js requirement on my systems are: jquery library & jquery blockUI plugin. Any other plugin/js code I need, I only load it on demand, when the user really need it, and I make that user wait when he want that functionality for the first time, instead of make every user wait even when they don’t need that functionality.

Read more…

Translations:

Gengo: Wordpress plugin for multiples language

Friday, August 1st, 2008

If you need multi language support for your Wordpress, go for it: It’s the best one of all which support multi language.

If you need like me to do some posts in one language, some in other, and later if you have time do some translations, then this is the only one which supports that as far as I know.

Well… the plugin it’s nice, I like it and it seems to support all it claims.

However there is a big important gotcha… if you implement this plugin, all your old url’s are going to start being redirected. As all links will change also in every place of wordpress, this will affect you as much as popular you are. In my case this is a new wordpress instalation so really don’t care, but if you have a thousand page indexed by search engines, this will kill your rank.

I’m now trying to join the developers group to try to convince to move all thos redirects to be permanent (301) and not 302 like they use now. In the meantime, I’m going to share a small temporary fix for this.

Read more…

Translations: No Translations Available