2012-07-20

Joel on software, hammer factory factory factory

My highlight from his amazing article "Why I hate frameworks!"


When we stepped back and looked at the global tool infrastructure, we determined that people were frustrated with having to manage and operate a hammer factory factory, as well as the hammer factory that it produced. That kind of overhead can get pretty cumbersome when you deal with the likely scenario of also operating a tape measure factory factory, a saw factory factory, and a level factory factory, not to mention a lumber manufacturing conglomerate holding company. When we really looked at the situation, we determined that that's just too complex for someone who really just wants to build a spice rack


Read the full article at:
http://discuss.joelonsoftware.com/default.asp?joel.3.219431.12

2012-07-19

Unix Commands in Windows

http://www.lucidtips.com/2008/06/07/unix-utils-on-windows/
http://www.weihenstephan.de/~syring/win32/UnxUtils.zip

Following up on my previous blog post about using windows commands to do stuff like "find content in file":  type apache_error.log | findstr "time:". 

I found a way better alternative by utilizing something called "UnxUtils". UnxUtils makes it is possible to get the most important unix commands into a windows environment and accessible through command prompt. Such as grep ...
  1. Download UnxUtils
  2. Extract into folder (c:\tools\unxutils)
  3. update system path to contain scripts [scripts are located in the wbin-folder] ( \unxutils \usr\local\wbin
  4. Launch cmd
  5. run some unix command like cat/grep/more/less and see that it works
Now, you can run the powerful grep command with regular expressions as well as printing the end of file with less etc.

JS tools, framework, IDE

For future versions of me:

I've just started fooling around with creating a client written in JS/HTML. These are the tools I've decided to look into and installed on one computer and might need to access at other places.

  • WebStorm
  • Komodo Edit
  • Dojo
  • Maqetta
  • JSONP vs Client Side PHP-proxy
WebStorm is a CodeIDE created by JetBrains, seems very mature and awesome but costs a shit load of money. 30 days of evaluation though.'
Komodo Edit free to use code editor that I've used for PHP dev earlier. It is okay, but not awesome
Dojo js framework, I have tried understanding what it is, but I have no idea. Googling "What is Dojo framework?" "what does it do?" only results in a lot of "it's the most awesome, unbeatable js framework. It's lightweight and super fast and works for enterprise solutions and smaller applications". It's awesome nontheless... I guess I have to download it and see what it does.
Maqetta system built on dojo, used for doing "GUI mockups" and then delivering these as "ready to use" js/html/css-code.
JSONP vs Client Side PHP-proxy evaluate how to do communication from one domain to another since that is not supported in js.