Software engineering facts, information, and skills categorized as JavaScript

What's a good way to check if a cookie exist in JavaScript?

Varghese Chacko 1 year ago

What's a good way to check if a cookie exist using Javascript? The cookieisavailable to Javascript via document.cookie So the easiest method is to write a function that checks with document.cookie and return


Introduction to Angular JS

Varghese Chacko 1 year ago

Angular JS logoAngular JS is a framework in JavaScript. It is distributed as a JavaScript file and could be included in any HTML page with script tag. <script src=""></script> The angular JS extends the HTMLwith directives. The key directives are ng-app which defines the AngularJS application, the ng-model directive which bids value of HTML controls like input widgets to the app and ng-bind binds application data to the HTML.

AngularJS Services - The singleton data and code sharing method

Varghese Chacko 1 year ago

Angular JS logoAngular services are used to organize code across the application and are wired together using Dependancy Injection. Angular services are lazily instantiated, i.e, they are instantiated only when an application component depends on it.They are singletons, ie there will be only one instance exists for the app and the components depending on the service gets the reference to the service.

Find if two date ranges overlap around the year

Varghese Chacko 1 year, 1 month ago

Finding two date range is easy in straight line. ie to find if two ranges range_1_from to range_1_to and range_2_from to range_2_to. It is enough to check if

Top 10 Programming Languages Used in Web Development

Priya Philip 1 year, 1 month ago

    Python is an interpreted(processed at runtime by the interpreter), object-oriented(supports Object-Oriented style), interactive, simple, easy to learn, portable, extensible, embeddable, high-level programming language for general-purpose programming. Created by Guido van Rossum at the National Research Institute for Mathematics and Computer Science in the Netherlands and first released in 1991. Python is derived from ABC, Modula-3, SmallTalk, Algol-68, C, C++, Unix shell and other scripting languages.Python's source code is avaliable under the GNU General Public License (GPL) which guarantees end users the freedom to run, study, share and modify the software.