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

Search In

Laravel 5.0 Custom Pagination with the help of Paginator and LengthAwarePaginator

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

Jquery ajax json response

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

What is the use of LIKE Operator in MySQL?

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 in Angularjs

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

How to retrun partner delivery address in OpenERP

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

Assigning default values in MVC controller action

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

get function in JQuery for MVC

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

How to send a request with parameters in Alamofire

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

How to change product id in your account module in OpenERP(Odoo-8)?

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

puts vs p in rails

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

1 28 282
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: