Monthly Archives: April 2013

Page replacement algorithms using Java

  1. FIFO (First In, First Out): select the page that has been in main memory the longest use a queue (data structure) problem: although a page has been present for a long time, it may be really useful Windows NT

Tagged with: , ,
Posted in JAVA

CPU Scheduling Algorithm using Java

Scheduling Algorithms The following CPU scheduling algorithms will be contain  : – First-Come, First-Served (FCFS). – Shortest-Job-First (SJF). –Priority. – Round-Robin (RR). Step 1: Create a java package name cpuscheduling and a class operation  Step 2: Create a java Main class  within package

Tagged with: ,
Posted in JAVA

Banker’s Algorithm Using Java

The Banker’s algorithm is run by the operating system whenever a process requests resources.The algorithm avoids deadlock by denying or postponing the request if it determines that accepting the request could put the system in an unsafe state (one where deadlock could occur).

Tagged with: ,
Posted in JAVA

Image to binary and binary to image conversion in php

Suppose that you have test.jpg image in your localhost. You want to convert your image into binary and after then vice-versa. So, let enjoy… Image to binary conversion: Binary to image conversion:

Tagged with: ,
Posted in PHP

Simple registration in CakePHP

Suppose that there is a users table in recipe_db database. In users table we will save a user data using cakephp. Let create a controller name usersController : this add() of  UsersController class will insert users information into db table

Tagged with: , , ,
Posted in CakePHP

Paypal Instigation Using CakePHP

Hello Friend  many time you use paypal payment using in html (form and its hidden field etc.) But in CakePHP nothing to do . No need to create from . so how to do it .. just follow simple step

Tagged with: , , ,
Posted in CakePHP

cake php for begineers: part-01

Cake php is the famous framework of php. Which make our development fast and secured. Since, i want to spread cake php programming knowledge  through out world , so i’v decided to start from beginning. We know every framework  follow  MVC.

Tagged with: , ,
Posted in CakePHP