Author: admin

  • Installation

    You can start learning the basics of programming in PHP with the help of any of the online PHP compilers freely available on the Internet. This will help in getting acquainted with the features of PHP without installing it on your computer. Later on, install a full-fledged PHP environment on your local machine. One such…

  • What is the purpose of Node.js?

    These are the following purposes of Node.js:

  • Is Node a single threaded application?

    Yes. Node is a single-threaded application with event looping.

  • Introduction

    PHP started out as a small open source project that evolved as more and more people found out how useful it was. Rasmus Lerdorf released the first version of PHP way back in 1994. Initially, PHP was supposed to be an abbreviation for “Personal Home Page”, but it now stands for the recursive initialism “PHP:…

  •  Is Node.js free to use?

    Yes. It is released under MIT license and is free to use.

  • Sending Email

    Using sendmail Utility Sending a Plain Message If you are working on Linux/Unix machine then you can simply use sendmail utility inside your Perl program to send email. Here is a sample script that can send an email to a given email ID. Just make sure the given path for sendmail utility is correct. This may be…

  • Node.js MongoDB Remove

    In MongoDB, you can delete records or documents by using the remove() method. The first parameter of the remove() method is a query object which specifies the document to delete. Example Remove the record of employee whose address is Ghaziabad. Create a js file named “remove.js”, having the following code:PauseNextMute Current Time 0:09 / Duration 18:10 Loaded: 4.77%  Fullscreen…

  • Regular Expressions

    A regular expression is a string of characters that defines the pattern or patterns you are viewing. The syntax of regular expressions in Perl is very similar to what you will find within other regular expression.supporting programs, such as sed, grep, and awk. The basic method for applying a regular expression is to use the pattern binding operators…

  • Node.js MongoDB Sorting

    In MongoDB, the sort() method is used for sorting the results in ascending or descending order. The sort() method uses a parameter to define the object sorting order. Sort in Ascending Order Example Sort the records in ascending order by the name. Create a js file named “sortasc.js”, having the following code:PlayNextMute Current Time 0:00 /…

  • Coding Standard

    Each programmer will, of course, have his or her own preferences in regards to formatting, but there are some general guidelines that will make your programs easier to read, understand, and maintain. The most important thing is to run your programs under the -w flag at all times. You may turn it off explicitly for…