Categories
Javascript

Do We Need to Unsubscribe Angular HttpClient?

Is there any way we can unsubscribe Angular HttpClient manually? Fortunately, yes we have! But we don’t need to unsubscribe it. Instead, HttpClient observes until getting a response from API. And, once it gets the response, HttpClient unsubscribes automatically. Https use AsyncPipe for the response and the AsyncPipe subscribes to an Observable. It returns the […]

Categories
How To Javascript Node JS Programming

[How To] Implement Passport.js Authentication with Sails.js

Here we intend to demonstrate the procedure of local authentication i.e. by using a username and password. Step 1: Dependencies passport passport-local bcrypt List these dependencies inside application_directory/package.json  under dependencies.

Step 2: Create user model To create user model run the following command:

Now the user model will be created inside the /api/models/user.js […]

Categories
ExtJS Javascript Programming Sencha Touch

Sencha Touch 2 Slider Field Extended Component

This is an extended version of the standard Sencha Touch 2 slider field. Download: Click Here Project Repository: Click Here Features Dynamically changing input item beside the standard Sencha Touch 2 slider. Slider position changes based on the value of the input item and changes are reflected immidiately. Position of the input helper can be […]

Categories
ExtJS Javascript Sencha Touch

Adding Before & After Filters in Sencha Touch MVC Controllers

BeforeFilters in RoR are a great way to manage controller accesses or do execute any other specific controller action triggers. Here is a simple way of mimicking this great RoR feature on Sencha Touch MVC. Create a file named app/controllers/Controllers.js with the following content:

Include this in your HTML document. Now, you can add […]

Categories
Javascript jQuery Plugins Programming

jQuery TagBox Plugin

jQuery TagBoxA jQuery based Tag Input plugin.
Demo: Click Here
Download: Click Here
Project Repository: Click Here

Categories
Featured Javascript Programming

jQuery MegaMenu 2

An updated jQuery based MegaMenu plugin.
Demo: Click Here
Download: Click Here
Project Repository: Click Here

Categories
Featured Javascript Programming

jQuery Sliding Menu (AKA Lavalamp Menu)

jquery-sliding-menuFinally, I am back after a long time with a refreshing new jQuery plugin to make your Web Page menus look better. Its the jQuery Sliding Menu.
Demo: Click Here
Download: Click Here
Project Repository: Click Here

Categories
Javascript Programming

Update for jQuery Live Form Validation Plugin

jquery-form-validate-advanced-demoAn update of the jQuery Live form validation plugin is here with an important feature addition.
Advanced Demo: Click Here
Download: Click Here

Categories
Javascript Programming

jQuery Live Form Validation Version 1.1

jquery-form-validate-advanced-demoA new release of the jQuery Live form validation plugin is here with new features.
Advanced Demo: Click Here
Download: Click Here

Categories
Javascript Programming

jQuery Live Form Validation

jquery-form-validateAfter trying a load of non intuitive and not very useful jQuery form validation plugins I came up with this plugin. Its a jQuery plugin which helps create easy form validations with high flexibility and a large set of options.
Simple Demo: Click Here
Advanced Demo: Click Here
Download: Click Here