CoderFunda
  • Home
  • About us
    • Contact Us
    • Disclaimer
    • Privacy Policy
    • About us
  • Home
  • Php
  • HTML
  • CSS
  • JavaScript
    • JavaScript
    • Jquery
    • JqueryUI
    • Stock
  • SQL
  • Vue.Js
  • Python
  • Wordpress
  • C++
    • C++
    • C
  • Laravel
    • Laravel
      • Overview
      • Namespaces
      • Middleware
      • Routing
      • Configuration
      • Application Structure
      • Installation
    • Overview
  • DBMS
    • DBMS
      • PL/SQL
      • SQLite
      • MongoDB
      • Cassandra
      • MySQL
      • Oracle
      • CouchDB
      • Neo4j
      • DB2
      • Quiz
    • Overview
  • Entertainment
    • TV Series Update
    • Movie Review
    • Movie Review
  • More
    • Vue. Js
    • Php Question
    • Php Interview Question
    • Laravel Interview Question
    • SQL Interview Question
    • IAS Interview Question
    • PCS Interview Question
    • Technology
    • Other
Showing posts with label Nodejs-Hindi. Show all posts
Showing posts with label Nodejs-Hindi. Show all posts

12 February, 2019

Node.js Timer

 Programing Coderfunda     February 12, 2019     Nodejs-Hindi, Nodejs-Timer     No comments   

Node.js Timer - Node.js टाइमर

Node.js टाइमर फ़ंक्शन वैश्विक फ़ंक्शन हैं। टाइमर फ़ंक्शन का उपयोग करने के लिए आपको आवश्यकता () फ़ंक्शन का उपयोग करने की आवश्यकता नहीं है। आइए टाइमर फ़ंक्शन की सूची देखें।

टाइमर फ़ंक्शन सेट करें:

     setImmediate (): इसका उपयोग setImmediate को निष्पादित करने के लिए किया जाता है।
     setInterval (): इसका उपयोग समय अंतराल को परिभाषित करने के लिए किया जाता है।
     setTimeout (): () - इसका उपयोग देरी के बाद एक बार कॉलबैक निष्पादित करने के लिए किया जाता है।

टाइमर कार्य साफ़ करें:

     ClearImmediate (तात्कालिक ऑबजेक्ट): इसका उपयोग एक तत्काल ऑबजेक्ट को रोकने के लिए किया जाता है, जैसा कि setImmediate द्वारा बनाया गया है
     ClearInterval (इंटरवलऑब्जेक्ट): इसका उपयोग इंटरवलऑब्जेक्ट को रोकने के लिए किया जाता है, जैसा कि setInterval द्वारा बनाया गया है
     clearTimeout (timeoutObject): यह टाइमआउट ऑबजेक्ट को रोकता है, जैसा कि सेटटाइमआउट द्वारा बनाया गया है

Node.js Timer setInterval() Example

This example will set a time interval of 1000 millisecond and the specified comment will be displayed after every 1000 millisecond until you terminate.

File: timer1.js

    setInterval(function() { 
     console.log("setInterval: Hey! 1 millisecond completed!..");  
    }, 1000);  

  1. var i =0;  
  2. console.log(i);  
  3. setInterval(function(){  
  4. i++;  
  5. console.log(i);  
  6. }, 1000);   
Open Node.js command prompt and run the following code:

Node.js Timer setTimeout() Example

File: timer1.js
  1. setTimeout(function() {   
  2. console.log("setTimeout: Hey! 1000 millisecond completed!..");  
  3. }, 1000);  
Open Node.js command prompt and run the following code:

This example shows time out after every 1000 millisecond without setting a time interval. This example uses the recursion property of a function.
File: timer2.js
  1. var recursive = function () {  
  2.     console.log("Hey! 1000 millisecond completed!..");   
  3.     setTimeout(recursive,1000);  
  4. }  
  5. recursive();   
Open Node.js command prompt and run the following code:

Node.js setInterval(), setTimeout() and clearTimeout()

Let's see an example to use clearTimeout() function.
File: timer3.js
  1. function welcome () {  
  2.   console.log("Welcome to JavaTpoint!");  
  3. }  
  4. var id1 = setTimeout(welcome,1000);  
  5. var id2 = setInterval(welcome,1000);  
  6. clearTimeout(id1);  
  7. //clearInterval(id2);  

Node.js setInterval(), setTimeout() and clearInterval()

Let's see an example to use clearInterval() function.
File: timer3.js
  1. function welcome () {  
  2.   console.log("Welcome to JavaTpoint!");  
  3. }  
  4. var id1 = setTimeout(welcome,1000);  
  5. var id2 = setInterval(welcome,1000);  
  6. //clearTimeout(id1);  
  7. clearInterval(id2); 


 

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Node.js OS

 Programing Coderfunda     February 12, 2019     Nodejs-Hindi, Nodejs-OS     No comments   

Node.js OS

Node.js OS provides some basic operating-system related utility functions. Let's see the list generally used functions or methods.
Index Method Description
1. os.arch() This method is used to fetch the operating system CPU architecture.
2.
os.cpus()
This method is used to fetch an array of objects containing information about each cpu/core installed: model, speed (in MHz), and times (an object containing the number of milliseconds the cpu/core spent in: user, nice, sys, idle, and irq).
3. os.endianness() This method returns the endianness of the cpu. Its possible values are 'BE' for big endian or 'LE' for little endian.
4. os.freemem() This methods returns the amount of free system memory in bytes.
5. os.homedir() This method returns the home directory of the current user.
6.
os.hostname()
This method is used to returns the hostname of the operating system.
7. os.loadavg() This method returns an array containing the 1, 5, and 15 minute load averages. The load average is a time fraction taken by system activity, calculated by the operating system and expressed as a fractional number.
8. os.networkinterfaces() This method returns a list of network interfaces.
9. os.platform() This method returns the operating system platform of the running computer i.e.'darwin', 'win32','freebsd', 'linux', 'sunos' etc.
10. os.release() This method returns the operating system release.
11. os.tmpdir() This method returns the operating system's default directory for temporary files.
12. os.totalmem() This method returns the total amount of system memory in bytes.
13. os.type() This method returns the operating system name. For example 'linux' on linux, 'darwin' on os x and 'windows_nt' on windows.
14. os.uptime() This method returns the system uptime in seconds.
15. os.userinfo([options]) This method returns a subset of the password file entry for the current effective user.

IN - HINDI


Node.js OS कुछ बुनियादी ऑपरेटिंग-सिस्टम संबंधित उपयोगिता फ़ंक्शंस प्रदान करता है। आइए सूची को आमतौर पर उपयोग किए जाने वाले कार्यों या विधियों को देखें।
सूचकांक विधि विवरण
1. os.arch () इस पद्धति का उपयोग ऑपरेटिंग सिस्टम CPU आर्किटेक्चर लाने के लिए किया जाता है।
2।
os.cpus ()
इस विधि का उपयोग उन वस्तुओं की एक सरणी को लाने के लिए किया जाता है जिनमें प्रत्येक cpu / कोर के बारे में जानकारी होती है: मॉडल, गति (मेगाहर्ट्ज में), और समय (मिलीसेकंड की संख्या वाली एक वस्तु जिसमें cpu / कोर का खर्च होता है: उपयोगकर्ता, अच्छा, sys बेकार, और irq)।
3. os.endianness () यह विधि cpu की समाप्ति को लौटाती है। इसके संभावित मूल्य बड़े एंडियन के लिए 'बीई' या छोटे एंडियन के लिए 'एलई' हैं।
4. os.freemem () यह विधि बाइट्स में मुफ्त सिस्टम मेमोरी की मात्रा लौटाती है।
5. os.homedir () यह विधि वर्तमान उपयोगकर्ता की होम डायरेक्टरी लौटाती है।
6।
os.hostname ()
इस पद्धति का उपयोग ऑपरेटिंग सिस्टम के होस्टनाम को वापस करने के लिए किया जाता है।
7. os.loadavg () यह विधि एक सरणी देता है जिसमें 1, 5 और 15 मिनट का लोड औसत होता है। लोड औसत सिस्टम गतिविधि द्वारा लिया गया एक समय का अंश है, जिसे ऑपरेटिंग सिस्टम द्वारा गणना की जाती है और एक भिन्नात्मक संख्या के रूप में व्यक्त किया जाता है।
8. os.networkinterfaces () यह विधि नेटवर्क इंटरफेस की एक सूची लौटाती है।
9. os.platform () यह विधि चल रहे कंप्यूटर के ऑपरेटिंग सिस्टम प्लेटफॉर्म को लौटा देती है यानी 'win32', 'win32', 'freebsd', 'linux', 'sunos' आदि।
10. os.release () यह विधि ऑपरेटिंग सिस्टम रिलीज़ लौटाती है।
11. os.tmpdir () यह विधि अस्थायी फ़ाइलों के लिए ऑपरेटिंग सिस्टम की डिफ़ॉल्ट निर्देशिका लौटाती है।
12. os.totalmem () यह विधि बाइट्स में सिस्टम मेमोरी की कुल राशि लौटाती है।
13. os.type () यह विधि ऑपरेटिंग सिस्टम नाम लौटाती है। उदाहरण के लिए 'linux' पर linux, os x पर 'darwin' और windows पर 'windows_nt'।
14. os.uptime () यह विधि सेकंड में सिस्टम अपटाइम लौटाती है।
15. os.userinfo ([विकल्प]) यह विधि मौजूदा प्रभावी उपयोगकर्ता के लिए पासवर्ड फ़ाइल प्रविष्टि का सबसेट लौटाती है।

Node.js OS उदाहरण 1

इस उदाहरण में, हम कुछ बुनियादी कार्यों को शामिल कर रहे हैं। निम्नलिखित कोड वाले os_example1.js नाम की फ़ाइल बनाएँ:

फ़ाइल: os_example1.js

     const os = आवश्यकता ('os');
     कंसोल.लॉग ("os.freemem (): \ n", os.freemem ());
     कंसोल.लॉग ("os.homedir (): \ n", os.homedir ());
     कंसोल.लॉग ("os.hostname (): \ n", os.hostname ());
     कंसोल.लॉग ("os.endianness (): \ n", os.endianness ());
     कंसोल.लॉग ("os.loadavg (): \ n", os.loadavg ());
     कंसोल.लॉग ("os.platform (): \ n", os.platform ());
     कंसोल.लॉग ("os.release (): \ n", os.release ());
     कंसोल.लॉग ("os.tmpdir (): \ n", os.tmpdir ());
     कंसोल.लॉग ("os.totalmem (): \ n", os.totalmem ());
     कंसोल.लॉग ("os.type (): \ n", os.type ());
     कंसोल.लॉग ("os.uptime (): \ n", os.uptime ());

or English 

Node.js OS Example 1

In this example, we are including some basic functions. Create a file named os_example1.js having the following code:
File: os_example1.js
  1. const os=require('os');  
  2. console.log("os.freemem(): \n",os.freemem());  
  3. console.log("os.homedir(): \n",os.homedir());  
  4. console.log("os.hostname(): \n",os.hostname());  
  5. console.log("os.endianness(): \n",os.endianness());  
  6. console.log("os.loadavg(): \n",os.loadavg());  
  7. console.log("os.platform(): \n",os.platform());  
  8. console.log("os.release(): \n",os.release());  
  9. console.log("os.tmpdir(): \n",os.tmpdir());  
  10. console.log("os.totalmem(): \n",os.totalmem());  
  11. console.log("os.type(): \n",os.type());  
  12. console.log("os.uptime(): \n",os.uptime());  
Open Node.js command prompt and run the following code:
  1. node os_example1.js 
 Node.js OS उदाहरण 2

इस उदाहरण में, हम शेष कार्यों को शामिल कर रहे हैं। निम्नलिखित कोड वाले os_example2.js नामक फ़ाइल बनाएँ:

फ़ाइल: os_example2.js

     const os = आवश्यकता ('os');
     कंसोल.लॉग ("os.cpus (): \ n", os.cpus ());
     कंसोल.लॉग ("os.arch (): \ n", os.arch ());
     कंसोल.लॉग ("os.networkInterfaces (): \ n", os.networkInterfaces ());

Node.js कमांड प्रॉम्प्ट खोलें और निम्न कोड चलाएँ:

     नोड os_example2.js


Node.js OS Example 2

In this example, we are including remaining functions. Create a file named os_example2.js having the following code:

File: os_example2.js

    const os=require('os'); 
    console.log("os.cpus(): \n",os.cpus()); 
    console.log("os.arch(): \n",os.arch()); 
    console.log("os.networkInterfaces(): \n",os.networkInterfaces());  

Open Node.js command prompt and run the following code:

    node os_example2.js  


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Node.js Global Objects

 Programing Coderfunda     February 12, 2019     Nodejs-Global-Objects, Nodejs-Hindi     No comments   

ग्लोबल ऑब्जेक्ट्स Node.js - Node.js Global Objects


Node.js वैश्विक वस्तुएँ प्रकृति में वैश्विक हैं और सभी मॉड्यूल में उपलब्ध हैं। आपको इन वस्तुओं को अपने आवेदन में शामिल करने की आवश्यकता नहीं है; बल्कि उन्हें सीधे इस्तेमाल किया जा सकता है। ये ऑब्जेक्ट मॉड्यूल, फ़ंक्शंस, स्ट्रिंग्स और ऑब्जेक्ट आदि हैं। इनमें से कुछ ऑब्जेक्ट वास्तव में वैश्विक दायरे में नहीं हैं, लेकिन मॉड्यूल दायरे में हैं।

वैश्विक वस्तुओं की नोड की सूची नीचे दी गई है:

     __dirname
     __फ़ाइल का नाम
     कंसोल
     प्रक्रिया
     बफर
     setImmediate (कॉलबैक [, arg] [, ...])
     सेटइंटरवल (कॉलबैक, देरी [, arg] [, ...])
     सेटटाइमआउट (कॉलबैक, देरी [, arg] [, ...])
     clearImmediate (immediateObject)
     clearInterval (intervalObject)
     clearTimeout (timeoutObject)

Node.js __dirname

यह एक तार है। यह उस निर्देशिका का नाम निर्दिष्ट करता है जिसमें वर्तमान में कोड है।

फ़ाइल: Global-example1.js

     console.log (__ dirname);

Node.js कमांड प्रॉम्प्ट खोलें और निम्न कोड चलाएँ:

     नोड वैश्विक-example1.js


Node.js __filename

यह कोड के फ़ाइल नाम को निष्पादित करता है। यह इस कोड फ़ाइल का हल निरपेक्ष पथ है। किसी मॉड्यूल के अंदर का मान उस मॉड्यूल फ़ाइल का पथ है।

फ़ाइल: Global-example2.js

     console.log (__ फ़ाइल नाम);

Node.js कमांड प्रॉम्प्ट खोलें और निम्न कोड चलाएँ:

     नोड वैश्विक-example2.js


Node.js कंसोल

कंसोल वर्ग का विवरण प्राप्त करने के लिए यहां क्लिक करें। http://www.javatpoint.com/nodejs-console
Node.js बफर

बफ़र वर्ग का विवरण प्राप्त करने के लिए यहाँ क्लिक करें। http://www.javatpoint.com/nodejs-buffers
Node.js टाइमर कार्य

टाइमर कार्यों का विवरण प्राप्त करने के लिए यहां क्लिक करें। http://www.javatpoint.com/nodejs-timer
 
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Node.js Command Line Options

 Programing Coderfunda     February 12, 2019     Nodejs-Command, Nodejs-Hindi     No comments   

Node.js कमांड लाइन विकल्प - Node.js Command Line Options

Node.js. में कमांड लाइन विकल्पों की एक विस्तृत विविधता है। ये विकल्प स्क्रिप्ट और अन्य सहायक रन-टाइम विकल्पों को निष्पादित करने के कई तरीके प्रदान करते हैं।

आइए देखते हैं Node.js कमांड लाइन विकल्पों की सूची: 

सूचकांक विकल्प विवरण

Index Option Description
1. v, --version It is used to print node's version.
2. -h, --help It is used to print node command line options.
3. -e, --eval "script" It evaluates the following argument as JavaScript. The modules which are predefined in the REPL can also be used in script.
4. -p, --print "script" It is identical to -e but prints the result.
5. -c, --check Syntax check the script without executing.
6. -i, --interactive It opens the REPL even if stdin does not appear to be a terminal.
7. -r, --require module It is used to preload the specified module at startup. It follows require()'s module resolution rules. Module may be either a path to a file, or a node module name.
8. --no-deprecation Silence deprecation warnings.
9. --trace-deprecation It is used to print stack traces for deprecations.
10. --throw-deprecation It throws errors for deprecations.
11. --no-warnings It silence all process warnings (including deprecations).
12. --trace-warnings It prints stack traces for process warnings (including deprecations).
13. --trace-sync-io It prints a stack trace whenever synchronous i/o is detected after the first turn of the event loop.
14. --zero-fill-buffers Automatically zero-fills all newly allocated buffer and slowbuffer instances.
15. --track-heap-objects It tracks heap object allocations for heap snapshots.
16. --prof-process It processes V8 profiler output generated using the v8 option --prof.
17. --V8-options It prints V8 command line options.
18. --tls-cipher-list=list It specifies an alternative default tls cipher list. (requires node.js to be built with crypto support. (default))
19. --enable-fips It enables fips-compliant crypto at startup. (requires node.js to be built with ./configure --openssl-fips)
20. --force-fips It forces fips-compliant crypto on startup. (cannot be disabled from script code.) (same requirements as --enable-fips)
21. --icu-data-dir=file It specifies ICU data load path. (Overrides node_icu_data)

  Or in Hindi

सूचकांक विकल्प विवरण
1. v, --version इसका उपयोग नोड के संस्करण को प्रिंट करने के लिए किया जाता है।
2. -h, --help इसका उपयोग नोड कमांड लाइन विकल्प प्रिंट करने के लिए किया जाता है।
3. -e, --eval "script" यह जावास्क्रिप्ट के रूप में निम्न तर्क का मूल्यांकन करता है। REPL में पूर्वनिर्धारित मॉड्यूल का उपयोग स्क्रिप्ट में भी किया जा सकता है।
4. -पी, --प्रिंट "स्क्रिप्ट" यह -ई के समान है, लेकिन परिणाम प्रिंट करता है।
5. -c, -check सिंटैक्स बिना एक्ज़ीक्यूट किए स्क्रिप्ट को चेक करता है।
6. -आई, - इनटेक्टिव एक्टिव यह आरईपीएल को खोलता है, भले ही स्टड एक टर्मिनल के रूप में प्रकट न हो।
7. -r, --require मॉड्यूल इसका उपयोग स्टार्टअप पर निर्दिष्ट मॉड्यूल को प्रीलोड करने के लिए किया जाता है। इसके लिए आवश्यकता है () मॉड्यूल रिज़ॉल्यूशन नियमों की। मॉड्यूल या तो फ़ाइल के लिए एक पथ हो सकता है, या नोड मॉड्यूल नाम हो सकता है।
8. -नो-वंचन मौन deprecation चेतावनियाँ।
9. -ट्रेस-डेप्रिसिएशन का उपयोग डिप्रेसेशन के लिए स्टैक के निशान को प्रिंट करने के लिए किया जाता है।
10. -थो-डेप्रिसिएशन यह डेप्रिसिएशन के लिए एरर फेंकता है।
11. --चेतावनियाँ यह सभी प्रक्रिया चेतावनियों (पदावनत सहित) को मौन करती है।
12. -ट्रेस-चेतावनियाँ यह प्रक्रिया चेतावनियों के लिए स्टैक के निशान (अवक्षेपण सहित) को प्रिंट करती है।
13. -ट्रेस-सिंक-आईआईओ यह एक स्टैक ट्रेस को प्रिंट करता है जब भी इवेंट लूप की पहली बारी के बाद सिंक्रोनस i / o का पता लगाया जाता है।
14. - एक्सो-फिल-बफ़र्स स्वचालित रूप से सभी नव-आवंटित बफर और धीमे आवृत्तियों को शून्य-भरता है।
15. .ट्रैप-हीप-ऑब्जेक्ट्स यह हीप स्नैपशॉट के लिए हीप एलोकेशन को ट्रैक करता है।
16.-prof- प्रक्रिया यह v8 विकल्प का उपयोग कर उत्पन्न V8 प्रोफाइलर प्रक्रियाओं को संसाधित करता है - लाभदायक।
17. - V8- विकल्प यह V8 कमांड लाइन विकल्प प्रिंट करता है।
18. -tls-cipher-list = सूची यह एक वैकल्पिक डिफ़ॉल्ट tls सिफर सूची निर्दिष्ट करता है। (क्रिप्टो समर्थन के साथ नोड.जेएस बनाने की आवश्यकता है। (डिफ़ॉल्ट))
19. -enable-fips यह स्टार्टअप पर फिप्स-कंप्लीट क्रिप्टो को सक्षम बनाता है। (नोड .js के साथ बनाया जाना आवश्यक है ।/configure --openssl-fips)
20. -force-fips यह स्टार्टअप पर कूल्हों-अनुरूप क्रिप्टो बलों को मजबूर करता है। (स्क्रिप्ट कोड से अक्षम नहीं किया जा सकता है।) (समान आवश्यकताएं --enable-fips)
21. --icu-data-dir = file यह ICU डेटा लोड पथ निर्दिष्ट करता है। (अधिप्रदाय नोड_सु_दाता)
Node.js कमांड लाइन विकल्प उदाहरण
चल रहे नोड के संस्करण को देखने के लिए:

Node.js कमांड प्रॉम्प्ट खोलें और कमांड नोड -v या नोड --version चलाएं



Node.js कमांड प्रॉम्प्ट खोलें और कमांड नोड -v या नोड --version चलाएं
 
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Node.js Package Manager

 Programing Coderfunda     February 12, 2019     Nodejs-Hindi, Nodejs-Package     No comments   

Node.js पैकेज मैनेजर

नोड पैकेज मैनेजर दो मुख्य कार्यशीलता प्रदान करता है:

     यह नोड.जेएस पैकेज / मॉड्यूल के लिए ऑनलाइन रिपॉजिटरी प्रदान करता है जो search.nodejs.org पर खोजा जा सकता है
     यह Node.js संकुल को स्थापित करने के लिए कमांड लाइन उपयोगिता भी प्रदान करता है, संस्करण प्रबंधन और Node.js संकुल की निर्भरता प्रबंधन करता है।

Npm उस v0.6.3 के बाद संस्करणों में Node.js इंस्टॉलबल्स के साथ बंडल में आता है। आप Node.js कमांड प्रॉम्प्ट खोलकर और निम्न कमांड टाइप करके संस्करण की जांच कर सकते हैं:

 एनपीएम का उपयोग करके मॉड्यूल स्थापित करना

किसी भी Node.js मॉड्यूल को स्थापित करने के लिए सिंटैक्स निम्नलिखित है:

     npm स्थापित करें <मॉड्यूल का नाम>

आइए एक प्रसिद्ध Node.js वेब फ्रेमवर्क स्थापित करें जिसे एक्सप्रेस कहा जाता है:

Node.js कमांड प्रॉम्प्ट खोलें और निम्न कमांड निष्पादित करें:

     npm स्थापित एक्सप्रेस

आप "एक्सप्रेस" ढांचे को स्थापित करने के बाद परिणाम देख सकते हैं।


 वैश्विक बनाम स्थानीय स्थापना

डिफ़ॉल्ट रूप से, npm स्थानीय मोड में निर्भरता स्थापित करता है। यहां स्थानीय मोड उस फ़ोल्डर को निर्दिष्ट करता है जहां नोड एप्लिकेशन मौजूद है। उदाहरण के लिए यदि आपने एक्सप्रेस मॉड्यूल स्थापित किया है, तो उसने वर्तमान निर्देशिका में नोड_मॉड्यूल निर्देशिका बनाई जहां उसने एक्सप्रेस मॉड्यूल स्थापित किया था।


 आप सभी स्थानीय स्तर पर स्थापित मॉड्यूल को सूचीबद्ध करने के लिए npm ls कमांड का उपयोग कर सकते हैं।

Node.js कमांड प्रॉम्प्ट खोलें और "npm ls" निष्पादित करें:

 विश्व स्तर पर स्थापित संकुल / निर्भरता को सिस्टम निर्देशिका में संग्रहीत किया जाता है। आइए वैश्विक स्थापना का उपयोग करके एक्सप्रेस मॉड्यूल स्थापित करें। हालांकि यह भी एक ही परिणाम का उत्पादन करेगा लेकिन मॉड्यूल विश्व स्तर पर स्थापित किया जाएगा।

Node.js कमांड प्रॉम्प्ट खोलें और निम्नलिखित कोड निष्पादित करें:

     npm स्थापित एक्सप्रेस -g

 यहां पहली पंक्ति मॉड्यूल संस्करण और उसके स्थान के बारे में बताती है जहां यह स्थापित हो रहा है।
एक मॉड्यूल की स्थापना रद्द करना


Node.js मॉड्यूल की स्थापना रद्द की गई है। आप निम्न आदेश का उपयोग करके सत्यापित कर सकते हैं:
आप देख सकते हैं कि मॉड्यूल अब खाली है।
एक मॉड्यूल खोज रहा है

"npm खोज एक्सप्रेस" कमांड का उपयोग एक्सप्रेस या मॉड्यूल को खोजने के लिए किया जाता है।





 


 
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Node.js REPL

 Programing Coderfunda     February 12, 2019     Nodejs-Hindi, Nodejs-REPL     3 comments   

Node.js REPL

REPL शब्द का अर्थ Read Eval Print और Loop है। यह एक विंडो कंसोल या एक यूनिक्स / लिनक्स शेल जैसे कंप्यूटर वातावरण को निर्दिष्ट करता है जहां आप कमांड दर्ज कर सकते हैं और सिस्टम एक इंटरैक्टिव मोड में आउटपुट के साथ प्रतिक्रिया करता है।
REPL पर्यावरण

Node.js या नोड REPL पर्यावरण के साथ बंडल में आते हैं। REPL पर्यावरण के प्रत्येक भाग का एक विशिष्ट कार्य है।

पढ़ें: यह पढ़ता है उपयोगकर्ता का इनपुट; जावास्क्रिप्ट डेटा-संरचना में इनपुट को पार्स करें और मेमोरी में स्टोर करें।

Eval: यह डेटा संरचना को लेता है और उसका मूल्यांकन करता है।

प्रिंट: यह परिणाम प्रिंट करता है।

लूप: यह उपर्युक्त कमांड को तब तक लूप करता है जब तक उपयोगकर्ता दो बार ctrl-c दबा देता है।
REPL कैसे शुरू करें

आप कमांड प्रॉम्प्ट पर बस "नोड" चलाकर आरईपीएल शुरू कर सकते हैं। यह देखो:

आप REPL Node.js कमांड प्रॉम्प्ट पर विभिन्न गणितीय कार्य निष्पादित कर सकते हैं:
Node.js सरल भाव

REPL नोड कमांड प्रॉम्प्ट शुरू करने के बाद किसी भी गणितीय अभिव्यक्ति को रखें:

     उदाहरण:> 10 + 20-5
     25

  1. Example2: >10+12 + (5*4)/7   
चर का उपयोग करना चर का उपयोग मूल्यों को संग्रहीत करने और बाद में प्रिंट करने के लिए किया जाता है। यदि आप var कीवर्ड का उपयोग नहीं करते हैं तो वैल्यू को वेरिएबल में स्टोर किया जाता है और प्रिंट किया जाता है, जबकि अगर वेरिएबल कीवर्ड का उपयोग किया जाता है तो वैल्यू स्टोर किया जाता है लेकिन प्रिंट नहीं किया जाता है। आप कंसोल.लॉग () का उपयोग करके चर प्रिंट कर सकते हैं। उदाहरण:
 Node.js बहुभाषी भाव

नोड REPL जावास्क्रिप्ट की तरह बहुस्तरीय अभिव्यक्ति का समर्थन करता है। निम्नलिखित करते हुए लूप उदाहरण देखें:

     var x = 0
     अपरिभाषित
     > करो {
     ... x ++;
     ... कंसोल.लॉग ("x:" + x);
     ...} जबकि (x <10);

 Node.js अंडरस्कोर वैरिएबल

अंतिम परिणाम प्राप्त करने के लिए आप अंडरस्कोर _ का भी उपयोग कर सकते हैं।


 Node.js REPL कमांड्स

विवरण वर्णन करता है
ctrl + c वर्तमान कमांड को समाप्त करने के लिए इसका उपयोग किया जाता है।
ctrl + c दो बार यह नोड उत्तर को समाप्त करता है।
ctrl + d यह नोड उत्तर को समाप्त करता है।
अप / डाउन कीज़ का उपयोग कमांड इतिहास को देखने और पिछले कमांड को संशोधित करने के लिए किया जाता है।
टैब कीज़ यह वर्तमान कमांड की सूची को निर्दिष्ट करती है।
.help यह सभी कमांड की सूची को निर्दिष्ट करता है।
.ब्रेक का उपयोग मल्टी-लाइन एक्सप्रेशन से बाहर निकलने के लिए किया जाता है।
.clear का उपयोग बहु-पंक्ति अभिव्यक्तियों से बाहर निकलने के लिए किया जाता है।
.save फ़ाइल नाम यह वर्तमान नोड उत्तर को किसी फ़ाइल में सहेजता है।
.लोड फ़ाइल नाम वर्तमान नोड उत्तर सत्र में फ़ाइल सामग्री लोड करने के लिए उपयोग किया जाता है।


Node.js से बाहर निकलें REPL

Node.js REPL से बाहर आने के लिए दो बार ctrl + c कमांड का उपयोग करें।

 
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Node.js Console

 Programing Coderfunda     February 12, 2019     Nodejs-Console, Nodejs-Hindi     No comments   

Node.js कंसोल

Node.js कंसोल मॉड्यूल वेब ब्राउज़र द्वारा प्रदान किए गए जावास्क्रिप्ट कंसोल तंत्र के समान एक सरल डीबगिंग कंसोल प्रदान करता है।

तीन कंसोल तरीके हैं जो किसी भी नोड.जेएस स्ट्रीम को लिखने के लिए उपयोग किए जाते हैं:

     console.log ()
     console.error ()
     console.warn ()

Node.js कंसोल.लॉग ()

कंसोल.लॉग () फ़ंक्शन का उपयोग कंसोल पर सरल संदेश प्रदर्शित करने के लिए किया जाता है।

फ़ाइल: कंसोल_एक्सप्लेन 1। जेएस

     कंसोल.लॉग (। हेलो JavaTpoint ’);

Node.js कमांड प्रॉम्प्ट खोलें और निम्न कोड चलाएँ:

     नोड कंसोल_एक्सप्ले 1.जेएस

हम भी सांत्वना। प्रारूप () समारोह में प्रारूप विनिर्देशक का उपयोग कर सकते हैं।

फ़ाइल: कंसोल_एक्सप्ले 2.जेएस

     कंसोल.लॉग ('हैलो% s', 'JavaTpoint');

Node.js कमांड प्रॉम्प्ट खोलें और निम्न कोड चलाएँ:

     नोड कंसोल_एक्सप्ले 2.जेएस

Node.js कंसोल.error ()

कंसोल। त्रुटि () फ़ंक्शन का उपयोग कंसोल पर त्रुटि संदेश प्रस्तुत करने के लिए किया जाता है।

फ़ाइल: कंसोल_एक्सप्लेन 3.जेएस

     कंसोल। नया (नई त्रुटि ('नर्क! यह एक गलत तरीका है।'));

Node.js कमांड प्रॉम्प्ट खोलें और निम्न कोड चलाएँ:

     नोड कंसोल_एक्सप्लेन 3.जेएस
 
 

Node.js कंसोल.warn ()

कंसोल। चेतावनी () फ़ंक्शन का उपयोग कंसोल पर चेतावनी संदेश प्रदर्शित करने के लिए किया जाता है।

फ़ाइल: कंसोल_एक्सप्ले 4.जेएस

     const नाम = 'जॉन';
     सांत्वना.नार् (`मेरे साथ गड़बड़ मत करो $ {name}! मेरे साथ गड़बड़ मत करो!`);

Node.js कमांड प्रॉम्प्ट खोलें और निम्न कोड चलाएँ:

     नोड कंसोल_एक्सप्ले 4.जेएस
 


 
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Node.js First Example

 Programing Coderfunda     February 12, 2019     Node.js First Example, Nodejs-Hindi     No comments   

Node.js पहला उदाहरण


कंसोल-आधारित और वेब-आधारित नोड.जेएस अनुप्रयोग हो सकते हैं।
Node.js कंसोल-आधारित उदाहरण

फ़ाइल: कंसोल_एक्सप्लेन 1। जेएस

     कंसोल.लॉग (। हेलो JavaTpoint ’);

Node.js कमांड प्रॉम्प्ट खोलें और निम्न कोड चलाएँ:

     नोड कंसोल_एक्सप्ले 1.जेएस


 


यहाँ, कंसोल .log () फ़ंक्शन कंसोल पर संदेश प्रदर्शित करता है।
Node.js वेब-आधारित उदाहरण

एक नोड.जेएस वेब अनुप्रयोग में निम्नलिखित तीन भाग होते हैं:

    आवश्यक मॉड्यूल आयात करें: Node.js मॉड्यूल को लोड करने के लिए "आवश्यकता" निर्देश का उपयोग किया जाता है।
    सर्वर बनाएँ: आपको एक सर्वर स्थापित करना होगा जो Apache HTTP सर्वर के समान क्लाइंट के अनुरोध को सुनेगा।
    अनुरोध और वापसी प्रतिक्रिया पढ़ें: दूसरे चरण में बनाए गए सर्वर क्लाइंट द्वारा किए गए HTTP अनुरोध को पढ़ेंगे जो एक ब्राउज़र या कंसोल हो सकता है और प्रतिक्रिया वापस कर सकता है।

नोड बनाने के लिए कैसे। जेएस वेब अनुप्रयोगों

इन कदमों का अनुसरण करें:

    आयात आवश्यक मॉड्यूल: पहला कदम उपयोग करने की आवश्यकता है? HTTP मॉड्यूल को लोड करने और HTTP चर में HTTP उदाहरण को स्टोर करने का निर्देश। उदाहरण के लिए:
        var http = की आवश्यकता है ("http");
    सर्वर बनाएँ: दूसरे चरण में, आपको क्रिएट इंस्टेंस का उपयोग करना होगा और सर्वर इंस्टेंस बनाने के लिए http.createServer () विधि को कॉल करना होगा और फिर सर्वर इंस्टेंस से जुड़ी सुन विधि का उपयोग करके इसे पोर्ट 8081 पर बाँधना होगा। इसे अनुरोध और प्रतिक्रिया मापदंडों के साथ एक फ़ंक्शन पास करें और "हैलो वर्ल्ड" वापस करने के लिए नमूना कार्यान्वयन लिखें। उदाहरण के लिए:
        http.createServer (फ़ंक्शन (अनुरोध, प्रतिक्रिया) {
           // HTTP हेडर भेजें
           // HTTP स्थिति: 200: ठीक है
           // सामग्री प्रकार: पाठ / सादा
           response.writeHead (200, {'सामग्री-प्रकार': 'पाठ / सादा'});
           // प्रतिक्रिया निकाय को "हैलो वर्ल्ड" के रूप में भेजें
           response.end ('हैलो वर्ल्ड \ n');
        ।}) सुनने (8081);
        // कंसोल संदेश को प्रिंट करेगा
        कंसोल.लॉग ('सर्वर http://127.0.0.1:8081/' पर चल रहा है);
    "Main.js" नामक फ़ाइल में step1 और step2 को एक साथ मिलाएं।

    फ़ाइल: main.js
        var http = की आवश्यकता है ("http");
        http.createServer (फ़ंक्शन (अनुरोध, प्रतिक्रिया) {
         // HTTP हेडर भेजें
           // HTTP स्थिति: 200: ठीक है
           // सामग्री प्रकार: पाठ / सादा
           response.writeHead (200, {'सामग्री-प्रकार': 'पाठ / सादा'});
           // प्रतिक्रिया निकाय को "हैलो वर्ल्ड" के रूप में भेजें
           response.end ('हैलो वर्ल्ड \ n');
        ।}) सुनने (8081);
        // कंसोल संदेश को प्रिंट करेगा
        कंसोल.लॉग ('सर्वर http://127.0.0.1:8081/' पर चल रहा है);

अपना सर्वर कैसे शुरू करें:

स्टार्ट मेन्यू पर जाएं और Node.js कमांड प्रॉम्प्ट पर क्लिक करें।
अब कमांड प्रॉम्प्ट खुला है:
 
 
 पथ सेट करें: यहां हमारे पास डेस्कटॉप पर "main.js" फ़ाइल है।

इसलिए कमांड प्रॉम्प्ट पर cd डेस्कटॉप टाइप करें। इसके बाद सर्वर शुरू करने के लिए main.js को निम्नानुसार निष्पादित करें:

node main.js   



अब सर्वर शुरू किया गया है।

Node.js सर्वर से एक अनुरोध करें:

Http://127.0.0.1:8081/ किसी भी ब्राउज़र में खोलें। आप निम्न परिणाम देखेंगे।

 अब, यदि आप "main.js" फ़ाइल में कोई बदलाव करते हैं, तो आपको फिर से "नोड main.js" कमांड चलाने की आवश्यकता है।
 

Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Install Node.js on Linux/Ubuntu/CentOS

 Programing Coderfunda     February 12, 2019     Nodejs-Hindi, Nodejs-Install-Linux/Ubuntu/CentOS     No comments   

Linux / Ubuntu / CentOS पर Node.js स्थापित करें

 
हम आसानी से लिनक्स / ubuntu / centOS / fedora / linuxmint आदि पर Node.js स्थापित कर सकते हैं। Linux (Ubuntu) ऑपरेटिंग सिस्टम पर Node.js स्थापित करने के लिए, इन निर्देशों का पालन करें:

1) उबंटू टर्मिनल खोलें (आप शॉर्टकट कुंजियों का उपयोग कर सकते हैं (Ctrl + Alt + T)।


2) टाइप कमांड sudo apt-get install python-software-properties

3) एंटर दबाएं (यदि आपने अपने सिस्टम के लिए पासवर्ड सेट किया है तो यह पासवर्ड मांगेगा)

4) पासवर्ड टाइप करें और एंटर दबाएं


5) टाइप कमांड सुडो एप-ऐड-रिपॉजिटरी ppa: chris-lea / node.js

6) एंटर दबाएं
 


7) फिर से जारी रखने के लिए Enter दबाएँ

8) टाइप कमांड sudo apt-get update (कुछ समय तक प्रतीक्षा करें)
 


9) टाइप कमांड सुडो एप्ट-गेट इनस्टॉल नोडज एनपीएम

10) टाइप कमांड सुडो एप-गेट इनस्टॉल नोडज

स्थापन पूर्ण हुआ। अब आप नोड के संस्करण को नोड --version द्वारा जांच सकते हैं

Npm -v द्वारा npm के संस्करण की जाँच करें

अब आप इस कमांड को टाइप करके अपने इंस्टाल प्रोग्राम लिस्ट में node.js को चेक कर सकते हैं

dpkg --get-selections
 
 
 
 
 
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Install Node.js on Windows

 Programing Coderfunda     February 12, 2019     Nodejs-Hindi, Nodejs-Install     No comments   

विंडोज पर Node.js स्थापित करें

 Node.js के लिए एक वातावरण स्थापित और सेटअप करने के लिए, आपको अपने कंप्यूटर पर उपलब्ध निम्न दो सॉफ्टवेयर्स की आवश्यकता होगी:

     पाठ संपादक।
     Node.js बाइनरी इंस्टॉल करने योग्य

पाठ संपादक:

आपके प्रोग्राम को टाइप करने के लिए टेक्स्ट एडिटर का उपयोग किया जाता है। उदाहरण के लिए: नोटपैड का उपयोग विंडोज में किया जाता है, vim या vi का उपयोग विंडोज के साथ-साथ लिनक्स या यूनिक्स पर भी किया जा सकता है। टेक्स्ट एडिटर का नाम और संस्करण ऑपरेटिंग सिस्टम से ऑपरेटिंग सिस्टम तक भिन्न हो सकते हैं।

टेक्स्ट एडिटर के साथ बनाई गई फाइलों को सोर्स फाइल्स कहा जाता है और इसमें प्रोग्राम सोर्स कोड होता है। Node.js कार्यक्रमों के लिए स्रोत फाइलें आमतौर पर एक्सटेंशन ".js" के साथ नामित की जाती हैं।

Node.js रनटाइम:

स्रोत फ़ाइल में लिखा गया स्रोत कोड केवल जावास्क्रिप्ट है। यह व्याख्या और Node.js दुभाषिया द्वारा निष्पादित किया जाता है।

Node.js कैसे डाउनलोड करें:

आप https://nodejs.org/en/ से Node.js की नवीनतम संग्रह फ़ाइल डाउनलोड कर सकते हैं।











Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Features of Node.js

 Programing Coderfunda     February 12, 2019     Nodejs-Features, Nodejs-Hindi     No comments   

Node.js की विशेषताएं

निम्नलिखित Node.js की कुछ महत्वपूर्ण विशेषताओं की एक सूची है जो इसे सॉफ्टवेयर आर्किटेक्ट्स की पहली पसंद बनाती है।

    अत्यधिक तेज़: Node.js Google Chrome के V8 जावास्क्रिप्ट इंजन पर बनाया गया है, इसलिए इसकी लाइब्रेरी कोड निष्पादन में बहुत तेज़ है।
    I / O एसिंक्रोनस और इवेंट ड्रिवेन है: Node.js लाइब्रेरी के सभी API एसिंक्रोनस हैं यानी नॉन-ब्लॉकिंग। तो एक Node.js आधारित सर्वर डेटा वापस करने के लिए कभी भी एपीआई का इंतजार नहीं करता है। सर्वर कॉल करने के बाद अगले API पर जाता है और Node.js के ईवेंट की सूचना तंत्र पिछले API कॉल से प्रतिक्रिया प्राप्त करने में सर्वर की मदद करता है। यह भी एक कारण है कि यह बहुत तेज है।
    सिंगल थ्रेडेड: Node.js इवेंट लूपिंग के साथ सिंगल थ्रेडेड मॉडल का अनुसरण करता है।
    अत्यधिक स्केलेबल: Node.js अत्यधिक स्केलेबल है क्योंकि इवेंट तंत्र सर्वर को गैर-अवरुद्ध तरीके से प्रतिक्रिया करने में मदद करता है।
    कोई बफ़रिंग नहीं: ऑडियो और वीडियो फ़ाइलों को अपलोड करते समय Node.js समग्र प्रसंस्करण समय में कटौती करता है। Node.js अनुप्रयोग किसी भी डेटा को कभी भी बफ़र नहीं करते हैं। ये एप्लिकेशन बस डेटा को चंक्स में आउटपुट करते हैं।
    खुला स्रोत: Node.js में एक खुला स्रोत समुदाय है जिसने Node.js अनुप्रयोगों में अतिरिक्त क्षमताओं को जोड़ने के लिए कई उत्कृष्ट मॉड्यूल का उत्पादन किया है।
    लाइसेंस: Node.js एमआईटी लाइसेंस के तहत जारी किया जाता है।
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

What is Node.js

 Programing Coderfunda     February 12, 2019     Node-Introduction, Nodejs-Hindi, What is Node.js     No comments   

Node.js क्या है


Node.js ब्राउज़र के बाहर जावास्क्रिप्ट अनुप्रयोगों को चलाने के लिए एक क्रॉस-प्लेटफॉर्म रनटाइम वातावरण और लाइब्रेरी है। इसका उपयोग सर्वर-साइड और नेटवर्किंग वेब एप्लिकेशन बनाने के लिए किया जाता है। यह खुला स्रोत है और उपयोग करने के लिए स्वतंत्र है। इसे इस लिंक https://nodejs.org/en/ से डाउनलोड किया जा सकता है

Node.js के कई बुनियादी मॉड्यूल जावास्क्रिप्ट में लिखे गए हैं। Node.js का उपयोग ज्यादातर वास्तविक समय सर्वर अनुप्रयोगों को चलाने के लिए किया जाता है।

इसके आधिकारिक दस्तावेज द्वारा दी गई परिभाषा इस प्रकार है:

? Node.js आसानी से तेज और स्केलेबल नेटवर्क अनुप्रयोगों के निर्माण के लिए क्रोम के जावास्क्रिप्ट रनटाइम पर बनाया गया एक मंच है। Node.js एक घटना-चालित, गैर-अवरुद्ध I / O मॉडल का उपयोग करता है जो इसे हल्के और कुशल बनाता है, जो डेटा-गहन वास्तविक समय अनुप्रयोगों के लिए एकदम सही है जो वितरित उपकरणों के बीच चलता है।

Node.js वेब अनुप्रयोगों के विकास को सरल बनाने के लिए विभिन्न जावास्क्रिप्ट मॉड्यूल की एक समृद्ध लाइब्रेरी भी प्रदान करता है।


    Node.js = Runtime Environment + JavaScript Library   


Node.js के विभिन्न भागों


Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg

Node.js ट्यूटोरियल In Hindi

 Programing Coderfunda     February 12, 2019     Nodejs-Hindi     No comments   

Node.js ट्यूटोरियल

Node.js ट्यूटोरियल Node.js. की मूल और उन्नत अवधारणाएँ प्रदान करता है हमारा Node.js ट्यूटोरियल शुरुआती और पेशेवर दोनों के लिए डिज़ाइन किया गया है।

Node.js जावास्क्रिप्ट अनुप्रयोगों को चलाने के लिए एक क्रॉस-प्लेटफॉर्म पर्यावरण और पुस्तकालय है जो नेटवर्किंग और सर्वर-साइड एप्लिकेशन बनाने के लिए उपयोग किया जाता है।

हमारे Node.js ट्यूटोरियल में Node.js के सभी विषय शामिल हैं जैसे कि Node.js विंडोज़ और लिनक्स पर स्थापना, REPL, पैकेज मैनेजर, कॉलबैक, ईवेंट लूप, ओएस, पाथ, क्वेरी स्ट्रिंग, क्रिप्टोग्राफ़ी, डीबगर, URL, DNS, नेट आदि। UDP, प्रोसेस, चाइल्ड प्रोसेस, बफ़र्स, स्ट्रीम, फाइल सिस्टम, ग्लोबल ऑब्जेक्ट, वेब मॉड्यूल आदि। Node.js इंटरव्यू प्रश्न भी दिए गए हैं, ताकि आप Node.js तकनीक को बेहतर ढंग से समझने में मदद कर सकें।



 Node.js Index



Node.js Tutorial
  • Node.js Tutorial
  • What is Node.js
  • Node.js Features
  • Install Node.js Windows
  • Install Node.js Linux
  • Node.js First Example
  • Node.js Console
  • Node.js REPL
  • Node.js NPM
  • Node.js CL Options
  • Node.js Globals
  • Node.js OS
  • Node.js Timer
  • Node.js Errors
  • Node.js DNS
  • Node.js Net
  • Node.js Crypto
  • Node.js TLS/SSL
  • Node.js Debugger
  • Node.js Process
  • Node.js Child Process
  • Node.js Buffers
  • Node.js Streams
  • Node.js File System
  • Node.js Path
  • Node.js StringDecoder
  • Node.js Query String
  • Node.js ZLIB
  • Node.js Assertion
  • Node.js V8
  • Node.js Callbacks
  • Node.js Events
  • Node.js Punycode
  • Node.js TTY
  • Node.js Web Modules 


  • Node.js MySQL
  • MySQL Create Connection
  • MySQL Create Database
  • MySQL Create Table
  • MySQL Insert Record
  • MySQL Delete Record
  • MySQL Select Record
  • MySQL Select Unique
  • MySQL Drop Table
Node.js MongoDB
  • Create Connection
  • Create Database
  • Create Collection
  • MongoDB Insert
  • MongoDB Select
  • MongoDB Query
  • MongoDB Sorting
  • MongoDB Remove
Difference
  • Node.js vs AngularJS
  • Node.js vs Python
  • Node.js vs PHP
  • Node.js vs Java
Node.js Express
  • Express.js Tutorial
  • What is Express.js
  • Install Express.js
  • Express.js Request
  • Express.js Response
  • Express.js Get
  • Express.js Post
  • Express.js Routing
  • Express.js Cookies
  • Express.js File Upload
  • Express.js Middleware
  • Express.js Scaffolding
  • Express.js Template
Interview Questions
  • Node.js Interview
  • AngularJS Interview
  • JavaScript Interview
  • jQuery Interview
  • Backbone.js Interview
  • Ember.js Interview
  • Neo4j Interview
Read More
  • Share This:  
  •  Facebook
  •  Twitter
  •  Google+
  •  Stumble
  •  Digg
Older Posts Home

Meta

Popular Posts

  • 25 PHP Interview Questions and Answers You Must Know
    Here are some PHP questions and answers for experienced developers (with some beginner concepts covered).   Do you need to test a developer...
  • Laravel Media Uploader
      The   Laravel Media Uploader   package by   Ahmed Fathy   uploads files using Spatie’s media library package before saving a model. You ca...
  • How to Customize Product Page Layout in Magento
      How to Customize Product Page Layout in Magento As you might know, each product requires a particular page layout based on its unique feat...
  • Node.js OS
    Node.js OS Node.js OS provides some basic operating-system related utility functions. Let's see the list generally used functions or me...
  • SRK's King eyes record-breaking Rs 50 crore music rights deal
    image/jpeg https://timesofindia.indiatimes.com/entertainment/hindi/bollywood/news/shah-rukh-khans-king-eyes-record-breaking-rs-50-crore-musi...

Categories

  • Ajax (26)
  • Bootstrap (30)
  • DBMS (42)
  • HTML (12)
  • HTML5 (45)
  • JavaScript (10)
  • Jquery (34)
  • Jquery UI (2)
  • JqueryUI (32)
  • Laravel (1018)
  • Laravel Tutorials (23)
  • Laravel-Question (6)
  • Magento (9)
  • Magento 2 (95)
  • MariaDB (1)
  • MySql Tutorial (2)
  • PHP-Interview-Questions (3)
  • Php Question (13)
  • Python (36)
  • RDBMS (13)
  • SQL Tutorial (79)
  • Vue.js Tutorial (69)
  • Wordpress (150)
  • Wordpress Theme (3)
  • codeigniter (108)
  • oops (4)
  • php (853)

Social Media Links

  • Follow on Twitter
  • Like on Facebook
  • Subscribe on Youtube
  • Follow on Instagram

Pages

  • Home
  • Contact Us
  • Privacy Policy
  • About us

Blog Archive

  • ▼  2026 (205)
    • ▼  08/30 - 09/06 (87)
      • Anshula hits back at body shaming on social media,...
      • Antony Varghese reveals why he missed Thalapathy V...
      • Kunal Kemmu opens up on directing Sharmila Tagore ...
      • ‘Vishwanath And Sons’ actor Suriya’s EXPENSIVE car...
      • ' Toxic': Yash starrer misses major milestones on ...
      • Kareena regrets leaving education after Class 11, ...
      • Amid Deepika row, Preity opens up on her own 18-ho...
      • Priyanka Chopra rewinds romance with Nick Jonas - ...
      • Princess Diana's godson Prince Philippos and Princ...
      • 'Dad, I'm not feeling OK': Haitian student who app...
      • California condo owners were suddenly handed a $26...
      • Meet the 18-year-old whose junk hauling business e...
      • China's Xi tells Middle East to be ‘masters of the...
      • Is Texas accepting gold, silver as payment from Se...
      • US nurse found dead with 2 sons in suspected doubl...
      • Teacher's welding dream turns into North Dakota's ...
      • In 1947, Houston opened a 700-seat Art Deco theate...
      • Dad who won a cabbage in 1977 scoops £4m Bath mans...
      • Indian H-1Bs hiring other Indians, giving them bes...
      • Indiana Dunes lodge reopens after 50 years, with a...
      • Indian-origin CEO says it's pathetic victim mental...
      • Meet the 19-year-old who made 7,000 bow ties to he...
      • Vanessa Trump spotted at court as Tiger Woods lose...
      • California could unlock $100M-$200M in annual wate...
      • Six months of Trump's Iran war: America won battle...
      • After their brother died, two siblings inherited 2...
      • Five Indiana engineering students built a 12-hour ...
      • A stormwater pond in Calgary appears filled with P...
      • Swara reacts to backlash after her comment on 'Jau...
      • Is Rajinikanth’s ‘Jailer 2’ to be postponed? Here’...
      • Darshan breaks silence on estranged wife Apara's c...
      • Scarlett Johansson net worth in 2026
      • Bollywood stars help Sudhir Dalvi of 'Sai Baba' fa...
      • 'Toxic': Yash, Kiara Advani, Nayanthara film cross...
      • Mukesh Khanna reacts to trolling over ad with Sama...
      • Julie Andrews reveals fitness routine at 90: ‘I fe...
      • Zeenat Aman reveals why she stayed in her turbulen...
      • ‘Mandaadi’ actor Soori recalls painful set inciden...
      • Dolly Parton cradled newborn Emma in 2007; now 18,...
      • RGV defends Allu Aravind's comment on Yash: 'Only ...
      • Anjali Patil’s ‘Selvi’ trailer unveiled ahead of B...
      • R Madhavan recalls son Vedaant's honest film reviews
      • Vijay Deverakonda shares first reaction to Rashmik...
      • Who is Aishwarya Rai Bachchan’s brother Aditya Rai?
      • 'The One About Matthew Perry' Docuseries set for O...
      • Aditya Dhar lauds Yash for 'Toxic', amid the film ...
      • Ariana changes 'Thank U, Next' lyric for Ricky - W...
      • 'Sardar 2' stars Karthi, SJ Suryah and Ashika visi...
      • In 1937, Pittsburgh built a 102-foot water tank th...
      • Meet Ingrid Alexandra: 22-year-old heir as King Ha...
      • Built in 1881 and closed in 2004, a $55 million Sm...
      • A Staten Island deli manager started paying kids f...
      • Hammer-wielding Ohio man who smashed windows of JD...
      • Hollywood actor Joel McCrea bought a California ra...
      • 40+ Tennessee Tiny-home owners sue over ‘zombie HO...
      • In 2023, buyers paid $87,000 for a crumbling 1979 ...
      • Israeli PM Netanyahu’s son urgently evacuated from...
      • In 1943, two Jewish refugees bought a LA mansion f...
      • WWII-era plane packed into boxes in 1953 moved wit...
      • Los Angeles theatre reopens after a 15-year, $40 m...
      • In 2008, Allen University moved a 1903 house and p...
      • In 1944, Polish priest Henry Denis endured Nazi ma...
      • Texas volunteers began a cleanup 40 years ago; now...
      • Florida couple spent 41 years preserving a 1908 ho...
      • A 19-year-old's girlfriend fell onto train tracks;...
      • In 2001, 880 tiny weevils were released to fight T...
      • 16th-century English longhouse restored into build...
      • Howling from a California water tank leads rescuer...
      • India Post GDS recruitment 2026: Applications open...
      • UGC NET June 2026 re-exam city intimation slip rel...
      • Google Antigravity explained: How it differs from ...
      • Gujarat schools hit by heavy rain can hold classes...
      • SSC Stenographer Grade C, D exam 2026 dates revise...
      • IBPS RRB 2026 registration begins for over 13,000 ...
      • IGNOU July 2026 admissions: Last date to apply for...
      • UGC invites applications from HEIs for ODL, online...
      • IIT JAM 2027 brochure released, registration dates...
      • IOB SO recruitment 2026: Indian Overseas Bank invi...
      • India makes IST the sole official time reference: ...
      • WB NEET UG round 1 seat allotment result 2026 out ...
      • Dehradun schools, Anganwadi centres closed today a...
      • What’s on your work desk? Books, plants or a cute ...
      • CTET 2026 September registration window closes tod...
      • ₹10 lakh extra salary, but no bigger savings? Beng...
      • DU fourth year rollout sparks teacher workload con...
      • IIT Kanpur-ISKCON MoU on student well-being sparks...
      • HTET 2025 result declared for all three levels; ch...
    • ►  08/16 - 08/23 (1)
    • ►  08/02 - 08/09 (8)
    • ►  07/26 - 08/02 (108)
    • ►  06/28 - 07/05 (1)
  • ►  2025 (4)
    • ►  07/06 - 07/13 (2)
    • ►  06/29 - 07/06 (2)
  • ►  2024 (486)
    • ►  09/15 - 09/22 (30)
    • ►  09/08 - 09/15 (35)
    • ►  09/01 - 09/08 (35)
    • ►  08/11 - 08/18 (2)
    • ►  08/04 - 08/11 (33)
    • ►  07/28 - 08/04 (30)
    • ►  07/07 - 07/14 (11)
    • ►  06/30 - 07/07 (35)
    • ►  06/23 - 06/30 (5)
    • ►  06/02 - 06/09 (31)
    • ►  05/26 - 06/02 (20)
    • ►  05/05 - 05/12 (29)
    • ►  04/28 - 05/05 (26)
    • ►  04/07 - 04/14 (10)
    • ►  03/31 - 04/07 (34)
    • ►  03/24 - 03/31 (10)
    • ►  03/03 - 03/10 (35)
    • ►  02/25 - 03/03 (15)
    • ►  02/04 - 02/11 (22)
    • ►  01/28 - 02/04 (30)
    • ►  01/07 - 01/14 (8)
  • ►  2023 (484)
    • ►  12/31 - 01/07 (35)
    • ►  12/24 - 12/31 (10)
    • ►  12/03 - 12/10 (33)
    • ►  11/26 - 12/03 (20)
    • ►  11/05 - 11/12 (35)
    • ►  10/29 - 11/05 (20)
    • ►  10/22 - 10/29 (9)
    • ►  10/15 - 10/22 (7)
    • ►  10/08 - 10/15 (9)
    • ►  10/01 - 10/08 (10)
    • ►  09/24 - 10/01 (9)
    • ►  09/17 - 09/24 (9)
    • ►  09/10 - 09/17 (7)
    • ►  09/03 - 09/10 (9)
    • ►  08/27 - 09/03 (9)
    • ►  08/20 - 08/27 (8)
    • ►  08/13 - 08/20 (8)
    • ►  08/06 - 08/13 (8)
    • ►  07/30 - 08/06 (8)
    • ►  07/23 - 07/30 (7)
    • ►  07/16 - 07/23 (8)
    • ►  07/09 - 07/16 (7)
    • ►  07/02 - 07/09 (8)
    • ►  06/25 - 07/02 (7)
    • ►  06/18 - 06/25 (7)
    • ►  06/11 - 06/18 (7)
    • ►  06/04 - 06/11 (11)
    • ►  05/28 - 06/04 (7)
    • ►  05/21 - 05/28 (8)
    • ►  05/14 - 05/21 (11)
    • ►  05/07 - 05/14 (7)
    • ►  04/30 - 05/07 (7)
    • ►  04/23 - 04/30 (8)
    • ►  04/16 - 04/23 (9)
    • ►  04/09 - 04/16 (7)
    • ►  04/02 - 04/09 (4)
    • ►  03/26 - 04/02 (21)
    • ►  03/19 - 03/26 (2)
    • ►  03/12 - 03/19 (9)
    • ►  03/05 - 03/12 (26)
    • ►  02/26 - 03/05 (25)
    • ►  01/15 - 01/22 (7)
    • ►  01/08 - 01/15 (1)
  • ►  2022 (1037)
    • ►  12/11 - 12/18 (13)
    • ►  12/04 - 12/11 (1)
    • ►  11/27 - 12/04 (40)
    • ►  11/06 - 11/13 (1)
    • ►  10/16 - 10/23 (13)
    • ►  09/04 - 09/11 (5)
    • ►  08/21 - 08/28 (24)
    • ►  08/14 - 08/21 (24)
    • ►  07/03 - 07/10 (9)
    • ►  06/19 - 06/26 (3)
    • ►  05/29 - 06/05 (3)
    • ►  05/22 - 05/29 (3)
    • ►  05/15 - 05/22 (109)
    • ►  05/01 - 05/08 (7)
    • ►  04/24 - 05/01 (7)
    • ►  04/17 - 04/24 (64)
    • ►  04/10 - 04/17 (115)
    • ►  04/03 - 04/10 (73)
    • ►  03/27 - 04/03 (77)
    • ►  03/13 - 03/20 (2)
    • ►  03/06 - 03/13 (25)
    • ►  02/27 - 03/06 (18)
    • ►  02/20 - 02/27 (153)
    • ►  02/13 - 02/20 (187)
    • ►  01/30 - 02/06 (45)
    • ►  01/23 - 01/30 (15)
    • ►  01/16 - 01/23 (1)
  • ►  2021 (412)
    • ►  10/24 - 10/31 (2)
    • ►  07/25 - 08/01 (1)
    • ►  07/11 - 07/18 (10)
    • ►  06/13 - 06/20 (29)
    • ►  05/23 - 05/30 (1)
    • ►  05/02 - 05/09 (24)
    • ►  04/25 - 05/02 (24)
    • ►  04/18 - 04/25 (112)
    • ►  04/11 - 04/18 (1)
    • ►  04/04 - 04/11 (6)
    • ►  03/28 - 04/04 (86)
    • ►  03/21 - 03/28 (19)
    • ►  03/14 - 03/21 (2)
    • ►  03/07 - 03/14 (10)
    • ►  02/28 - 03/07 (1)
    • ►  02/21 - 02/28 (29)
    • ►  02/14 - 02/21 (13)
    • ►  02/07 - 02/14 (12)
    • ►  01/31 - 02/07 (6)
    • ►  01/17 - 01/24 (2)
    • ►  01/10 - 01/17 (8)
    • ►  01/03 - 01/10 (14)
  • ►  2020 (376)
    • ►  12/27 - 01/03 (37)
    • ►  12/20 - 12/27 (92)
    • ►  12/13 - 12/20 (29)
    • ►  12/06 - 12/13 (37)
    • ►  11/29 - 12/06 (4)
    • ►  11/15 - 11/22 (14)
    • ►  11/08 - 11/15 (8)
    • ►  11/01 - 11/08 (2)
    • ►  10/18 - 10/25 (14)
    • ►  10/11 - 10/18 (16)
    • ►  10/04 - 10/11 (10)
    • ►  09/20 - 09/27 (10)
    • ►  09/06 - 09/13 (19)
    • ►  08/30 - 09/06 (26)
    • ►  08/23 - 08/30 (4)
    • ►  08/16 - 08/23 (2)
    • ►  07/12 - 07/19 (48)
    • ►  05/17 - 05/24 (2)
    • ►  01/05 - 01/12 (2)
  • ►  2019 (74)
    • ►  07/07 - 07/14 (6)
    • ►  06/16 - 06/23 (6)
    • ►  02/10 - 02/17 (17)
    • ►  01/13 - 01/20 (37)
    • ►  01/06 - 01/13 (8)
  • ►  2018 (376)
    • ►  12/30 - 01/06 (24)
    • ►  12/16 - 12/23 (8)
    • ►  12/09 - 12/16 (98)
    • ►  12/02 - 12/09 (16)
    • ►  11/18 - 11/25 (36)
    • ►  11/04 - 11/11 (18)
    • ►  10/28 - 11/04 (10)
    • ►  10/21 - 10/28 (26)
    • ►  10/14 - 10/21 (52)
    • ►  10/07 - 10/14 (4)
    • ►  09/30 - 10/07 (2)
    • ►  09/23 - 09/30 (68)
    • ►  09/16 - 09/23 (4)
    • ►  09/09 - 09/16 (4)
    • ►  08/26 - 09/02 (6)

Data Publish News

Loading...

Al Jazeera – Breaking News, World News and Video from Al Jazeera

Loading...

Laravel News

Loading...

Copyright © CoderFunda | Powered by Blogger
Design by Coderfunda | Blogger Theme by Coderfunda | Distributed By Coderfunda