Skip to main content

Posts

One cannot judge the backend complexity by looking at the frontend.

I've seen people saying "this one is pretty easy to implement" by looking at the frontends of some awesome applications. Making frontend and user interface clean and KISS (keep it simple and stupid) is essential for an application to win the users. By that it never meant that it was easy. To make an app more user-friendly, developers has to write extra code to balance the "things" that they have abstracted. For an instance, consider www.google.com page. How simple and stupid that page is... 6 large letters and a text box. What else in it?! By that would you conclude Google is easy? I do also have personal experience from a guy, who comments after evaluating our project of 5000 LOC that "is it only this much to do that? Child's play". He also suggested a new feature to add, which was a nice one. On the implementation phase of that feature, we pulled him to find a bug. And after spending 30 mins on our code his reaction - "Someone's ca...

Need a browser? Go for Chrome

Yesterday one of my friends asked me to compare browsers on PC. I found Google Chrome's JS engine is more powerful than any other browser. The 64bit-Chrome + 64bit-OS combination is an awesome experience (with a good internet connectivity) . Firefox is a nice browser. And Firefox Dev Edition is good for development. But Chrome is extraordinary, perfect for everything. Unfortunately Kaspersky Internet Security sometimes block the the entire Firefox experience, which is a dark mark on both Kaspersky and Mozilla. Safari and Edge are OK. But I can't prefer them over Chrome and Firefox. I heard that Opera is nice for less data consumption (?)

Sorting table with angular

Below is a demo of sorting a table with Angular. ----------- Name Age Salary DEC table will be ordered by {{orderBy}} name age gender email salary {{employee.name}} {{employee.age}} {{employee.gender}} {{employee.email}} {{employee.salary}} ----- codes -----

Missed you Angular

In a phase when I was developing Formia (our acadamic mini project), I needed to add a dynamic heading. hmm.., that means: I have an <input type="text" name="title"> and a <p>...</p> tag. I wanted to display the content of text box on <p> as I type on text box. At that point, I was unaware of AngularJS . I implemented that in pure JS. wired... For the record, this feature could be implemented easily by Angular, as follows: When you type on the box below, the content will dynamically display next to it. {{message}} (for best results use Chrome / Firefox) Well, how's this happening? Add the Angular CDN script to top of the HTML. <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> Add this 4 line to have that magic. <div ng-app=""> <input type="text" ng-model="message"> ...
This night, it's getting mid, I've to make a commitment myself. I received a call from a domain registrar. This is not the time to choose b/w choices. This is the time to build it.

How to install Node.js

Installing Node in Windows Installing node in Windows is pretty easy. To install Node you should be aware of your Windows bit version(32-bit / 64-bit). To know that, right click 'computer'>Properties. There you will find the bit version of the OS you are using. Now you know about the version of the OS you are using. - Head to nodes official website ( nodejs.org ) and download the msi for your version. - I recommend opting the LTS version of node. (if you have any suggestions, let me know.) - Install node with default recommended configuration. Installing Node in Linux/ Ubuntu This article will help you :  https://nodejs.org/en/download/package-manager/ If you don't have curl in your system, use terminal to: sudo apt-get update sudo apt-get install curl Source:  http://askubuntu.com/questions/259681/the-program-curl-is-currently-not-installed