How much JavaScript do I need to know to get a job? Of course you’ll need to be fluent in JS (syntax, rules, et cetera) but more importantly…

Secrets of programming

How to calculate the time difference in php? Get time difference between two times in PHP using DateTime class $time1 = new DateTime(‘2017-01-23 18:16:25’); $time2 = new DateTime(‘2019-01-23…

Secrets of programming

The JSON Data Interchange Standard definition at json.org specifies that “An object is an unordered [emphasis mine] set of name/value pairs”, whereas an array is an “ordered collection…

Secrets of programming

You need at least four core licenses for each physical processor on the server (core licenses are sold in packs of two). The SQL Server or any of…

Secrets of programming

Cookies are text files stored on the client computer and they are kept for various information tracking purpose. Java Servlets transparently supports HTTP cookies. Server script sends a…

Secrets of programming

A unique key is a set of one or more than one fields/columns of a table that uniquely identify a record in a database table. The unique key…

Secrets of programming

Can you join two views SQL? In combining views, we can’t simply use JOINs (which JOIN columns). UNION must have same number of columns and compatible types before…

Secrets of programming

To disable JavaScript in Internet Explorer, open Internet Options > Security tab > Select Internet zone > Click Custom level. In the windows which opens, disable Active Scripting….

Secrets of programming

The SQL BETWEEN condition allows you to easily test if an expression is within a range of values (inclusive). The values can be text, date, or numbers. It…

Secrets of programming

REST APIs should accept JSON for request payload and also send responses to JSON. JSON is the standard for transferring data. Almost every networked technology can use it:…

Secrets of programming