Friday, February 5, 2010
Wednesday, January 27, 2010
Why the iPad is good news for JavaScript developers
Tuesday, January 26, 2010
pushing the limits
click here for an example
Tuesday, December 8, 2009
magic mouse
When coding more than once you will find your self scrolling through pages and pages of code. So a good scrolling mechanism has it's benefits. Here enters apple's new magic mouse. I just got one and it is really really good.
It has a touchpad and to scroll you just have to swipe over it. It senses how hard you want to scroll by measuring the speed of your swipe gesture. This makes it possible to scroll really fast and it also has momentum so your page keeps scrolling although you just swiped once. When you see the part of the code scrolling by on your screen you were looking for just tap your mouse and it stops scrolling. Also you can swipe horizontally so it is a lot easier to handle long lines of code.
I truly believe that you can speed up your coding significantly by just simply using good hardware. A fast and responsive computer, really big screen, a good set of headphones and from now on a magic mouse from apple for me.
Labels: magic mouse
Friday, October 23, 2009
Ext-js good to knows
1. if you add a component to a container you should call the doLayout method of the container and not the component itself if you want the component to be rendered correctly. If you know how the ext-js framework is set up this totally logically but if you are building an app. it seems really illogical.
2. If you apply the layout type 'fit' to a component it means the content of the component will fit the component not that the component will fit it's container.
And if you are just starting with Ext-js spend some time studying the difference between an Ext-js Element (encapsulated dom element) and an Ext-js Component (a purely js object). It will help you to find your way around in the API a lot easier.
And a last remark: don't be discouraged by the framework in the beginning. I have worked with a couple of different javascript frameworks now (jQuery, Mootools and YUI) and this is by far the one with the hardest learning curve and has the barest documentation. But when applied in the right context Ext-js can be really powerful and worth the effort.
Wednesday, May 20, 2009
printyourtwitter.com
From a technological point of view it is interesting to note that this is a 100% clientside app so the infrastructure for this app is minimal. I just serve the 11k of html from my own server and all the js, css and images files are being served from amazon s3 servers. That makes the infrastructure needed for this app really simple and minimal. Which is nice thing if you see what kind of impact it already is making.
Also mentioned on: computeridee.nl, bright.nl, dutchcowgirls.nl and pcmweb.nl, jimlyonsobservations.com and featured on the dutch radio 1 show 'tros radio online' (last 4 minutes).
And the latest buzz on twitter.com
Thursday, April 9, 2009
10 Checks Before Launching Your Javascript
- check for console statements (console.log, console.startTime....)
- check for debugger statements
- check your outcommented try catch statements
- check for large outcommented old code fragments. If you are at the stage of going live this might be the time to get rid of it.
- look for fixed url's which might work in the development environment but not on the production server
- if you are using google maps make sure you have an api key for the live server
- check for credentials in your comments or code (like usernames and passwords)
- when using javascript libraries or frameworks make sure you include the minified production version and not the fully commented debug version.
- off course the same goes for your own js files
- and this last check works for me personaly: check on the "TO DO" string in the js code. When I still need to do some work on a part of the code I always flag it with a //TO DO comment.
Labels: checks, javascript, list