Blog Archive

Thursday, 15 October 2015

AngularJS training in Chennai shares the secrets to use AngularJS effectively: Part 2

2 comments :
Back benching of functions with the use of console.time:

When it comes to debugging of issues, console.time is the most helpful and best preferred API by Angularjs courses in Chennai.  It is also most favored to use console.time to call a profile, where only few variables are required. In addition to this, it also provides a sub-millisecond resolution.

Benchmarking watchers with the use of Batarang:

Batarang is one of those cool tools. This had been the most useful tool used in the process of debugging all the Angular apps. Batarang offers a lot of  features for AngularJS. Even the bottleneck situations are made easy and well performing with the use of Batarang.

Using ngLodash:

There is a separate utility library available for ngLodash to be used with Angular JS. The main advantage here is, ngLodash can be used along with AngularJS without being left out in the window. AngularJS course in Chennai performes this in a normal dependency injection manner.

Debouncing ng-model

This helps us in understanding how tuning of model for updates are performed. With a course on AngularJS training institute in Chennai, one has the option to specify a list of custom events to be triggered, using the ngModelOptions, during a model update or a delay in debouncing for the update that actually takes place automatically when the timer runs out. For the next change to happen, the timer will auto-reset itself.

Usage of ngBind:

In Angular, the ngBind attribute is used to replace the value of an expression given with the actual text content in a specific HTML element. It is also used to update a text content as and when the value of the specified expression changes.

Conclusion:


With the useful tips listed above, developing any AngularJS app will become not only easy but will also improving the performance of the app to a great extend. And this does not end here as we will be soon come up with a couple of more ways to improve your AngularJS performance and experience to the next level.

AngularJS training in Chennai shares the secrets to use AngularJS effectively: Part 1

1 comment :
Recently, AngularJS is being very widely used. This drastic change in people for using AngularJS is because of the features in it. Similar to the popularity, complaints on the technology has also risen up. Here in this article by AngularJS training in Chennai, we will be seeing on how to handle the user command responsiveness issue, initial load time issue, etc. a set a tips given below will help us through it.

Avoid watchers:

When too many watchers are being used by an AngularJS developer in his AngularJS training and development, makes the AngularJS app as slow as possible. To have a track of all changes being done, developers use dirty checking method for the app. This means each and every watcher will have to go through the checking process to check for updates that may be needed. This results in re-running of AngularJS for the digest cycle again and again for each watcher as may be dependent on another watcher additionally. Until all watchers are updated this routine would continue to get the app stabilized.

Avoiding or reducing the using of ng-repeat:

In general, a poor performance is generated from ng-repeat. This is because, AngularJS becomes very slow due to the 2000 to 2500 two-way bindings for watch. But, at situations where it cannot be avoided, we can either choose over scrolling or pagination, instead says Angularjs training Chennai.

Using $watchCollection:

Using $watchCollection, replacing the use of $watch as a 3rd parameter will definitely increase the performance of AngularJS. When $watch is used as a 2 parameters, it performs faster. $watchCollection inspects though other activities are more or less like $watch. This way, it is ensured that the performance is improved greatly.

This is the end of part 1 of the article. In the Part 2 we will start our discussion with back benching of functions with the use of console.time, to improve the performance of AngularJS.

Tuesday, 6 October 2015

Autofill option for users to checkout faster as explained in HTML5 Training in Chennai

1 comment :
Generally people hate to fill out web forms, especially when it comes to mobile devices. It can be frustrating and slow to complete and normally contains multiple page steps involved and validation issues. This eventually leads to a high rate of user drop-off from using the site, due to frustration. This can be made easier for the user by using autocomplete fields which have been used for long time in the browsers. Chrome took the next step further in the year 2011 that is, introducing Autofill option that fills into the entire form based on the user’s Autofill profile requirement.

According to HTML5 Training in Chennai, the next major version started by Chrome is M43, where they take yet another step further to help their users to fill out forms even faster by expanding further in support by providing options for credit cards and address in Google site. This simply means that similar information about the user that was used to purchase things within Google Play store is now easily available to them in their websites. By the use of this standard autocomplete attributes, one can ensure that the user’s happiness is definite with the help of Chrome’s Autofill, the checkout forms can be filled with 100% accuracy.

Autocomplete attributes are used as a way by the developer in HTML Training in Chennai, to take control on how the browser’s Autofill option should populate the given values in the respective form field. For example, the field where street address needs to be filled, it can hint in the browser by using the code autocomplete="address-line1" in the field space. This can prevent the browser from guessing incorrectly in the form fields of the website which results in a poor user-experience.


By using the autocomplete attributes, HTML5 Courses in Chennai found that, on the forms, the users can complete it 30% faster than usual filling. And autocomplete being a part of WHATWG in HTML standard, it is hoped that other browsers will also support it in future. Chrome still respects the usage of autocomplete="off" tag in the autocomplete data, for the developers who expect privacy and wish to avoid the browser from performing autocomplete functionality in their sites.

Monday, 5 October 2015

Hardware decoding for high performance videos as practiced during HTML5 training in Chennai

1 comment :
H.264 hardware video decoding support is now expanded to OS X with the release of Chromium 42. Now Chromium in Macs, Windows and Chromebooks supports power efficient decoding for videos by default. HTML5 video implementation in Chromium will automatically be the best decision to choose when to use the feature on the basis of support from driver and hardware.
HTML5 training in Chennai says that a similar hardware support is now available to browser plugins also. Pepper Flash for example, will provide full access to the video acceleration through the object ActionScript StageVideo. Changing from the retro style Video to the recent StageVideo object will be simple to perform in most cases. One could refer to Adobe’s outstanding Best Practices for Efficient and High Performing Flash Video.
To get the best platform support and also video performance, HTML training in Chennai strongly suggests that it is recommended to move to HTML5 video from plugins. Plugins like that of Flash, which when used, could affect adversely in the search ranking in mobile, as mentioned in the Google webmasters. These video elements are widely implemented across 90% of browsers used on desktops, mobile and tablets. In Android Jelly Bean, Adobe has stopped the support for Flash that was previously provided. One can learn from the Web Fundamentals video section on how to get the most out of the cross-platform and plugin-free media. Shaka Player is recommended in HTML5 courses in Chennai for practicing adaptive streaming on the web, as it is an easy-to-use media player which, using MSE, implements DASH, with native support as an option to protect content through EME. Same way, ExoPlayer is used for Android native apps.
NPAPI deprecation developer guide that is freely available gives more detailed information on the plugin deprecation timelines, and also details on how to move to the native APIs.