Javascript and Angularjs

JavaScript and AngularJS 
JavaScript – जावास्क्रिप्ट
JavaScript is an object-oriented program scripting language which is also referred as multi-paradigm, functional and event-driven language. It is symbolized as JS and is used for developing web applications with HTML and CSS. It uses ‘.js’ filename extension.
जावास्क्रिप्ट एक ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग स्क्रिप्टिंग भाषा है। इसे मल्टी-पैराडिगम (बहु-प्रतिमान), फंकशनल एवं इवेंट ड्रिवेन लैंगवेज के रूप में भी जाना जाता है। यह मुख्य रूप से JS के रूप में सिंबोलाइज्ड है। यह HTML और CSS के साथ वेब एप्लिकेशन विकसित करने के लिए सबसे अधिक उपयोग की जाने वाली तकनीकों में से एक है। जावास्क्रिप्ट का फाइलनेम एक्सटेंशन ‘.js’ है।
Designing of JavaScript is done by Brendan Eich but it is developed by Netscape, Mozilla and Ecma organizations. It is released in 1995 and is interpreted and used as client side scripting language with Java. It can be run on the browser without recompiling of the code. It makes the WebPages more dynamic and more attractive.
जावास्क्रिप्ट बेंडन ईच द्वारा डिजाइन किया गया है लेकिन यह नेटस्केप, मोजिला फाउंडेशन और एक्मा इंटरनेशनल द्वारा विकसित किया गया। यह पहली बार वर्ष 1995 में जारी किया गया था। जावास्क्रिप्ट को क्लाइंट साइड स्क्रिप्टिंग भाषा के रूप में जावा के साथ इंटरप्रिट और उपयोग किया जाता है, इसके कोड को फिर से बिना रीकम्पाइल किए ब्राउजर पर चलाया जा सकता है। यह वेब पेज या । एप्लिकेशन को अधिक गतिशील और इंटरैक्टिव बनाने में मदद करता है ।
JavaScript has features like dynamic typing which make it better and safe programming language. It can be manipulated in a browser for doing changes in webpage or web applications. It will take care of security and performance. JavaScript also helps in adding a new HTML page and change the existing content and styles.
जावास्क्रिप्ट में डायनामिक टाइपिंग जैसे कई फीचर है जो इसे अच्छा एवं सेफ प्रोग्रामिंग लैंगवेज बनाते है। वेबपेज या वेब एप्लिकेशन में परिवर्तन करने के लिए इसे वेब ब्राउजर मे मैनिपुलेट किया जा सकता हैद्य यह सिक्यूरिटी और पेरफोर्मेंस को भी बनाये रखता है। जावास्क्रिप्ट नए एचटीएमएल पेज को जोड़ने एवं एक्जिस्टिंग कंटैंट एवं एस्टाइल को भी चेंज करने में मदद करता है।
JavaScript is referred as Unique because of its full integration with HTML/CSS. JavaScript (जावास्क्रिप्ट) also allows simple things to be done simply only. It is also supported by the major and modern browsers, and is being enabled by default as well.
HTML/CSS के साथ पूर्ण एकीकरण के कारण जावास्क्रिप्ट को अद्वितीय रूप में संदर्भित किया जाता है। जावास्क्रिप्ट भी सरल चीजों को सरलता से करने की अनुमति देता है। यह प्रमुख और आधुनिक ब्राउजरों द्वारा भी सपोर्ट किया जाता है, और यह डिफॉल्ट रूप से भी इनेबल होता है।
Angular JS – एनगुलर जेएस
Angular JS is a JavaScript-based frontend web framework. It is an open source and gives the dynamic quality to web pages.
Angular Js एक जावास्क्रिप्ट बेस्ड फ्रंट एंड वेब फ्रेमवर्क है, यह ओपेन सोर्से होता है और वेब पेजेस को डाइनैमिक क्वालिटी प्रदान करता है।
It is developed by Google and initially released in the year 2010. It uses the markup language that is HTML language to extend its syntax.
Angular Js Google द्वारा विकसित किया गया था और वर्ष 2010 में जारी किया गया था। यह अपने सिंटैक्स को एक्सटैंड करने के लिए मार्कअप लैंगवेज जोकि एचटीएमएल है को यूज करता है।
Angular Js (Dynamic language) and HTML language (Static language) both are used in developing web applications more efficiently and dynamically.
Angular Js (डायनेमिक भाषा) और HTML भाषा (स्टेटिक भाषा) दोनों का उपयोग वेब एप्लिकेशन को अधिक कुशलता और गतिशील रूप से विकसित करने में किया जाता है।
Angular Js mainly works on the model view controller i.e. MVC (एमवीसी) concept, which defines the behavior of data, logic and view layer. These layers help in fetching the data, modifying the data and displaying the data to a user. Whenever the view has changed or some event clicked by a user, angular JS (एंगुलर जेएस) tried to handle this at a controller and change the data in model and displays to a user.
Angular Js मुख्य रूप से मॉडल व्यू कंट्रोलर यानी MVC कॉन्सेप्ट पर काम करता है, जो डेटा, लॉजिक और व्यू लेयर के व्यवहार को परिभाषित करता है। ये परतें डेटा को लाने, डेटा को संशोधित करने और उपयोगकर्ता को डेटा प्रदर्शित करने में मदद करती हैं। जब भी दृश्य बदला है या किसी उपयोगकर्ता द्वारा क्लिक की गई कोई घटना है, तो एंग्यूलर जेएस ने एक कंट्रोलर पर इसे संभालने और उपयोगकर्ता के लिए मॉडल और डिस्प्ले में डेटा बदलने की कोशिश की।
Introduction to Client Side Scripting Language
क्लाइंट साइड स्क्रिप्टिंग भाषा का परिचय
For a Web page, HTML (एचटीएमएल) supplies document content and structure while CSS provides presentation styling. In addition, client-side scripts can control browser (ब्राउसर) actions associated with a Web page. Scripts (स्क्रिप्ट) are programs written in a simple and easy-to-use language to specify control of other programs. Client-side scripts are almost always written in the JavaScript (जावास्क्रिप्ट) language to control browsers actions.
एक वेब पेज के लिए, HTML डाक्यूमेंट सामग्री और संरचना की आपूर्ति करता है जबकि CSS प्रजेंटेशन स्टाईल प्रदान करता है। इसके अलावा, क्लाइंट-साइड स्क्रिप्ट वेब पेज से जुड़े ब्राउजर एक्शन को नियंत्रित कर सकते हैं। अन्य प्रोग्रामो के नियंत्रण को निर्दिष्ट करने के लिए स्क्रिप्ट को एक सरल और आसान भाषा में लिखा गया प्रोग्राम है। ब्राउजर क्रियाओं को नियंत्रित करने के लिए क्लाइंट-साइड स्क्रिप्ट लगभग हमेशा जावास्क्रिप्ट भाषा में लिखी जाती हैं।

Layer लेयरContent कंटेंटFormat फार्मेट
Data Layer डेटा लेयरText / images to display. डिस्प्ले करने के लिए टेक्सट/इमेज।HTML एचटीएमएल
Presentation Layer प्रेजेंटेशन लेयरStyle rules to overwrite browser defaults. स्टाइल रुल ब्राउजर की डिफाल्ट को ओवरराइट करने के लिए।CSS सीएसएस
Activity Layer ऐक्टिविटि लेयरScripting to provide interactivity to the site. साइट को इण्टरऐक्टिविटि प्रदान करने के लिए स्क्रिप्टिंग।JavaScript, Type Script etc. जावास्क्रिप्ट, टाइपस्क्रिप्ट आदि।

Tasks performed with client-side scripts include:
क्लाइंट-साइड स्क्रिप्ट के साथ किए गए कार्य में शामिल हैं:
• Asking the browser to display information
ब्राउजर से जानकारी प्रदर्शित करने के लिए पूछना।
• Making the Web page (वेब पेज) different depending on the browser and browser features.
ब्राउजर और ब्राउजर फीचर के आधार पर वेब पेज को अलग बनाना ।
• Monitoring user events and specifying reactions.
उपयोगकर्ता की घटनाओं की निगरानी करना और प्रतिक्रियाओं को निर्दिष्ट करना।
• Generating HTML (एचटीएमएल) code for parts of the page.
पेज के कुछ हिस्सों के लिए HTML कोड बनाना।
• Modifying a page in response to events.
घटनाओं के जवाब में एक पृष्ठ को संशोधित करना।
• Checking correctness of user input.
उपयोगकर्ता इनपुट की शुद्धता की जाँच करना।
• Replacing and updating parts of a page.
पृष्ठ के कुछ हिस्सों को बदलना और अपडेट करना।
• Changing the style and position of displayed elements dynamically.
प्रदर्शित तत्वों की शैली और स्थिति को गतिशील रूप से बदलना।
Client-side scripting can make Web pages (वेब पेजेज) more dynamic and more responsive. We will see how JavaScript (जावास्क्रिप्ट) is used in combination with other Web constructs for user interface purposes. The importance is in applying JavaScript in practice rather than studying it as a programming language.
क्लाइंट-साइड स्क्रिप्टिंग वेब पृष्ठों को अधिक डॉयनॉमिक और अधिक रिस्पॉन्सिव बना सकती है। हम देखेंगे कि उपयोगकर्ता इंटरफेस प्रयोजनों के लिए अन्य वेब निर्माणों के संयोजन में जावास्क्रिप्ट का उपयोग कैसे किया जाता है। महत्त्वपूर्ण यह है कि जावास्क्रिप्ट को प्रोग्रामिंग भाषा के रूप में अध्ययन करने के बजाय प्रैक्टिस में लागू किया जाए।
JavaScript – जावास्क्रिप्ट
JavaScript (जावास्क्रिप्ट) is a widely used scripting language originally developed by Netscape for both client-side and server-side scripting. The language is becoming an international (इंटरनेशनल) standard, approved by the European standards body ECMA (ECMA-262) in 1997 and later by the ISO in 1998. Client-side JavaScript (जावास्क्रिप्ट) is used widely and supported well by major browsers including NN, IE, AOL, MOZILLA, and Opera. We shall present client-side JavaScript (जावास्क्रिप्ट) for adding dynamism and interactivity to Web pages and will refer to it simply as JavaScript.
जावास्क्रिप्ट एक व्यापक रूप से इस्तेमाल की जाने वाली स्क्रिप्टिंग भाषा है जो मूल रूप से क्लाइंट-साइड और सर्वर–साइड स्क्रिप्टिंग दोनों के लिए नेटस्केप द्वारा विकसित की गई है। यह भाषा एक अंतर्राष्ट्रीय मानक बन रही है, इसको 1997 में यूरोपीय मानक निकाय ECMA (ECMA-262) के द्वारा अनुमोदित कर दिया गया था, बाद में 1998 में ISO द्वारा अनुमोदित एक अंतरर्राष्ट्रीय मानक बन गया है। क्लाइंट-साइड जावास्क्रिप्ट का व्यापक रूप से उपयोग किया जाता है और NN, IE, AOL, MOZILLA, और ओपेरा सहित प्रमुख ब्राउजरों द्वारा इसका अच्छी तरह से समर्थन किया जाता है। हम वेब पेजों में गतिशीलता और अन्तरक्रियाशीलता जोड़ने के लिए क्लाइंट-साइड जावास्क्रिप्ट प्रस्तुत करेंगे और इसे केवल जावास्क्रिप्ट के रूप में संदर्भित करेंगे।
JavaScript programs are not written in Java which actually itself is another programming language. JavaScript programs are embedded in web pages and are executed by browsers that provide the host environment or execution context. HTML code can be generated by JavaScript code to get included in the page and perform tasks as a reaction to certain events. The host environments supplies document objects, and JavaScript built-in objects for the script. These objects represent the whole document and well-defined parts in it, such as; windows, buttons, menus, pop-ups, dialog boxes, text areas, anchors, frames, history, cookies, and input/output. For various purposes objects provide useful methods and functions contained in it.
नाम का सुझाव देने के विपरीत, जावा में जावास्क्रिप्ट प्रोग्राम नहीं लिखे जाते हैं जो वास्तव में एक अन्य प्रोग्रामिंग भाषा है। जावास्क्रिप्ट प्रोग्रामों को वेब पृष्ठों में एम्बेड किया जाता है और उन ब्राउजरों द्वारा निष्पादित किया जाता है जो होस्ट वातावरण या निष्पादन संदर्भ प्रदान करते हैं। जावास्क्रिप्ट कोड पेज में शामिल किए जाने और कुछ घटनाओं की प्रतिक्रिया में कार्यों को करने के लिए HTML कोड उत्पन्न कर सकता है। होस्ट इनवॉयरमेंट स्क्रिप्ट हेरफेर (manipulation) के लिए डॉक्यूमेंट ऑब्जेक्ट ब्राउज़र ऑब्जेक्ट और जावास्क्रिप्ट बिल्ट इन ऑब्जेक्ट की आपूर्ति करता है । ये ऑब्जेक्ट पुरे डॉक्यूमेंट और इसमें अच्छी तरह से परिभाषित भागों का प्रतिनिधत्व कर सकते हैं, उदाहरण के लिए विंडोज बटन मेनू पॉप अप डायलोग बॉक्स टेक्सट क्षेत्र एंकर फ्रेम हिस्ट्री कूकीज और इनपुट / आउटपुट । ऑब्जेक्ट विभिन्न उद्देश्यों के लिए ऑब्जेक्ट में निहित उपयोगी तरीके फंक्शन प्रदान करते हैं ।
Introduction to CSS
About me