
Search In
In Laravel 5.0 we have "paginate" in Eloquent by which we can create pagination very easily by just following some simple steps.However there is a drawback with it as it only works if you know all the conditions prior. But what if you want to create
There is a need to set dataType in the ajax if you expect to get json response .
$.ajax({
url: "/accept",
type: "POST",
data: myformData,
context: this,
error: function () {},
dataType: 'json',
success : function (respon
In MySQL, the LIKE operator is used to search for a specified pattern for a column in a WHERE clause .
LIKE Syntax
SELECT column_name
FROM table_name
WHERE column_name LIKE pattern;
We have a table "employee" as below:
employee
id firs
Promises - AngularJS's promise provides a built-in service $q. It provide a way to execute asynchronous call in series by registering it with a promise object.
Let us now elaborate promise and deferred.
Deferred - It represent the result/o
In OpenERP first create delivery address in delivery form and then we need to define a partner for the brand of the product and also dedicated_delivery_address stand for the case a new type of address. In stock form move all the delivery address to s
While working and making projects in MVC we sometimes needs to give default values to the parameters passed for the default invocation purpose otherwise it will through an error.
So its better to give it default value so your applica
While writing codes in your project you need to interact with the JQuery for making your application execution smooth and efficient.
So for doing that, we need to use different kind of attributes that is used for getting the current value of
Alamofire is HTTP networking library for iOS and Mac OS X, which is written in swift. Alamofire is based on NSURLSession,but it make network code much easy to write.
Following function is available in Alamofire.
.upload
.download
&nb
In OpenERP, create a custom module like: demo and then create file like: demo.py file in your demo module and demo.py file pass in your other file __init__.py file. And then create other file demo.xml file and pass this file in your other file like a
While writing the code, we often need to print a particular object and see the result. In rails we use puts and p for that.
Both will display the result but there is a difference between them.puts prints the result by applying to_s on an object where
