The Node.js file system module allows you to work with the file system on your computer. To include the File System module, use the require() method: var fs = require('fs'); Common use for the File System module: Read files.
The Node.js file system module allows you to work with the file system on your computer. Node.js gives the functionality of File I/O by providing wrappers around the standard POSIX functions. In Node.js, File I/O methods can be performed in both synchronous as well as asynchronous form depending upon the user requirements.
js uses asynchronous programming: All APIs of Node. js library are asynchronous (i.e., non-blocking), so a Node. js-based server does not wait for the API to return data. The server calls the API, and in the event that no data is returned, the server moves to the next API the Events module of Node.
Node.js is an open-source and cross-platform JavaScript runtime environment. It is a popular tool for almost any kind of project!
Node.js runs the V8 JavaScript engine, the core of Google Chrome, outside of the browser. This allows Node.js to be very performant.
A Node.js app runs in a single process, without creating a new thread for every request. Node.js provides a set of asynchronous I/O primitives in its standard library that prevent JavaScript code from blocking and generally, libraries in Node.js are written using non-blocking paradigms, making blocking behavior the exception rather than the norm.
When Node.js performs an I/O operation, like reading from the network, accessing a database or the filesystem, instead of blocking the thread and wasting CPU cycles waiting, Node.js will resume the operations when the response comes back.
This allows Node.js to handle thousands of concurrent connections with a single server without introducing the burden of managing thread concurrency, which could be a significant source of bugs.
Node.js has a unique advantage because millions of frontend developers that write JavaScript for the browser are now able to write the server-side code in addition to the client-side code without the need to learn a completely different language.
In Node.js the new ECMAScript standards can be used without problems, as you don't have to wait for all your users to update their browsers - you are in charge of deciding which ECMAScript version to use by changing the Node.js version, and you can also enable specific experimental features by running Node.js with flags.
In this core java training session, you will learn Examples of File IO &
Introduction to JDBC. Topics covered in this session are:
• File IO Continued
• Intro to JDBC (Java Database Connectivity)
For more information about this course visit on this link: https://www.mindsmapped.com/courses/software-development/learn-java-fundamentals-hands-on-training-on-core-java-concepts/
The Node.js file system module allows you to work with the file system on your computer. Node.js gives the functionality of File I/O by providing wrappers around the standard POSIX functions. In Node.js, File I/O methods can be performed in both synchronous as well as asynchronous form depending upon the user requirements.
js uses asynchronous programming: All APIs of Node. js library are asynchronous (i.e., non-blocking), so a Node. js-based server does not wait for the API to return data. The server calls the API, and in the event that no data is returned, the server moves to the next API the Events module of Node.
Node.js is an open-source and cross-platform JavaScript runtime environment. It is a popular tool for almost any kind of project!
Node.js runs the V8 JavaScript engine, the core of Google Chrome, outside of the browser. This allows Node.js to be very performant.
A Node.js app runs in a single process, without creating a new thread for every request. Node.js provides a set of asynchronous I/O primitives in its standard library that prevent JavaScript code from blocking and generally, libraries in Node.js are written using non-blocking paradigms, making blocking behavior the exception rather than the norm.
When Node.js performs an I/O operation, like reading from the network, accessing a database or the filesystem, instead of blocking the thread and wasting CPU cycles waiting, Node.js will resume the operations when the response comes back.
This allows Node.js to handle thousands of concurrent connections with a single server without introducing the burden of managing thread concurrency, which could be a significant source of bugs.
Node.js has a unique advantage because millions of frontend developers that write JavaScript for the browser are now able to write the server-side code in addition to the client-side code without the need to learn a completely different language.
In Node.js the new ECMAScript standards can be used without problems, as you don't have to wait for all your users to update their browsers - you are in charge of deciding which ECMAScript version to use by changing the Node.js version, and you can also enable specific experimental features by running Node.js with flags.
In this core java training session, you will learn Examples of File IO &
Introduction to JDBC. Topics covered in this session are:
• File IO Continued
• Intro to JDBC (Java Database Connectivity)
For more information about this course visit on this link: https://www.mindsmapped.com/courses/software-development/learn-java-fundamentals-hands-on-training-on-core-java-concepts/
Our CPM guide includes everything you need to get started in the Critical Path Method - with step-by-step examples, solutions, as well as schedules to help get your next project done faster and easier. The Critical Path Method (CPM) is a simple but powerful technique for analyzing, planning, and scheduling large, complex projects. It is used to determine a project’s critical path—the longest sequence of tasks that must be finished for the entire project to be complete.
CPM, also known as Critical Path Analysis (CPA), identifies dependencies between tasks, and shows which tasks are critical to a project. The Critical Path Method (CPM) is one of the most important concepts in project management, and certainly among the most enduring. But what is the Critical Path Method, exactly? This beginner-friendly guide will help you understand the Critical Path Method and apply it in your projects.
Early iterations of the Critical Path Method can be traced all the way back to the Manhattan Project in the early 1940s. Given the ambition, scale, and importance of this world-altering project, scientists - and the managers behind them - developed a number of techniques to make sure that the project delivered results on time. For a project management technique, the Critical Path Method has quite an illustrious history. One of these techniques was to map out the most important tasks in any project and use that to estimate the project completion date.
The Critical Path Method in project management is a cornerstone of project planning even to this day. How long a project takes often depends on the most important tasks that constitute it.
Effort estimation is a process in which project managers evaluate how much time and money they need for completing a project. This technique is common in software development, where technology professionals define the resources and schedule for developing a new application or releasing an update. These forecasts help create accurate estimates that often require approval before work on a project begins. Effort estimation is a common tool as part of the Agile methodology, which is a framework that divides a project into smaller phases. In this framework, you can estimate the effort for several components of development, including:
Epics: Epics are large projects that several teams manage throughout development. These usually contain several smaller releases and tasks.
Features: A feature is a piece of functionality or design that addresses a user's need. A feature often includes specific acceptance criteria that detail how that part of the product works.
Sprints: A sprint is a short period containing a fraction of work. Often, a few team members complete development tasks in sprints that build toward epics and releases.
Releases: Releases are software packages development teams can deploy. These often contain several epics and features that teams deploy in iterations.
Development teams might estimate the effort for each of these components of the Agile framework or select components depending on the needs of the project.
A software process model is an abstraction of the software development process. The models specify the stages and order of a process. So, think of this as a representation of the order of activities of the process and the sequence in which they are performed. A model will define the following:
1. The tasks to be performed
2. The input and output of each task
3. The pre and post-conditions for each task
4. The flow and sequence of each task
The goal of a software process model is to provide guidance for controlling and coordinating the tasks to achieve the end product and objectives as effectively as possible.
Managing projects and entire programmes is an important part of OSCE activities in the field and by its Institutions and Secretariat. Good programme and project management requires effective planning, proper implementation, monitoring, and evaluation. The Conflict Prevention Centre defines and implements the Organization’s management methodology and tools, and builds the capacity of staff in this area via specialized coaching and training.
Organize your projects with project plans to keep things on track—before you even start. A project plan houses all the necessary details of your project, such as goals, tasks, scope, deadlines, and deliverables. This shows stakeholders a clear roadmap of your project, ensures you have the resources for it, and holds everyone accountable from the start. In this article, we teach you the seven steps to create your own project plan.
What is project? Software Project Vs. Other Types. Activities by
Software Project Mgt. Plans, Methods and Methodologies. Problems with Software Projects.
The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It defines the content and structure of web content. It is often assisted by technologies such as Cascading Style Sheets and scripting languages such as JavaScript.
nodemon is a tool that helps develop Node. js based applications by automatically restarting the node application when file changes in the directory are detected. nodemon does not require any additional changes to your code or method of development. nodemon is a replacement wrapper for node.
Node handles these tasks by running asynchronously, which means that reading user input from a terminal isn't as simple as calling a getInput() function.
Transaction processing means dividing information processing up into individual, indivisible operations, called transactions, that complete or fail as a whole; a transaction can't remain in an intermediate, incomplete, state (so other processes can't access the transaction's data until either the transaction has
A web server is software and hardware that uses HTTP (Hypertext Transfer Protocol) and other protocols to respond to client requests made over the World Wide Web. The main job of a web server is to display website content through storing, processing and delivering webpages to users. Besides HTTP, web servers also support SMTP (Simple Mail Transfer Protocol) and FTP (File Transfer Protocol), used for email, file transfer and storage.
Web server hardware is connected to the internet and allows data to be exchanged with other connected devices, while web server software controls how a user accesses hosted files. The web server process is an example of the client/server model. All computers that host websites must have web server software.
Web servers are used in web hosting, or the hosting of data for websites and web-based applications -- or web applications.
How do web servers work?
Web server software is accessed through the domain names of websites and ensures the delivery of the site's content to the requesting user. The software side is also comprised of several components, with at least an HTTP server. The HTTP server is able to understand HTTP and URLs. As hardware, a web server is a computer that stores web server software and other files related to a website, such as HTML documents, images and JavaScript files.
When a web browser, like Google Chrome or Firefox, needs a file that's hosted on a web server, the browser will request the file by HTTP. When the request is received by the web server, the HTTP server will accept the request, find the content and send it back to the browser through HTTP.
More specifically, when a browser requests a page from a web server, the process will follow a series of steps. First, a person will specify a URL in a web browser's address bar. The web browser will then obtain the IP address of the domain name -- either translating the URL through DNS (Domain Name System) or by searching in its cache. This will bring the browser to a web server. The browser will then request the specific file from the web server by an HTTP request. The web server will respond, sending the browser the requested page, again, through HTTP. If the requested page does not exist or if something goes wrong, the web server will respond with an error message. The browser will then be able to display the webpage.
Multiple domains also can be hosted on one web server.
Examples of web server uses
Web servers often come as part of a larger package of internet- and intranet-related programs that are used for:
sending and receiving emails;
downloading requests for File Transfer Protocol (FTP) files; and
building and publishing webpages.
Many basic web servers will also support server-side scripting, which is used to employ scripts on a web server that can customize the response to the client. Server-side scripting runs on the server machine and typically has a broad feature set, which includes database access. The server-side scripting
What is as web server?
A web server is a computer that runs websites. It's a computer program that distributes web pages as they are requisitioned. The basic objective of the web server is to store, process and deliver web pages to the users. This intercommunication is done using Hypertext Transfer Protocol (HTTP).
How do web servers work?
Web server software is accessed through the domain names of websites and ensures the delivery of the site's content to the requesting user. The software side is also comprised of several components, with at least an HTTP server. The HTTP server is able to understand HTTP and URLs. As hardware, a web server is a computer that stores web server software and other files related to a website, such as HTML documents, images and JavaScript files.
When a web browser, like Google Chrome or Firefox, needs a file that's hosted on a web server, the browser will request the file by HTTP. When the request is received by the web server, the HTTP server will accept the request, find the content and send it back to the browser through HTTP.
More specifically, when a browser requests a page from a web server, the process will follow a series of steps. First, a person will specify a URL in a web browser's address bar. The web browser will then obtain the IP address of the domain name -- either translating the URL through DNS (Domain Name System) or by searching in its cache. This will bring the browser to a web server. The browser will then request the specific file from the web server by an HTTP request. The web server will respond, sending the browser the requested page, again, through HTTP. If the requested page does not exist or if something goes wrong, the web server will respond with an error message. The browser will then be able to display the webpage.
Multiple domains also can be hosted on one web server.
Examples of web server uses
Web servers often come as part of a larger package of internet- and intranet-related programs that are used for:
sending and receiving emails;
downloading requests for File Transfer Protocol (FTP) files; and
building and publishing webpages.
Many basic web servers will also support server-side scripting, which is used to employ scripts on a web server that can customize the response to the client. Server-side scripting runs on the server machine and typically has a broad feature set, which includes database access. The server-side scripting process will also use Active Server Pages (ASP), Hypertext Preprocessor (PHP) and other scripting languages. This process also allows HTML documents to be created dynamically.
Number System is a method of representing Numbers on the Number Line with the help of a set of Symbols and rules. These symbols range from 0-9 and are termed as digits. Number System is used to perform mathematical computations ranging from great scientific calculations to calculations like counting the number of Toys for a Kid or Number chocolates remaining in the box. Number Systems comprise of multiple types based on the base value for its digits.
What is the Number Line?
A Number line is a representation of Numbers with a fixed interval in between on a straight line. A Number line contains all the types of numbers like natural numbers, rationals, Integers, etc. Numbers on the number line increase while moving Left to Right and decrease while moving from right to left. Ends of a number line are not defined i.e., numbers on a number line range from infinity on the left side of the zero to infinity on the right side of the zero.
Positive Numbers: Numbers that are represented on the right side of the zero are termed as Positive Numbers. The value of these numbers increases on moving towards the right. Positive numbers are used for Addition between numbers. Example: 1, 2, 3, 4, …
Negative Numbers: Numbers that are represented on the left side of the zero are termed as Negative Numbers. The value of these numbers decreases on moving towards the left. Negative numbers are used for Subtraction between numbers. Example: -1, -2, -3, -4, …
Number and Its Types
A number is a value created by the combination of digits with the help of certain rules. These numbers are used to represent arithmetical quantities. A digit is a symbol from a set 10 symbols ranging from 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. Any combination of digits represents a Number. The size of a Number depends on the count of digits that are used for its creation.
For Example: 123, 124, 0.345, -16, 73, 9, etc.
Types of Numbers
Numbers are of various types depending upon the patterns of digits that are used for their creation. Various symbols and rules are also applied on Numbers which classifies them into a variety of different types:
Number and Its Types
1. Natural Numbers: Natural Numbers are the most basic type of Numbers that range from 1 to infinity. These numbers are also called Positive Numbers or Counting Numbers. Natural Numbers are represented by the symbol N.
Example: 1, 2, 3, 4, 5, 6, 7, and so on.
2. Whole Numbers: Whole Numbers are basically the Natural Numbers, but they also include ‘zero’. Whole numbers are represented by the symbol W.
Example: 0, 1, 2, 3, 4, and so on.
3. Integers: Integers are the collection of Whole Numbers plus the negative values of the Natural Numbers. Integers do not include fraction numbers i.e. they can’t be written in a/b form. The range of Integers is from the Infinity at the Negative end and Infinity at the Positive end, including zero. Integers are represented by the symbol Z.
Example: ...,-4, -3, -2, -1, 0, 1, 2, 3, 4,...
Programming Language
As we know, to communicate with a person, we need a specific language, similarly to communicate with computers, programmers also need a language is called Programming language.
Before learning the programming language, let's understand what is language?
What is Language?
Language is a mode of communication that is used to share ideas, opinions with each other. For example, if we want to teach someone, we need a language that is understandable by both communicators.
What is a Programming Language?
A programming language is a computer language that is used by programmers (developers) to communicate with computers. It is a set of instructions written in any specific language ( C, C++, Java, Python) to perform a specific task.
A programming language is mainly used to develop desktop applications, websites, and mobile applications.
Types of programming language
1. Low-level programming language
Low-level language is machine-dependent (0s and 1s) programming language. The processor runs low- level programs directly without the need of a compiler or interpreter, so the programs written in low-level language can be run very fast.
Low-level language is further divided into two parts -
i. Machine Language
Machine language is a type of low-level programming language. It is also called as machine code or object code. Machine language is easier to read because it is normally displayed in binary or hexadecimal form (base 16) form. It does not require a translator to convert the programs because computers directly understand the machine language programs.
The advantage of machine language is that it helps the programmer to execute the programs faster than the high-level programming language.
ii. Assembly Language
Assembly language (ASM) is also a type of low-level programming language that is designed for specific processors. It represents the set of instructions in a symbolic and human-understandable form. It uses an assembler to convert the assembly language to machine language.
information system, an integrated set of components for collecting, storing, and processing data and for providing information, knowledge, and digital products. Business firms and other organizations rely on information systems to carry out and manage their operations, interact with their customers and suppliers, and compete in the marketplace. Information systems are used to run inter-organizational supply chains and electronic markets. For instance, corporations use information systems to process financial accounts, manage their human resources, and to reach their potential customers with online promotions. Many major companies are built entirely around information systems. These include eBay, a large auction marketplace; Amazon, an expanding electronic mall and provider of cloud computing services; Alibaba, a business-to-business e-marketplace; and Google, a search engine company that derives most of its revenue from keyword advertising on Internet searches. Governments deploy information systems to provide services cost-effectively to citizens. Digital goods—such as electronic books, video products, and software—and online services, such as gaming and social networking, are delivered with information systems. Individuals rely on information systems, generally Internet-based, for conducting much of their personal lives: for socializing, study, shopping, banking, and entertainment.
As major new technologies for recording and processing information were invented over the millennia, new capabilities appeared, and people became empowered. The invention of the printing press by Johannes Gutenberg in the mid-15th century and the invention of a mechanical calculator by Blaise Pascal in the 17th century are but two examples. These inventions led to a profound revolution in the ability to record, process, disseminate, and reach for information and knowledge. This led, in turn, to even deeper changes in individual lives, business organization, and human governance.
The first large-scale mechanical information system was Herman Hollerith’s census tabulator. Invented in time to process the 1890 U.S. census, Hollerith’s machine represented a major step in automation, as well as an inspiration to develop computerized information systems.
One of the first computers used for such information processing was the UNIVAC I, installed at the U.S. Bureau of the Census in 1951 for administrative use and at General Electric in 1954 for commercial use. Beginning in the late 1970s, personal computers brought some of the advantages of information systems to small businesses and to individuals. Early in the same decade, the Internet began its expansion as a global network of networks. In 1991 the World Wide Web, invented by Tim Berners-Lee as a means to access the interlinked information stored in the globally dispersed computers connected by the Internet, began operation and became the principal service delivered on the network. The global penetration of the...
Applications of Computer Science in Pharmacy
Computer is mandatory in this advanced era and pharmacy and related subjects are not exception to it. This review mainly focuses on the various applications, software’s and use of computers in pharmacy. Computer science and technology is deeply utilized in pharmacy field everywhere like in pharmacy colleges, pharmaceutical industries, research centers, hospital pharmacy and many more. Computer significantly reduces the time, expenditure, and manpower required for any kind of work. Development of various softwares makes it trouble-free to handle huge data. In short, computers are playing critical role in pharmacy field, without computers pharmacy research will be long-lasting andexpensive.
Pharmacy field plays a crucial role in patient health care. It is a huge field which is present worldwide. To run pharmacy field professionally and efficiently, it requires huge management and manpower. But nowadays use of computers in pharmacy field reduced the manpower and time. Computers are almost related to every corner of pharmacy field. These are utilized in the drug design technique, retail pharmacy shop, clinical research centers, crude drug identification,drug storage and business management, hospital and clinical pharmacy, in pharmacy colleges for computer-assisted learning.
The Internet is a huge collection of data. It is available with just one click. Various search engines like Google, Yahoo, Rediff, and Bing help in searching online data related to the pharmacy field just one has to enter his or her area of interest in the search engine.
In the Pharmacy field, effective use of computers started in 1980. Since then there is a great demand for computers in the pharmacy field. Computers are having their own advantages like reduction in time, accuracy, and reduction in manpower, speed, multitasking, non-fatigued, high memory, data storage and many more.
Computers in pharmacy are used for the information of drug data, records and files, drug management (creating, modifying, adding and deleting data in patient files to generate reports), business details.
Applications of Computer Science in Pharmacy
Computer is mandatory in this advanced era and pharmacy and related subjects are not exception to it. This review mainly focuses on the various applications, software’s and use of computers in pharmacy. Computer science and technology is deeply utilized in pharmacy field everywhere like in pharmacy colleges, pharmaceutical industries, research centers, hospital pharmacy and many more. Computer significantly reduces the time, expenditure, and manpower required for any kind of work. Development of various softwares makes it trouble-free to handle huge data. In short, computers are playing critical role in pharmacy field, without computers pharmacy research will be long-lasting andexpensive.
Pharmacy field plays a crucial role in patient health care. It is a huge field which is present worldwide. To run pharmacy field professionally and efficiently, it requires huge management and manpower. But nowadays use of computers in pharmacy field reduced the manpower and time. Computers are almost related to every corner of pharmacy field. These are utilized in the drug design technique, retail pharmacy shop, clinical research centers, crude drug identification,drug storage and business management, hospital and clinical pharmacy, in pharmacy colleges for computer assistedlearning.
Internet is huge collection of data. It is available in just one click. Various search engines like Google, Yahoo, Rediff, Bing help in searching online data related to pharmacy field just one have to enter his or her area of interest in search engine.
In Pharmacy field, effective use of computers started from 1980. Since then there is great demand of computers in pharmacy field. Computers are having their own advantages like reduction in time, accuracy, and reduction in man power, speed, multitasking, non-fatiguness, high memory, data storage and many more.
USE OF INTERNET IN PHARMACY
Internet is collection of huge data. And this data is available for us in just a one click. Internet is useful tool in literature survey. Books are also available on the internet. Various research journals can be easily accessed via internet. There are number of web-sites which are related to pharmacy field. Some of these web sites are as follows;
www.phrma.org
Organization representing America's pharmaceutical research companies provides details of drug development, industry news, and health guides.
www.healthcareforums.com
Created to facilitate interaction among healthcare professionals on specific topics which include discussion of cases, research and other relevant issues.
www.astra.com
This is the official web-site of ASTRA pharmaceuticals which produces medications for respiratory tract, cardiovascular and gastrointestinal diseases, and for pain
Log in to github.com.
Click + and then select New repository.
In the Repository name field, enter myJavaApp, select Public, and then click Create repository.
Extract the contents of the hello-world-app.zip file.
Open a Git Bash window and go to the hello-world-app directory.
Create your repository.
git init
git add .
git commit -m "Starting Node project"
git remote add origin https://github.com/YourGitProject/myJavaApp.git
git push -u origin master
Deploy an Application to Oracle Application Container Cloud Service
In the command-line window, deploy the MyJavaApp application. Make a note of the job ID. You'll use it in the next step.
psm accs push -n MyJavaApp -r java -s hourly \
-g https://github.com/YourGitProject/myJavaApp.git \
-m /local-path-to-manifest.json
Check the deployment job status and replace the job-ID placeholder with your job ID.
psm accs operation-status -j job-ID -of json
Get the application information. Make a note of the URL, you'll use it in the next step.
psm accs check-health -n myJavaApp
Open the application in the CLI, replacing the url-app placeholder with your URL.
curl url-app
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
Our CPM guide includes everything you need to get started in the Critical Path Method - with step-by-step examples, solutions, as well as schedules to help get your next project done faster and easier. The Critical Path Method (CPM) is a simple but powerful technique for analyzing, planning, and scheduling large, complex projects. It is used to determine a project’s critical path—the longest sequence of tasks that must be finished for the entire project to be complete.
CPM, also known as Critical Path Analysis (CPA), identifies dependencies between tasks, and shows which tasks are critical to a project. The Critical Path Method (CPM) is one of the most important concepts in project management, and certainly among the most enduring. But what is the Critical Path Method, exactly? This beginner-friendly guide will help you understand the Critical Path Method and apply it in your projects.
Early iterations of the Critical Path Method can be traced all the way back to the Manhattan Project in the early 1940s. Given the ambition, scale, and importance of this world-altering project, scientists - and the managers behind them - developed a number of techniques to make sure that the project delivered results on time. For a project management technique, the Critical Path Method has quite an illustrious history. One of these techniques was to map out the most important tasks in any project and use that to estimate the project completion date.
The Critical Path Method in project management is a cornerstone of project planning even to this day. How long a project takes often depends on the most important tasks that constitute it.
Effort estimation is a process in which project managers evaluate how much time and money they need for completing a project. This technique is common in software development, where technology professionals define the resources and schedule for developing a new application or releasing an update. These forecasts help create accurate estimates that often require approval before work on a project begins. Effort estimation is a common tool as part of the Agile methodology, which is a framework that divides a project into smaller phases. In this framework, you can estimate the effort for several components of development, including:
Epics: Epics are large projects that several teams manage throughout development. These usually contain several smaller releases and tasks.
Features: A feature is a piece of functionality or design that addresses a user's need. A feature often includes specific acceptance criteria that detail how that part of the product works.
Sprints: A sprint is a short period containing a fraction of work. Often, a few team members complete development tasks in sprints that build toward epics and releases.
Releases: Releases are software packages development teams can deploy. These often contain several epics and features that teams deploy in iterations.
Development teams might estimate the effort for each of these components of the Agile framework or select components depending on the needs of the project.
A software process model is an abstraction of the software development process. The models specify the stages and order of a process. So, think of this as a representation of the order of activities of the process and the sequence in which they are performed. A model will define the following:
1. The tasks to be performed
2. The input and output of each task
3. The pre and post-conditions for each task
4. The flow and sequence of each task
The goal of a software process model is to provide guidance for controlling and coordinating the tasks to achieve the end product and objectives as effectively as possible.
Managing projects and entire programmes is an important part of OSCE activities in the field and by its Institutions and Secretariat. Good programme and project management requires effective planning, proper implementation, monitoring, and evaluation. The Conflict Prevention Centre defines and implements the Organization’s management methodology and tools, and builds the capacity of staff in this area via specialized coaching and training.
Organize your projects with project plans to keep things on track—before you even start. A project plan houses all the necessary details of your project, such as goals, tasks, scope, deadlines, and deliverables. This shows stakeholders a clear roadmap of your project, ensures you have the resources for it, and holds everyone accountable from the start. In this article, we teach you the seven steps to create your own project plan.
What is project? Software Project Vs. Other Types. Activities by
Software Project Mgt. Plans, Methods and Methodologies. Problems with Software Projects.
The HyperText Markup Language or HTML is the standard markup language for documents designed to be displayed in a web browser. It defines the content and structure of web content. It is often assisted by technologies such as Cascading Style Sheets and scripting languages such as JavaScript.
nodemon is a tool that helps develop Node. js based applications by automatically restarting the node application when file changes in the directory are detected. nodemon does not require any additional changes to your code or method of development. nodemon is a replacement wrapper for node.
Node handles these tasks by running asynchronously, which means that reading user input from a terminal isn't as simple as calling a getInput() function.
Transaction processing means dividing information processing up into individual, indivisible operations, called transactions, that complete or fail as a whole; a transaction can't remain in an intermediate, incomplete, state (so other processes can't access the transaction's data until either the transaction has
A web server is software and hardware that uses HTTP (Hypertext Transfer Protocol) and other protocols to respond to client requests made over the World Wide Web. The main job of a web server is to display website content through storing, processing and delivering webpages to users. Besides HTTP, web servers also support SMTP (Simple Mail Transfer Protocol) and FTP (File Transfer Protocol), used for email, file transfer and storage.
Web server hardware is connected to the internet and allows data to be exchanged with other connected devices, while web server software controls how a user accesses hosted files. The web server process is an example of the client/server model. All computers that host websites must have web server software.
Web servers are used in web hosting, or the hosting of data for websites and web-based applications -- or web applications.
How do web servers work?
Web server software is accessed through the domain names of websites and ensures the delivery of the site's content to the requesting user. The software side is also comprised of several components, with at least an HTTP server. The HTTP server is able to understand HTTP and URLs. As hardware, a web server is a computer that stores web server software and other files related to a website, such as HTML documents, images and JavaScript files.
When a web browser, like Google Chrome or Firefox, needs a file that's hosted on a web server, the browser will request the file by HTTP. When the request is received by the web server, the HTTP server will accept the request, find the content and send it back to the browser through HTTP.
More specifically, when a browser requests a page from a web server, the process will follow a series of steps. First, a person will specify a URL in a web browser's address bar. The web browser will then obtain the IP address of the domain name -- either translating the URL through DNS (Domain Name System) or by searching in its cache. This will bring the browser to a web server. The browser will then request the specific file from the web server by an HTTP request. The web server will respond, sending the browser the requested page, again, through HTTP. If the requested page does not exist or if something goes wrong, the web server will respond with an error message. The browser will then be able to display the webpage.
Multiple domains also can be hosted on one web server.
Examples of web server uses
Web servers often come as part of a larger package of internet- and intranet-related programs that are used for:
sending and receiving emails;
downloading requests for File Transfer Protocol (FTP) files; and
building and publishing webpages.
Many basic web servers will also support server-side scripting, which is used to employ scripts on a web server that can customize the response to the client. Server-side scripting runs on the server machine and typically has a broad feature set, which includes database access. The server-side scripting
What is as web server?
A web server is a computer that runs websites. It's a computer program that distributes web pages as they are requisitioned. The basic objective of the web server is to store, process and deliver web pages to the users. This intercommunication is done using Hypertext Transfer Protocol (HTTP).
How do web servers work?
Web server software is accessed through the domain names of websites and ensures the delivery of the site's content to the requesting user. The software side is also comprised of several components, with at least an HTTP server. The HTTP server is able to understand HTTP and URLs. As hardware, a web server is a computer that stores web server software and other files related to a website, such as HTML documents, images and JavaScript files.
When a web browser, like Google Chrome or Firefox, needs a file that's hosted on a web server, the browser will request the file by HTTP. When the request is received by the web server, the HTTP server will accept the request, find the content and send it back to the browser through HTTP.
More specifically, when a browser requests a page from a web server, the process will follow a series of steps. First, a person will specify a URL in a web browser's address bar. The web browser will then obtain the IP address of the domain name -- either translating the URL through DNS (Domain Name System) or by searching in its cache. This will bring the browser to a web server. The browser will then request the specific file from the web server by an HTTP request. The web server will respond, sending the browser the requested page, again, through HTTP. If the requested page does not exist or if something goes wrong, the web server will respond with an error message. The browser will then be able to display the webpage.
Multiple domains also can be hosted on one web server.
Examples of web server uses
Web servers often come as part of a larger package of internet- and intranet-related programs that are used for:
sending and receiving emails;
downloading requests for File Transfer Protocol (FTP) files; and
building and publishing webpages.
Many basic web servers will also support server-side scripting, which is used to employ scripts on a web server that can customize the response to the client. Server-side scripting runs on the server machine and typically has a broad feature set, which includes database access. The server-side scripting process will also use Active Server Pages (ASP), Hypertext Preprocessor (PHP) and other scripting languages. This process also allows HTML documents to be created dynamically.
Number System is a method of representing Numbers on the Number Line with the help of a set of Symbols and rules. These symbols range from 0-9 and are termed as digits. Number System is used to perform mathematical computations ranging from great scientific calculations to calculations like counting the number of Toys for a Kid or Number chocolates remaining in the box. Number Systems comprise of multiple types based on the base value for its digits.
What is the Number Line?
A Number line is a representation of Numbers with a fixed interval in between on a straight line. A Number line contains all the types of numbers like natural numbers, rationals, Integers, etc. Numbers on the number line increase while moving Left to Right and decrease while moving from right to left. Ends of a number line are not defined i.e., numbers on a number line range from infinity on the left side of the zero to infinity on the right side of the zero.
Positive Numbers: Numbers that are represented on the right side of the zero are termed as Positive Numbers. The value of these numbers increases on moving towards the right. Positive numbers are used for Addition between numbers. Example: 1, 2, 3, 4, …
Negative Numbers: Numbers that are represented on the left side of the zero are termed as Negative Numbers. The value of these numbers decreases on moving towards the left. Negative numbers are used for Subtraction between numbers. Example: -1, -2, -3, -4, …
Number and Its Types
A number is a value created by the combination of digits with the help of certain rules. These numbers are used to represent arithmetical quantities. A digit is a symbol from a set 10 symbols ranging from 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. Any combination of digits represents a Number. The size of a Number depends on the count of digits that are used for its creation.
For Example: 123, 124, 0.345, -16, 73, 9, etc.
Types of Numbers
Numbers are of various types depending upon the patterns of digits that are used for their creation. Various symbols and rules are also applied on Numbers which classifies them into a variety of different types:
Number and Its Types
1. Natural Numbers: Natural Numbers are the most basic type of Numbers that range from 1 to infinity. These numbers are also called Positive Numbers or Counting Numbers. Natural Numbers are represented by the symbol N.
Example: 1, 2, 3, 4, 5, 6, 7, and so on.
2. Whole Numbers: Whole Numbers are basically the Natural Numbers, but they also include ‘zero’. Whole numbers are represented by the symbol W.
Example: 0, 1, 2, 3, 4, and so on.
3. Integers: Integers are the collection of Whole Numbers plus the negative values of the Natural Numbers. Integers do not include fraction numbers i.e. they can’t be written in a/b form. The range of Integers is from the Infinity at the Negative end and Infinity at the Positive end, including zero. Integers are represented by the symbol Z.
Example: ...,-4, -3, -2, -1, 0, 1, 2, 3, 4,...
Programming Language
As we know, to communicate with a person, we need a specific language, similarly to communicate with computers, programmers also need a language is called Programming language.
Before learning the programming language, let's understand what is language?
What is Language?
Language is a mode of communication that is used to share ideas, opinions with each other. For example, if we want to teach someone, we need a language that is understandable by both communicators.
What is a Programming Language?
A programming language is a computer language that is used by programmers (developers) to communicate with computers. It is a set of instructions written in any specific language ( C, C++, Java, Python) to perform a specific task.
A programming language is mainly used to develop desktop applications, websites, and mobile applications.
Types of programming language
1. Low-level programming language
Low-level language is machine-dependent (0s and 1s) programming language. The processor runs low- level programs directly without the need of a compiler or interpreter, so the programs written in low-level language can be run very fast.
Low-level language is further divided into two parts -
i. Machine Language
Machine language is a type of low-level programming language. It is also called as machine code or object code. Machine language is easier to read because it is normally displayed in binary or hexadecimal form (base 16) form. It does not require a translator to convert the programs because computers directly understand the machine language programs.
The advantage of machine language is that it helps the programmer to execute the programs faster than the high-level programming language.
ii. Assembly Language
Assembly language (ASM) is also a type of low-level programming language that is designed for specific processors. It represents the set of instructions in a symbolic and human-understandable form. It uses an assembler to convert the assembly language to machine language.
information system, an integrated set of components for collecting, storing, and processing data and for providing information, knowledge, and digital products. Business firms and other organizations rely on information systems to carry out and manage their operations, interact with their customers and suppliers, and compete in the marketplace. Information systems are used to run inter-organizational supply chains and electronic markets. For instance, corporations use information systems to process financial accounts, manage their human resources, and to reach their potential customers with online promotions. Many major companies are built entirely around information systems. These include eBay, a large auction marketplace; Amazon, an expanding electronic mall and provider of cloud computing services; Alibaba, a business-to-business e-marketplace; and Google, a search engine company that derives most of its revenue from keyword advertising on Internet searches. Governments deploy information systems to provide services cost-effectively to citizens. Digital goods—such as electronic books, video products, and software—and online services, such as gaming and social networking, are delivered with information systems. Individuals rely on information systems, generally Internet-based, for conducting much of their personal lives: for socializing, study, shopping, banking, and entertainment.
As major new technologies for recording and processing information were invented over the millennia, new capabilities appeared, and people became empowered. The invention of the printing press by Johannes Gutenberg in the mid-15th century and the invention of a mechanical calculator by Blaise Pascal in the 17th century are but two examples. These inventions led to a profound revolution in the ability to record, process, disseminate, and reach for information and knowledge. This led, in turn, to even deeper changes in individual lives, business organization, and human governance.
The first large-scale mechanical information system was Herman Hollerith’s census tabulator. Invented in time to process the 1890 U.S. census, Hollerith’s machine represented a major step in automation, as well as an inspiration to develop computerized information systems.
One of the first computers used for such information processing was the UNIVAC I, installed at the U.S. Bureau of the Census in 1951 for administrative use and at General Electric in 1954 for commercial use. Beginning in the late 1970s, personal computers brought some of the advantages of information systems to small businesses and to individuals. Early in the same decade, the Internet began its expansion as a global network of networks. In 1991 the World Wide Web, invented by Tim Berners-Lee as a means to access the interlinked information stored in the globally dispersed computers connected by the Internet, began operation and became the principal service delivered on the network. The global penetration of the...
Applications of Computer Science in Pharmacy
Computer is mandatory in this advanced era and pharmacy and related subjects are not exception to it. This review mainly focuses on the various applications, software’s and use of computers in pharmacy. Computer science and technology is deeply utilized in pharmacy field everywhere like in pharmacy colleges, pharmaceutical industries, research centers, hospital pharmacy and many more. Computer significantly reduces the time, expenditure, and manpower required for any kind of work. Development of various softwares makes it trouble-free to handle huge data. In short, computers are playing critical role in pharmacy field, without computers pharmacy research will be long-lasting andexpensive.
Pharmacy field plays a crucial role in patient health care. It is a huge field which is present worldwide. To run pharmacy field professionally and efficiently, it requires huge management and manpower. But nowadays use of computers in pharmacy field reduced the manpower and time. Computers are almost related to every corner of pharmacy field. These are utilized in the drug design technique, retail pharmacy shop, clinical research centers, crude drug identification,drug storage and business management, hospital and clinical pharmacy, in pharmacy colleges for computer-assisted learning.
The Internet is a huge collection of data. It is available with just one click. Various search engines like Google, Yahoo, Rediff, and Bing help in searching online data related to the pharmacy field just one has to enter his or her area of interest in the search engine.
In the Pharmacy field, effective use of computers started in 1980. Since then there is a great demand for computers in the pharmacy field. Computers are having their own advantages like reduction in time, accuracy, and reduction in manpower, speed, multitasking, non-fatigued, high memory, data storage and many more.
Computers in pharmacy are used for the information of drug data, records and files, drug management (creating, modifying, adding and deleting data in patient files to generate reports), business details.
Applications of Computer Science in Pharmacy
Computer is mandatory in this advanced era and pharmacy and related subjects are not exception to it. This review mainly focuses on the various applications, software’s and use of computers in pharmacy. Computer science and technology is deeply utilized in pharmacy field everywhere like in pharmacy colleges, pharmaceutical industries, research centers, hospital pharmacy and many more. Computer significantly reduces the time, expenditure, and manpower required for any kind of work. Development of various softwares makes it trouble-free to handle huge data. In short, computers are playing critical role in pharmacy field, without computers pharmacy research will be long-lasting andexpensive.
Pharmacy field plays a crucial role in patient health care. It is a huge field which is present worldwide. To run pharmacy field professionally and efficiently, it requires huge management and manpower. But nowadays use of computers in pharmacy field reduced the manpower and time. Computers are almost related to every corner of pharmacy field. These are utilized in the drug design technique, retail pharmacy shop, clinical research centers, crude drug identification,drug storage and business management, hospital and clinical pharmacy, in pharmacy colleges for computer assistedlearning.
Internet is huge collection of data. It is available in just one click. Various search engines like Google, Yahoo, Rediff, Bing help in searching online data related to pharmacy field just one have to enter his or her area of interest in search engine.
In Pharmacy field, effective use of computers started from 1980. Since then there is great demand of computers in pharmacy field. Computers are having their own advantages like reduction in time, accuracy, and reduction in man power, speed, multitasking, non-fatiguness, high memory, data storage and many more.
USE OF INTERNET IN PHARMACY
Internet is collection of huge data. And this data is available for us in just a one click. Internet is useful tool in literature survey. Books are also available on the internet. Various research journals can be easily accessed via internet. There are number of web-sites which are related to pharmacy field. Some of these web sites are as follows;
www.phrma.org
Organization representing America's pharmaceutical research companies provides details of drug development, industry news, and health guides.
www.healthcareforums.com
Created to facilitate interaction among healthcare professionals on specific topics which include discussion of cases, research and other relevant issues.
www.astra.com
This is the official web-site of ASTRA pharmaceuticals which produces medications for respiratory tract, cardiovascular and gastrointestinal diseases, and for pain
Log in to github.com.
Click + and then select New repository.
In the Repository name field, enter myJavaApp, select Public, and then click Create repository.
Extract the contents of the hello-world-app.zip file.
Open a Git Bash window and go to the hello-world-app directory.
Create your repository.
git init
git add .
git commit -m "Starting Node project"
git remote add origin https://github.com/YourGitProject/myJavaApp.git
git push -u origin master
Deploy an Application to Oracle Application Container Cloud Service
In the command-line window, deploy the MyJavaApp application. Make a note of the job ID. You'll use it in the next step.
psm accs push -n MyJavaApp -r java -s hourly \
-g https://github.com/YourGitProject/myJavaApp.git \
-m /local-path-to-manifest.json
Check the deployment job status and replace the job-ID placeholder with your job ID.
psm accs operation-status -j job-ID -of json
Get the application information. Make a note of the URL, you'll use it in the next step.
psm accs check-health -n myJavaApp
Open the application in the CLI, replacing the url-app placeholder with your URL.
curl url-app
UiPath Test Automation using UiPath Test Suite series, part 4DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 4. In this session, we will cover Test Manager overview along with SAP heatmap.
The UiPath Test Manager overview with SAP heatmap webinar offers a concise yet comprehensive exploration of the role of a Test Manager within SAP environments, coupled with the utilization of heatmaps for effective testing strategies.
Participants will gain insights into the responsibilities, challenges, and best practices associated with test management in SAP projects. Additionally, the webinar delves into the significance of heatmaps as a visual aid for identifying testing priorities, areas of risk, and resource allocation within SAP landscapes. Through this session, attendees can expect to enhance their understanding of test management principles while learning practical approaches to optimize testing processes in SAP environments using heatmap visualization techniques
What will you get from this session?
1. Insights into SAP testing best practices
2. Heatmap utilization for testing
3. Optimization of testing processes
4. Demo
Topics covered:
Execution from the test manager
Orchestrator execution result
Defect reporting
SAP heatmap example with demo
Speaker:
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
Neuro-symbolic (NeSy) AI is on the rise. However, simply machine learning on just any symbolic structure is not sufficient to really harvest the gains of NeSy. These will only be gained when the symbolic structures have an actual semantics. I give an operational definition of semantics as “predictable inference”.
All of this illustrated with link prediction over knowledge graphs, but the argument is general.
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Ramesh Iyer
In today's fast-changing business world, Companies that adapt and embrace new ideas often need help to keep up with the competition. However, fostering a culture of innovation takes much work. It takes vision, leadership and willingness to take risks in the right proportion. Sachin Dev Duggal, co-founder of Builder.ai, has perfected the art of this balance, creating a company culture where creativity and growth are nurtured at each stage.
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
Welcome to UiPath Test Automation using UiPath Test Suite series part 3. In this session, we will cover desktop automation along with UI automation.
Topics covered:
UI automation Introduction,
UI automation Sample
Desktop automation flow
Pradeep Chinnala, Senior Consultant Automation Developer @WonderBotz and UiPath MVP
Deepak Rai, Automation Practice Lead, Boundaryless Group and UiPath MVP
Kubernetes & AI - Beauty and the Beast !?! @KCD Istanbul 2024Tobias Schneck
As AI technology is pushing into IT I was wondering myself, as an “infrastructure container kubernetes guy”, how get this fancy AI technology get managed from an infrastructure operational view? Is it possible to apply our lovely cloud native principals as well? What benefit’s both technologies could bring to each other?
Let me take this questions and provide you a short journey through existing deployment models and use cases for AI software. On practical examples, we discuss what cloud/on-premise strategy we may need for applying it to our own infrastructure to get it to work from an enterprise perspective. I want to give an overview about infrastructure requirements and technologies, what could be beneficial or limiting your AI use cases in an enterprise environment. An interactive Demo will give you some insides, what approaches I got already working for real.
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...DanBrown980551
Do you want to learn how to model and simulate an electrical network from scratch in under an hour?
Then welcome to this PowSyBl workshop, hosted by Rte, the French Transmission System Operator (TSO)!
During the webinar, you will discover the PowSyBl ecosystem as well as handle and study an electrical network through an interactive Python notebook.
PowSyBl is an open source project hosted by LF Energy, which offers a comprehensive set of features for electrical grid modelling and simulation. Among other advanced features, PowSyBl provides:
- A fully editable and extendable library for grid component modelling;
- Visualization tools to display your network;
- Grid simulation tools, such as power flows, security analyses (with or without remedial actions) and sensitivity analyses;
The framework is mostly written in Java, with a Python binding so that Python developers can access PowSyBl functionalities as well.
What you will learn during the webinar:
- For beginners: discover PowSyBl's functionalities through a quick general presentation and the notebook, without needing any expert coding skills;
- For advanced developers: master the skills to efficiently apply PowSyBl functionalities to your real-world scenarios.
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Jeffrey Haguewood
Sidekick Solutions uses Bonterra Impact Management (fka Social Solutions Apricot) and automation solutions to integrate data for business workflows.
We believe integration and automation are essential to user experience and the promise of efficient work through technology. Automation is the critical ingredient to realizing that full vision. We develop integration products and services for Bonterra Case Management software to support the deployment of automations for a variety of use cases.
This video focuses on the notifications, alerts, and approval requests using Slack for Bonterra Impact Management. The solutions covered in this webinar can also be deployed for Microsoft Teams.
Interested in deploying notification automations for Bonterra Impact Management? Contact us at sales@sidekicksolutionsllc.com to discuss next steps.
DevOps and Testing slides at DASA ConnectKari Kakkonen
My and Rik Marselis slides at 30.5.2024 DASA Connect conference. We discuss about what is testing, then what is agile testing and finally what is Testing in DevOps. Finally we had lovely workshop with the participants trying to find out different ways to think about quality and testing in different parts of the DevOps infinity loop.
Search and Society: Reimagining Information Access for Radical FuturesBhaskar Mitra
The field of Information retrieval (IR) is currently undergoing a transformative shift, at least partly due to the emerging applications of generative AI to information access. In this talk, we will deliberate on the sociotechnical implications of generative AI for information access. We will argue that there is both a critical necessity and an exciting opportunity for the IR community to re-center our research agendas on societal needs while dismantling the artificial separation between the work on fairness, accountability, transparency, and ethics in IR and the rest of IR research. Instead of adopting a reactionary strategy of trying to mitigate potential social harms from emerging technologies, the community should aim to proactively set the research agenda for the kinds of systems we should build inspired by diverse explicitly stated sociotechnical imaginaries. The sociotechnical imaginaries that underpin the design and development of information access technologies needs to be explicitly articulated, and we need to develop theories of change in context of these diverse perspectives. Our guiding future imaginaries must be informed by other academic fields, such as democratic theory and critical theory, and should be co-developed with social science scholars, legal scholars, civil rights and social justice activists, and artists, among others.
Dev Dives: Train smarter, not harder – active learning and UiPath LLMs for do...UiPathCommunity
💥 Speed, accuracy, and scaling – discover the superpowers of GenAI in action with UiPath Document Understanding and Communications Mining™:
See how to accelerate model training and optimize model performance with active learning
Learn about the latest enhancements to out-of-the-box document processing – with little to no training required
Get an exclusive demo of the new family of UiPath LLMs – GenAI models specialized for processing different types of documents and messages
This is a hands-on session specifically designed for automation developers and AI enthusiasts seeking to enhance their knowledge in leveraging the latest intelligent document processing capabilities offered by UiPath.
Speakers:
👨🏫 Andras Palfi, Senior Product Manager, UiPath
👩🏫 Lenka Dulovicova, Product Program Manager, UiPath
2. Create Files
The File System module has methods for creating new files:
• fs.appendFile()
• fs.open()
• fs.writeFile()
3. fs.appendFile() method
The fs.appendFile() method appends specified content to a file. If the file
does not exist, the file will be created:
var fs = require('fs');
fs.appendFile(‘NodeJS.txt’, ‘Welcome to NodeJS Tutorial’, function
(err)
{
if (err) throw err;
console.log('Saved');
});
4. fs.open() method
The fs.open() method takes a "flag" as the second argument, if the flag
is "w" for "writing", the specified file is opened for writing. If the file
does not exist, an empty file is created.
var fs = require('fs');
fs.open(' NodeJS.txt', 'w', function (err, file)
{
if (err) throw err;
console.log('Saved!');
});
5. fs.writeFile() method
The fs.writeFile() method replaces the specified file and content if it
exists. If the file does not exist, a new file, containing the specified
content, will be created.
var fs = require('fs');
fs.writeFile(‘NodeJS.txt', ' Welcome to NodeJS Tutorial ',
function (err)
{
if (err) throw err;
console.log('Saved!');
});
6. Update Files
The File System module has methods for updating files:
• fs.appendFile()
• fs.writeFile()
7. fs.appendFile() method
The fs.appendFile() method appends the specified content at the end
of the specified file.
var fs = require(‘fs’);
fs.appendFile(‘NodeJS.txt’, ‘Mukesh Kumar’, function (err)
{
if (err) throw err;
console.log(‘Updated’);
});
8. fs.writeFile() method
The fs.writeFile() method replaces the specified file and content.
var fs = require(‘fs’);
fs.writeFile(‘NodeJS.txt’, ‘This is my text’, function (err)
{
if (err) throw err;
console.log(‘Replaced’);
});
10. fs.unlink() method
The fs.unlink() method deletes the specified file.
var fs = require(‘fs’);
fs.unlink(‘NodeJS.txt’, function (err)
{
if (err) throw err;
console.log(‘File deleted’);
});