Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Hybrid Topology

In a computer network, there are links and nodes, which help workstations connect to each other. Such a pattern is referred to as a network topology.   It is divided into physical topology and logical topology. When one is talking about the

  • 424
How to remember username and password in cakephp using cookies

As we seen in  login page if we click or check the checkbox of  “Remember Me” then our  login id will be remembered by the browser . This is done by using cookies . our login form contain email field and password along wit

How to return the writeoff move.line which is to be reconciled in Odoo?

If you want to return the writeoff move.line which is to be reconciled follow the following code .   return writeoff_move.line_ids.filtered(lambda r: r.account_id == self[0].account_id) @api.multi def remove_move_reconcile(self):

Functional Programming in Cakephp

CakePhp supports functional programming. Functional Programming in CakePhp is a criterion as are crucial, logical and Object Oreinted programming. In CakePhp everything resides inside a function, in the mathematical sense. The consequence o

Using super in ruby

With inheritance in ruby we can share parent class behavior to child classes. We can also override these methods in child classes.   A built-in function called super is provided by Ruby. This method allows us to call methods up the inheritance

How to import vendor files in CakePHP 3 ?

Importing vendor files in Cakephp 3 If you have used Cakephp 2x then we know how to import vendor files there. In Cakephp 2x we do the following to import vendor files: App::import('Vendor', 'Twitter', array('file' => 'Twitter' . DS . 'src'. DS

Html to pdf conversion in cakephp

Step1- For converting html to pdf  first we have to download dompdf, then we have to  extract it and  put it into /app/Vendor. Step2- Then we have to import this dompdf folder and its file dompdf_config.inc.php by using below code in

Model View Controller Architecture (MVC)

MVC Architecture MVC architecture is a software constructing or designing pattern which is widely used these days to build software applications or web based applications. MVC breaks an application into three main parts namely Model ,View and Cont

dependent: :destroy in rails models

Let's consider this example.We have two tables events and tags in our database having a many-to-many relationship between them.So We create a third table taggings behaving as a junction table .So taggings table has a many-to-one relationship agai

Interactor in Rails

Ruby on Rails Interactor Before interactor we use to write complex business logic in some class in the ActiveRecord /models directory and that class can have too many responsibilities so while testing we could stuck between tediously slow test-suit

1 566 633
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: