
Search In
How to create our own module in Node.js so that we can use the functionality of the module
in our code where we need it, instead of writing the same logic. Here we will use the test.js
file as a module in our index.js file. Suppose on hitting the ur
A database index is a structure that improves the speed of retrieval of data from our table. Index is similar to the index of a book. If you want to find a chapter you look in the index first without scanning the whole page. Users cannot see the ind
Here we will learn how to create a server instance in node.js. First of all we will have to check if the node.js is properly setup in our local machine. Let us create a file with name demo.js and write the below code in the file:
console.log(“Testi
Create a file Using Php
In PHP,we can use the fopen() function to create a file.
If we use fopen() on a file, it will create file(if that file does not exist) by given named.
Syntax:
fopen("testfile.txt", "Mode");
Both arguments are required
F
Rails provides us the concept of migrations. Migrations allows us to alter the schema of our database at any time after it has been created.
It helps user by not letting him/her write the entire SQL query & it uses Ruby DSL(Domain Specific langu
To Create procurements based on quantity ordered in openerp-9 If the quantity is increased and
new procurements are created then use this code given below in .py file
def _action_procurement_create(self):
precision = self.env['decimal.prec
Here I am writing code to create zip file in android application.
Here, First I create directory where I create zip file.
Then by using Compress class I create zip file having some valid images already saved on our device.
private File createZipFil
Ext.Define function is a part of EXTJs. ExtJS is a advance javascript framework, It used to create java class and their method by using javascript.
I write the Ext.define method below :
Ext.define ( String className, Object data, Function crea
Thread:
A thread is a light-weight process which can run independently. A java program can contain multiple threads. Every thread is created and controlled by the java.lang.Thread class. We can create threads in two ways:
By extending Threa
A new method is introduced in CSOM is CreateProjectSite()
When we try create to create Project Site using this method, sometimes we get this error "PJClientCallableException: WSSWebAlreadyExists" which means the project site we try to creat