What’s the difference between BrowserAnimationsModule and NoopAnimationsModule? As the name noop (“no operation”) says, that module doesn’t do anything. It is a utility module that mocks the real animation module but doesn’t actually animate. This can be handy on platforms where animation would be too slow, or for unit testing if the animation isn’t involved […]Continue Reading... No Comments.
Angular 5 Router lifecycle events .? It allowing developers to track the cycle of the router from the start of running guards through to completion of activation. The new events (in sequence) are GuardsCheckStart, ChildActivationStart, ActivationStart, GuardsCheckEnd, ResolveStart, ResolveEnd, ActivationEnd, ChildActivationEnd. These events could be used for things such as showing a spinner on a […]Continue Reading... No Comments.
What Is Angular CLI? Angular cli is a command line interface to scaffold and build angular apps using nodejs style (commonJs) modules. Not only it provides you scalable project structure, instead, it handles all common tedious tasks for you out of the box. How To Updating Angular CLI? How to Update to Angular 5? In […]Continue Reading... No Comments.
Clustered Index Only one per table Faster to read than non clustered as data is physically stored in index order Non-Clustered Index Can be used many times per table Quicker for insert and update operations than a clustered index Both types of index will improve performance when select data with fields that use the index […]Continue Reading... No Comments.
[ad_1] Google App Goes Viral Making An Art Out Of Matching Faces To Paintings – Techdefeat Who can say why some gimmicks take off and others flop? But the Google Arts & Culture app tapped into the zeitgeist over the weekend, until it seemed like just about everyone with access to a camera phone and […]Continue Reading... No Comments.
Use array_unshift() to insert the first element in an array. Use array_shift() to removes the first element of an array. array_unshift($array, $item); Example: [php] $arr = array(‘item2’, ‘item3’, ‘item4’); array_unshift($arr , ‘item1’); print_r($arr); [/php] Output: [php] Array (  => item1  => item2  => item3  => item4 ) [/php]Continue Reading... No Comments.
Nvarchar stores UNICODE data. If you have requirements to store UNICODE or multilingual data, nvarchar is the choice. Varchar stores ASCII data and should be your data type of choice for normal use. Regarding memory usage, nvarchar uses 2 bytes per character, whereas varchar uses 1.Continue Reading... No Comments.
MySQL and SQL Server are two different databases, so MySQL Workbench is the graphical management tool for MySQL and SQL Server Management Studio is the graphical management tool for SQL Server. Both let you interact with their respective database in an easy way.Continue Reading... No Comments.
Today we are going to see ” difference between Components and Directives in Angular “. if you want to know more about angular components read “Angular 5 Components Tutorial” Basically, there are three types of directives in angular4 according to documentation. Component Structural directives Attribute directives Component is also a type of directive with template, styles […]Continue Reading... No Comments.