
Search In
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
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
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):
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
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
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
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
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
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
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
