Well, I am a web developer for some long long time and web has changed a lot. A good change is Microsoft is almost out of web. No servers that are known to me run Windows and Internet explorer is dead for good (except few bloody large corporations). This blog is not about that it about another stuff.
Long before the term called “smart phones” was coined, we developers designed pages that can be seen even in mobile devices. This thing is now called responsive design and is promoted as a big thing. I really don’t understand what the fuss is about. When it was difficult to do, none promoted it, when it becomes easy, people give it a name and if they can do the most difficult stuff they project themselves as a big thing.
And there is another thing now called the cloud. Which essentially is cheating. Since we have a computer that have tetrabytes of memory, but memory on our handhelds is only gigabytes, but we are now in a age where tons of data can be streamed to us and we need real time stuff (thats the socio illusionary status society has created). If we have one data or update in one device we need that to be updated in another device too, this called for centralized server to sync things, and thats its. With virtualization we can have banks of computers say in USA, Europe, Australia and configure it in such a way that even if one fails other will take over. This thing too has been done for a long time. Now they call it the Cloud.
What the &^#!@$$#@$#
Mozilla is one company that really respects the freedom of internet users. While its browser rival Google Chrome ttys to track users and recommend advertisements and search results that suits them, Mozilla’s firefox tries to respect ones privacy if one wishes to be so.
For long we have this single sin on, that is each website needs to authenticate user, and it has to make user under go painful task of creating an login account. This process is eased by stuff like openId, Google, Facebook and Twitter’s sine sign on process. But Google and Facebook track a lot of ones behavior since their business is based on advertisement revenues, which depend on these websites knowing what exactly the user wants, and hence tracking is inevitable and your privacy i compromised.
Mozilla is a non profit company that runs on ones donations and it has put up a single sign on framework called persona https://developer.mozilla.org/en-US/docs/Mozilla/Persona . Persona does not track a person, compromise ones security and possibly won’t collaborate with NSA.
So try using it in your website. Any gem for it anyone? It would be nice to to have a compact gem to us it in ones web applications. hopefully it catches up and leads.
Learn the basics
Many programmers who are using functional programming simply don’t understand the goodness of object oriented programming(OOP). Please don’t feel lazy to learn OOP, if you fail to learn it, you simply cannot go up the professional ladder above a certain level. Realize that Earth is not flat.
Well, that’s it. I can just say what is the learning path. If you ask me how to deal with your stupid client or demanding girl friend, look out for some other blog 🙂
Thankfully some one has come up with this stuff called opal, which is nothing but Ruby to js compiler. So its party time. I wish Opal gets wide acceptance among Rails dev’s like haml, so that this project even if not integrated into rails officially, will grow and flourish.
So, please try opal and see how it works.
2. Ruby is a elegant programming language, and Rails is built with Ruby. I can ask my client for 2 days of developing some thing,I can develop that stuff for 2 hours and still get away in the review meeting if I use Rails. With Node?
3. Code with Node is difficult to write as compared with Rails. Hence there could be mistakes which I need to sit and debug. With Rails, because we use convention over configuration approach, I almost exactly know what code is where. that a great thing. There is very little commenting stuff needed.
The author claims that Rails engineers are hired to squeeze 1 or 2 more cycle efficiency from their Rails app. If Node code can be got into Rails, one can identify bottlenecks and replace the piece of code with Nodejs stuff! That will solve huge problems.
Nodejs may be impressive and better performing. But I bet on elegance and easy-stuff for humans to use will win eventually. MRI and Ruby will improve and will be faster and faster in years to come. At the same time processor speeds are increasing. So lets see how node fares then.