Bits N Tricks

A platform to contribute to the best of our knowledge so someone else can be benefited.

Introduction to Jquery Mobile 17Nov, 2015

Introduction to Jquery Mobile

What Is jQuery Mobile? jQuery mobile is an open-source multi platform UI framework to create mobile apps. jQuery mobile is a cross platform framework basically used for mobile apps development using HTML5, CSS3, jQuery and jQuery UI. This framework is not only easy to use it is very robust, maintainable, and well organized. jQuery Mobile is a framework used to create mobile applications. jQuery Mobile is compatible with all desktop browsers and looks same on all mobile devices (Android, iOS and Windows Phone etc). jQuery Mobile is based on HTML5 & CSS3 to make the structure of the page with small amounts of scripting. Purpose of jQuery Mobile? jQuery Mobile helps you to get quick and good results with less…

DNN Installable Module 07Oct, 2015

DNN Installable Module

DNN Platform is an open source software that is intended to allow management of websites without much technical knowledge, and to be extensible through a large number of third-party apps to provide functionality not included in the DNN core modules. Skins can be used to change the look of a website using DNN. MODULES: The default functionality of DotNetNuke can be expanded by adding third-party modules, either from an existing library of modules, or through in-house development of custom functionality. The DotNetNuke framework provides basic functionality such as security, user administration, and content management, while modules are used to tailor the website for specific deployment needs. DNN Modules can be created by various ways but one of the most popular…

Posted in: Dot Net
Selenium Webdriver 27Aug, 2015

Selenium Webdriver

WebDriver is a tool for automating testing web applications and can be used for automating the interactions with browsers. As a tester its very difficult to perform regression repetitively for same test cases on different browsers. Delimma of the developers is that sometimes it is very time consuming to perform unit testing again and again on same thing. WebDriver is a magical sticktool that can save our time. Just write the test cases and run them through WebDriver. It will automatically open specified browser for you and run the test cases. It performs all the actions that you can do with your keyboard and mouse. Here we are discussing about Selenium Webdriver. You need to install language-specific client drivers to…

Posted in: Node JS
Implementing ACL In Cakephp 2.1 and Upper Versions 24Jun, 2015

Implementing ACL In Cakephp 2.1 and Upper Versions

Hello friends! Time and again the idea of using ACL to designate specific permissions for specific groups have dreaded most of us. This happens because of the ambiguous behaviour shown by ACL at times. Well, the behaviour we perceive as ambiguous is due to limited understanding of the process involved in its implementation. Today, while implementing the ACL second time I still had to verify everything closely to resolve the errors associated with permissions. Having said that, I decided to split the ACL implementation into steps. Let’s start :- Step 1: The first and foremost requirement without which the ACL implementation would be futile is not using auth. Therefore, presence of auth component in our application will always be a…

Posted in: Cakephp
Latest In Ruby On Rails 4 15May, 2015

Latest In Ruby On Rails 4

The knowledge sharing platform BitsNTricks brings another piece of information for you. Below are some new¬†features added in Ruby On Rails 4. 1. No more vendor/plugins: The vendor/plugins directory has been removed in Rails 4. Now, you can use Bundler with a path or Git dependencies. 2. Many deprecated items are moved into separate gems: Rails 4 has deprecated many things and has moved them into separate gems. 3. Live Streaming: Before Rails 4, streaming was limited to templates only, but now its real time streaming. It is now supported via Rails. HTTP streaming is the process of doling out the response to a request over a period of time, rather than all at once. It’s often used for media…

Understanding Callbacks 01May, 2015

Understanding Callbacks

I am back with a complicated yet very interesting article on “Callbacks”. First of all, why do we need callbacks? Our javascript is synchronous in its behavior. It works only on a single thread. Each statement executes when the earlier statement is executed. Now the case arise, if one statement takes more time to execute, then the next statement will be halted. For example: 1. console.log(“1”); 2. var result = 0; 3. for(var i=0; i<=100000; i++){ result += i; } 4. console.log(‘3′); So till the time loop doesn’t execute for 100000 statements, it will not execute the 4th statement. But in case we have some event like a ajax call, a file read operation or any other activity than a…

Posted in: JavaScript