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

Search In

Validation in CakePHP

Validation in cakePHP is on the client side and on the server side. Client side validation is on the js file that is in the webroot folder. Server side validation is on the model which we are using. Client side validation is important as it do not

How to take Backup of MYSQL Database file and upload it on Dropbox Account?

Hello, I am sharing here how we can take backup of our Project mysql database file and upload it in our Dropbox Account. Advantage using this feature is we can store our database backup in our Dropbox account daily. We can set our script as a cron

Prevent Adding/Deleting/Modifying properties of an object in JavaScript

This tutorial will help us about the internal property [[Extensible]].This internal property [[Extensible]] of an object in javascript, is used to specify whether properties can be add to an object or not.Before using the internal property [[Extensib

How to make readonly field in OpenERP(Odoo) ?

In readonly field first we have to go in .py file (python file) After that we have to decide where we want readonly field and then give attribute readonly to that field. See below python code in py file for reference : - class spartner(osv.osv):

How to set process in subscription module in openerp?

To set process in subscription module, first you need to install subscription module and set interval number and interval type fields in subscription module is used to set the process. You can use this function as given below def process(self, cr,

Create a random string of x characters using defined string of possible characters

To create a random string of x characters using defined string of possible characters we will first of all define a function which will return a random string of length that you have passed as a parameter to the function. The script is given below:

How to create a trigger in MySQL

Many a times, we have come across a need that execution of DML statement on one database table should lead to modification in another table with some specific set of values. What’s the novice way to do? Simple, fire the first modification query then

client side and sever side validation in cakephp

Data validation plays an important role in any application, It helps to confirm  that the data in a Model confirms to all the rules of any application.   There are 2 types of validation in cakephp. First one is server side and the next is

How To Write Good Test Cases

Writing test cases is most important key activity performed by tester in software development life cycle(SDLC). This is the first step, followed by tester to identify, define & analyze the requirement. Test Cases: A test case is a set of conditi

How to create function to returns value of product name, unit price based on event in OpenERP?

In OpenERP first you have to create the product and price of the product and then relate both price and product to the event form and return the value of the product and validate it to database like as in param self and param cr. Param self mean

1 13 49
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: