Popular posts from this blog
Python Global, Local and Nonlocal variables
Global Variables In Python, a variable declared outside of the function or in global scope is known as global variable. This means, global variable can be accessed inside or outside of the function. Let's see an example on how a global variable is created in Python. Example 1: Create a Global Variable When we run the code, the will output be: x inside : global x outside: global In above code, we created x as a global variable and defined a foo() to print the global variable x . Finally, we call the foo() which will print the value of x . What if you want to change value of x inside a function? When we run the code, the will output be: UnboundLocalError: local variable 'x' referenced before assignment The output shows an error because Python treats x as a local variable and x is also not defined inside foo() . To make this work we use global keyword, t...
Angular Overview and Basic Introduction
Angular Introduction Angular JS (Commonly knows as Angular) is an exceptionally powerful front-end development framework for building sophisticated JavaScript apps. Angular has offers : Modularity that allows a team of developers to work on specific parts of an app concurrently Testability and maintainability of your app’s various pieces A big, thriving community of developers and organizations who love Angular Clean separation of the app’s UI from its logic, while still keeping them in sync Two-way data-binding — it’s pure magic (or sorcery?) — that updates the UI whenever a model changes (and vice versa) Useful out-of-the-box (as well as third-party-developed) modules such as Filters and Services that take the complexity out of stuff like data-processing, templating of UIs, dealing with HTTP requests, sanitizing and validating user inputs, animation, and (much, much) more Should you decide to learn Angular, you’ll be endowed with the skills required to develop cross-platf...

Comments
Post a Comment