One of the best things I like about JavaScript is that fact that it is highly extensible. You can easily extend classes, override methods and do things which are not initially supported by JavaScript. In today's tutorial we will be implementing a trim function that not only trims spaces from both ends of string, but also trims the passed parameter string.
Youtube Channel is Coming Soon
You must be thinking why the hell is Dinesh starting a YouTube channel when he barely gets time to write posts. Has Dinesh gone mad?
Setup Local HTTPS Server Using Python
Local development of web applications is incomplete without the setup local web servers. When it comes to local web server setup Python HTTP server is my first and obvious choice. But, recently I was working with Authorization using Facebook and I had to set up a local HTTPS server using python.
How to divide controller code in multiple JS files in AngularJS
AngularJS is a front-end framework for developing single page applications. I have been working with AngulaJS for over two years now and I really appreciate the way it reduces the development time.
Recently, I was assigned a task in which I had to refactor and existing's project front-end code and I must say that it was really the most absurdly written code I have seen in my life. One of the controllers in that project had over 3500 lines of codes and the functions and objects were created at random places in the file.
As, a part of refactoring the source code I split the controller among multiple files so that the code can be more modular. This was something I thought of sharing with you guys. So, if you too are looking for a way to divide controller code in multiple JS files then read further.
My very first post
Namaste Internet.
My name is Dinesh Verma and welcome to my blog LadWhoCodes. This is my personal blog where I will be writing tutorials on programming, how-to guides, and solutions for problems that I face during my day-to-day development cycle. So stay tuned and follow me on Twitter and subscribe to our RSS Feed.
PS: This post is a part of a series called "My very first post" that I post on all my new blog.
PPS: I so wish that this blog does not end up the same way my old blogs did.