Posts

Showing posts from 2016

ASP.NET MVC Filters

Image
ASP.NET MVC Filters ASP.NET MVC provide filters to execute code logic before and after controller action execution. Pre-action and post-action behaviour are added to controller action method by filters. Custom filters creation depends on inheriting and overriding methods of ASP.NET MVC filter attribute class or by implementing filter interface. Various type of filters :- Authorization filters :- This filter implements IAuthorizationFilter interface and when used with controller action makes security decision to execute action method if user is an authorized user else action method will not be executed. Action filters :- This filter implements IActionFilter interface. OnActionExecuting and OnActionExecuted are two methods provided by IActionFilter. OnActionExecuting is executed before action method while OnActionExecuted is executed after action method. Read more about ASP.NET MVC Filters visit FindNerd.

Things to Notice Before Upgrading Rails Application

Image
Whenever you create an application it is never for lifetime, there is always something and better comes in the market, and once we talk about rails application, it comes pretty quickly. After every few months rails comes with a new version, and we are ready with talks whether to update application or not. So these are the points that we should keep in our mind before upgrading our project to a higher level of rails version. Full Test coverage is required: In rails whenever you upgrade to a new version, it changes a lot, so it is required to test each and every functionality for every case, which is not a good way of testing. Thus before updating the rails application, we must have test cases written that cover most portion of the code and functionality, so that we don't need to test each and every functionality manually. Read more about Things to Notice Before Upgrading Rails Application visit FindNerd.

Difference b/w Dreamweaver & Adobe Muse

Image
Hello readers, Today in my blog I would like to discuss the difference b/w Dreamweaver and Adobe Muse. Who should use which software b/w among the both ? Dreamweaver this software is used by the web designers that loves to code with HTML and CSS while Adobe Muse is used by the web designers that literally hate to code. Code learner ? Dreamweaver If a web designer wants to be effective on Dreamweaver then one must need to work over the code while in Adobe Muse As a disadvantage of this software the web designer could not edit the Html used inside it. Better Code ? Dreamweaver creates a better code than Adobe Muse as the web designer has an option to edit it while in Adobe Muse its code seems to be messy but it has a better designing tool. Read more about Difference b/w Dreamweaver & Adobe Muse visit FindNerd.

Different Ways to Increase Unity Game Performance

Image
Unity always has issue with game optimizations and performance, because if you are targeting small mobile devices like Android and iOS then you must be very careful about the memory and performance of the game. Static Batching: Batching is totally depends on the Draw calls. If you are using Static batching then you can save a lot of CPU cycles. In the static batching it is necessary that no calls for the CUP or GUP so that your game can run fast. Dynamic Batching: Dynamic batching is just opposite from this. This is not which you need to select. All the objects which are not static that means they are Dynamic. To use the Dynamic batching you need to use as small objects with as possible as small vertices. Read more about Different Ways to Increase Unity Game Performance visit FindNerd.

Configuration and Authentication using OpenSSH key in Linux

Image
Secure Shell (SSH) is a cryptographic network for operating network services securely over an unsecured network. A common example is for remote login into a system by an user. Generally it comes already installed in most of the Linux distributions. Or otherwise you can install it with the following command in your terminal. Generate PEM file : If you get chance to work on AWS, you get a pem file to login into your dedicated/virtual server with the ssh with -i parameter. You also can generate the PEM file for your system so that you/your client can login into your machine remotely. Read more about Configuration and Authentication using OpenSSH key in Linux visit Findnerd.

How to integrate braintree payment gateway

Image
                 This blog show the integration of braintree. Braintree is a subsidiary of paypal. Braintree accepting most commonly used cards and it is secure payment system. When we use the braintree we require a braintree library first and create the account in braintree paypal and use the merchantId, publicKey, privateKey. For Example: First we include the braintree library. require_once 'PATH_TO_BRAINTREE/lib/Braintree.php'; Braintree_Configuration::environment('sandbox'); Braintree_Configuration::merchantId('your_merchant_id'); Read more about How to integrate braintree payment gateway? Visit Findnerd.