5th February 2008

Transparent Javascript

There is this fairly recent notion about making “transparent Javascript”. The idea is that you don’t complicate your markup with Javascript and keep it all in include .js files. The JS files identify various spots in your pages via IDs or classes and attach event handlers at some point on page load time.

So far I’m not a fan. I might warm up to it later, but I’ve been working with it so far and its really hard for me to tell where the code is for anything. I’ve got some piece of HTML, but finding out what it actually does or how to fix it when it stops doing what its supposed to is a pain. Just too “transparent”.

Its similar to various MVC patterns. Good factoring of code can be a really good thing. It can be crucial to build big projects that you can maintain. And I really do like the concept of keeping the HTML clean so that designers can work it it more easily without messing with script all over the place. But abstractions can go too far. I’m also not a fan of the purist MVC models- I’d rather have something that doesn’t abstract so much that its hard to trace the actual code execution.

posted in Technology, Developers, Software | 0 Comments

5th February 2008

Cool CF Adapter

Check out this PCI adapter that lets you use up to 4 CF cards as a SSD (via John).

Of course I have a bunch of more questions-

Can this support the newer huge CF cards? 64GB ones are supposed to exist although the largest on NewEgg is 32GB. But the 32GB one only costs $134, so a 128GB SSD for $600 would be awesome. The pictures only show the 2GB and 4GB cards so?

There are versions of this that work with notebook sized IDE and SATA adapters. I bought one of the IDE ones before I realized that the app I have in mind I really should have gotten the SATA one.

Is there going to be a PCI-Express version soon?

What does the performance look like? For boot? Does it help Windows runtime performance much? Would you want to use it as Swap? What about for running a database?

I wonder if this thing would be interesting for data-center machines. If you could have great performance and higher reliability than a hard-drive, this would be really attractive for servers. For your typical web-server 128GB is more than enough…

posted in Technology, Hardware | 2 Comments