Popular posts from this blog
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...
OOP concept in Python - Part 2
Methods One way we can improve our use of classes is to add functions to them. These class functions are known by their more common name, methods. In Python, methods are defined as part of the class definition, but can be invoked only on an instance. In other words, the path one must take to finally be able to call a method goes like this: (1) define the class (and the methods), (2) create an instance, and finally, (3) invoke the method on that instance. Here is an example class with a method class MyDataWithMethod(object): # define the class def printFoo(self): # define the method print 'You invoked printFoo()!' You will notice the self argument, which must be present in all method declarations. That argument, representing the instance object, is passed to the method implicit...

Comments
Post a Comment