Bits N Tricks

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

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
Revolutionary Tips For Mobile App Strategy 24Mar, 2015

Revolutionary Tips For Mobile App Strategy

Mobile applications are a platform used by everyone to get near to the technical advancements being upgraded uniformly. You use a tablet, mobile phone or any other mobile device, and get all the information you want. This stands as a reason for why mobile apps are so important. These applications have made our lives so easy. Be it grabbing a taxi, ordering of food, booking travel tickets or shopping, everything is now possible with these applications. Just click open and get your work done in minutes. Mobile apps are a stroke of luck today in every field. No matter what your business is, your mobile app can take you long way towards your goal accomplishment, keeping an effective hold over…

Posted in: Mobile App