Posts

Library Management System: Database Project - Part IV - Database Implementation

Image
  LMS   Library Management System for Imaginary University    2nd year Database Project Data Definition Language (DDL) of the database. create table items     (      id                  INT PRIMARY KEY,      borrowed            boolean,      received_as         varchar(50)             );     create table book_details     (      ISBN                varchar(15) PRIMARY KEY,      title               varchar(50) not null,      edition    ...

Library Management System: Database Project - Part III - Database Design

Image
  LMS   Library Management System for Imaginary University    2nd year Database Project There are Four main entities Item : a book or as CD which can be borrow from the library Member : a registered member of the library who will be a student or a staff member Location : the physical location where an item is stored in the library Operator : a library staff member who will interact with members of the library. That is they will add/update data about members, transactions and items in the library Entity Relationship Diagram (ER Diagram) ER diagram There can be many copies of the same item (Book or CD). However since we need to identify each item separately so that each of them are given a unique id which is the 'item_id'. Storing common details of the same copies of items make redundancy, the details of items are decomposed into separate tables named 'book_details' and 'CD_details'. A member can borrow four books (or CDs) at a time and...

Library Management System: Database Project - Part II - Functional & Non Functional Requirements

Image
  LMS   Library Management System for Imaginary University    2nd year Database Project Functional Requirements Administrator Add/delete/update details of a member for the library staff. Add/remove/change privileges of library staff to access the system All functionalities of an operator ( mentioned below ) Operator Add/delete/update book details (location) Issue/accept lent books Issue fine receipts Member Search books (for location, availability, other related books, etc.) Check user history Guest  only allowed to view data about resources available in the library Non Functional Requirements Data validation Data validation is having valid data for a given type of variable. Data must be validated to ensure the consistency of data. Security The security to the data base from unauthorized access is prevented by proper authentication giving access privileges for users. In addition security from SQL injection is ...

Library Management System: Database Project - Part I - Introduction

Image
  LMS   Library Management System for Imaginary University    2nd year Database Project Database management is a wide area of computer science which is essential in most of the applications in order to store and handle data proper and efficient way. Library management system is one of a most frequently used application of database management systems where there is a chunk of information to store and record daily. Background University of ABC is a imaginary university of about 12000 students and 1000 of staff. The library system of the university facilitates all students, academic and non academic staff by providing access to the library. Anyone of the university can read books or other documents at the library, but in order to borrow them one should register and get the membership. The membership is valid only for a year and that should be updated afterwards. After getting the membership, a member can borrow 4 books at a time and maximum burrowed period...

Powering my home by Solar Energy

Image
I am interesting in renewable energy area from my childhood. Sri Lankan government introduced grid solar power system for residential few years ago. I was able to install grid solar power system at my home in 2014  with my uncle's help who has great knowledge about electric systems. Mainly there are two types of Solar Systems i.e off grid and grid tied. DC off grid system rarely use [most electric components are capable only for Alternative Current (AC)]   AC off grid system Inverter converts Direct Current (DC) to Alternative Current (AC). You can use a generator if you want to get power when battery bank is dead. grid system with batteries With a Battery bank you can have current to your home when distribution line power cut. you cant do that without a battery bank. because extra power should be store somewhere (in a battery bank). grid system with batteries I am using this system (without a battery bank). At Day time we are usin...

Bingo Deals: 2nd year SEProject - Part V - Screen Shots

Image
Bingo Deals 2nd year software engineering project Shiluka Raveen Dharmasena Undergraduate Computer Science and Engineering University of Moratuwa Main Window of the Application Live Deals : show the Live Messages from the site Deals Around : show the Deals around your current location Island wide Deals : show all the deals Island wide Deals window  User can choose which kind of category he/she needs. There are 4 types of categories 1. CafĂ© Deals 2. Food Deals 3. Movie Theater Deals 4. Shopping Deals   Island wide Deals List Show all the deals from database (Name of the location and the vicinity)   Currently show the default icon of the location Deal Window There are several details about the deal Location Name : which location gives the deal  Telephone number of the location Website of the location Deal of the Location Direction to the location can be viewed by clicking the “Show Directions” Button Show t...

Bingo Deals: 2nd year SEProject - Part IV - Deployment

Image
Bingo Deals 2nd year software engineering project Shiluka Raveen Dharmasena Undergraduate Computer Science and Engineering University of Moratuwa Deployment View  This is How User receive  Evaluation Test Case Description Status Testing Alert Dialog Manager Display alerts on mobile phone passed Testing wake locker Acquire power services of the mobile phone passed Testing notification manager Allow to notify the mobile phone passed Testing GPS tracker Track the current location of the user passed Testing Connection Detector Detect the network connectivity passed Testing GCM Intent Services Test the Google Cloud Messaging base activities. passed Testing Server Utilities Test Server Base Activities passed Testing SQL Database Activities User details and site details are kept in two databases. ...